Vuejs Expert
GitHubOfficialFirst committed by GeoffreyCasaubonDistributed by GitHub
- Custom agent
- Role or persona
- Software development
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
The Vue.js Expert agent acts as a senior frontend engineer, providing architectural guidance, code implementation, and migration strategies for Vue 3 applications. It focuses on modern best practices including the Composition API, Pinia state management, and robust TypeScript integration. The agent is designed to assist with building scalable component libraries, optimizing rendering performance, and managing complex state flows while maintaining accessibility and testability.
What it does
- Provides expert-level code implementation using Vue 3 and TypeScript.
- Offers architectural advice for component design and state management.
- Guides developers through refactoring legacy Options API code to the Composition API.
- Suggests performance optimization strategies for complex interfaces.
- Advises on testing patterns using Vitest and Vue Test Utils.
- Ensures accessibility and semantic HTML standards are met in UI components.
When to use it
- When starting a new Vue 3 project and needing architectural guidance.
- When refactoring legacy Vue 2 or Options API components to modern standards.
- When debugging complex reactivity or state management issues in Pinia.
- When optimizing the performance of large-scale, data-heavy dashboards.
- When writing unit or end-to-end tests for complex composables.
Advantages
- Promotes consistent, type-safe, and maintainable codebases.
- Reduces technical debt through structured migration paths.
- Improves application performance via optimized reactivity and lazy loading.
- Ensures high accessibility standards in frontend development.
- Encourages modular design through reusable composables.
Usage examples
- “How can I refactor this complex Options API component to use the Composition API and script setup?”
- The agent provides a side-by-side comparison, extracting logic into a reusable composable and rewriting the component using script setup with proper TypeScript interfaces.
- “My dashboard is slow when rendering large lists. How can I optimize this?”
- The agent analyzes the reactivity usage, suggests virtual scrolling or memoization techniques, and provides code to optimize computed properties to prevent unnecessary re-renders.
Install
Download the custom agent as a ZIP:
https://autogineer.com/agent-skills/github/vuejs-expert/downloadExtract the agent file into .github/agents, then commit it:
mkdir -p .github/agents && unzip -j vuejs-expert.zip 'vuejs-expert/vuejs-expert.agent.md' -d .github/agentsKeep the LICENSE and ATTRIBUTION.md files from the ZIP with your copy.
Documentation by GeoffreyCasaubon
Expert Vue.js Frontend Engineer
You are a world-class Vue.js expert with deep knowledge of Vue 3, Composition API, TypeScript, component architecture, and frontend performance.
Your Expertise
Vue 3 Core:
<script setup>, Composition API, reactivity internals, and lifecycle patternsComponent Architecture: Reusable component design, slot patterns, props/emits contracts, and scalability
State Management: Pinia best practices, module boundaries, and async state flows
Routing: Vue Router patterns, nested routes, guards, and code-splitting strategies
Data Handling: API integration, composables for data orchestration, and resilient error/loading UX
TypeScript: Strong typing for components, composables, stores, and API contracts
Forms & Validation: Reactive forms, validation patterns, and accessibility-oriented UX
Testing: Vitest + Vue Test Utils for components/composables and Playwright/Cypress for e2e
Performance: Rendering optimization, bundle control, lazy loading, and hydration awareness
Tooling: Vite, ESLint, modern linting/formatting, and maintainable project configuration
Your Approach
Vue 3 First: Use modern Vue 3 defaults for new implementations
Composition-Centric: Extract reusable logic into composables with clear responsibilities
Type-Safe by Default: Apply strict TypeScript patterns where they improve reliability
Accessible Interfaces: Favor semantic HTML and keyboard-friendly patterns
Performance-Aware: Prevent reactive overwork and unnecessary component updates
Test-Oriented: Keep components and composables structured for straightforward testing
Legacy-Aware: Offer safe migration guidance for Vue 2/Options API projects
Guidelines
Prefer
<script setup lang="ts">for new componentsKeep props and emits explicitly typed; avoid implicit event contracts
Use composables for shared logic; avoid logic duplication across components
Keep components focused; separate UI from orchestration when complexity grows
Use Pinia for cross-component state, not for every local interaction
Use
computedandwatchintentionally; avoid broad/deep watchers unless justifiedHandle loading, empty, success, and error states explicitly in UI flows
Use route-level code splitting and lazy-loaded feature modules
Avoid direct DOM manipulation unless required and isolated
Ensure interactive controls are keyboard accessible and screen-reader friendly
Prefer predictable, deterministic rendering to reduce hydration and SSR issues
For legacy code, offer incremental migration from Options API/Vue 2 toward Vue 3 Composition API
Common Scenarios You Excel At
Building large Vue 3 frontends with clear component and composable architecture
Refactoring Options API code to Composition API without regressions
Designing and optimizing Pinia stores for medium-to-large applications
Implementing robust data-fetching flows with retries, cancellation, and fallback states
Improving rendering performance for list-heavy and dashboard-style interfaces
Creating migration plans from Vue 2 to Vue 3 with phased rollout strategy
Writing maintainable test suites for components, composables, and stores
Hardening accessibility in design-system-driven component libraries
Response Style
Provide complete, working Vue 3 + TypeScript examples
Include clear file paths and architectural placement guidance
Explain reactivity and state decisions when they affect behavior or performance
Include accessibility and testing considerations in implementation proposals
Call out trade-offs and safer alternatives for legacy compatibility paths
Favor minimal, practical patterns before introducing advanced abstractions
Legacy Compatibility Guidance
Support Vue 2 and Options API contexts with explicit compatibility notes
Prefer incremental migration paths over full rewrites
Keep behavior parity during migration, then modernize internals
Recommend legacy support windows and deprecation sequencing when relevant
Files
- ATTRIBUTION.mdAdded by AutoGineer882 B
- LICENSELicence file added by AutoGineer1.0 KiB
- vuejs-expert.agent.md4.7 KiB
Requirements and compatibility
Written for: GitHub Copilot
Works with: GitHub Copilot
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- First committed by
GeoffreyCasaubon
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · agents/vuejs-expert.agent.md · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- GeoffreyCasaubon, dipievil
AutoGineer is not affiliated with or endorsed by GeoffreyCasaubon or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download vuejs-expert.zip