[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MB8DQF21TZMQ9XC3745ERW":3,"skill-same:01M6MB8DQF21TZMQ9XC3745ERW":93},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":13,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M6MB8DQF21TZMQ9XC3745ERW","vue-pinia-best-practices",null,"Pinia stores, state management patterns, store setup, and reactivity with stores.","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-pinia-best-practices\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],"best practices","vue","pinia","vue pinia best practices","github","setup","state management","state","management","patterns","store","with","2026-11-10 10:12:30",false,"---\nname: vue-pinia-best-practices\ndescription: \"Pinia stores, state management patterns, store setup, and reactivity with stores.\"\nversion: 1.0.0\nlicense: MIT\nauthor: github.com\u002Fvuejs-ai\n---\n\nPinia best practices, common gotchas, and state management patterns.\n\n### Store Setup\n- Getting \"getActivePinia was called\" error at startup → See [pinia-no-active-pinia-error](reference\u002Fpinia-no-active-pinia-error.md)\n- Setup stores missing state in DevTools or SSR → See [pinia-setup-store-return-all-state](reference\u002Fpinia-setup-store-return-all-state.md)\n\n### Reactivity\n- Store destructuring stops updating UI reactively → See [pinia-store-destructuring-breaks-reactivity](reference\u002Fpinia-store-destructuring-breaks-reactivity.md)\n- Store methods lose context in template calls → See [store-method-binding-parentheses](reference\u002Fstore-method-binding-parentheses.md)\n\n### State Patterns\n- Filters reset on refresh or can't be shared → See [state-url-for-ephemeral-filters](reference\u002Fstate-url-for-ephemeral-filters.md)\n- Building production app without DevTools or conventions → See [state-use-pinia-for-large-apps](reference\u002Fstate-use-pinia-for-large-apps.md)\n","Pinia best practices, common gotchas, and state management patterns.\n\n### Store Setup\n- Getting \"getActivePinia was called\" error at startup → See [pinia-no-active-pinia-error](reference\u002Fpinia-no-active-pinia-error.md)\n- Setup stores missing state in DevTools or SSR → See [pinia-setup-store-return-all-state](reference\u002Fpinia-setup-store-return-all-state.md)\n\n### Reactivity\n- Store destructuring stops updating UI reactively → See [pinia-store-destructuring-breaks-reactivity](reference\u002Fpinia-store-destructuring-breaks-reactivity.md)\n- Store methods lose context in template calls → See [store-method-binding-parentheses](reference\u002Fstore-method-binding-parentheses.md)\n\n### State Patterns\n- Filters reset on refresh or can't be shared → See [state-url-for-ephemeral-filters](reference\u002Fstate-url-for-ephemeral-filters.md)\n- Building production app without DevTools or conventions → See [state-use-pinia-for-large-apps](reference\u002Fstate-use-pinia-for-large-apps.md)\n",{"name":5,"author":40,"license":14,"version":41,"description":7},"github.com\u002Fvuejs-ai","1.0.0","master","08cc2532077058aa50e6e18f54695bc256c88152","skills\u002Fvuejs-ai\u002Fvue-pinia-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":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add superhealth\u002Fskills-hub --skill vue-pinia-best-practices",{"tool":55,"command":56},"bunx","bunx skills add superhealth\u002Fskills-hub --skill vue-pinia-best-practices",{"tool":58,"command":59},"pnpm","pnpm dlx skills add superhealth\u002Fskills-hub --skill vue-pinia-best-practices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002FSKILL.md",true,[63,69,73,77,81,85,89],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"reference\u002Fpinia-no-active-pinia-error.md","REFERENCE","参考文档",6407,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002Freference\u002Fpinia-no-active-pinia-error.md",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"reference\u002Fpinia-setup-store-return-all-state.md",5935,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002Freference\u002Fpinia-setup-store-return-all-state.md",{"path":74,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":75,"sourceHtmlUrl":76},"reference\u002Fpinia-store-destructuring-breaks-reactivity.md",5192,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002Freference\u002Fpinia-store-destructuring-breaks-reactivity.md",{"path":78,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":79,"sourceHtmlUrl":80},"reference\u002Fstate-url-for-ephemeral-filters.md",7225,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002Freference\u002Fstate-url-for-ephemeral-filters.md",{"path":82,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":83,"sourceHtmlUrl":84},"reference\u002Fstate-use-pinia-for-large-apps.md",6390,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002Freference\u002Fstate-use-pinia-for-large-apps.md",{"path":86,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":87,"sourceHtmlUrl":88},"reference\u002Fstore-method-binding-parentheses.md",5309,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002Freference\u002Fstore-method-binding-parentheses.md",{"path":90,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":91,"sourceHtmlUrl":92},"skill-report.json",11111,"https:\u002F\u002Fgithub.com\u002Fsuperhealth\u002Fskills-hub\u002Fblob\u002Fmaster\u002Fskills\u002Fvuejs-ai\u002Fvue-pinia-best-practices\u002Fskill-report.json",[94,120,146,159,183,201],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":101,"publishedAt":35},"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",[100],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[23,102,103,104,105,106,107,108,109,110,32,111,112,113,114,115,116,117,118,119],"react","vercel react best practices","react best practices","vercel","guidelines","data fetching","triggers","pages","next","refactoring","data","Optimization","code","tasks","react components","components","performance","writing",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":130,"publishedAt":35},"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",[126,129],{"categoryNo":127,"categoryName":128,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000008","测试与质量",{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[24,23,131,132,133,134,135,136,137,138,139,140,141,27,142,143,144,32,145],"vue testing best practices","testing best practices","testing","vitest","mocking","e2e","testing patterns","component","test","playwright","e2e testing","js","for","utils","use",{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":153,"publishedAt":35},"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",[152],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[23,24,154,155,156,27,157,158,138,32],"router","vue router best practices","route","navigation","lifecycle",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":174,"publishedAt":35},"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",[165,166,169],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":167,"categoryName":168,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000010","后端与接口",{"categoryNo":170,"categoryName":171,"taxonomyType":172,"taxonomyTypeDesc":173},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[175,24,23,176,177,112,178,179,180,181,182,27],"api","vue options api best practices","options","style","methods","reference","only","context",{"skillNo":184,"name":185,"nameZh":6,"description":186,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":187,"categories":188,"keywords":190,"publishedAt":35},"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",[189],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[24,191,192,193,194,23,27,195,196,143,197,198,199,200,142,111],"development","guides","vue development guides","applications","collection","apply","tips","project","nuxt","projects",{"skillNo":202,"name":203,"nameZh":6,"description":204,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":205,"categories":206,"keywords":210,"publishedAt":35},"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",[207,208,209],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":167,"categoryName":168,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":170,"categoryName":171,"taxonomyType":172,"taxonomyTypeDesc":173},[211,24,23,212,143,213,34,214,198,177,154,215,145,216,25,217,175,115,218,27],"vue best practices","files","load","as","vite","work","Composition","ssr"]