Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add FrontToEnd/agent-skills --skill vue-best-practicesgit clone --depth 1 https://github.com/FrontToEnd/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/fronttoend/agent-skills/vue-best-practices)<a href="https://agentmods.dev/skills/fronttoend/agent-skills/vue-best-practices"><img src="https://agentmods.dev/badge/skills/fronttoend/agent-skills/vue-best-practices/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/fronttoend/agent-skills/vue-best-practices"><img src="https://agentmods.dev/badge/skills/fronttoend/agent-skills/vue-best-practices.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.00935 |
| Opus 5 | $0.00032 | $0.00467 |
| Sonnet 5 | $0.00013 | $0.00187 |
| Haiku 4.5 | $0.00006 | $0.00093 |
Grade A, and why
vue-best-practices scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Vue Best Practices
Overview
Comprehensive performance optimization guide for Vue 3 and Nuxt applications, containing 40+ rules across 8 categories. Rules are prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
- Writing new Vue 3 components or Nuxt pages
- Implementing data fetching (client or server-side)
- Reviewing code for performance issues
- Refactoring existing Vue/Nuxt code
- Optimizing bundle size or load times
Priority-Ordered Guidelines
Rules are prioritized by impact:
| Priority | Category | Impact |
|---|---|---|
| 1 | Eliminating Waterfalls | CRITICAL |
| 2 | Bundle Size Optimization | CRITICAL |
| 3 | Server-Side Performance | HIGH |
| 4 | Reactivity Optimization | MEDIUM-HIGH |
| 5 | Re-render Optimization | MEDIUM |
| 6 | Rendering Performance | MEDIUM |
| 7 | JavaScript Performance | LOW-MEDIUM |
| 8 | Advanced Patterns | LOW |
Quick Reference
Critical Patterns (Apply First)
Eliminate Waterfalls:
- Defer await until needed (move into branches)
- Use
Promise.all()for independent async operations - Start promises early, await late
- Use Nuxt
useAsyncDatawithlazyoption for parallel fetching - Use
<Suspense>boundaries to stream content
Reduce Bundle Size:
- Avoid barrel file imports (import directly from source)
- Use
defineAsyncComponentfor heavy components - Defer non-critical third-party libraries
- Use Vite's dynamic import for code splitting
- Consider
petite-vuefor progressive enhancement
High-Impact Server Patterns
- Avoid cross-request state pollution in SSR
- Create new app instance per request
- Use Pinia with SSR-safe patterns
- Parallelize data fetching with component composition
- Minimize serialization at SSR boundaries
Medium-Impact Reactivity Patterns
What ships with it
23 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/rules/advanced-composables.md 1.8 KB
- references/rules/advanced-pinia.md 1.9 KB
- references/rules/advanced-provide-inject.md 1.5 KB
- references/rules/async-defer-await.md 1.8 KB
- references/rules/async-promise-all.md 1.7 KB
- references/rules/async-suspense.md 2.0 KB
- references/rules/bundle-async-component.md 1.8 KB
- references/rules/bundle-barrel-imports.md 1.6 KB
- references/rules/js-index-maps.md 1.4 KB
- references/rules/js-set-map.md 1.5 KB
- references/rules/reactivity-mark-raw.md 1.4 KB
- references/rules/reactivity-ref-primary.md 1.4 KB
- references/rules/reactivity-shallow.md 1.7 KB
- references/rules/rendering-keep-alive.md 1.5 KB
- references/rules/rendering-keys.md 1.4 KB
- references/rules/rendering-teleport.md 1.4 KB
- references/rules/rendering-virtualize-lists.md 1.5 KB
- references/rules/rerender-computed-stability.md 1.8 KB
- references/rules/rerender-props-stability.md 1.5 KB
- references/rules/rerender-v-memo.md 1.6 KB
- references/rules/rerender-v-once.md 1.3 KB
- references/rules/server-state-pollution.md 1.7 KB
- references/vue-performance-guidelines.md 40 KB
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 122 lines · 64 tokens per session scan A ccb3db03fa8c
vue-best-practices is a skill published in the GitHub repository FrontToEnd/agent-skills (9 stars, last pushed 7mo ago), licensed MIT. It adds 64 tokens to every session and 935 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
shadcn-svelte
Pre-built shadcn-svelte components for json-render Svelte apps. Use when working with @json-render/shadcn-svelte, adding standard UI components to a Svelte catalog, or building Svelte web UIs with shadcn-svelte + Tailwind CSS components.
create-site
Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…
v3-create-crud
A page generator for standard create, read, update, and delete screens, commonly called CRUD screens. It uses Element Plus, a Vue user-interface library, to build tables, searches, pagination, forms, and delete confirmations.
v3-use-composables
Documentation for reusable Vue functions in a project, covering device detection, asynchronous dropdown data, loading screens, pagination, routing, themes, page titles, and watermarks.
moai-domain-uiux
UI/UX design systems specialist covering accessibility, icons, theming, design tokens, and user experience patterns. Use when working on design systems, WCAG compliance, ARIA patterns, or dark mode theming.
moai-domain-frontend
Frontend development specialist covering React 19, Next.js 16, Vue 3.5, and modern UI/UX patterns with component architecture. Use when building web UIs, implementing components, optimizing frontend performance, or integrating state management.