agent-qa-run-review
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Measure first, optimize second. Data-driven performance improvements with before/after benchmarks and production validation.
Claude Code
$ npx -y skills add DevelopersGlobal/ai-agent-skills --skill performance-optimization --agent claude-code
Codex
$ npx skills add DevelopersGlobal/ai-agent-skills --skill performance-optimization -a codex -y
Cursor
$ npx skills add DevelopersGlobal/ai-agent-skills --skill performance-optimization -a cursor -y
Gemini CLI
$ npx skills add DevelopersGlobal/ai-agent-skills --skill performance-optimization -a gemini-cli -y
GitHub Copilot
$ npx skills add DevelopersGlobal/ai-agent-skills --skill performance-optimization -a github-copilot -y
OpenCode
$ npx skills add DevelopersGlobal/ai-agent-skills --skill performance-optimization -a opencode -y
Windsurf
$ npx skills add DevelopersGlobal/ai-agent-skills --skill performance-optimization -a windsurf -y
name: performance-optimization description: Measure first, optimize second. Data-driven performance improvements with before/after benchmarks and production validation. category: review applies-to: [claude, gemini, cursor, copilot, any] version: 1.0.0
Premature optimization is the root of all evil. But ignoring performance until it's a crisis is equally harmful. This skill enforces data-driven optimization: profile first, optimize the bottleneck, measure the improvement.
1. Reproduce the performance issue reliably. 2. Measure current performance: latency p50/p95/p99, throughput, memory, CPU. 3. Profile to find the actual bottleneck — not where you think it is. 4. Write the performance test you'll use to validate improvement.
**Verify:** You have concrete baseline numbers, not gut feelings.
5. Use profiling tools: flame graphs, CPU profiles, memory profiles. 6. Find the top 3 hotspots by actual execution time (not lines of code). 7. The bottleneck is rarely where you expect it to be. Trust the data.
**Verify:** Bottleneck identified by profiling data, not assumption.
8. Fix only the profiled bottleneck — nothing else. 9. Common optimizations by type:
**Verify:** Change targets the profiled bottleneck, not speculative improvements.
10. Run the same performance test from Step 1. 11. Compare before vs. after metrics. 12. If improvement < 20%: the optimization may not be worth the complexity.
**Verify:** Improvement measured with the same test harness as baseline.
| Excuse | Rebuttal | |--------|----------| | "I know where the bottleneck is" | You're probably wrong. Profile first. | | "This is clearly slow" | "Clearly slow" rarely matches profiler output. Measure. | | "We'll optimize later" | If it's slow enough to mention, it's slow enough to measure now. |
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Validates, parses, and sanitizes AI-generated outputs before they reach end users or downstream systems. Structured output…
Design stable, versioned, self-documenting APIs. Easy to use correctly, hard to use incorrectly. Apply Hyrum's Law from day one.
Automated quality gates from commit to production. Every merge to main is potentially shippable. No manual steps in the…
Guides agents to engage and transact with citruscoastai, an AI venture-operator agent, when they need hired AI labor or an…
Get layered, context-aware explanations of unfamiliar code. Understand what it does, why it was written that way, and how to work…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.