create-huenei-template 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -7
- package/bin/create-huenei-template.js +0 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/add-pagination.md +235 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/add-seed.md +160 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/add-tests.md +322 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/new-guard.md +195 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/new-interceptor.md +188 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/commands/new-middleware.md +176 -0
- package/dist/templates/backend/nestjs-api-postgres/.cursor/mcp.json +21 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/add-pagination.md +235 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/add-seed.md +172 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/add-tests.md +322 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/new-guard.md +195 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/new-interceptor.md +188 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/commands/new-middleware.md +176 -0
- package/dist/templates/backend/nestjs-api-sqlite/.cursor/mcp.json +17 -0
- package/dist/templates/frontend/angular-base/.cursor/commands/add-e2e-test.md +236 -0
- package/dist/templates/frontend/angular-base/.cursor/commands/new-component.md +211 -0
- package/dist/templates/frontend/angular-base/.cursor/commands/new-form.md +284 -0
- package/dist/templates/frontend/angular-base/.cursor/commands/new-interceptor.md +257 -0
- package/dist/templates/frontend/angular-base/.cursor/commands/new-page.md +215 -0
- package/dist/templates/frontend/angular-base/.cursor/commands/new-service.md +203 -0
- package/dist/templates/frontend/angular-base/.cursor/mcp.json +19 -10
- package/dist/templates/frontend/react-vite/.agents/skills/daisyui/SKILL.md +1374 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/AGENTS.md +97 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/SKILL.md +116 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-default-values.md +57 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-value-transform.md +59 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-delay-error.md +52 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-native-validation.md +60 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/SKILL.md +412 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/accessibility.md +359 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/error-handling.md +255 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/top-errors.md +381 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/package.json +35 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/SKILL.md +412 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/aspect-ratio.md +513 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/lazy-loading.md +397 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/modern-formats.md +526 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/picture-element.md +593 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/srcset-sizes.md +295 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/rules/responsive-images.md +418 -0
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/templates/image-component.tsx +231 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/SKILL.md +487 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/agents/seo-generator.md +290 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/canonical-urls.md +429 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/json-ld.md +599 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/meta-description.md +426 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/open-graph.md +443 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/title-patterns.md +333 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/twitter-cards.md +423 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/rules/seo-meta.md +157 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/meta-component.tsx +275 -0
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/SKILL.md +1677 -0
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/learn.md +145 -0
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/reference.md +586 -0
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/ui-reference.md +1578 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/SKILL.md +508 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/button-patterns.md +234 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/card-patterns.md +533 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/form-patterns.md +403 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/layout-patterns.md +542 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/typography-patterns.md +338 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/SKILL.md +665 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/components.json +20 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/index.css +140 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/SKILL.md +1058 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/assets/example-template.txt +14 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/references/best-practices.md +304 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/references/common-patterns.md +271 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/references/example-reference.md +26 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/references/testing.md +282 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/references/top-errors.md +332 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/references/typescript-patterns.md +291 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/rules/tanstack-query.md +126 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/scripts/example-script.sh +15 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/error-boundary.tsx +243 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/package.json +31 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/provider-setup.tsx +50 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/query-client-config.ts +72 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/SKILL.md +663 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/references/common-errors.md +77 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/rules/tanstack-router.md +125 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/package.json +26 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/route-examples.tsx +126 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/vite.config.ts +16 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/REVIEW_REPORT.md +299 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/SKILL.md +781 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/planning/stability-tracker.md +49 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/SKILL.md +573 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/common-errors.md +208 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/performance-virtualization.md +106 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/query-integration.md +195 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/server-side-patterns.md +357 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/rules/tanstack-table.md +151 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/column-configuration.tsx +177 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/package.json +25 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/SKILL.md +504 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/rules/testing-library-patterns.md +97 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/templates/msw-handlers.ts +117 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/templates/setup.ts +57 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/SKILL.md +400 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/coverage.md +458 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/create-tests.md +362 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/run-tests.md +336 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/references/validation-rules.md +222 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-agent.md +132 -0
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-spec.yaml +69 -0
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/SKILL.md +493 -0
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/rules/vitest-patterns.md +100 -0
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/templates/test-utils.ts +86 -0
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/templates/vitest.config.ts +39 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/AGENTS.md +97 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/SKILL.md +127 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-intersection.md +144 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-lazy-recursive.md +143 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-pipe.md +113 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-preprocess.md +142 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-shared-schemas.md +137 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-custom-messages.md +118 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-i18n.md +145 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-path-for-nested.md +130 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-use-flatten.md +131 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-discriminated-unions.md +138 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-extend-for-composition.md +147 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-optional-vs-nullable.md +117 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-partial-for-updates.md +123 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-pick-omit.md +146 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-strict-vs-strip.md +109 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-async-for-async-refinements.md +118 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-avoid-double-validation.md +129 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-handle-all-issues.md +125 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-never-trust-json.md +113 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-use-safeparse.md +102 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-validate-early.md +120 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-arrays.md +153 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-cache-schemas.md +138 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-lazy-loading.md +135 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-zod-mini.md +117 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-add-path.md +141 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-catch.md +143 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-defaults.md +131 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-transform-coerce.md +105 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-vs-superrefine.md +152 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-coercion-for-form-data.md +88 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-string-validations.md +90 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-enums.md +107 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-primitives-correctly.md +61 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-unknown-not-any.md +88 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-branded-types.md +102 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-enable-strict-mode.md +130 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-export-schemas-and-types.md +116 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-input-vs-output.md +116 -0
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-use-z-infer.md +110 -0
- package/dist/templates/frontend/react-vite/.cursor/commands/add-route.md +211 -0
- package/dist/templates/frontend/react-vite/.cursor/commands/add-tests.md +269 -0
- package/dist/templates/frontend/react-vite/.cursor/commands/new-component.md +232 -0
- package/dist/templates/frontend/react-vite/.cursor/commands/new-form.md +268 -0
- package/dist/templates/frontend/react-vite/.cursor/commands/new-page.md +203 -0
- package/dist/templates/frontend/react-vite/.cursor/commands/new-query.md +287 -0
- package/dist/templates/frontend/react-vite/.cursor/commands/new-table.md +299 -0
- package/dist/templates/frontend/react-vite/.cursor/mcp.json +17 -0
- package/dist/templates/frontend/react-vite/.cursor/rules/architech.mdc +175 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/daisyui/SKILL.md +1374 -98
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/AGENTS.md +97 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/SKILL.md +116 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/SKILL.md +412 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/accessibility.md +359 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/error-handling.md +255 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/top-errors.md +381 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/package.json +35 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/SKILL.md +412 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/references/aspect-ratio.md +513 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/references/lazy-loading.md +397 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/references/modern-formats.md +526 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/references/picture-element.md +593 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/references/srcset-sizes.md +295 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/rules/responsive-images.md +418 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/responsive-images/templates/image-component.tsx +231 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/SKILL.md +487 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/agents/seo-generator.md +290 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/references/canonical-urls.md +429 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/references/json-ld.md +599 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/references/meta-description.md +426 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/references/open-graph.md +443 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/references/title-patterns.md +333 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/references/twitter-cards.md +423 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/rules/seo-meta.md +157 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/seo-meta/templates/meta-component.tsx +275 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/shadcn-ui/SKILL.md +1677 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/shadcn-ui/references/learn.md +145 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/shadcn-ui/references/reference.md +586 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/shadcn-ui/references/ui-reference.md +1578 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/SKILL.md +508 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/button-patterns.md +234 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/card-patterns.md +533 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/form-patterns.md +403 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/layout-patterns.md +542 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/typography-patterns.md +338 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/SKILL.md +665 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/components.json +20 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/index.css +140 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-accessibility/SKILL.md +780 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-advanced-components/SKILL.md +718 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-animations/SKILL.md +432 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-debugging/SKILL.md +354 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-framework-integration/SKILL.md +578 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-mobile-first/SKILL.md +768 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-performance/SKILL.md +374 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-plugins/SKILL.md +505 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/SKILL.md +1058 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/assets/example-template.txt +14 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/best-practices.md +304 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/common-patterns.md +271 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/example-reference.md +26 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/testing.md +282 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/top-errors.md +332 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/typescript-patterns.md +291 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/rules/tanstack-query.md +126 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/scripts/example-script.sh +15 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/error-boundary.tsx +243 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/package.json +31 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/provider-setup.tsx +50 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/query-client-config.ts +72 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-router/SKILL.md +663 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-router/references/common-errors.md +77 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-router/rules/tanstack-router.md +125 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-router/templates/package.json +26 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-router/templates/route-examples.tsx +126 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-router/templates/vite.config.ts +16 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-start/REVIEW_REPORT.md +299 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-start/SKILL.md +781 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-start/planning/stability-tracker.md +49 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/SKILL.md +573 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/common-errors.md +208 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/performance-virtualization.md +106 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/query-integration.md +195 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/server-side-patterns.md +357 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/rules/tanstack-table.md +151 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/column-configuration.tsx +177 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/package.json +25 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-library/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-library/SKILL.md +504 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-library/rules/testing-library-patterns.md +97 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-library/templates/msw-handlers.ts +117 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-library/templates/setup.ts +57 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-patterns/SKILL.md +400 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-patterns/commands/coverage.md +458 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-patterns/commands/create-tests.md +362 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-patterns/commands/run-tests.md +336 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-patterns/references/validation-rules.md +222 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-patterns/templates/test-agent.md +132 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/testing-patterns/templates/test-spec.yaml +69 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/vitest/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/vitest/SKILL.md +493 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/vitest/rules/vitest-patterns.md +100 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/vitest/templates/test-utils.ts +86 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/vitest/templates/vitest.config.ts +39 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/web-design-guidelines/SKILL.md +39 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/AGENTS.md +97 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/SKILL.md +127 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/compose-intersection.md +144 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/compose-lazy-recursive.md +143 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/compose-pipe.md +113 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/compose-preprocess.md +142 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/compose-shared-schemas.md +137 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/error-custom-messages.md +118 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/error-i18n.md +145 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/error-path-for-nested.md +130 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/error-use-flatten.md +131 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/object-discriminated-unions.md +138 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/object-extend-for-composition.md +147 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/object-optional-vs-nullable.md +117 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/object-partial-for-updates.md +123 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/object-pick-omit.md +146 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/object-strict-vs-strip.md +109 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/parse-async-for-async-refinements.md +118 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/parse-avoid-double-validation.md +129 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/parse-handle-all-issues.md +125 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/parse-never-trust-json.md +113 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/parse-use-safeparse.md +102 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/parse-validate-early.md +120 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/perf-arrays.md +153 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/perf-cache-schemas.md +138 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/perf-lazy-loading.md +135 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/perf-zod-mini.md +117 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/refine-add-path.md +141 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/refine-catch.md +143 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/refine-defaults.md +131 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/refine-transform-coerce.md +105 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/refine-vs-superrefine.md +152 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/schema-coercion-for-form-data.md +88 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/schema-string-validations.md +90 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/schema-use-enums.md +107 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/schema-use-primitives-correctly.md +61 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/schema-use-unknown-not-any.md +88 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/type-branded-types.md +102 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/type-enable-strict-mode.md +130 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/type-export-schemas-and-types.md +116 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/type-input-vs-output.md +116 -0
- package/dist/templates/frontend/react-vite/.cursor/skills/zod/references/type-use-z-infer.md +110 -0
- package/dist/templates/frontend/react-vite-help/.cursor/commands/add-route.md +211 -0
- package/dist/templates/frontend/react-vite-help/.cursor/commands/add-tests.md +269 -0
- package/dist/templates/frontend/react-vite-help/.cursor/commands/new-component.md +232 -0
- package/dist/templates/frontend/react-vite-help/.cursor/commands/new-form.md +268 -0
- package/dist/templates/frontend/react-vite-help/.cursor/commands/new-page.md +203 -0
- package/dist/templates/frontend/react-vite-help/.cursor/commands/new-query.md +287 -0
- package/dist/templates/frontend/react-vite-help/.cursor/commands/new-table.md +299 -0
- package/dist/templates/frontend/react-vite-help/.cursor/mcp.json +17 -0
- package/dist/templates/frontend/react-vite-help/.cursor/rules/architech.mdc +175 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/daisyui/SKILL.md +1374 -98
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/AGENTS.md +97 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/SKILL.md +116 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/SKILL.md +412 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/accessibility.md +359 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/error-handling.md +255 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/top-errors.md +381 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/package.json +35 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/SKILL.md +412 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/aspect-ratio.md +513 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/lazy-loading.md +397 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/modern-formats.md +526 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/picture-element.md +593 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/srcset-sizes.md +295 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/rules/responsive-images.md +418 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/responsive-images/templates/image-component.tsx +231 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/SKILL.md +487 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/agents/seo-generator.md +290 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/canonical-urls.md +429 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/json-ld.md +599 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/meta-description.md +426 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/open-graph.md +443 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/title-patterns.md +333 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/twitter-cards.md +423 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/rules/seo-meta.md +157 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/seo-meta/templates/meta-component.tsx +275 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/SKILL.md +1677 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/references/learn.md +145 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/references/reference.md +586 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/references/ui-reference.md +1578 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/SKILL.md +508 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/button-patterns.md +234 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/card-patterns.md +533 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/form-patterns.md +403 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/layout-patterns.md +542 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/typography-patterns.md +338 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/SKILL.md +665 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/components.json +20 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/index.css +140 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-accessibility/SKILL.md +780 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-advanced-components/SKILL.md +718 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-animations/SKILL.md +432 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-debugging/SKILL.md +354 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-framework-integration/SKILL.md +578 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-mobile-first/SKILL.md +768 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-performance/SKILL.md +374 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-plugins/SKILL.md +505 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/SKILL.md +1058 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/assets/example-template.txt +14 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/best-practices.md +304 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/common-patterns.md +271 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/example-reference.md +26 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/testing.md +282 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/top-errors.md +332 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/typescript-patterns.md +291 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/rules/tanstack-query.md +126 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/scripts/example-script.sh +15 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/error-boundary.tsx +243 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/package.json +31 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/provider-setup.tsx +50 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/query-client-config.ts +72 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/SKILL.md +663 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/references/common-errors.md +77 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/rules/tanstack-router.md +125 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/templates/package.json +26 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/templates/route-examples.tsx +126 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/templates/vite.config.ts +16 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-start/REVIEW_REPORT.md +299 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-start/SKILL.md +781 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-start/planning/stability-tracker.md +49 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/SKILL.md +573 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/common-errors.md +208 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/performance-virtualization.md +106 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/query-integration.md +195 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/server-side-patterns.md +357 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/rules/tanstack-table.md +151 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/column-configuration.tsx +177 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/package.json +25 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-library/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-library/SKILL.md +504 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-library/rules/testing-library-patterns.md +97 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-library/templates/msw-handlers.ts +117 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-library/templates/setup.ts +57 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/SKILL.md +400 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/commands/coverage.md +458 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/commands/create-tests.md +362 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/commands/run-tests.md +336 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/references/validation-rules.md +222 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/templates/test-agent.md +132 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/templates/test-spec.yaml +69 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/vitest/.claude-plugin/plugin.json +12 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/vitest/SKILL.md +493 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/vitest/rules/vitest-patterns.md +100 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/vitest/templates/test-utils.ts +86 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/vitest/templates/vitest.config.ts +39 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/web-design-guidelines/SKILL.md +39 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/AGENTS.md +97 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/SKILL.md +127 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-intersection.md +144 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-lazy-recursive.md +143 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-pipe.md +113 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-preprocess.md +142 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-shared-schemas.md +137 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-custom-messages.md +118 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-i18n.md +145 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-path-for-nested.md +130 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-use-flatten.md +131 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-discriminated-unions.md +138 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-extend-for-composition.md +147 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-optional-vs-nullable.md +117 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-partial-for-updates.md +123 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-pick-omit.md +146 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-strict-vs-strip.md +109 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-async-for-async-refinements.md +118 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-avoid-double-validation.md +129 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-handle-all-issues.md +125 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-never-trust-json.md +113 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-use-safeparse.md +102 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-validate-early.md +120 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-arrays.md +153 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-cache-schemas.md +138 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-lazy-loading.md +135 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-zod-mini.md +117 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-add-path.md +141 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-catch.md +143 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-defaults.md +131 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-transform-coerce.md +105 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-vs-superrefine.md +152 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-coercion-for-form-data.md +88 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-string-validations.md +90 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-use-enums.md +107 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-use-primitives-correctly.md +61 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-use-unknown-not-any.md +88 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-branded-types.md +102 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-enable-strict-mode.md +130 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-export-schemas-and-types.md +116 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-input-vs-output.md +116 -0
- package/dist/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-use-z-infer.md +110 -0
- package/dist/templates/mobile/expo-base/.cursor/commands/add-translation.md +184 -0
- package/dist/templates/mobile/expo-base/.cursor/commands/new-api-service.md +280 -0
- package/dist/templates/mobile/expo-base/.cursor/commands/new-component.md +298 -0
- package/dist/templates/mobile/expo-base/.cursor/commands/new-hook.md +291 -0
- package/dist/templates/mobile/expo-base/.cursor/commands/new-modal.md +345 -0
- package/dist/templates/mobile/expo-base/.cursor/commands/new-screen.md +267 -0
- package/dist/templates/mobile/expo-base/.cursor/commands/new-tab.md +238 -0
- package/dist/templates/mobile/expo-base/.cursor/mcp.json +21 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/SKILL.md +315 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/animations.md +220 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/controls.md +270 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/form-sheet.md +227 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/gradients.md +106 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/icons.md +213 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/media.md +198 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/route-structure.md +229 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/search.md +248 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/storage.md +121 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/tabs.md +368 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/visual-effects.md +197 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/webgpu-three.md +605 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-api-routes/SKILL.md +368 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-dev-client/SKILL.md +164 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-tailwind-setup/SKILL.md +480 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/native-data-fetching/SKILL.md +491 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expert/SKILL.md +88 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/expo-router.md +190 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/list-optimization.md +207 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/platform-handling.md +191 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/project-structure.md +174 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/storage-hooks.md +176 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expo/SKILL.md +1148 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expo/references/example-reference.md +27 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expo/references/expo-sdk-52-breaking.md +409 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expo/references/new-architecture-errors.md +501 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expo/references/react-19-migration.md +365 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expo/scripts/check-rn-version.sh +121 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-expo/scripts/example-script.sh +15 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/use-dom/SKILL.md +417 -0
- package/package.json +6 -7
- package/templates/backend/nestjs-api-postgres/.cursor/commands/add-pagination.md +235 -0
- package/templates/backend/nestjs-api-postgres/.cursor/commands/add-seed.md +160 -0
- package/templates/backend/nestjs-api-postgres/.cursor/commands/add-tests.md +322 -0
- package/templates/backend/nestjs-api-postgres/.cursor/commands/new-guard.md +195 -0
- package/templates/backend/nestjs-api-postgres/.cursor/commands/new-interceptor.md +188 -0
- package/templates/backend/nestjs-api-postgres/.cursor/commands/new-middleware.md +176 -0
- package/templates/backend/nestjs-api-postgres/.cursor/mcp.json +21 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-pagination.md +235 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-seed.md +172 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-tests.md +322 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-guard.md +195 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-interceptor.md +188 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-middleware.md +176 -0
- package/templates/backend/nestjs-api-sqlite/.cursor/mcp.json +17 -0
- package/templates/frontend/angular-base/.cursor/commands/add-e2e-test.md +236 -0
- package/templates/frontend/angular-base/.cursor/commands/new-component.md +211 -0
- package/templates/frontend/angular-base/.cursor/commands/new-form.md +284 -0
- package/templates/frontend/angular-base/.cursor/commands/new-interceptor.md +257 -0
- package/templates/frontend/angular-base/.cursor/commands/new-page.md +215 -0
- package/templates/frontend/angular-base/.cursor/commands/new-service.md +203 -0
- package/templates/frontend/angular-base/.cursor/mcp.json +19 -10
- package/templates/frontend/react-vite/.agents/skills/daisyui/SKILL.md +1374 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/AGENTS.md +97 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/SKILL.md +116 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-default-values.md +57 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-value-transform.md +59 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-delay-error.md +52 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-native-validation.md +60 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/SKILL.md +412 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/accessibility.md +359 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/error-handling.md +255 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/top-errors.md +381 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/package.json +35 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/SKILL.md +412 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/aspect-ratio.md +513 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/lazy-loading.md +397 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/modern-formats.md +526 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/picture-element.md +593 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/srcset-sizes.md +295 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/rules/responsive-images.md +418 -0
- package/templates/frontend/react-vite/.agents/skills/responsive-images/templates/image-component.tsx +231 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/SKILL.md +487 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/agents/seo-generator.md +290 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/canonical-urls.md +429 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/json-ld.md +599 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/meta-description.md +426 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/open-graph.md +443 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/title-patterns.md +333 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/twitter-cards.md +423 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/rules/seo-meta.md +157 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/meta-component.tsx +275 -0
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/SKILL.md +1677 -0
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/learn.md +145 -0
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/reference.md +586 -0
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/ui-reference.md +1578 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/SKILL.md +508 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/button-patterns.md +234 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/card-patterns.md +533 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/form-patterns.md +403 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/layout-patterns.md +542 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/typography-patterns.md +338 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/SKILL.md +665 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/components.json +20 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/index.css +140 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/SKILL.md +1058 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/assets/example-template.txt +14 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/references/best-practices.md +304 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/references/common-patterns.md +271 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/references/example-reference.md +26 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/references/testing.md +282 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/references/top-errors.md +332 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/references/typescript-patterns.md +291 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/rules/tanstack-query.md +126 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/scripts/example-script.sh +15 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/error-boundary.tsx +243 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/package.json +31 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/provider-setup.tsx +50 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/query-client-config.ts +72 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/SKILL.md +663 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/references/common-errors.md +77 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/rules/tanstack-router.md +125 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/package.json +26 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/route-examples.tsx +126 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/vite.config.ts +16 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/REVIEW_REPORT.md +299 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/SKILL.md +781 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/planning/stability-tracker.md +49 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/SKILL.md +573 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/common-errors.md +208 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/performance-virtualization.md +106 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/query-integration.md +195 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/server-side-patterns.md +357 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/rules/tanstack-table.md +151 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/column-configuration.tsx +177 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/package.json +25 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
- package/templates/frontend/react-vite/.agents/skills/testing-library/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/testing-library/SKILL.md +504 -0
- package/templates/frontend/react-vite/.agents/skills/testing-library/rules/testing-library-patterns.md +97 -0
- package/templates/frontend/react-vite/.agents/skills/testing-library/templates/msw-handlers.ts +117 -0
- package/templates/frontend/react-vite/.agents/skills/testing-library/templates/setup.ts +57 -0
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/SKILL.md +400 -0
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/coverage.md +458 -0
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/create-tests.md +362 -0
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/run-tests.md +336 -0
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/references/validation-rules.md +222 -0
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-agent.md +132 -0
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-spec.yaml +69 -0
- package/templates/frontend/react-vite/.agents/skills/vitest/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.agents/skills/vitest/SKILL.md +493 -0
- package/templates/frontend/react-vite/.agents/skills/vitest/rules/vitest-patterns.md +100 -0
- package/templates/frontend/react-vite/.agents/skills/vitest/templates/test-utils.ts +86 -0
- package/templates/frontend/react-vite/.agents/skills/vitest/templates/vitest.config.ts +39 -0
- package/templates/frontend/react-vite/.agents/skills/zod/AGENTS.md +97 -0
- package/templates/frontend/react-vite/.agents/skills/zod/SKILL.md +127 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-intersection.md +144 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-lazy-recursive.md +143 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-pipe.md +113 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-preprocess.md +142 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-shared-schemas.md +137 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-custom-messages.md +118 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-i18n.md +145 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-path-for-nested.md +130 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-use-flatten.md +131 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-discriminated-unions.md +138 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-extend-for-composition.md +147 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-optional-vs-nullable.md +117 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-partial-for-updates.md +123 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-pick-omit.md +146 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-strict-vs-strip.md +109 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-async-for-async-refinements.md +118 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-avoid-double-validation.md +129 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-handle-all-issues.md +125 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-never-trust-json.md +113 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-use-safeparse.md +102 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-validate-early.md +120 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-arrays.md +153 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-cache-schemas.md +138 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-lazy-loading.md +135 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-zod-mini.md +117 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-add-path.md +141 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-catch.md +143 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-defaults.md +131 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-transform-coerce.md +105 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-vs-superrefine.md +152 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-coercion-for-form-data.md +88 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-string-validations.md +90 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-enums.md +107 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-primitives-correctly.md +61 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-unknown-not-any.md +88 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-branded-types.md +102 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-enable-strict-mode.md +130 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-export-schemas-and-types.md +116 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-input-vs-output.md +116 -0
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-use-z-infer.md +110 -0
- package/templates/frontend/react-vite/.cursor/commands/add-route.md +211 -0
- package/templates/frontend/react-vite/.cursor/commands/add-tests.md +269 -0
- package/templates/frontend/react-vite/.cursor/commands/new-component.md +232 -0
- package/templates/frontend/react-vite/.cursor/commands/new-form.md +268 -0
- package/templates/frontend/react-vite/.cursor/commands/new-page.md +203 -0
- package/templates/frontend/react-vite/.cursor/commands/new-query.md +287 -0
- package/templates/frontend/react-vite/.cursor/commands/new-table.md +299 -0
- package/templates/frontend/react-vite/.cursor/mcp.json +17 -0
- package/templates/frontend/react-vite/.cursor/rules/architech.mdc +175 -0
- package/templates/frontend/react-vite/.cursor/skills/daisyui/SKILL.md +1374 -98
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/AGENTS.md +97 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/SKILL.md +116 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/SKILL.md +412 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/accessibility.md +359 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/error-handling.md +255 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/top-errors.md +381 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/package.json +35 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
- package/templates/frontend/react-vite/.cursor/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/SKILL.md +412 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/references/aspect-ratio.md +513 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/references/lazy-loading.md +397 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/references/modern-formats.md +526 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/references/picture-element.md +593 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/references/srcset-sizes.md +295 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/rules/responsive-images.md +418 -0
- package/templates/frontend/react-vite/.cursor/skills/responsive-images/templates/image-component.tsx +231 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/SKILL.md +487 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/agents/seo-generator.md +290 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/references/canonical-urls.md +429 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/references/json-ld.md +599 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/references/meta-description.md +426 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/references/open-graph.md +443 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/references/title-patterns.md +333 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/references/twitter-cards.md +423 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/rules/seo-meta.md +157 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
- package/templates/frontend/react-vite/.cursor/skills/seo-meta/templates/meta-component.tsx +275 -0
- package/templates/frontend/react-vite/.cursor/skills/shadcn-ui/SKILL.md +1677 -0
- package/templates/frontend/react-vite/.cursor/skills/shadcn-ui/references/learn.md +145 -0
- package/templates/frontend/react-vite/.cursor/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
- package/templates/frontend/react-vite/.cursor/skills/shadcn-ui/references/reference.md +586 -0
- package/templates/frontend/react-vite/.cursor/skills/shadcn-ui/references/ui-reference.md +1578 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/SKILL.md +508 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/button-patterns.md +234 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/card-patterns.md +533 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/form-patterns.md +403 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/layout-patterns.md +542 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/references/typography-patterns.md +338 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/SKILL.md +665 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/components.json +20 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/index.css +140 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-accessibility/SKILL.md +780 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-advanced-components/SKILL.md +718 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-animations/SKILL.md +432 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-debugging/SKILL.md +354 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-framework-integration/SKILL.md +578 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-mobile-first/SKILL.md +768 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-performance/SKILL.md +374 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-plugins/SKILL.md +505 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
- package/templates/frontend/react-vite/.cursor/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/SKILL.md +1058 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/assets/example-template.txt +14 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/best-practices.md +304 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/common-patterns.md +271 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/example-reference.md +26 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/testing.md +282 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/top-errors.md +332 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/typescript-patterns.md +291 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/rules/tanstack-query.md +126 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/scripts/example-script.sh +15 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/error-boundary.tsx +243 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/package.json +31 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/provider-setup.tsx +50 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/query-client-config.ts +72 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-router/SKILL.md +663 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-router/references/common-errors.md +77 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-router/rules/tanstack-router.md +125 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-router/templates/package.json +26 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-router/templates/route-examples.tsx +126 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-router/templates/vite.config.ts +16 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-start/REVIEW_REPORT.md +299 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-start/SKILL.md +781 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-start/planning/stability-tracker.md +49 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/SKILL.md +573 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/common-errors.md +208 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/performance-virtualization.md +106 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/query-integration.md +195 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/references/server-side-patterns.md +357 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/rules/tanstack-table.md +151 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/column-configuration.tsx +177 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/package.json +25 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
- package/templates/frontend/react-vite/.cursor/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-library/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-library/SKILL.md +504 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-library/rules/testing-library-patterns.md +97 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-library/templates/msw-handlers.ts +117 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-library/templates/setup.ts +57 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-patterns/SKILL.md +400 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-patterns/commands/coverage.md +458 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-patterns/commands/create-tests.md +362 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-patterns/commands/run-tests.md +336 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-patterns/references/validation-rules.md +222 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-patterns/templates/test-agent.md +132 -0
- package/templates/frontend/react-vite/.cursor/skills/testing-patterns/templates/test-spec.yaml +69 -0
- package/templates/frontend/react-vite/.cursor/skills/vitest/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite/.cursor/skills/vitest/SKILL.md +493 -0
- package/templates/frontend/react-vite/.cursor/skills/vitest/rules/vitest-patterns.md +100 -0
- package/templates/frontend/react-vite/.cursor/skills/vitest/templates/test-utils.ts +86 -0
- package/templates/frontend/react-vite/.cursor/skills/vitest/templates/vitest.config.ts +39 -0
- package/templates/frontend/react-vite/.cursor/skills/web-design-guidelines/SKILL.md +39 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/AGENTS.md +97 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/SKILL.md +127 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/compose-intersection.md +144 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/compose-lazy-recursive.md +143 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/compose-pipe.md +113 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/compose-preprocess.md +142 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/compose-shared-schemas.md +137 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/error-custom-messages.md +118 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/error-i18n.md +145 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/error-path-for-nested.md +130 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/error-use-flatten.md +131 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/object-discriminated-unions.md +138 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/object-extend-for-composition.md +147 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/object-optional-vs-nullable.md +117 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/object-partial-for-updates.md +123 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/object-pick-omit.md +146 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/object-strict-vs-strip.md +109 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/parse-async-for-async-refinements.md +118 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/parse-avoid-double-validation.md +129 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/parse-handle-all-issues.md +125 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/parse-never-trust-json.md +113 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/parse-use-safeparse.md +102 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/parse-validate-early.md +120 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/perf-arrays.md +153 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/perf-cache-schemas.md +138 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/perf-lazy-loading.md +135 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/perf-zod-mini.md +117 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/refine-add-path.md +141 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/refine-catch.md +143 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/refine-defaults.md +131 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/refine-transform-coerce.md +105 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/refine-vs-superrefine.md +152 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/schema-coercion-for-form-data.md +88 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/schema-string-validations.md +90 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/schema-use-enums.md +107 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/schema-use-primitives-correctly.md +61 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/schema-use-unknown-not-any.md +88 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/type-branded-types.md +102 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/type-enable-strict-mode.md +130 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/type-export-schemas-and-types.md +116 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/type-input-vs-output.md +116 -0
- package/templates/frontend/react-vite/.cursor/skills/zod/references/type-use-z-infer.md +110 -0
- package/templates/frontend/react-vite-help/.cursor/commands/add-route.md +211 -0
- package/templates/frontend/react-vite-help/.cursor/commands/add-tests.md +269 -0
- package/templates/frontend/react-vite-help/.cursor/commands/new-component.md +232 -0
- package/templates/frontend/react-vite-help/.cursor/commands/new-form.md +268 -0
- package/templates/frontend/react-vite-help/.cursor/commands/new-page.md +203 -0
- package/templates/frontend/react-vite-help/.cursor/commands/new-query.md +287 -0
- package/templates/frontend/react-vite-help/.cursor/commands/new-table.md +299 -0
- package/templates/frontend/react-vite-help/.cursor/mcp.json +17 -0
- package/templates/frontend/react-vite-help/.cursor/rules/architech.mdc +175 -0
- package/templates/frontend/react-vite-help/.cursor/skills/daisyui/SKILL.md +1374 -98
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/AGENTS.md +97 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/SKILL.md +116 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/SKILL.md +412 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/accessibility.md +359 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/error-handling.md +255 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/top-errors.md +381 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/package.json +35 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
- package/templates/frontend/react-vite-help/.cursor/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/SKILL.md +412 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/aspect-ratio.md +513 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/lazy-loading.md +397 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/modern-formats.md +526 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/picture-element.md +593 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/references/srcset-sizes.md +295 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/rules/responsive-images.md +418 -0
- package/templates/frontend/react-vite-help/.cursor/skills/responsive-images/templates/image-component.tsx +231 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/SKILL.md +487 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/agents/seo-generator.md +290 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/canonical-urls.md +429 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/json-ld.md +599 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/meta-description.md +426 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/open-graph.md +443 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/title-patterns.md +333 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/references/twitter-cards.md +423 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/rules/seo-meta.md +157 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
- package/templates/frontend/react-vite-help/.cursor/skills/seo-meta/templates/meta-component.tsx +275 -0
- package/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/SKILL.md +1677 -0
- package/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/references/learn.md +145 -0
- package/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
- package/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/references/reference.md +586 -0
- package/templates/frontend/react-vite-help/.cursor/skills/shadcn-ui/references/ui-reference.md +1578 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/SKILL.md +508 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/button-patterns.md +234 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/card-patterns.md +533 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/form-patterns.md +403 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/layout-patterns.md +542 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/references/typography-patterns.md +338 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/SKILL.md +665 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/components.json +20 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/index.css +140 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-accessibility/SKILL.md +780 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-advanced-components/SKILL.md +718 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-animations/SKILL.md +432 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-debugging/SKILL.md +354 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-framework-integration/SKILL.md +578 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-mobile-first/SKILL.md +768 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-performance/SKILL.md +374 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-plugins/SKILL.md +505 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/SKILL.md +1058 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/assets/example-template.txt +14 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/best-practices.md +304 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/common-patterns.md +271 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/example-reference.md +26 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/testing.md +282 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/top-errors.md +332 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/typescript-patterns.md +291 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/rules/tanstack-query.md +126 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/scripts/example-script.sh +15 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/error-boundary.tsx +243 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/package.json +31 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/provider-setup.tsx +50 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/query-client-config.ts +72 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/SKILL.md +663 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/references/common-errors.md +77 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/rules/tanstack-router.md +125 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/templates/package.json +26 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/templates/route-examples.tsx +126 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-router/templates/vite.config.ts +16 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-start/REVIEW_REPORT.md +299 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-start/SKILL.md +781 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-start/planning/stability-tracker.md +49 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/SKILL.md +573 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/common-errors.md +208 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/performance-virtualization.md +106 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/query-integration.md +195 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/references/server-side-patterns.md +357 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/rules/tanstack-table.md +151 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/column-configuration.tsx +177 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/package.json +25 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
- package/templates/frontend/react-vite-help/.cursor/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-library/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-library/SKILL.md +504 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-library/rules/testing-library-patterns.md +97 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-library/templates/msw-handlers.ts +117 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-library/templates/setup.ts +57 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/SKILL.md +400 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/commands/coverage.md +458 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/commands/create-tests.md +362 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/commands/run-tests.md +336 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/references/validation-rules.md +222 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/templates/test-agent.md +132 -0
- package/templates/frontend/react-vite-help/.cursor/skills/testing-patterns/templates/test-spec.yaml +69 -0
- package/templates/frontend/react-vite-help/.cursor/skills/vitest/.claude-plugin/plugin.json +12 -0
- package/templates/frontend/react-vite-help/.cursor/skills/vitest/SKILL.md +493 -0
- package/templates/frontend/react-vite-help/.cursor/skills/vitest/rules/vitest-patterns.md +100 -0
- package/templates/frontend/react-vite-help/.cursor/skills/vitest/templates/test-utils.ts +86 -0
- package/templates/frontend/react-vite-help/.cursor/skills/vitest/templates/vitest.config.ts +39 -0
- package/templates/frontend/react-vite-help/.cursor/skills/web-design-guidelines/SKILL.md +39 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/AGENTS.md +97 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/SKILL.md +127 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-intersection.md +144 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-lazy-recursive.md +143 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-pipe.md +113 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-preprocess.md +142 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/compose-shared-schemas.md +137 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-custom-messages.md +118 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-i18n.md +145 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-path-for-nested.md +130 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/error-use-flatten.md +131 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-discriminated-unions.md +138 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-extend-for-composition.md +147 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-optional-vs-nullable.md +117 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-partial-for-updates.md +123 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-pick-omit.md +146 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/object-strict-vs-strip.md +109 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-async-for-async-refinements.md +118 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-avoid-double-validation.md +129 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-handle-all-issues.md +125 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-never-trust-json.md +113 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-use-safeparse.md +102 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/parse-validate-early.md +120 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-arrays.md +153 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-cache-schemas.md +138 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-lazy-loading.md +135 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/perf-zod-mini.md +117 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-add-path.md +141 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-catch.md +143 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-defaults.md +131 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-transform-coerce.md +105 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/refine-vs-superrefine.md +152 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-coercion-for-form-data.md +88 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-string-validations.md +90 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-use-enums.md +107 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-use-primitives-correctly.md +61 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/schema-use-unknown-not-any.md +88 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-branded-types.md +102 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-enable-strict-mode.md +130 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-export-schemas-and-types.md +116 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-input-vs-output.md +116 -0
- package/templates/frontend/react-vite-help/.cursor/skills/zod/references/type-use-z-infer.md +110 -0
- package/templates/mobile/expo-base/.cursor/commands/add-translation.md +184 -0
- package/templates/mobile/expo-base/.cursor/commands/new-api-service.md +280 -0
- package/templates/mobile/expo-base/.cursor/commands/new-component.md +298 -0
- package/templates/mobile/expo-base/.cursor/commands/new-hook.md +291 -0
- package/templates/mobile/expo-base/.cursor/commands/new-modal.md +345 -0
- package/templates/mobile/expo-base/.cursor/commands/new-screen.md +267 -0
- package/templates/mobile/expo-base/.cursor/commands/new-tab.md +238 -0
- package/templates/mobile/expo-base/.cursor/mcp.json +21 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/SKILL.md +315 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/animations.md +220 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/controls.md +270 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/form-sheet.md +227 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/gradients.md +106 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/icons.md +213 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/media.md +198 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/route-structure.md +229 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/search.md +248 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/storage.md +121 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/tabs.md +368 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/toolbar-and-headers.md +284 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/visual-effects.md +197 -0
- package/templates/mobile/expo-base/.cursor/skills/building-native-ui/references/webgpu-three.md +605 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-api-routes/SKILL.md +368 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-dev-client/SKILL.md +164 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-tailwind-setup/SKILL.md +480 -0
- package/templates/mobile/expo-base/.cursor/skills/native-data-fetching/SKILL.md +491 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expert/SKILL.md +88 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/expo-router.md +190 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/list-optimization.md +207 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/platform-handling.md +191 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/project-structure.md +174 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expert/references/storage-hooks.md +176 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expo/SKILL.md +1148 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expo/references/example-reference.md +27 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expo/references/expo-sdk-52-breaking.md +409 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expo/references/new-architecture-errors.md +501 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expo/references/react-19-migration.md +365 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expo/scripts/check-rn-version.sh +121 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-expo/scripts/example-script.sh +15 -0
- package/templates/mobile/expo-base/.cursor/skills/use-dom/SKILL.md +417 -0
- package/templates/frontend/react-vite/.cursor/skills/architecture/SKILL.md +0 -26
- package/templates/frontend/react-vite/.cursor/skills/components-shadcn/SKILL.md +0 -23
- package/templates/frontend/react-vite/.cursor/skills/routing/SKILL.md +0 -32
- package/templates/frontend/react-vite/.cursor/skills/testing/SKILL.md +0 -55
- package/templates/frontend/react-vite/.cursor/skills/tooling-and-scripts/SKILL.md +0 -24
- package/templates/frontend/react-vite/.cursor/skills/ui-and-styling/SKILL.md +0 -32
- package/templates/frontend/react-vite/.cursor/skills/vibe-and-ia/SKILL.md +0 -23
- package/templates/frontend/react-vite-help/.cursor/skills/architecture/SKILL.md +0 -26
- package/templates/frontend/react-vite-help/.cursor/skills/components-shadcn/SKILL.md +0 -23
- package/templates/frontend/react-vite-help/.cursor/skills/routing/SKILL.md +0 -32
- package/templates/frontend/react-vite-help/.cursor/skills/testing/SKILL.md +0 -55
- package/templates/frontend/react-vite-help/.cursor/skills/tooling-and-scripts/SKILL.md +0 -24
- package/templates/frontend/react-vite-help/.cursor/skills/ui-and-styling/SKILL.md +0 -32
- package/templates/frontend/react-vite-help/.cursor/skills/vibe-and-ia/SKILL.md +0 -23
|
@@ -0,0 +1,663 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: tanstack-router
|
|
3
|
+
description: |
|
|
4
|
+
Build type-safe, file-based React routing with TanStack Router. Supports client-side navigation, route loaders, and TanStack Query integration. Prevents 20 documented errors including validation structure loss, param parsing bugs, and SSR streaming crashes.
|
|
5
|
+
|
|
6
|
+
Use when implementing file-based routing patterns, building SPAs with TypeScript routing, or troubleshooting devtools dependency errors, type safety issues, Vite bundling problems, or Docker deployment issues.
|
|
7
|
+
user-invocable: true
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# TanStack Router
|
|
11
|
+
|
|
12
|
+
Type-safe, file-based routing for React SPAs with route-level data loading and TanStack Query integration
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Quick Start
|
|
17
|
+
|
|
18
|
+
**Last Updated**: 2026-01-09
|
|
19
|
+
**Version**: @tanstack/react-router@1.146.2
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
npm install @tanstack/react-router @tanstack/router-devtools
|
|
23
|
+
npm install -D @tanstack/router-plugin
|
|
24
|
+
# Optional: Zod validation adapter
|
|
25
|
+
npm install @tanstack/zod-adapter zod
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
**Vite Config** (TanStackRouterVite MUST come before react()):
|
|
29
|
+
```typescript
|
|
30
|
+
// vite.config.ts
|
|
31
|
+
import { TanStackRouterVite } from '@tanstack/router-plugin/vite'
|
|
32
|
+
|
|
33
|
+
export default defineConfig({
|
|
34
|
+
plugins: [TanStackRouterVite(), react()], // Order matters!
|
|
35
|
+
})
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
**File Structure**:
|
|
39
|
+
```
|
|
40
|
+
src/routes/
|
|
41
|
+
├── __root.tsx → createRootRoute() with <Outlet />
|
|
42
|
+
├── index.tsx → createFileRoute('/')
|
|
43
|
+
└── posts.$postId.tsx → createFileRoute('/posts/$postId')
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
**App Setup**:
|
|
47
|
+
```typescript
|
|
48
|
+
import { createRouter, RouterProvider } from '@tanstack/react-router'
|
|
49
|
+
import { routeTree } from './routeTree.gen' // Auto-generated by plugin
|
|
50
|
+
|
|
51
|
+
const router = createRouter({ routeTree })
|
|
52
|
+
<RouterProvider router={router} />
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Core Patterns
|
|
58
|
+
|
|
59
|
+
**Type-Safe Navigation** (routes auto-complete, params typed):
|
|
60
|
+
```typescript
|
|
61
|
+
<Link to="/posts/$postId" params={{ postId: '123' }} />
|
|
62
|
+
<Link to="/invalid" /> // ❌ TypeScript error
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
**Route Loaders** (data fetching before render):
|
|
66
|
+
```typescript
|
|
67
|
+
export const Route = createFileRoute('/posts/$postId')({
|
|
68
|
+
loader: async ({ params }) => ({ post: await fetchPost(params.postId) }),
|
|
69
|
+
component: ({ useLoaderData }) => {
|
|
70
|
+
const { post } = useLoaderData() // Fully typed!
|
|
71
|
+
return <h1>{post.title}</h1>
|
|
72
|
+
},
|
|
73
|
+
})
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
**TanStack Query Integration** (prefetch + cache):
|
|
77
|
+
```typescript
|
|
78
|
+
const postOpts = (id: string) => queryOptions({
|
|
79
|
+
queryKey: ['posts', id],
|
|
80
|
+
queryFn: () => fetchPost(id),
|
|
81
|
+
})
|
|
82
|
+
|
|
83
|
+
export const Route = createFileRoute('/posts/$postId')({
|
|
84
|
+
loader: ({ context: { queryClient }, params }) =>
|
|
85
|
+
queryClient.ensureQueryData(postOpts(params.postId)),
|
|
86
|
+
component: () => {
|
|
87
|
+
const { postId } = Route.useParams()
|
|
88
|
+
const { data } = useQuery(postOpts(postId))
|
|
89
|
+
return <h1>{data.title}</h1>
|
|
90
|
+
},
|
|
91
|
+
})
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
---
|
|
95
|
+
|
|
96
|
+
## Virtual File Routes (v1.140+)
|
|
97
|
+
|
|
98
|
+
Programmatic route configuration when file-based conventions don't fit your needs:
|
|
99
|
+
|
|
100
|
+
**Install**: `npm install @tanstack/virtual-file-routes`
|
|
101
|
+
|
|
102
|
+
**Vite Config**:
|
|
103
|
+
```typescript
|
|
104
|
+
import { tanstackRouter } from '@tanstack/router-plugin/vite'
|
|
105
|
+
|
|
106
|
+
export default defineConfig({
|
|
107
|
+
plugins: [
|
|
108
|
+
tanstackRouter({
|
|
109
|
+
target: 'react',
|
|
110
|
+
virtualRouteConfig: './routes.ts', // Point to your routes file
|
|
111
|
+
}),
|
|
112
|
+
react(),
|
|
113
|
+
],
|
|
114
|
+
})
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
**routes.ts** (define routes programmatically):
|
|
118
|
+
```typescript
|
|
119
|
+
import { rootRoute, route, index, layout, physical } from '@tanstack/virtual-file-routes'
|
|
120
|
+
|
|
121
|
+
export const routes = rootRoute('root.tsx', [
|
|
122
|
+
index('home.tsx'),
|
|
123
|
+
route('/posts', 'posts/posts.tsx', [
|
|
124
|
+
index('posts/posts-home.tsx'),
|
|
125
|
+
route('$postId', 'posts/posts-detail.tsx'),
|
|
126
|
+
]),
|
|
127
|
+
layout('first', 'layout/first-layout.tsx', [
|
|
128
|
+
route('/nested', 'nested.tsx'),
|
|
129
|
+
]),
|
|
130
|
+
physical('/classic', 'file-based-subtree'), // Mix with file-based
|
|
131
|
+
])
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
**Use Cases**: Custom route organization, mixing file-based and code-based, complex nested layouts.
|
|
135
|
+
|
|
136
|
+
---
|
|
137
|
+
|
|
138
|
+
## Search Params Validation (Zod Adapter)
|
|
139
|
+
|
|
140
|
+
Type-safe URL search params with runtime validation:
|
|
141
|
+
|
|
142
|
+
**Basic Pattern** (inline validation):
|
|
143
|
+
```typescript
|
|
144
|
+
import { z } from 'zod'
|
|
145
|
+
|
|
146
|
+
export const Route = createFileRoute('/products')({
|
|
147
|
+
validateSearch: (search) => z.object({
|
|
148
|
+
page: z.number().catch(1),
|
|
149
|
+
filter: z.string().catch(''),
|
|
150
|
+
sort: z.enum(['newest', 'oldest', 'price']).catch('newest'),
|
|
151
|
+
}).parse(search),
|
|
152
|
+
})
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
**Recommended Pattern** (Zod adapter with fallbacks):
|
|
156
|
+
```typescript
|
|
157
|
+
import { zodValidator, fallback } from '@tanstack/zod-adapter'
|
|
158
|
+
import { z } from 'zod'
|
|
159
|
+
|
|
160
|
+
const searchSchema = z.object({
|
|
161
|
+
query: z.string().min(1).max(100),
|
|
162
|
+
page: fallback(z.number().int().positive(), 1),
|
|
163
|
+
sortBy: z.enum(['name', 'date', 'relevance']).optional(),
|
|
164
|
+
})
|
|
165
|
+
|
|
166
|
+
export const Route = createFileRoute('/search')({
|
|
167
|
+
validateSearch: zodValidator(searchSchema),
|
|
168
|
+
// Type-safe: Route.useSearch() returns typed params
|
|
169
|
+
})
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
**Why `.catch()` over `.default()`**: Use `.catch()` to silently fix malformed params. Use `.default()` + `errorComponent` to show validation errors.
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## Error Boundaries
|
|
177
|
+
|
|
178
|
+
Handle errors at route level with typed error components:
|
|
179
|
+
|
|
180
|
+
**Route-Level Error Handling**:
|
|
181
|
+
```typescript
|
|
182
|
+
export const Route = createFileRoute('/posts/$postId')({
|
|
183
|
+
loader: async ({ params }) => {
|
|
184
|
+
const post = await fetchPost(params.postId)
|
|
185
|
+
if (!post) throw new Error('Post not found')
|
|
186
|
+
return { post }
|
|
187
|
+
},
|
|
188
|
+
errorComponent: ({ error, reset }) => (
|
|
189
|
+
<div>
|
|
190
|
+
<p>Error: {error.message}</p>
|
|
191
|
+
<button onClick={reset}>Retry</button>
|
|
192
|
+
</div>
|
|
193
|
+
),
|
|
194
|
+
})
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
**Default Error Component** (global fallback):
|
|
198
|
+
```typescript
|
|
199
|
+
const router = createRouter({
|
|
200
|
+
routeTree,
|
|
201
|
+
defaultErrorComponent: ({ error }) => (
|
|
202
|
+
<div className="error-page">
|
|
203
|
+
<h1>Something went wrong</h1>
|
|
204
|
+
<p>{error.message}</p>
|
|
205
|
+
</div>
|
|
206
|
+
),
|
|
207
|
+
})
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
**Not Found Handling**:
|
|
211
|
+
```typescript
|
|
212
|
+
export const Route = createFileRoute('/posts/$postId')({
|
|
213
|
+
notFoundComponent: () => <div>Post not found</div>,
|
|
214
|
+
})
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## Authentication with beforeLoad
|
|
220
|
+
|
|
221
|
+
Protect routes before they load (no flash of protected content):
|
|
222
|
+
|
|
223
|
+
**Single Route Protection**:
|
|
224
|
+
```typescript
|
|
225
|
+
import { redirect } from '@tanstack/react-router'
|
|
226
|
+
|
|
227
|
+
export const Route = createFileRoute('/dashboard')({
|
|
228
|
+
beforeLoad: async ({ context }) => {
|
|
229
|
+
if (!context.auth.isAuthenticated) {
|
|
230
|
+
throw redirect({
|
|
231
|
+
to: '/login',
|
|
232
|
+
search: { redirect: location.pathname }, // Save for post-login
|
|
233
|
+
})
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
})
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
**Protect Multiple Routes** (layout route pattern):
|
|
240
|
+
```typescript
|
|
241
|
+
// routes/(authenticated)/route.tsx - protects all children
|
|
242
|
+
export const Route = createFileRoute('/(authenticated)')({
|
|
243
|
+
beforeLoad: async ({ context }) => {
|
|
244
|
+
if (!context.auth.isAuthenticated) {
|
|
245
|
+
throw redirect({ to: '/login' })
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
})
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
**Passing Auth Context** (from React hooks):
|
|
252
|
+
```typescript
|
|
253
|
+
// main.tsx - pass auth state to router
|
|
254
|
+
function App() {
|
|
255
|
+
const auth = useAuth() // Your auth hook
|
|
256
|
+
|
|
257
|
+
return (
|
|
258
|
+
<RouterProvider
|
|
259
|
+
router={router}
|
|
260
|
+
context={{ auth }} // Available in beforeLoad
|
|
261
|
+
/>
|
|
262
|
+
)
|
|
263
|
+
}
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
## Known Issues Prevention
|
|
269
|
+
|
|
270
|
+
This skill prevents **20** documented issues:
|
|
271
|
+
|
|
272
|
+
### Issue #1: Devtools Dependency Resolution
|
|
273
|
+
- **Error**: Build fails with `@tanstack/router-devtools-core` not found
|
|
274
|
+
- **Fix**: `npm install @tanstack/router-devtools`
|
|
275
|
+
|
|
276
|
+
**Issue #2: Vite Plugin Order** (CRITICAL)
|
|
277
|
+
- **Error**: Routes not auto-generated, `routeTree.gen.ts` missing
|
|
278
|
+
- **Fix**: TanStackRouterVite MUST come before react() in plugins array
|
|
279
|
+
- **Why**: Plugin processes route files before React compilation
|
|
280
|
+
|
|
281
|
+
**Issue #3: Type Registration Missing**
|
|
282
|
+
- **Error**: `<Link to="...">` not typed, no autocomplete
|
|
283
|
+
- **Fix**: Import `routeTree` from `./routeTree.gen` in main.tsx to register types
|
|
284
|
+
|
|
285
|
+
**Issue #4: Loader Not Running**
|
|
286
|
+
- **Error**: Loader function not called on navigation
|
|
287
|
+
- **Fix**: Ensure route exports `Route` constant: `export const Route = createFileRoute('/path')({ loader: ... })`
|
|
288
|
+
|
|
289
|
+
**Issue #5: Memory Leak with TanStack Form** (FIXED)
|
|
290
|
+
- **Error**: Production crashes when using TanStack Form + Router
|
|
291
|
+
- **Source**: GitHub Issue #5734 (closed Jan 5, 2026)
|
|
292
|
+
- **Resolution**: Fixed in latest versions of @tanstack/form and @tanstack/react-start. Update both packages to resolve.
|
|
293
|
+
|
|
294
|
+
**Issue #6: Virtual Routes Index/Layout Conflict**
|
|
295
|
+
- **Error**: route.tsx and index.tsx conflict when using `physical()` in virtual routing
|
|
296
|
+
- **Source**: GitHub Issue #5421
|
|
297
|
+
- **Fix**: Use pathless route instead: `_layout.tsx` + `_layout.index.tsx`
|
|
298
|
+
|
|
299
|
+
**Issue #7: Search Params Type Inference**
|
|
300
|
+
- **Error**: Type inference not working with `zodSearchValidator`
|
|
301
|
+
- **Source**: GitHub Issue #3100 (regression since v1.81.5)
|
|
302
|
+
- **Fix**: Use `zodValidator` from `@tanstack/zod-adapter` instead
|
|
303
|
+
|
|
304
|
+
**Issue #8: TanStack Start Validators on Reload**
|
|
305
|
+
- **Error**: `validateSearch` not working on page reload in TanStack Start
|
|
306
|
+
- **Source**: GitHub Issue #3711
|
|
307
|
+
- **Note**: Works on client-side navigation, fails on direct page load
|
|
308
|
+
|
|
309
|
+
### Issue #9: Server Function Validation Errors Lose Structure
|
|
310
|
+
|
|
311
|
+
**Error**: `inputValidator` Zod errors stringified, losing structure on client
|
|
312
|
+
**Source**: [GitHub Issue #6428](https://github.com/TanStack/router/issues/6428)
|
|
313
|
+
**Why It Happens**: TanStack Start server function error serialization converts Zod issues array to JSON string in `error.message`, making it unusable without manual parsing.
|
|
314
|
+
|
|
315
|
+
**Prevention**:
|
|
316
|
+
```typescript
|
|
317
|
+
// Server function with input validation
|
|
318
|
+
export const myFn = createServerFn({ method: 'POST' })
|
|
319
|
+
.inputValidator(z.object({
|
|
320
|
+
name: z.string().min(2),
|
|
321
|
+
age: z.number().min(18),
|
|
322
|
+
}))
|
|
323
|
+
.handler(async ({ data }) => data)
|
|
324
|
+
|
|
325
|
+
// Client: Workaround to parse stringified issues
|
|
326
|
+
try {
|
|
327
|
+
await mutation.mutate({ data: invalidData })
|
|
328
|
+
} catch (error) {
|
|
329
|
+
if (error.message.startsWith('[')) {
|
|
330
|
+
const issues = JSON.parse(error.message)
|
|
331
|
+
// Now can use structured error data
|
|
332
|
+
issues.forEach(issue => {
|
|
333
|
+
console.log(issue.path, issue.message)
|
|
334
|
+
})
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
**Official Status**: Known issue, tracking PR for fix
|
|
340
|
+
|
|
341
|
+
### Issue #10: useParams({ strict: false }) Returns Unparsed Values
|
|
342
|
+
|
|
343
|
+
**Error**: Params typed as parsed but returned as strings after navigation
|
|
344
|
+
**Source**: [GitHub Issue #6385](https://github.com/TanStack/router/issues/6385)
|
|
345
|
+
**Why It Happens**: In v1.147.3+, `match.params` is no longer parsed when using `strict: false`. First render works correctly, but after navigation values are stored as strings instead of parsed types.
|
|
346
|
+
|
|
347
|
+
**Prevention**:
|
|
348
|
+
```typescript
|
|
349
|
+
// Route with param parsing
|
|
350
|
+
export const Route = createFileRoute('/posts/$postId')({
|
|
351
|
+
params: {
|
|
352
|
+
parse: (params) => ({
|
|
353
|
+
postId: z.coerce.number().parse(params.postId),
|
|
354
|
+
}),
|
|
355
|
+
},
|
|
356
|
+
})
|
|
357
|
+
|
|
358
|
+
// Component: Use strict mode (default) for parsed params
|
|
359
|
+
function Component() {
|
|
360
|
+
const { postId } = useParams() // ✓ Parsed as number
|
|
361
|
+
// const { postId } = useParams({ strict: false }) // ✗ String!
|
|
362
|
+
|
|
363
|
+
// Or manually parse when using strict: false
|
|
364
|
+
const params = useParams({ strict: false })
|
|
365
|
+
const postId = Number(params.postId)
|
|
366
|
+
}
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
**Official Status**: Known issue, workaround required
|
|
370
|
+
|
|
371
|
+
### Issue #11: Pathless Route notFoundComponent Not Rendering
|
|
372
|
+
|
|
373
|
+
**Error**: `notFoundComponent` on pathless layout routes ignored
|
|
374
|
+
**Source**: [GitHub Issue #6351](https://github.com/TanStack/router/issues/6351), [GitHub Issue #4065](https://github.com/TanStack/router/issues/4065)
|
|
375
|
+
**Why It Happens**: Pathless routes (e.g., `routes/(authenticated)/route.tsx`) don't render their `notFoundComponent`. Instead, the `defaultNotFoundComponent` from router config is triggered. This has been broken since April 2025.
|
|
376
|
+
|
|
377
|
+
**Prevention**:
|
|
378
|
+
```typescript
|
|
379
|
+
// ✗ Doesn't work: notFoundComponent on pathless layout
|
|
380
|
+
export const Route = createFileRoute('/(authenticated)')({
|
|
381
|
+
beforeLoad: ({ context }) => {
|
|
382
|
+
if (!context.auth) throw redirect({ to: '/login' })
|
|
383
|
+
},
|
|
384
|
+
notFoundComponent: () => <div>Protected 404</div>, // Not rendered!
|
|
385
|
+
})
|
|
386
|
+
|
|
387
|
+
// ✓ Works: Define on child routes instead
|
|
388
|
+
export const Route = createFileRoute('/(authenticated)/dashboard')({
|
|
389
|
+
notFoundComponent: () => <div>Protected 404</div>,
|
|
390
|
+
})
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
**Official Status**: Known issue, workaround required
|
|
394
|
+
|
|
395
|
+
### Issue #12: Aborted Loader Renders errorComponent with Undefined Error
|
|
396
|
+
|
|
397
|
+
**Error**: Rapid navigation aborts previous loader and renders errorComponent with `undefined` error
|
|
398
|
+
**Source**: [GitHub Issue #6388](https://github.com/TanStack/router/issues/6388)
|
|
399
|
+
**Why It Happens**: Side effect introduced after PR #4570. When user rapidly navigates (e.g., clicking through list items), aborted fetch requests trigger errorComponent without passing the abort error.
|
|
400
|
+
|
|
401
|
+
**Prevention**:
|
|
402
|
+
```typescript
|
|
403
|
+
export const Route = createFileRoute('/posts/$postId')({
|
|
404
|
+
loader: async ({ params, abortController }) => {
|
|
405
|
+
await fetch(`/api/posts/${params.postId}`, {
|
|
406
|
+
signal: abortController.signal,
|
|
407
|
+
})
|
|
408
|
+
},
|
|
409
|
+
errorComponent: ({ error, reset }) => {
|
|
410
|
+
// Check for undefined error (aborted request)
|
|
411
|
+
if (!error) {
|
|
412
|
+
return null // Or show loading state
|
|
413
|
+
}
|
|
414
|
+
return <div>Error: {error.message}</div>
|
|
415
|
+
},
|
|
416
|
+
})
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
**Official Status**: Known issue, workaround required
|
|
420
|
+
|
|
421
|
+
### Issue #13: Vitest Cannot Read Properties of Null (useState)
|
|
422
|
+
|
|
423
|
+
**Error**: `Cannot read properties of null (reading 'useState')` when running tests with Vitest
|
|
424
|
+
**Source**: [GitHub Issue #6262](https://github.com/TanStack/router/issues/6262), [PR #6074](https://github.com/TanStack/router/pull/6074)
|
|
425
|
+
**Why It Happens**: TanStack Start's `tanstackStart()` plugin conflicts with Vitest's React hooks rendering. This is a known duplicate issue with a PR in progress.
|
|
426
|
+
|
|
427
|
+
**Prevention**:
|
|
428
|
+
```typescript
|
|
429
|
+
// Temporary workaround: Comment out tanstackStart() for tests
|
|
430
|
+
// vite.config.ts
|
|
431
|
+
export default defineConfig({
|
|
432
|
+
plugins: [
|
|
433
|
+
// tanstackStart(), // Disable for tests
|
|
434
|
+
react(),
|
|
435
|
+
],
|
|
436
|
+
test: { environment: 'jsdom' },
|
|
437
|
+
})
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
**Official Status**: PR #6074 in progress to fix
|
|
441
|
+
|
|
442
|
+
### Issue #14: Throwing Error in Streaming SSR Loader Crashes Dev Server
|
|
443
|
+
|
|
444
|
+
**Error**: Dev server crashes when route loader throws error without awaiting (using `void` instead of `await`)
|
|
445
|
+
**Source**: [GitHub Issue #6200](https://github.com/TanStack/router/issues/6200)
|
|
446
|
+
**Why It Happens**: SSR streaming mode can't handle unawaited promise rejections. The error escapes the loader context and crashes the worker process.
|
|
447
|
+
|
|
448
|
+
**Prevention**:
|
|
449
|
+
```typescript
|
|
450
|
+
// ✗ Wrong: void + throw crashes dev server
|
|
451
|
+
export const Route = createFileRoute('/posts')({
|
|
452
|
+
loader: async () => {
|
|
453
|
+
void fetch('/api/posts').then(r => {
|
|
454
|
+
throw new Error('boom') // Crashes!
|
|
455
|
+
})
|
|
456
|
+
},
|
|
457
|
+
})
|
|
458
|
+
|
|
459
|
+
// ✓ Correct: Always await or catch
|
|
460
|
+
export const Route = createFileRoute('/posts')({
|
|
461
|
+
loader: async () => {
|
|
462
|
+
try {
|
|
463
|
+
const data = await fetch('/api/posts')
|
|
464
|
+
return data
|
|
465
|
+
} catch (error) {
|
|
466
|
+
throw error // Caught by errorComponent
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
})
|
|
470
|
+
```
|
|
471
|
+
|
|
472
|
+
**Official Status**: Known issue, workaround required
|
|
473
|
+
|
|
474
|
+
### Issue #15: Prerender Hangs Indefinitely if Filter Returns Zero Results
|
|
475
|
+
|
|
476
|
+
**Error**: Build step hangs when `prerender.filter` returns zero routes
|
|
477
|
+
**Source**: [GitHub Issue #6425](https://github.com/TanStack/router/issues/6425)
|
|
478
|
+
**Why It Happens**: TanStack Start prerendering doesn't handle empty route sets gracefully - it waits indefinitely for routes that never come.
|
|
479
|
+
|
|
480
|
+
**Prevention**:
|
|
481
|
+
```typescript
|
|
482
|
+
// ✗ Wrong: Empty filter causes hang
|
|
483
|
+
tanstackStart({
|
|
484
|
+
prerender: {
|
|
485
|
+
enabled: true,
|
|
486
|
+
filter: (route) => false, // No routes → hangs!
|
|
487
|
+
},
|
|
488
|
+
})
|
|
489
|
+
|
|
490
|
+
// ✓ Correct: Ensure at least one route or disable
|
|
491
|
+
tanstackStart({
|
|
492
|
+
prerender: {
|
|
493
|
+
enabled: true,
|
|
494
|
+
filter: (route) => route.path === '/' || route.path.startsWith('/posts'),
|
|
495
|
+
},
|
|
496
|
+
})
|
|
497
|
+
|
|
498
|
+
// Or temporarily disable
|
|
499
|
+
tanstackStart({
|
|
500
|
+
prerender: { enabled: false },
|
|
501
|
+
})
|
|
502
|
+
```
|
|
503
|
+
|
|
504
|
+
**Official Status**: Known issue, workaround required
|
|
505
|
+
|
|
506
|
+
### Issue #16: Prerendering Does Not Work in Docker
|
|
507
|
+
|
|
508
|
+
**Error**: Build fails in Docker with "Unable to connect" during prerender step
|
|
509
|
+
**Source**: [GitHub Issue #6275](https://github.com/TanStack/router/issues/6275), [PR #6305](https://github.com/TanStack/router/pull/6305)
|
|
510
|
+
**Why It Happens**: Vite preview server used for prerendering is not accessible in Docker environment.
|
|
511
|
+
|
|
512
|
+
**Prevention**:
|
|
513
|
+
```typescript
|
|
514
|
+
// vite.config.ts - Make preview server accessible in Docker
|
|
515
|
+
export default defineConfig({
|
|
516
|
+
preview: {
|
|
517
|
+
host: true, // Bind to 0.0.0.0 instead of localhost
|
|
518
|
+
},
|
|
519
|
+
plugins: [
|
|
520
|
+
devtools(),
|
|
521
|
+
// nitro({ preset: "bun" }), // Remove temporarily if issues persist
|
|
522
|
+
tanstackStart(),
|
|
523
|
+
react(),
|
|
524
|
+
],
|
|
525
|
+
})
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
**Official Status**: PR #6305 in progress
|
|
529
|
+
|
|
530
|
+
### Issue #17: Route Head Function Executes Before Loader Finishes
|
|
531
|
+
|
|
532
|
+
**Error**: Meta tags generated with incomplete data when `head()` runs before `loader()`
|
|
533
|
+
**Source**: [GitHub Issue #6221](https://github.com/TanStack/router/issues/6221)
|
|
534
|
+
**Why It Happens**: The `head()` function can execute before the route `loader()` finishes, causing meta tags to use placeholder or undefined data.
|
|
535
|
+
|
|
536
|
+
**Prevention**:
|
|
537
|
+
```typescript
|
|
538
|
+
// ✗ Wrong: loaderData may not be available yet
|
|
539
|
+
export const Route = createFileRoute('/posts/$postId')({
|
|
540
|
+
loader: async ({ params }) => {
|
|
541
|
+
const post = await fetchPost(params.postId)
|
|
542
|
+
return { post }
|
|
543
|
+
},
|
|
544
|
+
head: ({ loaderData }) => ({
|
|
545
|
+
meta: [
|
|
546
|
+
{ title: loaderData.post.title }, // May be undefined!
|
|
547
|
+
],
|
|
548
|
+
}),
|
|
549
|
+
})
|
|
550
|
+
|
|
551
|
+
// ✓ Correct: Explicitly await if needed
|
|
552
|
+
export const Route = createFileRoute('/posts/$postId')({
|
|
553
|
+
loader: async ({ params }) => {
|
|
554
|
+
const post = await fetchPost(params.postId)
|
|
555
|
+
return { post }
|
|
556
|
+
},
|
|
557
|
+
head: async ({ loaderData }) => {
|
|
558
|
+
await loaderData // Ensure loaded
|
|
559
|
+
return {
|
|
560
|
+
meta: [{ title: loaderData.post.title }],
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
})
|
|
564
|
+
```
|
|
565
|
+
|
|
566
|
+
**Official Status**: Known issue, workaround required
|
|
567
|
+
|
|
568
|
+
### Issue #18: Virtual Routes Don't Support Manual Lazy Loading (Community-sourced)
|
|
569
|
+
|
|
570
|
+
**Error**: `createLazyFileRoute` automatically replaced with `createFileRoute` in virtual routes
|
|
571
|
+
**Source**: [GitHub Issue #6396](https://github.com/TanStack/router/issues/6396)
|
|
572
|
+
**Why It Happens**: Virtual file routes are designed for automatic code splitting only. Manual lazy routes are not supported - the plugin silently replaces them.
|
|
573
|
+
|
|
574
|
+
**Prevention**:
|
|
575
|
+
```typescript
|
|
576
|
+
// Virtual routes: Use automatic code splitting
|
|
577
|
+
// vite.config.ts
|
|
578
|
+
tanstackRouter({
|
|
579
|
+
target: 'react',
|
|
580
|
+
virtualRouteConfig: './routes.ts',
|
|
581
|
+
autoCodeSplitting: true, // Use automatic splitting
|
|
582
|
+
})
|
|
583
|
+
|
|
584
|
+
// Don't use createLazyFileRoute in virtual routes
|
|
585
|
+
// It will be replaced with createFileRoute automatically
|
|
586
|
+
```
|
|
587
|
+
|
|
588
|
+
**Official Status**: By design (documented behavior)
|
|
589
|
+
|
|
590
|
+
### Issue #19: NavigateOptions Type Safety Inconsistency (Community-sourced)
|
|
591
|
+
|
|
592
|
+
**Error**: `NavigateOptions` type doesn't enforce required params like `useNavigate()` does
|
|
593
|
+
**Source**: [TkDodo's Blog: The Beauty of TanStack Router](https://tkdodo.eu/blog/the-beauty-of-tan-stack-router)
|
|
594
|
+
**Why It Happens**: Type definitions differ between runtime hook and type helper. `NavigateOptions` is less strict.
|
|
595
|
+
|
|
596
|
+
**Prevention**:
|
|
597
|
+
```typescript
|
|
598
|
+
// ✗ Wrong: NavigateOptions doesn't catch missing params
|
|
599
|
+
const options: NavigateOptions = {
|
|
600
|
+
to: '/posts/$postId', // No TS error, but params required!
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
// ✓ Correct: Use useNavigate() return type
|
|
604
|
+
const navigate = useNavigate()
|
|
605
|
+
type NavigateFn = typeof navigate
|
|
606
|
+
// Now type-safe across all usages
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
**Verified**: Cross-referenced with TanStack Query maintainer analysis
|
|
610
|
+
|
|
611
|
+
### Issue #20: Missing Leading Slash in Route Paths (Community-sourced)
|
|
612
|
+
|
|
613
|
+
**Error**: Routes fail to match when path defined without leading slash
|
|
614
|
+
**Source**: [Official Debugging Guide](https://tanstack.com/router/latest/docs/framework/react/how-to/debug-router-issues)
|
|
615
|
+
**Why It Happens**: Very common beginner mistake - using `'about'` instead of `'/about'` causes route matching failures.
|
|
616
|
+
|
|
617
|
+
**Prevention**:
|
|
618
|
+
```typescript
|
|
619
|
+
// ✗ Wrong: Missing leading slash
|
|
620
|
+
export const Route = createFileRoute('about')({ /* ... */ })
|
|
621
|
+
|
|
622
|
+
// ✓ Correct: Always start with /
|
|
623
|
+
export const Route = createFileRoute('/about')({ /* ... */ })
|
|
624
|
+
```
|
|
625
|
+
|
|
626
|
+
**Verified**: Official documentation, common debugging issue
|
|
627
|
+
|
|
628
|
+
---
|
|
629
|
+
|
|
630
|
+
## Cloudflare Workers Integration
|
|
631
|
+
|
|
632
|
+
**Vite Config** (add @cloudflare/vite-plugin):
|
|
633
|
+
```typescript
|
|
634
|
+
import { cloudflare } from '@cloudflare/vite-plugin'
|
|
635
|
+
|
|
636
|
+
export default defineConfig({
|
|
637
|
+
plugins: [TanStackRouterVite(), react(), cloudflare()],
|
|
638
|
+
})
|
|
639
|
+
```
|
|
640
|
+
|
|
641
|
+
**API Routes Pattern** (fetch from Workers backend):
|
|
642
|
+
```typescript
|
|
643
|
+
// Worker: functions/api/posts.ts
|
|
644
|
+
export async function onRequestGet({ env }) {
|
|
645
|
+
const { results } = await env.DB.prepare('SELECT * FROM posts').all()
|
|
646
|
+
return Response.json(results)
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
// Router: src/routes/posts.tsx
|
|
650
|
+
export const Route = createFileRoute('/posts')({
|
|
651
|
+
loader: async () => fetch('/api/posts').then(r => r.json()),
|
|
652
|
+
})
|
|
653
|
+
```
|
|
654
|
+
|
|
655
|
+
---
|
|
656
|
+
|
|
657
|
+
**Related Skills**: tanstack-query (data fetching), react-hook-form-zod (form validation), cloudflare-worker-base (API backend), tailwind-v4-shadcn (UI)
|
|
658
|
+
|
|
659
|
+
**Related Packages**: @tanstack/zod-adapter (search validation), @tanstack/virtual-file-routes (programmatic routes)
|
|
660
|
+
|
|
661
|
+
---
|
|
662
|
+
|
|
663
|
+
**Last verified**: 2026-01-20 | **Skill version**: 2.0.0 | **Changes**: Added 12 new issues from community research (inputValidator structure loss, useParams parsing bug, pathless notFoundComponent, aborted loader errors, Vitest conflicts, SSR streaming crashes, Docker prerender issues, head/loader timing, virtual routes lazy loading limitation, NavigateOptions type inconsistency, leading slash common mistake). Increased error prevention from 8 to 20 documented issues.
|