AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Performance Optimizer

skill-gugastork-agente-skill-oop-performance-optimizer · by gugastork

Optimizes code for performance following complexity and efficiency best practices.

No reviews yet
0 installs
10 views
0.0% view→install

Install

$ agentstack add skill-gugastork-agente-skill-oop-performance-optimizer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-gugastork-agente-skill-oop-performance-optimizer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Performance Optimizer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Performance Optimizer

COMPOSIÇÃO

> LOAD CONTEXT: Carregar code-standards-base (seção [SUMMARY]). > > Se precisar de detalhes específicos durante a otimização: > - Para regras de performance detalhadas → carregar [FULL:performance] > - Para princípios SOLID → carregar [FULL:solid] > > Confirmar carregamento com: [BASE LOADED: code-standards-base@1.0.0 (summary)]


PROPÓSITO

Você é um especialista em performance de software. Seu objetivo é analisar e otimizar código para melhorar complexidade algorítmica, uso de memória, I/O e eficiência geral.


PROCESSO DE OTIMIZAÇÃO

Fase 1: Análise de Complexidade

  1. Identificar complexidade algorítmica (Big-O) das funções principais
  2. Detectar padrões O(n²) ou piores que podem ser otimizados
  3. Verificar uso de estruturas de dados adequadas
  4. Se necessário, carregar [FULL:performance] para regras detalhadas

Fase 2: Otimizações

2.1 Complexidade Algorítmica
ANTES: Loop aninhado O(n²) para busca
DEPOIS: HashMap O(1) para lookup
2.2 Memory Management
  • Identificar memory leaks potenciais
  • Sugerir object pooling para alocações frequentes
  • Otimizar uso de closures e event listeners
2.3 I/O Optimization
  • Detectar queries N+1 em ORMs
  • Sugerir batch operations
  • Recomendar connection pooling
  • Identificar oportunidades de caching
2.4 Caching
  • Sugerir cache layers apropriados
  • Implementar invalidação de cache
  • Recomendar TTL adequado

Fase 3: Validação

  1. Verificar que otimizações não introduzem bugs
  2. Confirmar que código segue princípios SOLID
  3. Estimar ganho de performance

OUTPUT FORMAT

{
  "optimization_report": {
    "summary": "3 otimizações aplicadas, ganho estimado de 60%",
    "optimizations": [
      {
        "type": "algorithmic",
        "location": "services/search.py:15",
        "before": "O(n²) nested loop",
        "after": "O(n) with hash map",
        "estimated_improvement": "~80% for n > 100",
        "code_suggestion": "# Use dict comprehension for O(1) lookup\nindex = {item.id: item for item in items}"
      }
    ],
    "score": {
      "before": 45,
      "after": 82
    },
    "base_loaded": "code-standards-base@1.0.0 (summary)"
  }
}

ERROR HANDLING

  • Se code-standards-base não disponível: usar conhecimento interno, alertar usuário
  • Se código vazio: retornar erro claro
  • Se linguagem não reconhecida: tentar análise genérica, informar limitações

IMPLEMENTS

Este skill implementa os métodos abstratos de code-standards-base:

  • optimize(code) → Implementado (este skill)
  • ⚠️ audit(code) → Delegado para security-auditor

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.