jdanigo/hydraia / skills/performance-tuning
performance-tuning
VerifiedPerformance Tuning — measure first, always
The performance route through the Hydraia pipeline. The pipeline phases are unchanged; this skill defines the two contract adaptations and the hard rules.
Route flow
- Symptom → metric. Express the complaint as a measurable number (p50/p95 latency, throughput, CPU %, RSS, bundle KB, query ms).
- Baseline. Run the measurement on representative data (state dev-vs-prod caveats). No access → the human runs the command you provide; the pipeline waits (interactive half).
- Diagnose. Dispatch
perf-engineerwith the symptom + baseline. DB-shaped findings → it delegates todb-performance-tuner(dispatch that too). Their reports feed Phase 2. - Spec. Baseline + target + ranked hypotheses (chosen AND rejected) + threat model as usual. Then plan, freeze, gate — the normal pipeline from here.
- Execute. Sonnet executors implement; one isolated change per task.
- Verify. Re-run the exact baseline commands. Compare. Report measured before/after per change. Close only at/beyond target, or after the one allowed iteration with the shortfall stated plainly.
Measurement pointers (per stack — pointers, not tutorials)
- Node:
node --cpu-prof,clinic flame,0x; web: Chrome DevTools tracing, Lighthouse, Web Vitals. - Python:
cProfile+snakeviz,py-spy record(live processes). - Go:
go test -bench,pprof(CPU/heap),trace. - JVM:
async-profiler, JFR. - CLI/anything:
hyperfinefor wall-clock A/B. - DB: see the db-optimization skill.
Report medians and percentiles over multiple runs, never a single run. State machine load conditions.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |