vue-best-practices

Vue 3 TypeScript, vue-tsc, Volar, Vite, component props, testing, composition API.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "vue-best-practices" with this command: npx skills add yuanxiao0115/agent-skills/yuanxiao0115-agent-skills-vue-best-practices

Vue Best Practices

Capability Rules

RuleKeywordsDescription
extract-component-propsget props type, wrapper component, extend props, inherit props, ComponentPropsExtract types from .vue components
vue-tsc-strict-templatesundefined component, template error, strictTemplatesCatch undefined components in templates
fallthrough-attributesfallthrough, $attrs, wrapper componentType-check fallthrough attributes
strict-css-modulescss modules, $style, typoCatch CSS module class typos
data-attributes-configdata-*, strictTemplates, attributeAllow data-* attributes
volar-3-breaking-changesvolar, vue-language-server, editorFix Volar 3.0 upgrade issues
module-resolution-bundlercannot find module, @vue/tsconfig, moduleResolutionFix module resolution errors
unplugin-auto-import-conflictsunplugin, auto-import, types anyFix unplugin type conflicts
codeactions-save-performanceslow save, vscode, performanceFix slow save in large projects
duplicate-plugin-detectionduplicate plugin, vite, vue pluginDetect duplicate plugins
define-model-update-eventdefineModel, update event, undefinedFix model update errors
with-defaults-union-typeswithDefaults, union type, defaultFix union type defaults
deep-watch-numericwatch, deep, array, Vue 3.5Efficient array watching
vue-directive-comments@vue-ignore, @vue-skip, templateControl template type checking
script-setup-jsdocjsdoc, script setup, documentationAdd JSDoc to script setup
vue-router-typed-paramsroute params, typed router, unpluginFix route params typing

Efficiency Rules

RuleKeywordsDescription
hmr-vue-ssrhmr, ssr, hot reloadFix HMR in SSR apps
pinia-store-mockingpinia, mock, vitest, storeMock Pinia stores

Reference

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

vue-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

read-github

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

cli-design-guidelines

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

dev-browser

No summary provided by upstream source.

Repository SourceNeeds Review