perf-audit
Skill16 starsChanged 7 months agoMITView on GitHub
Audit frontend bundle size and performance. Use when asked to "audit performance", "analyze bundle", "check bundle size", or find frontend bottlenecks. Don't use for backend performance, database queries, or projects without a frontend build step.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- gonimar/claude-web-studiotheir own version, first seen Sep 27, 2026
- rcelebrone/DotAgentstheir own version, first seen Sep 23, 2026
- kelgirechandrakant-cpu/vibe-coding-playbooktheir own version, first seen Aug 17, 2026
- eric-cielo/moflotheir own version, first seen Aug 4, 2026
- cystema/skillstheir own version, first seen Jul 21, 2026
Used with
Projects with it also use security-audit, refactor and 1 more.
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.
CloudflareSkillsecurity-audit
Security guidance and vulnerability review for codebases, APIs, services, CLI tools, libraries, and daemons. Use for security questions, focused reviews, vulnerability research, security audits, or pen tests. Run the complete workflow only for explicit codebase audit or pen-test requests, full/comprehensive/end-to-end reviews, or requested report artifacts.
Also in 5 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 3 projects that use this
VercelSkilldeploy
Deploy applications to Vercel. Use when the user says "deploy", "deploy to Vercel", "push to production", "deploy my app", or "go live".
Also in 3 projects that use this
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- Houseofmvps/ultraship★ 123same name
- eric-cielo/moflo★ 18same name
- rcelebrone/DotAgents★ 15same name
- zeon-kun/claude-skills★ 6same name
- gonimar/claude-web-studio★ 5same name
- kelgirechandrakant-cpu/vibe-coding-playbook★ 4same name
- muon-m2/magento2-tools★ 4same name
- CodeWithBehnam/cc-docs★ 2same name
- cystema/skills★ 1same name
- PeterStanchev/ps-claude-skills★ 1same name
1 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 repository38 other files it gives its agents.
- AGENTS.mdAGENTS.md
- a11y-auditSkill
- architecture-auditSkill
- buildSkill
- codebase-designSkill
- code-reviewSkill
- commitSkill
- create-adrSkill
- create-pull-requestSkill
- create-skillSkill
- deps-auditSkill
- diagnoseSkill
- domain-modelingSkill
- e2eSkill
- explain-codeSkill
- fortifySkill
- frontend-ui-engineeringSkill
- grill-meSkill
- handoffSkill
- hardenSkill
- i18nSkill
- planSkill
- prose-fixSkill
- prototypeSkill
- researchSkill
- reviewSkill
- reviseSkill
- safe-repoSkill
- shipSkill
- source-drivenSkill
- specSkill
- tddSkill
- teachSkill
- testSkill
- triage-reviewSkill
- validate-codeSkill
- visual-reviewSkill
- visual-validateSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
Run the production build via the project's task runner (auto-detect from package.json).
- Very specific: line 19
Check package.json for known heavy packages
- Distinctive: line 34
Never auto-change dependencies -- report and suggest only
- Distinctive: line 39
No build output found -- run production build first
“Common” is measured: kept by at least 6 in 10 of the 9 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
Performance Audit
Workflow
- Detect build tool from
package.json(vite, webpack, next, rollup) - Run the production build via the project's task runner (auto-detect from package.json).
- Analyze the build output — non-interactive only. Never launch a browser or a long-running server in an audit; those hang an automated run. Prefer, in order:
- Measure the emitted files directly: for each file in the output dir (e.g.
dist/assets/*.js), report raw + gzipped size —gzip -c <file> | wc -c. This always works and needs no extra tooling. - Per-module breakdown, as a static artifact (not a server):
- Vite/Rollup:
npx source-map-explorer 'dist/assets/*.js', or addrollup-plugin-visualizerconfigured to emit JSON/HTML to a file - webpack/Next.js:
npx webpack-bundle-analyzer -m static -r report.html <stats-file>(writes a file; do not use the default server mode)
- Vite/Rollup:
npx vite-bundle-visualizeropens a browser and blocks — only suggest it to the user for manual exploration; do not run it here.
- Measure the emitted files directly: for each file in the output dir (e.g.
- Check
package.jsonfor known heavy packages - Report findings with size impact
Compare against standard industry thresholds; report gzipped sizes.
Output format
- Bundle summary: total size / gzipped size vs budget
- Large chunks: name + size + % of total
- Heavy deps: package + size + lighter alternative
- Quick wins: sorted by estimated savings
Rules
- Report gzipped sizes (what the browser downloads)
- Never auto-change dependencies -- report and suggest only
Error Handling
- Build fails -- report the error and stop; fix build issues before auditing
- No build output found -- run production build first
- Build tool unrecognized -- fall back to scanning
package.jsonfor heavy packages only
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.

