vue-router-best-practices
π―Skillfrom hyf0/vue-skills
Agent skills for Vue 3 development, derived from real-world issues and providing specialized patterns for AI agents to enhance Vue development workflows.
Overview
The Vue Router Best Practices skill provides AI agents with specialized knowledge of Vue Router 4 for Vue 3 applications. Part of the vue-skills collection derived from real-world issues, it covers navigation guards, route parameters, route-component lifecycle management, and common pitfalls when working with Vue Router.
Key Features
- Navigation Guards - Best practices for implementing beforeEach, beforeEnter, and in-component navigation guards
- Route Parameter Handling - Guidance on working with route params, managing reactivity, and handling dynamic route segments
- Route-Component Lifecycle - Instructions on understanding the interaction between Vue Router navigation and Vue component lifecycle hooks
- Skill Trigger System - Activates when working with Vue Router 4; prefix prompts with "use vue skill" for reliable activation
- Cross-Agent Compatibility - Installable via skills CLI or Claude Code Marketplace, works with Claude Code, Cursor, and other supported agents
Who is this for?
This skill is for Vue 3 developers using Vue Router 4 who want AI-assisted guidance on routing best practices. It is particularly helpful for developers building single-page applications with complex navigation requirements who need to avoid common Vue Router pitfalls and implement proper navigation patterns.
Same repository
hyf0/vue-skills(11 items)
Installation
npx vibeindex add hyf0/vue-skills --skill vue-router-best-practicesnpx skills add hyf0/vue-skills --skill vue-router-best-practices~/.claude/skills/vue-router-best-practices/SKILL.mdSKILL.md
More from this repository10
A Vue 3 skill for AI agents providing Composition API and TypeScript best practices, common gotcha prevention, SSR guidance, and performance patterns for Claude Code and Cursor.
Diagnoses and resolves Vue 3 runtime errors, async failures, hydration issues, and common component debugging challenges.
Agent skills for Vue 3 development, derived from real-world issues and providing specialized patterns for AI agents to enhance Vue development workflows.
Agent skills for Vue 3 development, derived from real-world issues and providing specialized patterns for AI agents to enhance Vue development workflows.
Vue 3 Options API best practices covering TypeScript integration, method binding, lifecycle hooks, computed properties, and common gotchas like arrow function pitfalls and stateful method lifecycle management.
Agent skills for Vue 3 development, derived from real-world issues and providing specialized patterns for AI agents to enhance Vue development workflows.
Agent skills for Vue 3 development, derived from real-world issues and providing specialized patterns for AI agents to enhance Vue development workflows.
Provides comprehensive Vue.js development guidelines and best practices for creating, refactoring, and reviewing Vue and Nuxt projects with a focus on code quality
Provides Pinia state management best practices for Vue.js applications including store patterns, code organization, and performance optimization
Provides VueUse composable best practices for efficiently leveraging utility functions and reactive patterns in Vue.js applications