Agent skill

vue-best-practices

Vue 3 and Vue.js best practices for TypeScript, vue-tsc, and Volar. This skill should be used when writing, reviewing, or refactoring Vue components to ensure correct typing patterns. Triggers on tasks involving Vue components, props extraction, wrapper components, template type checking, or Volar configuration.

Stars 232
Forks 15

Install this agent skill to your Project

npx add-skill https://github.com/aiskillstore/marketplace/tree/main/skills/hyf0/vue-best-practices

Metadata

Additional technical details for this skill

author
hyf0
version
8.0.0

SKILL.md

Capability Rules

Rule Keywords Description
extract-component-props get props type, wrapper component, extend props, inherit props, ComponentProps Extract types from .vue components
vue-tsc-strict-templates undefined component, template error, strictTemplates Catch undefined components in templates
fallthrough-attributes fallthrough, $attrs, wrapper component Type-check fallthrough attributes
strict-css-modules css modules, $style, typo Catch CSS module class typos
data-attributes-config data-*, strictTemplates, attribute Allow data-* attributes
volar-3-breaking-changes volar, vue-language-server, editor Fix Volar 3.0 upgrade issues
module-resolution-bundler cannot find module, @vue/tsconfig, moduleResolution Fix module resolution errors
define-model-update-event defineModel, update event, undefined Fix model update errors
with-defaults-union-types withDefaults, union type, default Fix union type defaults
deep-watch-numeric watch, deep, array, Vue 3.5 Efficient array watching
vue-directive-comments @vue-ignore, @vue-skip, template Control template type checking
vue-router-typed-params route params, typed router, unplugin Fix route params typing

Efficiency Rules

Rule Keywords Description
hmr-vue-ssr hmr, ssr, hot reload Fix HMR in SSR apps
pinia-store-mocking pinia, mock, vitest, store Mock Pinia stores

Reference

Expand your agent's capabilities with these related and highly-rated skills.

aiskillstore/marketplace

perigon-backend

Perigon ASP.NET Core + EF Core + Aspire conventions

232 15
Explore
aiskillstore/marketplace

perigon-agent

Pointers for Copilot/agents to apply Perigon conventions

232 15
Explore
aiskillstore/marketplace

perigon-angular

Angular 21+ standalone/Material/signal conventions for Perigon WebApp

232 15
Explore
aiskillstore/marketplace

fastapi-mastery

Comprehensive FastAPI development skill covering REST API creation, routing, request/response handling, validation, authentication, database integration, middleware, and deployment. Use when working with FastAPI projects, building APIs, implementing CRUD operations, setting up authentication/authorization, integrating databases (SQL/NoSQL), adding middleware, handling WebSockets, or deploying FastAPI applications. Triggered by requests involving .py files with FastAPI code, API endpoint creation, Pydantic models, or FastAPI-specific features.

232 15
Explore
aiskillstore/marketplace

context7-efficient

Token-efficient library documentation fetcher using Context7 MCP with 86.8% token savings through intelligent shell pipeline filtering. Fetches code examples, API references, and best practices for JavaScript, Python, Go, Rust, and other libraries. Use when users ask about library documentation, need code examples, want API usage patterns, are learning a new framework, need syntax reference, or troubleshooting with library-specific information. Triggers include questions like "Show me React hooks", "How do I use Prisma", "What's the Next.js routing syntax", or any request for library/framework documentation.

232 15
Explore
aiskillstore/marketplace

browser-use

Browser automation using Playwright MCP. Navigate websites, fill forms, click elements, take screenshots, and extract data. Use when tasks require web browsing, form submission, web scraping, UI testing, or any browser interaction.

232 15
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results