Install
$ agentstack add skill-gugastork-agente-skill-oop-performance-optimizer ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo 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.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
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 →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
- Identificar complexidade algorítmica (Big-O) das funções principais
- Detectar padrões O(n²) ou piores que podem ser otimizados
- Verificar uso de estruturas de dados adequadas
- 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
- Verificar que otimizações não introduzem bugs
- Confirmar que código segue princípios SOLID
- 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-basenã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 parasecurity-auditor
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: gugastork
- Source: gugastork/agente-skill-oop
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.