vue-development-guides by vuejs-ai/skills
npx skills add https://github.com/vuejs-ai/skills --skill vue-development-guides重要提示:在创建或更新组件或组合式函数时,您必须遵循 references/reactivity-guide.md 进行响应式状态管理。
重要提示:在使用 Vue 单文件组件时,您必须遵循 references/sfc-guide.md 中的最佳实践。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
<script setup lang="ts">(TypeScript)的 Vue 单文件组件。<script> → <template> → <style>。当一个组件承担 超过一个明确的职责 时(例如,数据编排 + UI,或多个独立的 UI 部分),请将其拆分。
useXxx())。注意:默认情况下,此规则也适用于 Vue / Nuxt 项目中的入口组件(例如 App.vue)。
重要提示:您必须遵循 references/data-flow-guide.md,使用以下方式在组件之间传递和接收数据:
v-model对于在应用程序中共享数据,请遵循 references/state-management-guide.md,并考虑使用 Store 作为状态管理解决方案。
每周安装量
1.5K
代码仓库
GitHub 星标数
2.1K
首次出现
2026年1月28日
安全审计
安装于
opencode914
claude-code886
codex849
gemini-cli786
github-copilot689
cursor654
IMPORTANT: You MUST follow the references/reactivity-guide.md for reactive state management when creating, updating a component or a composable.
IMPORTANT: You MUST follow the references/sfc-guide.md for best practices when working with Vue SFCs.
<script setup lang="ts"> (TypeScript) by default.<script> → <template> → <style>.Split a component when it has more than one clear responsibility (e.g. data orchestration + UI, or multiple independent UI sections).
useXxx()).NOTE: This rule also applies to the entry component (e.g. App.vue) in a Vue / Nuxt project by default.
IMPORTANT: You MUST follow the references/data-flow-guide.md for passing and receiving data between components using:
v-modelFor sharing data across the app, please follow the references/state-management-guide.md and consider using a Store for state management solution.
Weekly Installs
1.5K
Repository
GitHub Stars
2.1K
First Seen
Jan 28, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode914
claude-code886
codex849
gemini-cli786
github-copilot689
cursor654
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
103,800 周安装