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,504 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: testing-library
|
|
3
|
+
description: |
|
|
4
|
+
Test React components with Testing Library patterns. Covers queries (getBy/findBy/queryBy), user-event interactions, async testing (findBy vs waitFor), accessibility testing, and MSW integration for API mocking.
|
|
5
|
+
|
|
6
|
+
Use when: testing React components, simulating user interactions, testing forms, mocking API calls with MSW, or writing accessible tests. Keywords: testing-library, react testing library, getByRole, user-event, waitFor, MSW, screen.
|
|
7
|
+
license: MIT
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
# React Testing Library
|
|
11
|
+
|
|
12
|
+
**Status**: Production Ready
|
|
13
|
+
**Last Updated**: 2026-02-06
|
|
14
|
+
**Version**: 16.x
|
|
15
|
+
**User Event**: 14.x
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Quick Start
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Install with Vitest
|
|
23
|
+
pnpm add -D @testing-library/react @testing-library/user-event @testing-library/jest-dom jsdom
|
|
24
|
+
|
|
25
|
+
# Or with Jest
|
|
26
|
+
pnpm add -D @testing-library/react @testing-library/user-event @testing-library/jest-dom
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
### Setup File (src/test/setup.ts)
|
|
30
|
+
|
|
31
|
+
```typescript
|
|
32
|
+
import '@testing-library/jest-dom/vitest';
|
|
33
|
+
import { cleanup } from '@testing-library/react';
|
|
34
|
+
import { afterEach } from 'vitest';
|
|
35
|
+
|
|
36
|
+
// Cleanup after each test
|
|
37
|
+
afterEach(() => {
|
|
38
|
+
cleanup();
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Vitest Config
|
|
43
|
+
|
|
44
|
+
```typescript
|
|
45
|
+
// vitest.config.ts
|
|
46
|
+
export default defineConfig({
|
|
47
|
+
test: {
|
|
48
|
+
globals: true,
|
|
49
|
+
environment: 'jsdom',
|
|
50
|
+
setupFiles: ['./src/test/setup.ts'],
|
|
51
|
+
},
|
|
52
|
+
});
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## Query Priority (Accessibility First)
|
|
58
|
+
|
|
59
|
+
Use queries in this order for accessible, resilient tests:
|
|
60
|
+
|
|
61
|
+
| Priority | Query | Use For |
|
|
62
|
+
|----------|-------|---------|
|
|
63
|
+
| 1 | `getByRole` | Buttons, links, headings, inputs |
|
|
64
|
+
| 2 | `getByLabelText` | Form inputs with labels |
|
|
65
|
+
| 3 | `getByPlaceholderText` | Inputs without visible labels |
|
|
66
|
+
| 4 | `getByText` | Non-interactive text content |
|
|
67
|
+
| 5 | `getByTestId` | Last resort only |
|
|
68
|
+
|
|
69
|
+
### Examples
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import { render, screen } from '@testing-library/react';
|
|
73
|
+
|
|
74
|
+
// ✅ GOOD - semantic role queries
|
|
75
|
+
screen.getByRole('button', { name: /submit/i });
|
|
76
|
+
screen.getByRole('heading', { level: 1 });
|
|
77
|
+
screen.getByRole('textbox', { name: /email/i });
|
|
78
|
+
screen.getByRole('link', { name: /learn more/i });
|
|
79
|
+
|
|
80
|
+
// ✅ GOOD - label-based queries for forms
|
|
81
|
+
screen.getByLabelText(/email address/i);
|
|
82
|
+
|
|
83
|
+
// ⚠️ OK - when no better option
|
|
84
|
+
screen.getByText(/welcome to our app/i);
|
|
85
|
+
|
|
86
|
+
// ❌ AVOID - not accessible, brittle
|
|
87
|
+
screen.getByTestId('submit-button');
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Query Variants
|
|
93
|
+
|
|
94
|
+
| Variant | Returns | Throws | Use For |
|
|
95
|
+
|---------|---------|--------|---------|
|
|
96
|
+
| `getBy` | Element | Yes | Element exists now |
|
|
97
|
+
| `queryBy` | Element or null | No | Element might not exist |
|
|
98
|
+
| `findBy` | Promise<Element> | Yes | Async, appears later |
|
|
99
|
+
| `getAllBy` | Element[] | Yes | Multiple elements |
|
|
100
|
+
| `queryAllBy` | Element[] | No | Multiple or none |
|
|
101
|
+
| `findAllBy` | Promise<Element[]> | Yes | Multiple, async |
|
|
102
|
+
|
|
103
|
+
### When to Use Each
|
|
104
|
+
|
|
105
|
+
```typescript
|
|
106
|
+
// Element exists immediately
|
|
107
|
+
const button = screen.getByRole('button');
|
|
108
|
+
|
|
109
|
+
// Check element doesn't exist
|
|
110
|
+
expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
|
|
111
|
+
|
|
112
|
+
// Wait for async element to appear
|
|
113
|
+
const modal = await screen.findByRole('dialog');
|
|
114
|
+
|
|
115
|
+
// Multiple elements
|
|
116
|
+
const items = screen.getAllByRole('listitem');
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
## User Event (Realistic Interactions)
|
|
122
|
+
|
|
123
|
+
**Always use `userEvent` over `fireEvent`** - it simulates real user behavior.
|
|
124
|
+
|
|
125
|
+
```typescript
|
|
126
|
+
import { render, screen } from '@testing-library/react';
|
|
127
|
+
import userEvent from '@testing-library/user-event';
|
|
128
|
+
|
|
129
|
+
describe('Form', () => {
|
|
130
|
+
it('submits form data', async () => {
|
|
131
|
+
const user = userEvent.setup();
|
|
132
|
+
const onSubmit = vi.fn();
|
|
133
|
+
|
|
134
|
+
render(<LoginForm onSubmit={onSubmit} />);
|
|
135
|
+
|
|
136
|
+
// Type in inputs
|
|
137
|
+
await user.type(screen.getByLabelText(/email/i), 'test@example.com');
|
|
138
|
+
await user.type(screen.getByLabelText(/password/i), 'secret123');
|
|
139
|
+
|
|
140
|
+
// Click submit
|
|
141
|
+
await user.click(screen.getByRole('button', { name: /sign in/i }));
|
|
142
|
+
|
|
143
|
+
expect(onSubmit).toHaveBeenCalledWith({
|
|
144
|
+
email: 'test@example.com',
|
|
145
|
+
password: 'secret123',
|
|
146
|
+
});
|
|
147
|
+
});
|
|
148
|
+
});
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
### Common User Events
|
|
152
|
+
|
|
153
|
+
```typescript
|
|
154
|
+
const user = userEvent.setup();
|
|
155
|
+
|
|
156
|
+
// Clicking
|
|
157
|
+
await user.click(element);
|
|
158
|
+
await user.dblClick(element);
|
|
159
|
+
await user.tripleClick(element); // Select all text
|
|
160
|
+
|
|
161
|
+
// Typing
|
|
162
|
+
await user.type(input, 'hello world');
|
|
163
|
+
await user.clear(input);
|
|
164
|
+
await user.type(input, '{Enter}'); // Special keys
|
|
165
|
+
|
|
166
|
+
// Keyboard
|
|
167
|
+
await user.keyboard('{Shift>}A{/Shift}'); // Shift+A
|
|
168
|
+
await user.tab(); // Tab navigation
|
|
169
|
+
|
|
170
|
+
// Selection
|
|
171
|
+
await user.selectOptions(select, ['option1', 'option2']);
|
|
172
|
+
|
|
173
|
+
// Hover
|
|
174
|
+
await user.hover(element);
|
|
175
|
+
await user.unhover(element);
|
|
176
|
+
|
|
177
|
+
// Clipboard
|
|
178
|
+
await user.copy();
|
|
179
|
+
await user.paste();
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
## Async Testing
|
|
185
|
+
|
|
186
|
+
### findBy - Wait for Element
|
|
187
|
+
|
|
188
|
+
```typescript
|
|
189
|
+
it('shows loading then content', async () => {
|
|
190
|
+
render(<AsyncComponent />);
|
|
191
|
+
|
|
192
|
+
// Shows loading initially
|
|
193
|
+
expect(screen.getByText(/loading/i)).toBeInTheDocument();
|
|
194
|
+
|
|
195
|
+
// Wait for content to appear (auto-retries)
|
|
196
|
+
const content = await screen.findByText(/data loaded/i);
|
|
197
|
+
expect(content).toBeInTheDocument();
|
|
198
|
+
});
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### waitFor - Wait for Condition
|
|
202
|
+
|
|
203
|
+
```typescript
|
|
204
|
+
import { waitFor } from '@testing-library/react';
|
|
205
|
+
|
|
206
|
+
it('updates count after click', async () => {
|
|
207
|
+
const user = userEvent.setup();
|
|
208
|
+
render(<Counter />);
|
|
209
|
+
|
|
210
|
+
await user.click(screen.getByRole('button', { name: /increment/i }));
|
|
211
|
+
|
|
212
|
+
// Wait for state update
|
|
213
|
+
await waitFor(() => {
|
|
214
|
+
expect(screen.getByText(/count: 1/i)).toBeInTheDocument();
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
### waitForElementToBeRemoved
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
import { waitForElementToBeRemoved } from '@testing-library/react';
|
|
223
|
+
|
|
224
|
+
it('hides modal after close', async () => {
|
|
225
|
+
const user = userEvent.setup();
|
|
226
|
+
render(<ModalComponent />);
|
|
227
|
+
|
|
228
|
+
await user.click(screen.getByRole('button', { name: /close/i }));
|
|
229
|
+
|
|
230
|
+
// Wait for modal to disappear
|
|
231
|
+
await waitForElementToBeRemoved(() => screen.queryByRole('dialog'));
|
|
232
|
+
});
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
## MSW Integration (API Mocking)
|
|
238
|
+
|
|
239
|
+
Mock API calls at the network level with Mock Service Worker.
|
|
240
|
+
|
|
241
|
+
```bash
|
|
242
|
+
pnpm add -D msw
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### Setup (src/test/mocks/handlers.ts)
|
|
246
|
+
|
|
247
|
+
```typescript
|
|
248
|
+
import { http, HttpResponse } from 'msw';
|
|
249
|
+
|
|
250
|
+
export const handlers = [
|
|
251
|
+
http.get('/api/user', () => {
|
|
252
|
+
return HttpResponse.json({
|
|
253
|
+
id: 1,
|
|
254
|
+
name: 'Test User',
|
|
255
|
+
email: 'test@example.com',
|
|
256
|
+
});
|
|
257
|
+
}),
|
|
258
|
+
|
|
259
|
+
http.post('/api/login', async ({ request }) => {
|
|
260
|
+
const body = await request.json();
|
|
261
|
+
if (body.password === 'correct') {
|
|
262
|
+
return HttpResponse.json({ token: 'abc123' });
|
|
263
|
+
}
|
|
264
|
+
return HttpResponse.json(
|
|
265
|
+
{ error: 'Invalid credentials' },
|
|
266
|
+
{ status: 401 }
|
|
267
|
+
);
|
|
268
|
+
}),
|
|
269
|
+
];
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
### Setup (src/test/mocks/server.ts)
|
|
273
|
+
|
|
274
|
+
```typescript
|
|
275
|
+
import { setupServer } from 'msw/node';
|
|
276
|
+
import { handlers } from './handlers';
|
|
277
|
+
|
|
278
|
+
export const server = setupServer(...handlers);
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
### Test Setup
|
|
282
|
+
|
|
283
|
+
```typescript
|
|
284
|
+
// src/test/setup.ts
|
|
285
|
+
import { server } from './mocks/server';
|
|
286
|
+
import { beforeAll, afterEach, afterAll } from 'vitest';
|
|
287
|
+
|
|
288
|
+
beforeAll(() => server.listen({ onUnhandledRequest: 'error' }));
|
|
289
|
+
afterEach(() => server.resetHandlers());
|
|
290
|
+
afterAll(() => server.close());
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
### Using in Tests
|
|
294
|
+
|
|
295
|
+
```typescript
|
|
296
|
+
import { server } from '../test/mocks/server';
|
|
297
|
+
import { http, HttpResponse } from 'msw';
|
|
298
|
+
|
|
299
|
+
it('handles API error', async () => {
|
|
300
|
+
// Override handler for this test
|
|
301
|
+
server.use(
|
|
302
|
+
http.get('/api/user', () => {
|
|
303
|
+
return HttpResponse.json(
|
|
304
|
+
{ error: 'Server error' },
|
|
305
|
+
{ status: 500 }
|
|
306
|
+
);
|
|
307
|
+
})
|
|
308
|
+
);
|
|
309
|
+
|
|
310
|
+
render(<UserProfile />);
|
|
311
|
+
|
|
312
|
+
await screen.findByText(/error loading user/i);
|
|
313
|
+
});
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## Accessibility Testing
|
|
319
|
+
|
|
320
|
+
### Check for A11y Violations
|
|
321
|
+
|
|
322
|
+
```bash
|
|
323
|
+
pnpm add -D @axe-core/react
|
|
324
|
+
```
|
|
325
|
+
|
|
326
|
+
```typescript
|
|
327
|
+
import { axe, toHaveNoViolations } from 'jest-axe';
|
|
328
|
+
|
|
329
|
+
expect.extend(toHaveNoViolations);
|
|
330
|
+
|
|
331
|
+
it('has no accessibility violations', async () => {
|
|
332
|
+
const { container } = render(<MyComponent />);
|
|
333
|
+
const results = await axe(container);
|
|
334
|
+
expect(results).toHaveNoViolations();
|
|
335
|
+
});
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
### Role-Based Queries Are A11y Tests
|
|
339
|
+
|
|
340
|
+
Using `getByRole` implicitly tests accessibility:
|
|
341
|
+
|
|
342
|
+
```typescript
|
|
343
|
+
// This passes only if button is properly accessible
|
|
344
|
+
screen.getByRole('button', { name: /submit/i });
|
|
345
|
+
|
|
346
|
+
// Fails if:
|
|
347
|
+
// - Element isn't a button or role="button"
|
|
348
|
+
// - Accessible name doesn't match
|
|
349
|
+
// - Element is hidden from accessibility tree
|
|
350
|
+
```
|
|
351
|
+
|
|
352
|
+
---
|
|
353
|
+
|
|
354
|
+
## Testing Patterns
|
|
355
|
+
|
|
356
|
+
### Forms
|
|
357
|
+
|
|
358
|
+
```typescript
|
|
359
|
+
it('validates required fields', async () => {
|
|
360
|
+
const user = userEvent.setup();
|
|
361
|
+
render(<ContactForm />);
|
|
362
|
+
|
|
363
|
+
// Submit without filling required fields
|
|
364
|
+
await user.click(screen.getByRole('button', { name: /submit/i }));
|
|
365
|
+
|
|
366
|
+
// Check for validation errors
|
|
367
|
+
expect(screen.getByText(/email is required/i)).toBeInTheDocument();
|
|
368
|
+
expect(screen.getByText(/message is required/i)).toBeInTheDocument();
|
|
369
|
+
});
|
|
370
|
+
```
|
|
371
|
+
|
|
372
|
+
### Modals/Dialogs
|
|
373
|
+
|
|
374
|
+
```typescript
|
|
375
|
+
it('opens and closes modal', async () => {
|
|
376
|
+
const user = userEvent.setup();
|
|
377
|
+
render(<ModalTrigger />);
|
|
378
|
+
|
|
379
|
+
// Modal not visible initially
|
|
380
|
+
expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
|
|
381
|
+
|
|
382
|
+
// Open modal
|
|
383
|
+
await user.click(screen.getByRole('button', { name: /open/i }));
|
|
384
|
+
expect(screen.getByRole('dialog')).toBeInTheDocument();
|
|
385
|
+
|
|
386
|
+
// Close modal
|
|
387
|
+
await user.click(screen.getByRole('button', { name: /close/i }));
|
|
388
|
+
await waitForElementToBeRemoved(() => screen.queryByRole('dialog'));
|
|
389
|
+
});
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
### Lists
|
|
393
|
+
|
|
394
|
+
```typescript
|
|
395
|
+
it('renders list items', () => {
|
|
396
|
+
render(<TodoList items={['Buy milk', 'Walk dog']} />);
|
|
397
|
+
|
|
398
|
+
const items = screen.getAllByRole('listitem');
|
|
399
|
+
expect(items).toHaveLength(2);
|
|
400
|
+
expect(items[0]).toHaveTextContent('Buy milk');
|
|
401
|
+
});
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
---
|
|
405
|
+
|
|
406
|
+
## Common Matchers (jest-dom)
|
|
407
|
+
|
|
408
|
+
```typescript
|
|
409
|
+
// Presence
|
|
410
|
+
expect(element).toBeInTheDocument();
|
|
411
|
+
expect(element).toBeVisible();
|
|
412
|
+
expect(element).toBeEmptyDOMElement();
|
|
413
|
+
|
|
414
|
+
// State
|
|
415
|
+
expect(button).toBeEnabled();
|
|
416
|
+
expect(button).toBeDisabled();
|
|
417
|
+
expect(checkbox).toBeChecked();
|
|
418
|
+
expect(input).toBeRequired();
|
|
419
|
+
|
|
420
|
+
// Content
|
|
421
|
+
expect(element).toHaveTextContent(/hello/i);
|
|
422
|
+
expect(element).toHaveValue('test');
|
|
423
|
+
expect(element).toHaveAttribute('href', '/about');
|
|
424
|
+
|
|
425
|
+
// Styles
|
|
426
|
+
expect(element).toHaveClass('active');
|
|
427
|
+
expect(element).toHaveStyle({ color: 'red' });
|
|
428
|
+
|
|
429
|
+
// Focus
|
|
430
|
+
expect(input).toHaveFocus();
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
---
|
|
434
|
+
|
|
435
|
+
## Debugging
|
|
436
|
+
|
|
437
|
+
### screen.debug()
|
|
438
|
+
|
|
439
|
+
```typescript
|
|
440
|
+
it('debugs rendering', () => {
|
|
441
|
+
render(<MyComponent />);
|
|
442
|
+
|
|
443
|
+
// Print entire DOM
|
|
444
|
+
screen.debug();
|
|
445
|
+
|
|
446
|
+
// Print specific element
|
|
447
|
+
screen.debug(screen.getByRole('button'));
|
|
448
|
+
});
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
### logRoles
|
|
452
|
+
|
|
453
|
+
```typescript
|
|
454
|
+
import { logRoles } from '@testing-library/react';
|
|
455
|
+
|
|
456
|
+
it('shows available roles', () => {
|
|
457
|
+
const { container } = render(<MyComponent />);
|
|
458
|
+
logRoles(container);
|
|
459
|
+
});
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
---
|
|
463
|
+
|
|
464
|
+
## Common Mistakes
|
|
465
|
+
|
|
466
|
+
### Using getBy for Async
|
|
467
|
+
|
|
468
|
+
```typescript
|
|
469
|
+
// ❌ WRONG - fails if element appears async
|
|
470
|
+
const modal = screen.getByRole('dialog');
|
|
471
|
+
|
|
472
|
+
// ✅ CORRECT - waits for element
|
|
473
|
+
const modal = await screen.findByRole('dialog');
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
### Not Awaiting User Events
|
|
477
|
+
|
|
478
|
+
```typescript
|
|
479
|
+
// ❌ WRONG - race condition
|
|
480
|
+
user.click(button);
|
|
481
|
+
expect(result).toBeInTheDocument();
|
|
482
|
+
|
|
483
|
+
// ✅ CORRECT - await the interaction
|
|
484
|
+
await user.click(button);
|
|
485
|
+
expect(result).toBeInTheDocument();
|
|
486
|
+
```
|
|
487
|
+
|
|
488
|
+
### Using container.querySelector
|
|
489
|
+
|
|
490
|
+
```typescript
|
|
491
|
+
// ❌ WRONG - not accessible, brittle
|
|
492
|
+
const button = container.querySelector('.submit-btn');
|
|
493
|
+
|
|
494
|
+
// ✅ CORRECT - accessible query
|
|
495
|
+
const button = screen.getByRole('button', { name: /submit/i });
|
|
496
|
+
```
|
|
497
|
+
|
|
498
|
+
---
|
|
499
|
+
|
|
500
|
+
## See Also
|
|
501
|
+
|
|
502
|
+
- `vitest` skill - Test runner configuration
|
|
503
|
+
- `testing-patterns` skill - General testing patterns
|
|
504
|
+
- Official docs: https://testing-library.com/docs/react-testing-library/intro
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
---
|
|
2
|
+
globs: ["**/*.test.tsx", "**/*.test.jsx", "**/*.spec.tsx", "**/test/*.tsx"]
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
# Testing Library Pattern Corrections
|
|
6
|
+
|
|
7
|
+
## Query Priority
|
|
8
|
+
|
|
9
|
+
| If Claude suggests... | Use instead... |
|
|
10
|
+
|----------------------|----------------|
|
|
11
|
+
| `getByTestId('submit')` | `getByRole('button', { name: /submit/i })` |
|
|
12
|
+
| `container.querySelector('.btn')` | `screen.getByRole('button')` |
|
|
13
|
+
| `getByText('Submit')` (for button) | `getByRole('button', { name: /submit/i })` |
|
|
14
|
+
|
|
15
|
+
## Async Testing
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
// ❌ WRONG - getBy doesn't wait
|
|
19
|
+
const modal = screen.getByRole('dialog');
|
|
20
|
+
|
|
21
|
+
// ✅ CORRECT - findBy waits for element
|
|
22
|
+
const modal = await screen.findByRole('dialog');
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## User Event Setup
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
// ❌ WRONG - deprecated direct call
|
|
29
|
+
import userEvent from '@testing-library/user-event';
|
|
30
|
+
userEvent.click(button);
|
|
31
|
+
|
|
32
|
+
// ✅ CORRECT - setup() first, then await
|
|
33
|
+
const user = userEvent.setup();
|
|
34
|
+
await user.click(button);
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
## fireEvent vs userEvent
|
|
38
|
+
|
|
39
|
+
| If Claude suggests... | Use instead... |
|
|
40
|
+
|----------------------|----------------|
|
|
41
|
+
| `fireEvent.click(button)` | `await user.click(button)` |
|
|
42
|
+
| `fireEvent.change(input, { target: { value: 'x' } })` | `await user.type(input, 'x')` |
|
|
43
|
+
| `fireEvent.keyDown(input, { key: 'Enter' })` | `await user.keyboard('{Enter}')` |
|
|
44
|
+
|
|
45
|
+
**Why?** userEvent simulates real user behavior (focus, hover, then click) while fireEvent just dispatches a single event.
|
|
46
|
+
|
|
47
|
+
## Checking Element Not Exists
|
|
48
|
+
|
|
49
|
+
```typescript
|
|
50
|
+
// ❌ WRONG - throws if not found
|
|
51
|
+
expect(screen.getByRole('dialog')).not.toBeInTheDocument();
|
|
52
|
+
|
|
53
|
+
// ✅ CORRECT - returns null if not found
|
|
54
|
+
expect(screen.queryByRole('dialog')).not.toBeInTheDocument();
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Awaiting Assertions
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
// ❌ WRONG - missing await
|
|
61
|
+
expect(screen.findByText('Hello')).toBeInTheDocument();
|
|
62
|
+
|
|
63
|
+
// ✅ CORRECT - await the findBy
|
|
64
|
+
expect(await screen.findByText('Hello')).toBeInTheDocument();
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## waitFor Usage
|
|
68
|
+
|
|
69
|
+
```typescript
|
|
70
|
+
// ❌ WRONG - side effects in waitFor callback
|
|
71
|
+
await waitFor(() => {
|
|
72
|
+
user.click(button); // Don't do this!
|
|
73
|
+
expect(result).toBeInTheDocument();
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
// ✅ CORRECT - only assertions in waitFor
|
|
77
|
+
await user.click(button);
|
|
78
|
+
await waitFor(() => {
|
|
79
|
+
expect(result).toBeInTheDocument();
|
|
80
|
+
});
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Cleanup
|
|
84
|
+
|
|
85
|
+
Testing Library auto-cleans in modern versions, but if using Vitest:
|
|
86
|
+
|
|
87
|
+
```typescript
|
|
88
|
+
// src/test/setup.ts
|
|
89
|
+
import { cleanup } from '@testing-library/react';
|
|
90
|
+
import { afterEach } from 'vitest';
|
|
91
|
+
|
|
92
|
+
afterEach(() => {
|
|
93
|
+
cleanup();
|
|
94
|
+
});
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
**Last Updated**: 2026-02-06
|
package/templates/frontend/react-vite-help/.cursor/skills/testing-library/templates/msw-handlers.ts
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MSW Handlers Template
|
|
3
|
+
* Location: src/test/mocks/handlers.ts
|
|
4
|
+
*
|
|
5
|
+
* Define API mock handlers for testing
|
|
6
|
+
*/
|
|
7
|
+
import { http, HttpResponse, delay } from 'msw';
|
|
8
|
+
|
|
9
|
+
// Base URL for API calls
|
|
10
|
+
const API_BASE = '/api';
|
|
11
|
+
|
|
12
|
+
// Mock data
|
|
13
|
+
const mockUser = {
|
|
14
|
+
id: '1',
|
|
15
|
+
name: 'Test User',
|
|
16
|
+
email: 'test@example.com',
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const mockItems = [
|
|
20
|
+
{ id: '1', title: 'Item 1', completed: false },
|
|
21
|
+
{ id: '2', title: 'Item 2', completed: true },
|
|
22
|
+
];
|
|
23
|
+
|
|
24
|
+
export const handlers = [
|
|
25
|
+
// GET /api/user - Return current user
|
|
26
|
+
http.get(`${API_BASE}/user`, async () => {
|
|
27
|
+
await delay(100); // Simulate network delay
|
|
28
|
+
return HttpResponse.json(mockUser);
|
|
29
|
+
}),
|
|
30
|
+
|
|
31
|
+
// GET /api/items - Return list of items
|
|
32
|
+
http.get(`${API_BASE}/items`, () => {
|
|
33
|
+
return HttpResponse.json(mockItems);
|
|
34
|
+
}),
|
|
35
|
+
|
|
36
|
+
// POST /api/items - Create new item
|
|
37
|
+
http.post(`${API_BASE}/items`, async ({ request }) => {
|
|
38
|
+
const body = (await request.json()) as { title: string };
|
|
39
|
+
const newItem = {
|
|
40
|
+
id: String(Date.now()),
|
|
41
|
+
title: body.title,
|
|
42
|
+
completed: false,
|
|
43
|
+
};
|
|
44
|
+
return HttpResponse.json(newItem, { status: 201 });
|
|
45
|
+
}),
|
|
46
|
+
|
|
47
|
+
// PUT /api/items/:id - Update item
|
|
48
|
+
http.put(`${API_BASE}/items/:id`, async ({ params, request }) => {
|
|
49
|
+
const { id } = params;
|
|
50
|
+
const updates = await request.json();
|
|
51
|
+
const item = mockItems.find((i) => i.id === id);
|
|
52
|
+
|
|
53
|
+
if (!item) {
|
|
54
|
+
return HttpResponse.json({ error: 'Not found' }, { status: 404 });
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
return HttpResponse.json({ ...item, ...updates });
|
|
58
|
+
}),
|
|
59
|
+
|
|
60
|
+
// DELETE /api/items/:id - Delete item
|
|
61
|
+
http.delete(`${API_BASE}/items/:id`, ({ params }) => {
|
|
62
|
+
const { id } = params;
|
|
63
|
+
const index = mockItems.findIndex((i) => i.id === id);
|
|
64
|
+
|
|
65
|
+
if (index === -1) {
|
|
66
|
+
return HttpResponse.json({ error: 'Not found' }, { status: 404 });
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return HttpResponse.json({ success: true });
|
|
70
|
+
}),
|
|
71
|
+
|
|
72
|
+
// POST /api/login - Authentication
|
|
73
|
+
http.post(`${API_BASE}/login`, async ({ request }) => {
|
|
74
|
+
const { email, password } = (await request.json()) as {
|
|
75
|
+
email: string;
|
|
76
|
+
password: string;
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
if (email === 'test@example.com' && password === 'password123') {
|
|
80
|
+
return HttpResponse.json({
|
|
81
|
+
token: 'mock-jwt-token',
|
|
82
|
+
user: mockUser,
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
return HttpResponse.json(
|
|
87
|
+
{ error: 'Invalid credentials' },
|
|
88
|
+
{ status: 401 }
|
|
89
|
+
);
|
|
90
|
+
}),
|
|
91
|
+
|
|
92
|
+
// Error response example
|
|
93
|
+
http.get(`${API_BASE}/error`, () => {
|
|
94
|
+
return HttpResponse.json(
|
|
95
|
+
{ error: 'Internal server error' },
|
|
96
|
+
{ status: 500 }
|
|
97
|
+
);
|
|
98
|
+
}),
|
|
99
|
+
];
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Server setup (src/test/mocks/server.ts)
|
|
103
|
+
*
|
|
104
|
+
* import { setupServer } from 'msw/node';
|
|
105
|
+
* import { handlers } from './handlers';
|
|
106
|
+
* export const server = setupServer(...handlers);
|
|
107
|
+
*/
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* Test setup (src/test/setup.ts)
|
|
111
|
+
*
|
|
112
|
+
* import { server } from './mocks/server';
|
|
113
|
+
*
|
|
114
|
+
* beforeAll(() => server.listen({ onUnhandledRequest: 'error' }));
|
|
115
|
+
* afterEach(() => server.resetHandlers());
|
|
116
|
+
* afterAll(() => server.close());
|
|
117
|
+
*/
|