Nuxt full-stack Vue framework with SSR, auto-imports, and file-based routing. Use when working with Nuxt apps, server routes, useFetch, middleware, or hybrid rendering.
vue-router-best-practices
vue-router-best-practices is an open-source frontend skill for Claude Code and compatible agents, published by antfu. Its author describes it as: “Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.”. The project has 5.8k stars on GitHub and is available under the MIT license. Add it to your setup with `git clone https://github.com/antfu/skills ~/.claude/skills/vue-router-best-practices`.
What vue-router-best-practices does
Vue Router best practices, common gotchas, and navigation patterns.
Installation
Add vue-router-best-practices to your agent with:
git clone https://github.com/antfu/skills ~/.claude/skills/vue-router-best-practices Always review a skill's source before installing it. This command comes from the skill's public repository; the linked repo is the source of truth for exact setup steps.
What's inside
The SKILL.md for vue-router-best-practices is organised into these sections:
- Navigation Guards
- Route Lifecycle
- Setup
When to use it
Reach for vue-router-best-practices when you want frontend help from your agent without writing the same instructions every session. Load the skill and the agent picks it up automatically for relevant tasks.
Strengths
- Clear MIT license — safe to read and adapt
- Ships in antfu/skills, an established project with 5,770 GitHub stars
- Actively maintained (recent commits)
Topics
Frequently asked questions
- What does vue-router-best-practices do?
- Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
- How do I install vue-router-best-practices?
- Run git clone https://github.com/antfu/skills ~/.claude/skills/vue-router-best-practices in your agent, then reload your skills. Review the source at https://github.com/antfu/skills before installing.
- Is vue-router-best-practices free to use?
- Yes. vue-router-best-practices is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Where does vue-router-best-practices come from?
- vue-router-best-practices ships inside antfu/skills, a repository that contains 19 catalogued skills in total. The repository's 5,770 GitHub stars apply to that whole collection, not to this skill on its own.
Related skills
More Frontend →Pinia official Vue state management library, type-safe and extensible. Use when defining stores, working with state/getters/actions, or implementing store patterns in Vue apps.
Create and present web-based slidedecks for developers using Slidev with Markdown, Vue components, code highlighting, animations, and interactive features. Use when building technical presentations, conference talks, code walkthroughs, teaching materials, or developer decks.
Bundle TypeScript and JavaScript libraries with blazing-fast speed powered by Rolldown. Use when building libraries, generating type declarations, bundling for multiple formats, or migrating from tsup.
UnoCSS instant atomic CSS engine, superset of Tailwind CSS. Use when configuring UnoCSS, writing utility rules, shortcuts, or working with presets like Wind, Icons, Attributify.