vue
Skill0 starsChanged 5 months agoMITView on GitHub
Vue 3 development guidance for Composition API, script setup, composables, Pinia, Vite, SSR boundaries, and component structure. Use when building or reviewing Vue UI, composables, or state management.
22 other projects use a version of this.
Adopted by
Most recently taken up by
- antfu/skillstheir own version, first seen Sep 30, 2026
- vercel-labs/json-rendertheir own version, first seen Sep 23, 2026
- display-design-studio/skillstheir own version, first seen Sep 21, 2026
- onmax/nuxt-skillstheir own version, first seen Sep 18, 2026
- danielteles/awesome-agent-skillstheir own version, first seen Sep 2, 2026
- conjure-3301/skillstheir own version, first seen Aug 17, 2026
Used with
Projects with it also use angular, django and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
dylantarreSkillangular
Builds token-driven Angular components with signals and standalone components. Use when creating Angular component libraries, integrating design tokens, or building design system components with new control flow syntax.
Also in 3 projects that use this
MicrosoftSkilldjango
Best practices for Django web development including models, views, templates, and testing.
Also in 3 projects that use this
VercelSkillshadcn
Pre-built shadcn/ui components for json-render. Use when working with @json-render/shadcn, adding standard UI components to a catalog, or building web UIs with Radix UI + Tailwind CSS components.
Also in 3 projects that use this
Other versions22 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 22
- vercel-labs/json-render★ 18ksame name
- antfu/skills★ 5.9ksame name
- onmax/nuxt-skills★ 717same name
- JetBrains/skills★ 360same name
- konnga/skill-buddy★ 114same name
- uni-helper/skills★ 107same name
- dylantarre/design-system-skills★ 50same name
- nimadorostkar/Claude-Skills-collection★ 28same name
- KIMJINWOO4/vue-skills★ 21same name
- skills-club/skills-live★ 13same name
12 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- AGENTS.mdAGENTS.md
- api-designSkill
- architecture-consultantSkill
- backend-patternsSkill
- ci-cdSkill
- code-reviewSkill
- containersSkill
- database-migrationsSkill
- doc-generatorSkill
- git-workflowSkill
- go-reviewSkill
- luaSkill
- markdownSkill
- nginxSkill
- nodejsSkill
- observabilitySkill
- product-managerSkill
- project-standards-initSkill
- prompt-designSkill
- python-reviewSkill
- reactSkill
- redisSkill
- relay-imagegenSkill
- releaseSkill
- security-baselineSkill
- semi-mcp-setupSkill
- tailwindcssSkill
- test-engineeringSkill
- tibishu-note-searchSkill
- tibishu-notesSkill
- typescript-reviewSkill
- unity-csharpSkill
- validation-lintSkill
The file
Files
Skill: Vue Development
本 Skill 专注于 Vue 生态的开发与架构指导,确保项目遵循现代 Vue 3 最佳实践,具备高性能与高可维护性。
🎯 触发条件
当以下情况发生时启用:
- "写一个 Vue 3 组件"
- "帮我重构成 Composition API 写法"
- "如何设计这个 Composable (useXxx)?"
- "优化这个 Vue 应用的响应式性能"
👉 自动启用本 Skill
🎯 Purpose
提供地道的 Vue 3 开发建议,特别是在 Composition API 模式下的逻辑提取、响应式优化及企业级状态管理。
🧩 Capabilities
- 高级 Composable 模式:
- 单一职责 SRP:指导编写功能单一、可测试的逻辑函数。
- 服务式 Composable:利用组合式 API 构建轻量级的业务服务层。
- Pinia 模块化架构:指导去中心化 Store 设计,强调一个 Store 仅负责一个领域/功能,并深度利用 TypeScript 类型推断。
- 响应式性能极限优化:
- 浅层响应式 (shallowRef):处理大型对象或数组时的性能加速。
- 内置指令优化:合理使用
v-memo,v-once及markRaw减少计算压力。
- 工程化与可观测性:
- 异步组件:利用
defineAsyncComponent实现精准的包体积控制。 - 组合式逻辑审计:严禁在 Composable 之外维护跨组件共享的非响应式状态。
- 异步组件:利用
- RSC 与全栈思维:指导 Next.js/Remix 场景下服务器组件与客户端组件的合理分界。
- UI 组件库集成:指导 shadcn/vue 或 Nuxt UI 等现代组件库的模式应用。
🔍 能力溯源 (Source Mapping)
| 能力 | 来源 | 类型 |
| 高级 Composable 模式 | vue-best-practices | ✅ 整合外部优质模式 |
| Pinia 模块化架构 | pinia-patterns | ✅ 整合外部优质模式 |
| 响应式性能优化 | vue-perf-handbook | ✅ 整合外部优质模式 |
| 异步组件工程化 | vite-bundling-guide | ✅ 整合外部优质模式 |
📚 参考资料 (References)
🧠 Usage
当以下情况发生时调用:
- 使用 Vue 3 初始化新功能或重构旧的 Options API 代码时。
- 需要设计跨组件共享的业务逻辑(Composables)时。
- 优化前端性能瓶颈(如长列表渲染、复杂表单状态)时。
📥 Input
- 业务 UI 交互原型。
- 现有的 Vue 组件代码段。
- 预期的技术栈(Vue 3 + Vite + Pinia/Vuex)。
📤 Output
- 结构严密的
.vue组件代码示例。 - 逻辑清晰的
useXxxComposable 实现。 - Pinia Store 的定义规范。
⚠️ Constraints
- ✅ 组合式 API 优先:强制使用
<script setup>语法及 Composition API。 - ✅ 状态单流向:严禁通过
parent或root直接修改状态。 - ✅ 禁止 Mixins:严禁在新代码中使用 Mixins,必须使用 Composables 替代。
- ✅ 内存泄漏预防:所有在 Composable 中开启的底层监听或长连接必须提供销毁钩子。
- ✅ SSR 友好:严禁在非客户端生命周期(如 Setup)中访问
window或document。
🔗 Related Skills
- typescript-review: 涉及 Vue 中的 TS 类型审计。
- api-design: 涉及前端与后端接口的集成规范。
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

