Skill Press

No. 925 · vue-router-best-practices

VUE Router BEST Practices

A field guide from Vue.js AI contributors

Vue.js AI contributors

When to use it

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

Rank
No. 925 of 971
Installs
Not listed yet
Runs in
Claude
Length
98 words · 1 min
Files
10
License
MIT

Get this skill

Download the skill folder (.zip, 18 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "vue-router-best-practices" Agent Skill by Vue.js AI contributors, from https://github.com/vuejs-ai/skills.

1. Fetch the whole folder skills/vue-router-best-practices — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/vuejs-ai/skills.git 198f0cd8f7f9c0a3d9b566ccc16de6677519ee78
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "vue-router-best-practices":
   - Claude Code: ~/.claude/skills/vue-router-best-practices/ (all projects) or .claude/skills/vue-router-best-practices/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that vue-router-best-practices/SKILL.md exists and its frontmatter says name: vue-router-best-practices.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/vuejs-ai/skills/tree/198f0cd8f7f9c0a3d9b566ccc16de6677519ee78/skills/vue-router-best-practices --skill vue-router-best-practices

Claude.ai

Upload the .zip as a custom skill.

  1. In Settings → Capabilities, turn on “Code execution and file creation”.
  2. Download the .zip above.
  3. Go to Customize → Skills, click + → Create skill → Upload a skill, and choose it.
Anthropic’s guide to using skills ↗

The skill, in full

Vue Router best practices, common gotchas, and navigation patterns.

Route Lifecycle

Setup

More in Software & Web Development

All Software & Web Development skills →

More from Vue.js AI contributors

From vuejs-ai/skills at 198f0cd, MIT. Install counts from skills.sh.