/flow-extras:benchmark-checklistfrom flow-extras
Vet a measured number before reporting or acting on it: a speedup, regression, latency, throughput or p95 claim, a before/after in a PR body, or a choice between two libraries or configs based on a run. Names what limits the number, checks warm vs cold, errors, repeated runs with range, end-to-end relevance and a same-way baseline, then gives a verdict (faster, slower, no difference, inconclusive). Also holds the order to try performance fixes in. Not for finding why code is slow with no number yet (use /flow:fix) and not for eval-score significance (use agent-evals).
Ships in flow-extras. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A run that went wrong still prints a plausible number: failed requests are fast, a cache skips the work, a side was left on defaults, noise looks like signal. The checklist exists so the number you report is one you can explain. Answer each question with evidence from a run, not from reading the code.
Write the sentence you expect to ship before you measure, with metric, direction and size: "export takes 30% less time at p50 on the 60k-row dataset". "33% faster" is ambiguous (time down 33% is throughput up 50%), so name the metric. The questions below test that sentence, and it cannot quietly drift to fit whatever comes out.
A quick ballpark the user asked for needs one run plus questions 4 and 7, and the report says it is one run. A choice between options is never a ballpark.
Write down, before running: baseline and candidate commit SHAs, build mode (release, not debug), input size and shape, harness and flags, machine. Check uptime and nproc; if the machine is busy and you cannot stop the load, interleave the sides so both see the same noise, and say so. These go in the report so a reviewer can re-run it.
top, pidstat, node --cpu-prof, py-spy, perf, strace -c) taken in a run you do not report, since profilers slow the work. A change that did not move the number is explained by its limiter, so find it before calling the change useless.wrk, hey, k6) with a warmup phase and fixed duration and concurrency, not a loop of curl../bench.sh --runs 7". A PR body carries that one number; the runs and limiter evidence go in a linked artifact or notes file.When the number says the code is slow, try these cheapest first and stop at the first that meets the target, since an earlier rung removes work and a later one only speeds it up:
Measure each attempt with Steps 1 to 4 before trying the next, and keep an attempt ledger (change, number, kept or reverted) in the notes file, so a reverted idea is not tried twice.
For an eval score, the same questions hold (did every trial do the task, does the gap hold across trials). Sample size, paired tests and intervals live in the agent-evals skill (Decision 3); use it there instead of repeating them here.
Credit: adapted from cursor/plugins pstack skills/benchmark-checklist, principle-explain-the-number and poteto-mode/playbooks/perf-issue.md @ ccb5507 (MIT). Credit: adapted from garrytan/gstack plan-devex-review/SKILL.md.tmpl, benchmark/SKILL.md.tmpl and health/SKILL.md.tmpl @ 5b9b837 (MIT). Credit: adapted from addyosmani/agent-skills skills/performance-optimization/SKILL.md (and its optimization patterns reference) @ 1be8e34 (MIT). Credit: adapted from vercel-labs/agent-skills vercel-optimize/references/doctrine.md @ 063bee9 (MIT). Credit: adapted from anthropics/skills managed-agents-quickstarts/performance-tuner.md @ dbd4588 (Apache-2.0). Credit: adapted from anthropics/claude-plugins-official project-artifact/SKILL.md and receipts/SKILL.md @ a9fd216 (Apache-2.0).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub tomaspalsson/flow --plugin flow-extras20 skills in this plugin
/auditStage-gated parallel code audit for a whole codebase or module: recon → 6 parallel detection agents (correctness, security, performance, design, tests, style) → dedup + triage → user approval gate → fix planning → second approval gate → serialized apply with revert-on-failure → verification. Use for whole-codebase/module debt inventory, health checks, modernization, production-readiness sweeps, or quality audits. Triggers on: /audit, audit this codebase, audit repo, find tech debt, pay down debt, code health check, make production-ready, refactor everything, apply clean code, quality sweep. Do NOT use for: single-PR or branch review ≤10 files (use /pr-reviewer), one-file cleanup (use /simplify), bug fix (use /fix), feature work (use /flow:next), style-only formatting (run the formatter), or uncommitted-change review (use /review). Scope threshold: whole-codebase or whole-module only — not for incremental branch work./babysitDrive one open pull request, or several independent ones, toward merge-ready after flow ships a draft: fix failing CI and resolve merge conflicts. Use when asked to babysit a PR, get it green, fix the CI, resolve the conflicts, or check on one or more PRs. Modes: check (one read-only report) or drive (loop until CI is green and the PR merges clean, or a hard stop). Open review threads are reported and left to the user. Never merges and never marks a draft ready. Not for opening the PR (use /flow:next), not for reviewing someone else's PR (use /pr-reviewer), not for diagnosing a bug from scratch (use /flow:fix).Other plugins' skills for the same job