vue-best-practices

vue-best-practices is a skill for Claude Code, Codex from FrontToEnd/agent-skills. It costs 64 tokens per session (935 once invoked), scanned A, original, MIT.

A set of performance guidelines for Vue 3 and Nuxt, JavaScript frameworks for building web interfaces and applications. The rules cover data loading, application bundles, server work, reactivity, and rendering.

In plain words
What is it for?
Use it when writing, reviewing, or refactoring Vue components, Nuxt pages, data fetching, bundle configuration, or rendering logic.
Why use it?
It helps developers spot patterns that make pages load slowly, send too much code, or perform unnecessary work in the browser or server.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing, reviewing, or refactoring Vue components, Nuxt pages, data fetching, bundle configuration, or rendering logic.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fronttoend/agent-skills/vue-best-practices
Install

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.

Any agent
npx skills add FrontToEnd/agent-skills --skill vue-best-practices
Clone the repo
git clone --depth 1 https://github.com/FrontToEnd/agent-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for vue-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/fronttoend/agent-skills/vue-best-practices/github.svg)](https://agentmods.dev/skills/fronttoend/agent-skills/vue-best-practices)
Your own site
<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.

agentmods 80×15 button for vue-best-practices

Your own site · 80×15
<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>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 935 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 12d ago against content hash ccb3db03fa8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

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.

skills/vue-best-practices/SKILL.md · 122 lines

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 useAsyncData with lazy option for parallel fetching
  • Use <Suspense> boundaries to stream content

Reduce Bundle Size:

  • Avoid barrel file imports (import directly from source)
  • Use defineAsyncComponent for heavy components
  • Defer non-critical third-party libraries
  • Use Vite's dynamic import for code splitting
  • Consider petite-vue for 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

Read the full file on GitHub · 122 lines

Changes

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.

  1. 12d ago First seen · 122 lines · 64 tokens per session scan A ccb3db03fa8c

Subscribe to this mod's changes

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.

Related

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.

vercel-labs/json-render · 63 tokens

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…

microsoft/power-platform-skills · 73 tokens

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.

un-pany/v3-admin-vite · 108 tokens

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.

un-pany/v3-admin-vite · 137 tokens

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.

modu-ai/moai-adk · 49 tokens

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.

modu-ai/moai-adk · 54 tokens