vue-performance-audit
Skill0 starsChanged 7 months agoMITView on GitHub
Audit Vue 3 + TypeScript codebase for performance issues including reactive data misuse, expensive computed properties, unnecessary re-renders, Pinia getter inefficiency, and bundle size problems. Use when the user mentions performance, slowness, lag, optimization, or re-render issues, or when preparing for a production release.
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- accessibility-auditSkill
The file
Files
Vue Performance Audit
Audit steps
- Reactive data misuse — grep
src/forref([andreactive([holding large arrays that should be computed or derived; flag.valueaccess inside templates that could be acomputed. - Computed vs method — in
src/components/andsrc/pages/, identify functions called in templates ({{ fn() }}) that should becomputedfor memoization. - Watch overhead — scan for
watchwithdeep: trueon large objects; suggest watching specific paths or usingwatchEffectwith narrower scope. - v-for pitfalls — grep templates for
v-formissing:key, and forv-if+v-foron the same element (always a bug in Vue 3). - Pinia getters — check
src/stores/for getters that recompute derived lists on every access; confirm they usecomputed()inside setup stores. - Component splitting — flag page-level components over ~250 lines that could
benefit from async child components with
defineAsyncComponent. - Router lazy-loading — verify every route in
src/router/index.tsuses() => import(...)(per project convention); flag any static imports of pages. - Bundle size — check
src/for barrel imports likeimport { everything } from 'lodash'that should beimport debounce from 'lodash/debounce'.
Output format
Report findings grouped by severity:
- 🔴 High impact — causes measurable UI jank or network overhead
- 🟡 Medium — degrades as data grows
- 🟢 Low / preventive — good hygiene, no current symptom
Include file path and line number for each finding.
For detailed Vue 3 reactivity pitfalls, see CHECKLIST.md.
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.

