perf-audit
Skill4 starsChanged 46 days agoMITView on GitHub
Measures and improves performance against budgets — Lighthouse (mobile) / Core Web Vitals, bundle analysis, API p95 with k6, DB EXPLAIN, Go/PHP profiles, game frame/draw-call/memory; ranks fixes by impact; writes docs/ops/perf-audit-<date>.md. Required before release.
14 other projects use a version of this.
Adopted by
Most recently taken up by
- arcasilesgroup/ai-engineeringtheir own version, first seen Nov 8, 2026
- Asno-dev/apextheir own version, first seen Oct 15, 2026
- rcelebrone/DotAgentstheir own version, first seen Oct 14, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 13, 2026
- helderberto/agent-skillstheir own version, first seen Oct 11, 2026
- kelgirechandrakant-cpu/vibe-coding-playbooktheir own version, first seen Aug 17, 2026
Used with
Projects with it also use triage.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
Google CloudSkilltriage
Gather context on a change or bug and plan the implementation.
Also in 4 projects that use this
Other versions14 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 14
- arcasilesgroup/ai-engineering★ 65same name
- eric-cielo/moflo★ 19same name
- helderberto/agent-skills★ 19same name
- rcelebrone/DotAgents★ 15same name
- muon-m2/magento2-tools★ 6same name
- kelgirechandrakant-cpu/vibe-coding-playbook★ 4same name
- CodeWithBehnam/cc-docs★ 2same name
- Asno-dev/apex★ 1same name
- cystema/skills★ 1same name
- PeterStanchev/ps-claude-skills★ 1same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository52 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- testing/CLAUDE.mdCLAUDE.md
- a11y-auditSkill
- adoptSkill
- api-contractSkill
- architecture-decisionSkill
- architecture-reviewSkill
- backlogSkill
- brainstormSkill
- changelogSkill
- code-reviewSkill
- collaboration-protocolSkill
- create-storiesSkill
- data-modelSkill
- dependency-auditSkill
- deploySkill
- design-systemSkill
- dev-storySkill
- docsSkill
- feature-specSkill
- game-conceptSkill
- hardenSkill
- helpSkill
- hotfixSkill
- impactSkill
- incidentSkill
- initSkill
- migrateSkill
- pentestSkill
- product-specSkill
- qa-planSkill
- refactorSkill
- release-checklistSkill
- retrospectiveSkill
- security-auditSkill
- setup-stackSkill
- skill-improveSkill
- skill-testSkill
- sprint-planSkill
- sprint-statusSkill
- stack-updateSkill
- startSkill
- story-doneSkill
- team-featureSkill
- team-gameSkill
- team-releaseSkill
- team-securitySkill
- tech-debtSkill
- test-setupSkill
- threat-modelSkill
- updateSkill
- ux-specSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 36
When HEAD is a story branch, name it and ask one AskUserQuestion: switch to the default branch and commit there (Recommended — a …
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Perf Audit
Reply in the project conversation language (CLAUDE.md → Language); code, identifiers, paths and commit messages stay in English.
Budgets — technical-preferences.md § Performance budgets; references stack-reference/web-platform.md, database.md, graphql.md, threejs-webgames.md; template findings.md. In the commands below, <hooks> is .claude/hooks/ in copy mode and ${CLAUDE_PLUGIN_ROOT}/hooks/ in plugin mode.
No budgets — the section is missing or still holds [N] placeholders → the audit is not blocked: the Core Web Vitals defaults of web-platform.md (LCP / INP / CLS at p75 mobile, TTFB, initial JS) are the budget for the web metrics, the Phase 2 table says so in a note ("budget: CWV default, none recorded"), API/DB/game metrics with no default are reported as NO BUDGET (measured, not judged), and the report proposes recording the budgets in technical-preferences.md (/setup-stack / /adopt field). A missing budget is never silently replaced by a guess.
Phase 1: Baseline (Bash, whatever is available)
Arguments. The mode selects the groups below: web → Lighthouse and the bundle; api → the k6 scenario; db → EXPLAIN; game → frame time, draw calls and memory; full (default) → every group the stack has. [url] is the page or endpoint to measure — with no argument the smoke URL of docs/ops/deploy.md, else ask; without a running instance web/api are reported as not measured.
Web: lighthouse --preset=perf --form-factor=mobile / Lighthouse CI; ng build --stats-json / vite build + visualizer; API: k6 run scenario (create with consent); DB: EXPLAIN (ANALYZE, BUFFERS) on top queries, pg_stat_statements; Go pprof, PHP Blackfire/Xdebug; game: renderer.info, a Performance trace, memory.
A missing tool — say so, offer installation.
Playwright MCP (optional). When the Playwright MCP tools are available (mcp__plugin_web-studio_playwright__*; copy mode with a user-added server: mcp__playwright__*), drive the live page through them — browser_navigate, browser_network_requests (request count, sizes, third-party hosts), browser_console_messages (errors and warnings), browser_snapshot — and quote the tool output in the measurement file next to the Lighthouse numbers. Without the tools, the CLI path above is the baseline; nothing depends on the MCP.
Phase 2: Analysis
Table "metric → value → budget → status"; findings with estimated gain and cost; the 3 cheapest.
Phase 3: Fixes (with consent)
Through the relevant engineers; re-measure with the same method — before/after.
Phase 4: Write
- Show the report in the chat, then "May I write
docs/ops/perf-audit-<date>.mdanddocs/ops/measurements/<date>-perf-audit.md?" — oneAskUserQuestion: write (Recommended) · show the draft/diff first · not now. The measurement file holds the commands, the environment and the raw output of Phase 1 and of the Phase 3 re-measurements (rule 12); the report quotes its numbers from that file, never from the session state. After the "write" answer:touch .claude/.write-consent(rule 7). - For every
OVER BUDGETmetric, oneAskUserQuestion: record it inproduction/findings.md(PERF-NNN, templatefindings.md) (Recommended) · improvement stories now · report only — so the budget miss reaches/create-storiesand/sprint-plan. Record the gate before asking —<hooks>session-state.sh set Gate "/perf-audit Phase 4: record PERF-NNN?"— and clear it after the answer (<hooks>session-state.sh set Gate "—"). After the "record" answer:touch .claude/.write-consent, then write the row.
Phase 5: Commit (documents lane)
Right after the write (and the findings rows, when any were recorded), one commit gate (rule 7 (4), .claude/docs/git-workflow.md § Documents): docs: perf audit <date>, staging exactly the written documents — docs/ops/perf-audit-<date>.md, docs/ops/measurements/<date>-perf-audit.md (rule 12), production/findings.md when rows were added and .claude/agent-memory/ when the run changed it (git-workflow § Agent memory). Record the gate before asking — <hooks>session-state.sh set Gate "/perf-audit Phase 5: commit?" — and clear it after the answer (<hooks>session-state.sh set Gate "—").
- On the default branch when no story work is in progress: one
AskUserQuestion— commit (Recommended) · leave uncommitted. - When HEAD is a story branch, name it and ask one
AskUserQuestion: switch to the default branch and commit there (Recommended — a pipeline-wide document) · commit here (the document belongs to this story) · leave uncommitted. - A k6 scenario created in Phase 1 and the Phase 3 fixes are code, not documents: they never ride the
docs:commit — name them and offer the improvement story they belong to or the chore lane (git-workflow.md § Chore / infra, branchchore/<slug>).
Nothing is committed without the answer.
Verdict: WITHIN BUDGET | OVER BUDGET (metrics: …). Next step — one AskUserQuestion: improvement stories (Recommended) · /release-checklist · re-run /perf-audit after fixes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

