[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MB85ZTQC24Q04X49MM4YXN":3,"skill-same:01M6MB85ZTQC24Q04X49MM4YXN":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":13,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":53,"updatedAt":54,"install":55,"resources":68},"01M6MB85ZTQC24Q04X49MM4YXN","vue-development-guides",null,"A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.","superhealth\u002Fskills-hub","superhealth","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6292112?v=4","01M6JA6E7F21BYK5W3E4P270TT","01M6JA6EC0W8MPHKDJVBZDSEZ0",0,"MIT","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000009","前端开发","SCENARIO","使用场景",[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"development","vue","guides","vue development guides","github","best practices","applications","collection","refactoring","js","projects","nuxt","project","tips","for","apply","2026-11-10 10:12:30",false,"---\nname: vue-development-guides\ndescription: A collection of best practices and tips for developing applications using Vue.js. This skill MUST be apply when developing, refactoring or reviewing Vue.js or Nuxt projects.\nlicense: MIT\nmetadata:\n  author: github.com\u002Fvuejs-ai\n  version: \"17.0.0\"\ncompatibility: Requires Vue 3 (or above) or Nuxt 3 (or above) project\n---\n\n# Vue.js Development Guides\n\n## Tasks Checklist\n\n- [ ] Followed the core principles\n- [ ] Followed the defaults unless there is a good reason not to\n- [ ] Followed the reactivity best practices\n- [ ] Followed the component best practices\n  - [ ] Followed the Vue SFC best practices\n  - [ ] Kept components focused\n    - [ ] Split large components into smaller ones when needed\n    - [ ] Moved state\u002Fside effects into composables if applicable\n  - [ ] Followed data flow best practices\n\n---\n\n## Core Principles\n- **Keep state predictable:** one source of truth, derive everything else.\n- **Make data flow explicit:** Props down, Events up for most cases.\n- **Favor small, focused components:** easier to test, reuse, and maintain.\n- **Avoid unnecessary re-renders:** use computed properties and watchers wisely.\n- **Readability counts:** write clear, self-documenting code.\n\n## Defaults (unless the user says otherwise)\n\n- Prefer the **Composition API** over the Options API.\n\n## Reactivity\n\nIMPORTANT: You MUST follow the `references\u002Freactivity-guide.md` for reactive state management when creating, updating a component or a composable.\n\n## Components\n\nIMPORTANT: You MUST follow the `references\u002Fsfc-guide.md` for best practices when working with Vue SFCs.\n\n- Prefer Vue Single-File Components (SFC) using **`\u003Cscript setup lang=\"ts\">`** (TypeScript) by default.\n- In Vue SFCs, keep sections in this order: `\u003Cscript>` → `\u003Ctemplate>` → `\u003Cstyle>`.\n\n### Keep components focused\n\nSplit a component when it has **more than one clear responsibility** (e.g. data orchestration + UI, or multiple independent UI sections).\n\n- Prefer **smaller components + composables** over one “mega component”\n- Move **UI sections** into child components (props in, events out).\n- Move **state\u002Fside effects** into composables (`useXxx()`).\n\nNOTE: This rule also applies to the entry component (e.g. App.vue) in a Vue \u002F Nuxt project by default.\n\n### Data Flow\n\nIMPORTANT: You MUST follow the `references\u002Fdata-flow-guide.md` for passing and receiving data between components using:\n- Props\n- Emits\n- `v-model`\n- provide\u002Finject\n\nFor sharing data across the app, please follow the `references\u002Fstate-management-guide.md` and consider using a Store for state management solution.\n","# Vue.js Development Guides\n\n## Tasks Checklist\n\n- [ ] Followed the core principles\n- [ ] Followed the defaults unless there is a good reason not to\n- [ ] Followed the reactivity best practices\n- [ ] Followed the component best practices\n  - [ ] Followed the Vue SFC best practices\n  - [ ] Kept components focused\n    - [ ] Split large components into smaller ones when needed\n    - [ ] Moved state\u002Fside effects into composables if applicable\n  - [ ] Followed data flow best practices\n\n---\n\n## Core Principles\n- **Keep state predictable:** one source of truth, derive everything else.\n- **Make data flow explicit:** Props down, Events up for most cases.\n- **Favor small, focused components:** easier to test, reuse, and maintain.\n- **Avoid unnecessary re-renders:** use computed properties and watchers wisely.\n- **Readability counts:** write clear, self-documenting code.\n\n## Defaults (unless the user says otherwise)\n\n- Prefer the **Composition API** over the Options API.\n\n## Reactivity\n\nIMPORTANT: You MUST follow the `references\u002Freactivity-guide.md` for reactive state management when creating, updating a component or a composable.\n\n## Components\n\nIMPORTANT: You MUST follow the `references\u002Fsfc-guide.md` for best practices when working with Vue SFCs.\n\n- Prefer Vue Single-File Components (SFC) using **`\u003Cscript setup lang=\"ts\">`** (TypeScript) by default.\n- In Vue SFCs, keep sections in this order: `\u003Cscript>` → `\u003Ctemplate>` → `\u003Cstyle>`.\n\n### Keep components focused\n\nSplit a component when it has **more than one clear responsibility** (e.g. data orchestration + UI, or multiple independent UI sections).\n\n- Prefer **smaller components + composables** over one “mega component”\n- Move **UI sections** into child components (props in, events out).\n- Move **state\u002Fside effects** into composables (`useXxx()`).\n\nNOTE: This rule also applies to the entry component (e.g. App.vue) in a Vue \u002F Nuxt project by default.\n\n### Data Flow\n\nIMPORTANT: You MUST follow the `references\u002Fdata-flow-guide.md` for passing and receiving data between components using:\n- Props\n- Emits\n- `v-model`\n- provide\u002Finject\n\nFor sharing data across the app, please follow the `references\u002Fstate-management-guide.md` and consider using a Store for state management solution.\n",{"name":5,"license":14,"metadata":44,"description":7,"compatibility":47},{"author":45,"version":46},"github.com\u002Fvuejs-ai","17.0.0","Requires Vue 3 (or above) or Nuxt 3 (or above) project","master","08cc2532077058aa50e6e18f54695bc256c88152","skills\u002Fvuejs-ai\u002Fvue-development-guides","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub","https:\u002F\u002Fgithub.com\u002Fsuperhealth","java engineer","2026-04-06 22:07:23",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add superhealth\u002Fskills-hub --skill vue-development-guides",{"tool":61,"command":62},"bunx","bunx skills add superhealth\u002Fskills-hub --skill vue-development-guides",{"tool":64,"command":65},"pnpm","pnpm dlx skills add superhealth\u002Fskills-hub --skill vue-development-guides","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002FSKILL.md",true,[69,75,79,83,87],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fdata-flow-guide.md","REFERENCE","参考文档",3208,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002Freferences\u002Fdata-flow-guide.md",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Freactivity-guide.md",4744,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002Freferences\u002Freactivity-guide.md",{"path":80,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Fsfc-guide.md",3142,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002Freferences\u002Fsfc-guide.md",{"path":84,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fstate-management-guide.md",1174,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002Freferences\u002Fstate-management-guide.md",{"path":88,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":89,"sourceHtmlUrl":90},"skill-report.json",10231,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002Fskill-report.json",[92,118,142,155,171,195],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":99,"publishedAt":39},"01M6MC9F3WHV8S8FZ2W4TRB0FE","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fzhanlincui\u002Fvercel-react-best-practices\u002FSKILL.md",[98],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[100,101,28,102,103,104,105,106,107,108,31,109,110,111,112,113,114,115,116,117],"react","vercel react best practices","vercel","react best practices","tasks","triggers","pages","next","patterns","data","Optimization","code","guidelines","react components","components","performance","writing","data fetching",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":128,"publishedAt":39},"01M6MB8KWE1Q5A5KERR7RFTQWP","vue-testing-best-practices","Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-testing-best-practices\u002FSKILL.md",[124,127],{"categoryNo":125,"categoryName":126,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[24,129,130,28,131,132,133,134,32,135,136,137,37,138,139,140,141,108,27],"vue testing best practices","testing best practices","testing","e2e","component","vitest","test","testing patterns","playwright","e2e testing","use","utils","mocking",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":149,"publishedAt":39},"01M6MB8GK06M6GA4KVYNDV1BZP","vue-router-best-practices","Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-router-best-practices\u002FSKILL.md",[148],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[150,151,24,28,152,108,153,154,133,27],"vue router best practices","router","route","navigation","lifecycle",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":162,"publishedAt":39},"01M6MB8DQF21TZMQ9XC3745ERW","vue-pinia-best-practices","Pinia stores, state management patterns, store setup, and reactivity with stores.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002FSKILL.md",[161],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[28,24,163,164,165,166,167,108,168,169,170,27],"pinia","vue pinia best practices","management","with","store","state","state management","setup",{"skillNo":172,"name":173,"nameZh":6,"description":174,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":175,"categories":176,"keywords":186,"publishedAt":39},"01M6MB8A7MC08747J9TV4GWQ9A","vue-options-api-best-practices","Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002FSKILL.md",[177,178,181],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":179,"categoryName":180,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":182,"categoryName":183,"taxonomyType":184,"taxonomyTypeDesc":185},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[187,188,189,24,28,109,27,190,191,192,193,194],"options","vue options api best practices","api","context","style","methods","reference","only",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":204,"publishedAt":39},"01M6MB74Y75A2CTHRB3R1W78AD","vue-best-practices","MUST be used for Vue.js tasks. Strongly recommends Composition API with `\u003Cscript setup>` and TypeScript as the standard approach. Covers Vue 3, SSR, Volar, vue-tsc. Load for any Vue, .vue files, Vue Router, Pinia, or Vite with Vue work. ALWAYS use Composition API unless the project explicitly requires Options API.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-best-practices\u002FSKILL.md",[201,202,203],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":179,"categoryName":180,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":182,"categoryName":183,"taxonomyType":184,"taxonomyTypeDesc":185},[28,24,205,27,151,37,206,166,207,35,187,208,209,139,210,163,211,189,104,212],"vue best practices","load","as","files","vite","work","Composition","ssr"]