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.5 $0.00026 $0.00374
Sonnet 5.5 $0.00013 $0.00187
Haiku 4.5 $0.00006 $0.00093

Measured 2mo ago against content hash ccb3db03fa8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 (10 stars, last pushed 9mo ago), licensed MIT. It adds 64 tokens to every session and 935 once invoked, about $0.0003 per session on Opus 5.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

vue-best-practices compared with skills from other repositories

vue-best-practices next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
vue-best-practicesFrontToEnd/agent-skillsSkill109mo agoMITA64Claude Code, Codex
shadcn-sveltevercel-labs/json-renderSkill19k2d agoApache-2.0A63Claude Code, Codex
add-localizationmicrosoft/power-platform-skillsSkill1.1kyesterdayMITA69Claude Code
vue-router-best-practicesvuejs-ai/skillsSkill3.3k14d agoMITA25Claude Code, Codex
moai-domain-uiuxmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A49Claude Code
moai-domain-frontendmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A54Claude Code
frontend-conventionsfpindej/netrockSkill2354d agoMITA27Claude Code