skills/en/tao-performance-audit/SKILL.md
Performance analysis methodology with profiling techniques, bottleneck identification, and optimization patterns. Use when auditing performance, optimizing slow code, or planning capacity.
npx skillsauth add andretauan/tao tao-performance-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use when investigating slow endpoints, high memory usage, or capacity planning.
1. MEASURE — baseline numbers (don't guess)
2. IDENTIFY — find the bottleneck (not the symptom)
3. OPTIMIZE — fix the bottleneck (only)
4. VERIFY — measure again (prove improvement)
| Metric | Target | |--------|--------| | First Contentful Paint | < 1.5s | | Largest Contentful Paint | < 2.5s | | Time to Interactive | < 3.5s | | API response (p95) | < 200ms | | Bundle size (gzipped) | < 200KB |
## Performance Audit — [scope]
**Date:** YYYY-MM-DD
### Baseline
- [metric]: [current value]
### Bottleneck Analysis
| # | Location | Issue | Impact | Fix |
|---|----------|-------|--------|-----|
| 1 | ... | ... | ... | ... |
### After Optimization
- [metric]: [new value] (XX% improvement)
testing
Estratégia de pirâmide de testes com análise de cobertura, identificação de edge cases e planejamento de testes. Use ao planejar testes, melhorar cobertura, identificar edge cases ou escrever especificações de teste.
development
Auditoria de segurança alinhada ao OWASP Top 10 com checklist para injection, XSS, autenticação, autorização, gestão de secrets e vulnerabilidades comuns. Use ao auditar segurança, revisar código de auth ou hardening de aplicação.
development
Metodologia de refatoração segura com detecção de code smells, transformação passo-a-passo e prevenção de regressão. Use ao refatorar código, reduzir dívida técnica ou melhorar estrutura.
testing
Decomposição expert de tarefas para criar PLAN.md no TAO. Quebra features em fases e tarefas com critérios de aceite, estimativas e dependências. Use ao planejar trabalho, criar fases ou decompor features.