[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MB8A7MC08747J9TV4GWQ9A":3,"skill-same:01M6MB8A7MC08747J9TV4GWQ9A":104},{"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":17,"publishedAt":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":37,"commitSha":38,"skillDirectory":39,"forksCount":13,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6MB8A7MC08747J9TV4GWQ9A","vue-options-api-best-practices",null,"Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.","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-options-api-best-practices\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29],"best practices","vue","api","vue options api best practices","options","github","data","context","only","reference","methods","style","2026-11-10 10:12:30",false,"---\nname: vue-options-api-best-practices\ndescription: \"Vue 3 Options API style (data(), methods, this context). Each reference shows Options API solution only.\"\nversion: 2.0.0\nlicense: MIT\nauthor: github.com\u002Fvuejs-ai\n---\n\nVue.js Options API best practices, TypeScript integration, and common gotchas.\n\n### TypeScript\n- Need to enable TypeScript type inference for component properties → See [ts-options-api-use-definecomponent](reference\u002Fts-options-api-use-definecomponent.md)\n- Enabling type safety for Options API this context → See [ts-strict-mode-options-api](reference\u002Fts-strict-mode-options-api.md)\n- Using old TypeScript versions with prop validators → See [ts-options-api-arrow-functions-validators](reference\u002Fts-options-api-arrow-functions-validators.md)\n- Event handler parameters need proper type safety → See [ts-options-api-type-event-handlers](reference\u002Fts-options-api-type-event-handlers.md)\n- Need to type object or array props with interfaces → See [ts-options-api-proptype-complex-types](reference\u002Fts-options-api-proptype-complex-types.md)\n- Injected properties missing TypeScript types completely → See [ts-options-api-provide-inject-limitations](reference\u002Fts-options-api-provide-inject-limitations.md)\n- Complex computed properties lack clear type documentation → See [ts-options-api-computed-return-types](reference\u002Fts-options-api-computed-return-types.md)\n\n### Methods & Lifecycle\n- Methods aren't binding to component instance context → See [no-arrow-functions-in-methods](reference\u002Fno-arrow-functions-in-methods.md)\n- Lifecycle hooks losing access to component data → See [no-arrow-functions-in-lifecycle-hooks](reference\u002Fno-arrow-functions-in-lifecycle-hooks.md)\n- Debounced functions sharing state across component instances → See [stateful-methods-lifecycle](reference\u002Fstateful-methods-lifecycle.md)\n","Vue.js Options API best practices, TypeScript integration, and common gotchas.\n\n### TypeScript\n- Need to enable TypeScript type inference for component properties → See [ts-options-api-use-definecomponent](reference\u002Fts-options-api-use-definecomponent.md)\n- Enabling type safety for Options API this context → See [ts-strict-mode-options-api](reference\u002Fts-strict-mode-options-api.md)\n- Using old TypeScript versions with prop validators → See [ts-options-api-arrow-functions-validators](reference\u002Fts-options-api-arrow-functions-validators.md)\n- Event handler parameters need proper type safety → See [ts-options-api-type-event-handlers](reference\u002Fts-options-api-type-event-handlers.md)\n- Need to type object or array props with interfaces → See [ts-options-api-proptype-complex-types](reference\u002Fts-options-api-proptype-complex-types.md)\n- Injected properties missing TypeScript types completely → See [ts-options-api-provide-inject-limitations](reference\u002Fts-options-api-provide-inject-limitations.md)\n- Complex computed properties lack clear type documentation → See [ts-options-api-computed-return-types](reference\u002Fts-options-api-computed-return-types.md)\n\n### Methods & Lifecycle\n- Methods aren't binding to component instance context → See [no-arrow-functions-in-methods](reference\u002Fno-arrow-functions-in-methods.md)\n- Lifecycle hooks losing access to component data → See [no-arrow-functions-in-lifecycle-hooks](reference\u002Fno-arrow-functions-in-lifecycle-hooks.md)\n- Debounced functions sharing state across component instances → See [stateful-methods-lifecycle](reference\u002Fstateful-methods-lifecycle.md)\n",{"name":5,"author":35,"license":14,"version":36,"description":7},"github.com\u002Fvuejs-ai","2.0.0","master","08cc2532077058aa50e6e18f54695bc256c88152","skills\u002Fvuejs-ai\u002Fvue-options-api-best-practices","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":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add superhealth\u002Fskills-hub --skill vue-options-api-best-practices",{"tool":50,"command":51},"bunx","bunx skills add superhealth\u002Fskills-hub --skill vue-options-api-best-practices",{"tool":53,"command":54},"pnpm","pnpm dlx skills add superhealth\u002Fskills-hub --skill vue-options-api-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002FSKILL.md",true,[58,64,68,72,76,80,84,88,92,96,100],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"reference\u002Fno-arrow-functions-in-lifecycle-hooks.md","REFERENCE","参考文档",2917,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fno-arrow-functions-in-lifecycle-hooks.md",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"reference\u002Fno-arrow-functions-in-methods.md",2034,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fno-arrow-functions-in-methods.md",{"path":69,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":70,"sourceHtmlUrl":71},"reference\u002Fstateful-methods-lifecycle.md",1923,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fstateful-methods-lifecycle.md",{"path":73,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":74,"sourceHtmlUrl":75},"reference\u002Fts-options-api-arrow-functions-validators.md",4691,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fts-options-api-arrow-functions-validators.md",{"path":77,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":78,"sourceHtmlUrl":79},"reference\u002Fts-options-api-computed-return-types.md",4924,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fts-options-api-computed-return-types.md",{"path":81,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":82,"sourceHtmlUrl":83},"reference\u002Fts-options-api-proptype-complex-types.md",4909,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fts-options-api-proptype-complex-types.md",{"path":85,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":86,"sourceHtmlUrl":87},"reference\u002Fts-options-api-provide-inject-limitations.md",3342,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fts-options-api-provide-inject-limitations.md",{"path":89,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":90,"sourceHtmlUrl":91},"reference\u002Fts-options-api-type-event-handlers.md",5582,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fts-options-api-type-event-handlers.md",{"path":93,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":94,"sourceHtmlUrl":95},"reference\u002Fts-options-api-use-definecomponent.md",4690,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fts-options-api-use-definecomponent.md",{"path":97,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":98,"sourceHtmlUrl":99},"reference\u002Fts-strict-mode-options-api.md",4840,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Freference\u002Fts-strict-mode-options-api.md",{"path":101,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":102,"sourceHtmlUrl":103},"skill-report.json",13041,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-options-api-best-practices\u002Fskill-report.json",[105,130,152,164,179,196],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":30},"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",[],[112,113,18,114,115,116,117,118,119,120,121,122,24,123,124,125,126,127,128,129],"react","vercel react best practices","react best practices","vercel","guidelines","data fetching","triggers","pages","next","patterns","refactoring","Optimization","code","tasks","react components","components","performance","writing",{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":30},"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",[],[137,138,19,18,139,140,141,142,143,144,23,145,146,147,148,149,150,121,151],"testing best practices","vue testing best practices","testing","mocking","playwright","vitest","e2e","testing patterns","e2e testing","component","test","js","for","utils","use",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":30},"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",[],[159,18,19,160,161,23,162,163,146,121],"vue router best practices","router","route","navigation","lifecycle",{"skillNo":165,"name":166,"nameZh":6,"description":167,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":170,"publishedAt":30},"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",[],[18,19,171,172,173,174,175,121,176,177,178,23],"pinia","vue pinia best practices","state management","with","store","management","state","setup",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":30},"01M6MB85ZTQC24Q04X49MM4YXN","vue-development-guides","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.","https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-development-guides\u002FSKILL.md",[],[186,187,19,188,189,190,18,23,122,191,149,192,193,194,195,148],"vue development guides","guides","development","collection","applications","apply","tips","project","nuxt","projects",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":202,"publishedAt":30},"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",[],[18,19,203,204,149,205,174,206,193,22,160,207,151,208,171,209,20,125,210,23],"vue best practices","files","load","as","vite","work","Composition","ssr"]