Skip to content
Development
Command

/perf

The performance discipline: measure before touching, benchmark what matters, prove regressions and fixes with numbers.

From plugin
procoder
21230 skills30 commands2 hooks
> /plugin marketplace add azrtydxb/procoder
> /plugin install procoder@procoder

Command definition

perf.md
description: "The performance discipline: measure before touching, benchmark what matters, prove regressions and fixes with numbers."

The user invoked /procoder:perf with arguments: $ARGUMENTS

The launcher is: "${CLAUDE_PLUGIN_ROOT}/hooks/launcher.sh"

Performance work without numbers is storytelling. The discipline:

1. **Baseline first.** Run `launcher.sh bench` — it runs the Go benchmarks and compares against `.procoder/bench/baseline.txt`. No baseline yet? `launcher.sh bench --save` records one BEFORE you touch anything. No benchmarks yet? Write one for the hot path the change touches — that is the first task, not an afterthought. 2. **Change, then measure again.** `launcher.sh bench` marks any regression beyond `[bench] threshold` (default 10%) and exits 1. Improvements are numbers too — quote the delta, not adjectives. 3. **Save deliberately.** A new baseline (`--save`) is a decision that the current numbers are the new normal — take it after a reviewed improvement, never to silence a regression. 4. Results are single-run and machine-local; treat small deltas as noise and cross-platform comparisons with the warning the tool prints. For deeper hunts, profile (pprof) before optimizing.

@azrtydxb
Ships withprocoder

Senior-developer discipline for AI coding agents. A commit gate that counts unchecked as failing, quality controllers that refuse to call unfinished work done, and a lessons loop that closes each escaped bug's class. One Go binary, no runtime deps, works with 20+ agents.

Stars on GitHub

Momentum

stars in total
212
Star history of azrtydxb/procoder on GitHub, a chart by star-history.com

Other commands on procoder.

adr

adr

Command

Architecture decision records: durable decisions with their date, context, and consequences — supersede, never rewrite.

@azrtydxb@azrtydxbInstall Command
audit

audit

Command

Onboard an existing codebase: every domain's checks over the whole tree, then a triaged plan to bring it in line.

@azrtydxb@azrtydxbInstall Command
backlog

backlog

Command

The project layer: milestones, epics, and user stories with refusing controllers — spec-seeded, sprint-ready.

@azrtydxb@azrtydxbInstall Command
check

check

Command

Run the formatting gate over the changed files, as a commit or CI would.

@azrtydxb@azrtydxbInstall Command
ci

ci

Command

CI/CD hygiene and run health: pinned actions, timeouts, concurrency, tests — plus the latest runs via gh.

@azrtydxb@azrtydxbInstall Command
copilot-leak

copilot-leak

Command

Copilot's auto-review escapes: find them since the last look, sanitise them, and turn each one into a lesson.

@azrtydxb@azrtydxbInstall Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command