[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EM88TAQ2ABHNQQZ3MMRZG3":3,"skill-same:01M7EM88TAQ2ABHNQQZ3MMRZG3":212},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":13,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M7EM88TAQ2ABHNQQZ3MMRZG3","tanstack-query",null,"TanStack Query v5 data fetching and caching.","mhyahya854\u002FAI-Second-Brain_Universal-Rules","mhyahya854","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F194078115?v=4","01M7EGSP2M9T858SDHJMXQ257Y","01M7EGSP3N6HN6879SVDPMD4DZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tanstack-query\ndescription: TanStack Query v5 data fetching and caching.\nlicense: MIT\nmetadata:\n  author: community\n  version: \"1.0.0\"\n---\n\n# TanStack Query Best Practices\n\nComprehensive performance optimization guide for TanStack Query v5 applications. Contains 41 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new queries, mutations, or data fetching logic\n- Implementing caching strategies (staleTime, gcTime)\n- Reviewing code for performance issues or request waterfalls\n- Refactoring existing TanStack Query code\n- Implementing infinite queries, Suspense, or optimistic updates\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Query Key Structure | CRITICAL | `tquery-` |\n| 2 | Caching Configuration | CRITICAL | `cache-` |\n| 3 | Mutation Patterns | HIGH | `mutation-` |\n| 4 | Prefetching & Waterfalls | HIGH | `prefetch-` |\n| 5 | Infinite Queries | MEDIUM | `infinite-` |\n| 6 | Suspense Integration | MEDIUM | `suspense-` |\n| 7 | Error & Retry Handling | MEDIUM | `error-` |\n| 8 | Render Optimization | LOW-MEDIUM | `render-` |\n\n## Quick Reference\n\n### 1. Query Key Structure (CRITICAL)\n\n- `tquery-key-factories` - Use centralized query key factories\n- `tquery-hierarchical-keys` - Structure keys from generic to specific\n- `tquery-always-arrays` - Always use array query keys\n- `tquery-serializable-objects` - Use serializable objects in keys\n- `tquery-options-pattern` - Use queryOptions for type-safe sharing\n- `tquery-colocate-keys` - Colocate query keys with features\n\n### 2. Caching Configuration (CRITICAL)\n\n- `cache-staletime-gctime` - Understand staleTime vs gcTime\n- `cache-global-defaults` - Configure global defaults appropriately\n- `cache-placeholder-vs-initial` - Use placeholderData vs initialData correctly\n- `cache-invalidation-precision` - Invalidate with precision\n- `cache-refetch-triggers` - Control automatic refetch triggers\n- `cache-enabled-option` - Use enabled or skipToken for conditional queries\n\n### 3. Mutation Patterns (HIGH)\n\n- `mutation-optimistic-updates` - Implement optimistic updates with rollback\n- `mutation-invalidate-onsettled` - Choose invalidation callbacks by mutation contract\n- `mutation-cancel-queries` - Cancel queries before optimistic updates\n- `mutation-setquerydata` - Use setQueryData for immediate cache updates\n- `mutation-avoid-parallel` - Avoid parallel mutations on same data\n\n### 4. Prefetching & Waterfalls (HIGH)\n\n- `prefetch-avoid-waterfalls` - Avoid request waterfalls\n- `prefetch-on-hover` - Prefetch on hover for perceived speed\n- `prefetch-in-queryfn` - Start follow-up prefetches when keys become known\n- `prefetch-server-components` - Prefetch in Server Components\n- `prefetch-infinite-query` - Prefetch infinite lists with queryClient.infiniteQuery (5.102+)\n- `prefetch-flatten-api` - Flatten API to reduce waterfalls\n\n### 5. Infinite Queries (MEDIUM)\n\n- `infinite-max-pages` - Limit infinite query pages with maxPages\n- `infinite-flatten-pages` - Flatten pages for rendering\n- `infinite-refetch-behavior` - Understand infinite query refetch behavior\n- `infinite-loading-states` - Handle infinite query loading states correctly\n\n### 6. Suspense Integration (MEDIUM)\n\n- `suspense-use-suspense-hooks` - Use Suspense hooks for simpler loading states\n- `suspense-error-boundaries` - Always pair Suspense with Error Boundaries\n- `suspense-parallel-queries` - Combine Suspense queries with useSuspenseQueries\n- `suspense-boundaries-placement` - Place Suspense boundaries strategically\n\n### 7. Error & Retry Handling (MEDIUM)\n\n- `error-retry-config` - Configure retry with exponential backoff\n- `error-conditional-retry` - Use conditional retry based on error type\n- `error-global-handler` - Use global error handler for common errors\n- `error-display-patterns` - Display errors appropriately\n- `error-throw-on-error` - Use throwOnError with Error Boundaries\n\n### 8. Render Optimization (LOW-MEDIUM)\n\n- `render-select-memoize` - Memoize select functions\n- `render-select-derived` - Use select to derive data and reduce re-renders\n- `render-notify-props` - Rely on tracked properties before notifyOnChangeProps\n- `render-structural-sharing` - Understand structural sharing\n- `render-tracked-props` - Preserve tracked-property optimization\n\n## How to Use\n\nRun in the project root first:\n\n```bash\nnpx -y @pymodel\u002Freact-frontend-skills detect                       # installed vs. targeted versions\nnpx -y @pymodel\u002Freact-frontend-skills scan --skill tanstack-query  # deprecated APIs → rule IDs\n```\n\nRead `references\u002F\u003Crule-id>.md` for each rule above that matches the task and for each `scan` hit: why it matters, then incorrect vs. correct code.\n\n## Related Skills\n\n- For mocking API responses in tests, see `msw` skill\n- For React 19 data fetching patterns, see `react` skill\n","# TanStack Query Best Practices\n\nComprehensive performance optimization guide for TanStack Query v5 applications. Contains 41 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.\n\n## When to Apply\n\nReference these guidelines when:\n- Writing new queries, mutations, or data fetching logic\n- Implementing caching strategies (staleTime, gcTime)\n- Reviewing code for performance issues or request waterfalls\n- Refactoring existing TanStack Query code\n- Implementing infinite queries, Suspense, or optimistic updates\n\n## Rule Categories by Priority\n\n| Priority | Category | Impact | Prefix |\n|----------|----------|--------|--------|\n| 1 | Query Key Structure | CRITICAL | `tquery-` |\n| 2 | Caching Configuration | CRITICAL | `cache-` |\n| 3 | Mutation Patterns | HIGH | `mutation-` |\n| 4 | Prefetching & Waterfalls | HIGH | `prefetch-` |\n| 5 | Infinite Queries | MEDIUM | `infinite-` |\n| 6 | Suspense Integration | MEDIUM | `suspense-` |\n| 7 | Error & Retry Handling | MEDIUM | `error-` |\n| 8 | Render Optimization | LOW-MEDIUM | `render-` |\n\n## Quick Reference\n\n### 1. Query Key Structure (CRITICAL)\n\n- `tquery-key-factories` - Use centralized query key factories\n- `tquery-hierarchical-keys` - Structure keys from generic to specific\n- `tquery-always-arrays` - Always use array query keys\n- `tquery-serializable-objects` - Use serializable objects in keys\n- `tquery-options-pattern` - Use queryOptions for type-safe sharing\n- `tquery-colocate-keys` - Colocate query keys with features\n\n### 2. Caching Configuration (CRITICAL)\n\n- `cache-staletime-gctime` - Understand staleTime vs gcTime\n- `cache-global-defaults` - Configure global defaults appropriately\n- `cache-placeholder-vs-initial` - Use placeholderData vs initialData correctly\n- `cache-invalidation-precision` - Invalidate with precision\n- `cache-refetch-triggers` - Control automatic refetch triggers\n- `cache-enabled-option` - Use enabled or skipToken for conditional queries\n\n### 3. Mutation Patterns (HIGH)\n\n- `mutation-optimistic-updates` - Implement optimistic updates with rollback\n- `mutation-invalidate-onsettled` - Choose invalidation callbacks by mutation contract\n- `mutation-cancel-queries` - Cancel queries before optimistic updates\n- `mutation-setquerydata` - Use setQueryData for immediate cache updates\n- `mutation-avoid-parallel` - Avoid parallel mutations on same data\n\n### 4. Prefetching & Waterfalls (HIGH)\n\n- `prefetch-avoid-waterfalls` - Avoid request waterfalls\n- `prefetch-on-hover` - Prefetch on hover for perceived speed\n- `prefetch-in-queryfn` - Start follow-up prefetches when keys become known\n- `prefetch-server-components` - Prefetch in Server Components\n- `prefetch-infinite-query` - Prefetch infinite lists with queryClient.infiniteQuery (5.102+)\n- `prefetch-flatten-api` - Flatten API to reduce waterfalls\n\n### 5. Infinite Queries (MEDIUM)\n\n- `infinite-max-pages` - Limit infinite query pages with maxPages\n- `infinite-flatten-pages` - Flatten pages for rendering\n- `infinite-refetch-behavior` - Understand infinite query refetch behavior\n- `infinite-loading-states` - Handle infinite query loading states correctly\n\n### 6. Suspense Integration (MEDIUM)\n\n- `suspense-use-suspense-hooks` - Use Suspense hooks for simpler loading states\n- `suspense-error-boundaries` - Always pair Suspense with Error Boundaries\n- `suspense-parallel-queries` - Combine Suspense queries with useSuspenseQueries\n- `suspense-boundaries-placement` - Place Suspense boundaries strategically\n\n### 7. Error & Retry Handling (MEDIUM)\n\n- `error-retry-config` - Configure retry with exponential backoff\n- `error-conditional-retry` - Use conditional retry based on error type\n- `error-global-handler` - Use global error handler for common errors\n- `error-display-patterns` - Display errors appropriately\n- `error-throw-on-error` - Use throwOnError with Error Boundaries\n\n### 8. Render Optimization (LOW-MEDIUM)\n\n- `render-select-memoize` - Memoize select functions\n- `render-select-derived` - Use select to derive data and reduce re-renders\n- `render-notify-props` - Rely on tracked properties before notifyOnChangeProps\n- `render-structural-sharing` - Understand structural sharing\n- `render-tracked-props` - Preserve tracked-property optimization\n\n## How to Use\n\nRun in the project root first:\n\n```bash\nnpx -y @pymodel\u002Freact-frontend-skills detect                       # installed vs. targeted versions\nnpx -y @pymodel\u002Freact-frontend-skills scan --skill tanstack-query  # deprecated APIs → rule IDs\n```\n\nRead `references\u002F\u003Crule-id>.md` for each rule above that matches the task and for each `scan` hit: why it matters, then incorrect vs. correct code.\n\n## Related Skills\n\n- For mocking API responses in tests, see `msw` skill\n- For React 19 data fetching patterns, see `react` skill\n",{"name":5,"license":14,"metadata":23,"description":7},{"author":24,"version":25},"community","1.0.0","main","4c174e06a831864e98c30f630a7aa6c04738b094","skills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules","https:\u002F\u002Fgithub.com\u002Fmhyahya854","2026-11-06 02:03:37",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill tanstack-query",{"tool":38,"command":39},"bunx","bunx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill tanstack-query",{"tool":41,"command":42},"pnpm","pnpm dlx skills add mhyahya854\u002FAI-Second-Brain_Universal-Rules --skill tanstack-query","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80,84,88,92,96,100,104,108,112,116,120,124,128,132,136,140,144,148,152,156,160,164,168,172,176,180,184,188,192,196,200,204,208],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fcache-enabled-option.md","REFERENCE","参考文档",2530,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fcache-enabled-option.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fcache-global-defaults.md",2041,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fcache-global-defaults.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcache-invalidation-precision.md",2139,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fcache-invalidation-precision.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fcache-placeholder-vs-initial.md",2106,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fcache-placeholder-vs-initial.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fcache-refetch-triggers.md",2098,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fcache-refetch-triggers.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fcache-staletime-gctime.md",2276,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fcache-staletime-gctime.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Ferror-conditional-retry.md",2114,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ferror-conditional-retry.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Ferror-display-patterns.md",2270,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ferror-display-patterns.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Ferror-global-handler.md",2230,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ferror-global-handler.md",{"path":85,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Ferror-retry-config.md",1869,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ferror-retry-config.md",{"path":89,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Ferror-throw-on-error.md",2162,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ferror-throw-on-error.md",{"path":93,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Finfinite-flatten-pages.md",2657,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Finfinite-flatten-pages.md",{"path":97,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Finfinite-loading-states.md",2462,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Finfinite-loading-states.md",{"path":101,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Finfinite-max-pages.md",2296,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Finfinite-max-pages.md",{"path":105,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Finfinite-refetch-behavior.md",2015,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Finfinite-refetch-behavior.md",{"path":109,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fmutation-avoid-parallel.md",2573,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fmutation-avoid-parallel.md",{"path":113,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":114,"sourceHtmlUrl":115},"references\u002Fmutation-cancel-queries.md",2047,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fmutation-cancel-queries.md",{"path":117,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":118,"sourceHtmlUrl":119},"references\u002Fmutation-invalidate-onsettled.md",2557,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fmutation-invalidate-onsettled.md",{"path":121,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":122,"sourceHtmlUrl":123},"references\u002Fmutation-optimistic-updates.md",2323,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fmutation-optimistic-updates.md",{"path":125,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":126,"sourceHtmlUrl":127},"references\u002Fmutation-setquerydata.md",1952,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fmutation-setquerydata.md",{"path":129,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":130,"sourceHtmlUrl":131},"references\u002Fprefetch-avoid-waterfalls.md",2540,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fprefetch-avoid-waterfalls.md",{"path":133,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":134,"sourceHtmlUrl":135},"references\u002Fprefetch-flatten-api.md",2198,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fprefetch-flatten-api.md",{"path":137,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":138,"sourceHtmlUrl":139},"references\u002Fprefetch-in-queryfn.md",2946,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fprefetch-in-queryfn.md",{"path":141,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":142,"sourceHtmlUrl":143},"references\u002Fprefetch-infinite-query.md",2809,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fprefetch-infinite-query.md",{"path":145,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":146,"sourceHtmlUrl":147},"references\u002Fprefetch-on-hover.md",2428,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fprefetch-on-hover.md",{"path":149,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":150,"sourceHtmlUrl":151},"references\u002Fprefetch-server-components.md",2405,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fprefetch-server-components.md",{"path":153,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":154,"sourceHtmlUrl":155},"references\u002Frender-notify-props.md",2069,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Frender-notify-props.md",{"path":157,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":158,"sourceHtmlUrl":159},"references\u002Frender-select-derived.md",2310,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Frender-select-derived.md",{"path":161,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":162,"sourceHtmlUrl":163},"references\u002Frender-select-memoize.md",2019,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Frender-select-memoize.md",{"path":165,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":166,"sourceHtmlUrl":167},"references\u002Frender-structural-sharing.md",2251,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Frender-structural-sharing.md",{"path":169,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":170,"sourceHtmlUrl":171},"references\u002Frender-tracked-props.md",1912,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Frender-tracked-props.md",{"path":173,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":174,"sourceHtmlUrl":175},"references\u002Fsuspense-boundaries-placement.md",2298,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fsuspense-boundaries-placement.md",{"path":177,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":178,"sourceHtmlUrl":179},"references\u002Fsuspense-error-boundaries.md",2228,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fsuspense-error-boundaries.md",{"path":181,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":182,"sourceHtmlUrl":183},"references\u002Fsuspense-parallel-queries.md",2053,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fsuspense-parallel-queries.md",{"path":185,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":186,"sourceHtmlUrl":187},"references\u002Fsuspense-use-suspense-hooks.md",2077,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Fsuspense-use-suspense-hooks.md",{"path":189,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":190,"sourceHtmlUrl":191},"references\u002Ftquery-always-arrays.md",1403,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ftquery-always-arrays.md",{"path":193,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":194,"sourceHtmlUrl":195},"references\u002Ftquery-colocate-keys.md",1858,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ftquery-colocate-keys.md",{"path":197,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":198,"sourceHtmlUrl":199},"references\u002Ftquery-hierarchical-keys.md",1924,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ftquery-hierarchical-keys.md",{"path":201,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":202,"sourceHtmlUrl":203},"references\u002Ftquery-key-factories.md",1750,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ftquery-key-factories.md",{"path":205,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":206,"sourceHtmlUrl":207},"references\u002Ftquery-options-pattern.md",2202,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ftquery-options-pattern.md",{"path":209,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":210,"sourceHtmlUrl":211},"references\u002Ftquery-serializable-objects.md",1802,"https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002FPyModel\u002Freact-frontend-skills\u002Ftanstack-query\u002Freferences\u002Ftquery-serializable-objects.md",[213,221,229,237,244,251],{"skillNo":214,"name":215,"nameZh":6,"description":216,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":217,"sourceHtmlUrl":218,"categories":219,"keywords":220,"publishedAt":18},"01M7EX4T721AAH60R0239P8WBZ","frontend-slides","Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT\u002FPPTX to web, or create slides for a talk\u002Fpitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzarazhangrui\u002Ffrontend-slides\u002Ffrontend-slides\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzarazhangrui\u002Ffrontend-slides\u002Ffrontend-slides\u002FSKILL.md",[],[],{"skillNo":222,"name":223,"nameZh":6,"description":224,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":225,"sourceHtmlUrl":226,"categories":227,"keywords":228,"publishedAt":18},"01M7EX495RSHTTCEJVX7C83FA3","design-dna","Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure\u002Fschema, (2) a user provides images, screenshots, or URLs of reference designs and wants them analyzed into a structured JSON profile covering all three dimensions, (3) a user has a Design DNA JSON and content and wants a design generated from it, or (4) any combination of these phases. Triggers on \"design DNA\", \"extract design style\", \"analyze design\", \"design tokens from reference\", \"generate design from JSON\", \"design system from screenshot\", \"design profile\", \"style guide JSON\", \"visual effects analysis\", \"design with effects\", \"3d design analysis\".","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzanwei\u002Fdesign-dna\u002Fdesign-dna\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fzanwei\u002Fdesign-dna\u002Fdesign-dna\u002FSKILL.md",[],[],{"skillNo":230,"name":231,"nameZh":6,"description":232,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":233,"sourceHtmlUrl":234,"categories":235,"keywords":236,"publishedAt":18},"01M7EX45RF2XZKRC3KDJDTT1PH","wireframe","Generate JSON wireframe with HTML preview","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fyhassy\u002Fwireframe-skill\u002Fwireframe-skill\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fyhassy\u002Fwireframe-skill\u002Fwireframe-skill\u002FSKILL.md",[],[],{"skillNo":238,"name":239,"nameZh":6,"description":240,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":241,"categories":242,"keywords":243,"publishedAt":18},"01M7EWZEM3MHD48AYSYFR2C9JP","social-publishing","Schedule and publish social media posts across 13 platforms (X, LinkedIn, Instagram, Facebook Pages, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, Pinterest) via the SocialClaw API. Use when the user wants to publish, schedule, or manage social media content programmatically. Requires SOCIALCLAW_API_KEY.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwshobson\u002Fagents\u002Fsocial-publishing\u002FSKILL.md",[],[],{"skillNo":245,"name":246,"nameZh":6,"description":247,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":248,"categories":249,"keywords":250,"publishedAt":18},"01M7EWKDEK9840C728VXT78EQ9","hermes-tweet","Install and operate Hermes Tweet, a Hermes Agent plugin for X\u002FTwitter research, timeline reading, tweet analysis, and approval-gated private or state-changing operations. Use this skill when installing Hermes Tweet, researching X\u002FTwitter accounts, monitoring launch signals, investigating mentions, auditing giveaways, or preparing gated X operations. Use proactively when a Hermes Agent workflow needs current X\u002FTwitter context. Requires XQUIK_API_KEY for read and action tools.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwshobson\u002Fagents\u002Fhermes-tweet\u002FSKILL.md",[],[],{"skillNo":252,"name":253,"nameZh":6,"description":254,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":255,"categories":256,"keywords":257,"publishedAt":18},"01M7EWASXP3NZWW95CJPT2CRWN","refactoring-ui","Audit and fix visual hierarchy, spacing, color, and depth in web UIs. Use when the user mentions \"my UI looks off\" (or amateur\u002Funprofessional), \"fix the design\", \"Tailwind styling\", \"color palette\", \"visual hierarchy\", \"design system\", \"spacing scale\", or \"component styling\". Also trigger when building consistent design tokens, creating dark mode themes, improving data-visualization clarity, or polishing UI details before launch. Covers grayscale-first workflow, constrained design scales, shadows, and component styling. For typeface selection, see web-typography. For usability audits, see ux-heuristics.","https:\u002F\u002Fgithub.com\u002Fmhyahya854\u002FAI-Second-Brain_Universal-Rules\u002Fblob\u002Fmain\u002Fskills\u002F_intake\u002Fgithub\u002Fwondelai\u002Fskills\u002Frefactoring-ui\u002FSKILL.md",[],[]]