create-huenei-template 0.2.6 → 0.2.7
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/dist/templates/README.md +156 -0
- package/dist/templates/backend/README.md +108 -0
- package/dist/templates/backend/nestjs-api-mysql/package.json +106 -106
- package/dist/templates/backend/nestjs-api-postgres/package.json +106 -106
- package/dist/templates/backend/nestjs-api-sqlite/package.json +104 -104
- package/dist/templates/frontend/README.md +69 -0
- package/dist/templates/frontend/angular-base/README.md +188 -192
- package/dist/templates/frontend/angular-base/package.json +92 -92
- package/dist/templates/frontend/angular-nx/package.json +102 -102
- package/dist/templates/frontend/react-vite/.cursor/agents/frontend-senior.agent.md +49 -0
- package/dist/templates/frontend/react-vite/.cursor/agents/qa-test-expert.agent.md +49 -0
- package/dist/templates/frontend/react-vite/.cursor/agents/security-expert.agent.md +39 -0
- package/dist/templates/frontend/react-vite/.cursor/agents/ux-ui-expert.agent.md +45 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks/ensureTestsExist.ts +220 -0
- package/dist/templates/frontend/react-vite/.cursor/hooks.json +10 -0
- package/dist/templates/frontend/react-vite/.cursor/rules/architech.mdc +35 -20
- package/dist/templates/frontend/react-vite/.cursor/settings.json +13 -0
- package/dist/templates/frontend/react-vite/.husky/pre-commit +1 -0
- package/dist/templates/frontend/react-vite/.vscode/settings.json +31 -0
- package/dist/templates/frontend/react-vite/README.md +238 -61
- package/dist/templates/frontend/react-vite/package.json +82 -62
- package/dist/templates/frontend/react-vite/pnpm-lock.yaml +2877 -789
- package/dist/templates/frontend/react-vite/pnpm-workspace.yaml +5 -2
- package/dist/templates/frontend/react-vite/src/components/layout/navbar.tsx +38 -0
- package/dist/templates/frontend/react-vite/src/components/ui/avatar.tsx +42 -0
- package/dist/templates/frontend/react-vite/src/components/ui/dialog.tsx +122 -0
- package/dist/templates/frontend/react-vite/src/components/ui/table.tsx +244 -0
- package/dist/templates/frontend/react-vite/src/hooks/useLocalStorage.ts +32 -0
- package/dist/templates/frontend/react-vite/src/index.css +27 -27
- package/dist/templates/frontend/react-vite/src/routes/__root.tsx +21 -55
- package/dist/templates/frontend/react-vite/src/routes/ui-components.tsx +1031 -0
- package/dist/templates/frontend/react-vite/src/test/setup.ts +61 -1
- package/dist/templates/frontend/react-vite/vite.config.ts +6 -1
- package/dist/templates/frontend/react-vite/vitest.config.ts +27 -0
- package/dist/templates/frontend/react-vite-help/.cursor/agents/frontend-senior.agent.md +49 -0
- package/dist/templates/frontend/react-vite-help/.cursor/agents/qa-test-expert.agent.md +49 -0
- package/dist/templates/frontend/react-vite-help/.cursor/agents/security-expert.agent.md +39 -0
- package/dist/templates/frontend/react-vite-help/.cursor/agents/ux-ui-expert.agent.md +45 -0
- package/dist/templates/frontend/react-vite-help/.cursor/hooks/ensureTestsExist.ts +220 -0
- package/dist/templates/frontend/react-vite-help/.cursor/hooks.json +10 -0
- package/dist/templates/frontend/react-vite-help/.cursor/mcp.json +1 -1
- package/dist/templates/frontend/react-vite-help/.cursor/rules/architech.mdc +33 -23
- package/dist/templates/frontend/react-vite-help/.cursor/settings.json +13 -0
- package/dist/templates/frontend/react-vite-help/.husky/pre-commit +1 -0
- package/dist/templates/frontend/react-vite-help/README.md +287 -61
- package/dist/templates/frontend/react-vite-help/package.json +82 -62
- package/dist/templates/frontend/react-vite-help/pnpm-lock.yaml +6319 -4487
- package/dist/templates/frontend/react-vite-help/pnpm-workspace.yaml +5 -2
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/documentacion/tabs.test.tsx +95 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/layout/navbar.test.tsx +96 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/layout/sidebar.test.tsx +68 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/avatar.test.tsx +53 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/badge.test.tsx +50 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/breadcrumb.test.tsx +95 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/button.test.tsx +76 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/card.test.tsx +95 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/dialog.test.tsx +83 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/form.test.tsx +130 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/input.test.tsx +39 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/label.test.tsx +25 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/password-input.test.tsx +45 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/separator.test.tsx +35 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/table.test.tsx +126 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/tabs.test.tsx +66 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/components/ui/textarea.test.tsx +34 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/data/dashboard.test.ts +100 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/data/proyectos-seed.test.ts +51 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/hooks/useAuth.test.tsx +135 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/hooks/useLocalStorage.test.ts +89 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/lib/auth.test.ts +102 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/lib/queryClient.test.ts +24 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/lib/utils.test.ts +31 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/__root.test.tsx +72 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/dashboard.test.tsx +106 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/perfil.test.tsx +54 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/proyectos-crud.test.tsx +272 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/ui-components.test.tsx +150 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated.test.tsx +58 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/auth/iniciar-sesion.test.tsx +107 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/auth/recuperar-password.test.tsx +56 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/auth/registro.test.tsx +106 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/contacto.test.tsx +219 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/documentacion.test.tsx +81 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/index.test.tsx +69 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/proyectos-detalle.test.tsx +90 -0
- package/dist/templates/frontend/react-vite-help/src/__tests__/routes/proyectos.test.tsx +74 -0
- package/dist/templates/frontend/react-vite-help/src/components/documentacion/inicio.tsx +1 -0
- package/dist/templates/frontend/react-vite-help/src/components/documentacion/stack.tsx +100 -1
- package/dist/templates/frontend/react-vite-help/src/components/layout/navbar.tsx +75 -0
- package/dist/templates/frontend/react-vite-help/src/components/layout/sidebar.tsx +101 -0
- package/dist/templates/frontend/react-vite-help/src/components/ui/avatar.tsx +42 -0
- package/dist/templates/frontend/react-vite-help/src/components/ui/breadcrumb.tsx +106 -106
- package/dist/templates/frontend/react-vite-help/src/components/ui/dialog.tsx +122 -0
- package/dist/templates/frontend/react-vite-help/src/components/ui/table.tsx +244 -0
- package/dist/templates/frontend/react-vite-help/src/data/dashboard.ts +255 -0
- package/dist/templates/frontend/react-vite-help/src/data/proyectos-seed.ts +87 -0
- package/dist/templates/frontend/react-vite-help/src/hooks/useAuth.tsx +73 -0
- package/dist/templates/frontend/react-vite-help/src/hooks/useLocalStorage.ts +32 -0
- package/dist/templates/frontend/react-vite-help/src/index.css +104 -104
- package/dist/templates/frontend/react-vite-help/src/lib/auth.ts +126 -0
- package/dist/templates/frontend/react-vite-help/src/main.tsx +54 -33
- package/dist/templates/frontend/react-vite-help/src/router.tsx +8 -0
- package/dist/templates/frontend/react-vite-help/src/routes/__root.tsx +21 -59
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated/dashboard.tsx +413 -0
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated/perfil.tsx +71 -0
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated/proyectos-crud.tsx +559 -0
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated/ui-components.tsx +1054 -0
- package/dist/templates/frontend/react-vite-help/src/routes/_authenticated.tsx +39 -0
- package/dist/templates/frontend/react-vite-help/src/routes/auth/iniciar-sesion.tsx +50 -26
- package/dist/templates/frontend/react-vite-help/src/routes/auth/recuperar-password.tsx +107 -0
- package/dist/templates/frontend/react-vite-help/src/routes/contacto.tsx +839 -37
- package/dist/templates/frontend/react-vite-help/src/routes/index.tsx +16 -13
- package/dist/templates/frontend/react-vite-help/src/routes/proyectos.$proyectoId.tsx +11 -14
- package/dist/templates/frontend/react-vite-help/src/routes/proyectos.tsx +16 -20
- package/dist/templates/frontend/react-vite-help/src/test/mocks/recharts.tsx +35 -0
- package/dist/templates/frontend/react-vite-help/src/test/mocks/router.ts +27 -0
- package/dist/templates/frontend/react-vite-help/src/test/setup.ts +61 -1
- package/dist/templates/frontend/react-vite-help/src/test/utils.tsx +57 -0
- package/dist/templates/frontend/react-vite-help/vite.config.ts +30 -22
- package/dist/templates/frontend/react-vite-help/vitest.config.ts +44 -9
- package/dist/templates/mobile/README.md +83 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/api-integration.md +139 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/feature-architect.md +131 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/i18n-manager.md +147 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/quality-reviewer.md +137 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/testing-specialist.md +123 -0
- package/dist/templates/mobile/expo-base/.cursor/agents/theme-engineer.md +106 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/SKILL.md +420 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/aria-patterns.md +567 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/mobile-accessibility.md +538 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/wcag-guidelines.md +645 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/auth-implementation-patterns/SKILL.md +647 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/code-review-excellence/SKILL.md +538 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/design-system-patterns/SKILL.md +337 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/component-architecture.md +617 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/design-tokens.md +420 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/theming-architecture.md +521 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/error-handling-patterns/SKILL.md +641 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/eslint-prettier-config/SKILL.md +540 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/SKILL.md +190 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/app-store-metadata.md +479 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/ios-app-store.md +355 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/play-store.md +246 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/testflight.md +58 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/workflows.md +200 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/github-actions-templates/SKILL.md +334 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/i18n-localization/SKILL.md +154 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/jest-typescript/SKILL.md +1092 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/maestro-mobile-testing/SKILL.md +982 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/mobile-security-coder/SKILL.md +184 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/GENERATION.md +5 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/SKILL.md +42 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-ci.md +285 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-migration.md +291 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-performance.md +284 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-cli.md +229 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-config.md +188 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-store.md +179 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-workspaces.md +205 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-aliases.md +168 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-catalogs.md +159 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-hooks.md +233 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-overrides.md +184 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-patches.md +201 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-peer-deps.md +250 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-architecture/SKILL.md +673 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-design/SKILL.md +440 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-design/references/navigation-patterns.md +832 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-design/references/reanimated-patterns.md +775 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-native-design/references/styling-patterns.md +871 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/react-state-management/SKILL.md +437 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/SKILL.md +190 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/dev-tuning.md +167 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/perf-checklist.md +40 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/reanimated-v4.md +108 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/skia-shaders.md +66 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/SKILL.md +296 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/find-polluter.sh +63 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-academic.md +14 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/tanstack-query/README.md +228 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/tanstack-query/SKILL.md +1585 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/test-driven-development/SKILL.md +371 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/typescript-advanced-types/SKILL.md +724 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/AGENTS.md +946 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/SKILL.md +89 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/architecture-compound-components.md +112 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/patterns-children-over-render-props.md +87 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/patterns-explicit-variants.md +100 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/react19-no-forwardref.md +42 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-context-interface.md +191 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-decouple-implementation.md +113 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-lift-state.md +125 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/AGENTS.md +2897 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/README.md +165 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/SKILL.md +121 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-derived-value.md +53 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-gesture-detector-press.md +95 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-gpu-properties.md +65 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/design-system-compound-components.md +66 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/fonts-config-plugin.md +71 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/imports-design-system-folder.md +68 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/js-hoist-intl.md +61 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-callbacks.md +44 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-function-references.md +132 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-images.md +53 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-inline-objects.md +97 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-expensive.md +94 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-memo.md +82 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-types.md +104 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-virtualize.md +67 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/navigation-native-navigators.md +188 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-dispatcher.md +91 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-fallback.md +56 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-minimize.md +65 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/rendering-no-falsy-and.md +74 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/rendering-text-in-text-component.md +36 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/scroll-position-no-state.md +82 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/state-ground-truth.md +80 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-expo-image.md +66 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-image-gallery.md +104 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-measure-views.md +78 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-menus.md +174 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-native-modals.md +77 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-pressable.md +61 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-safe-area-scroll.md +65 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
- package/dist/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-styling.md +87 -0
- package/dist/templates/mobile/expo-base/README.md +112 -2
- package/dist/templates/mobile/expo-base/package.json +74 -74
- package/dist/templates/mobile/expo-base/pnpm-workspace.yaml +7 -4
- package/package.json +26 -25
- package/templates/README.md +156 -0
- package/templates/backend/README.md +108 -0
- package/templates/backend/nestjs-api-mysql/package.json +106 -106
- package/templates/backend/nestjs-api-postgres/package.json +106 -106
- package/templates/backend/nestjs-api-sqlite/package.json +104 -104
- package/templates/frontend/README.md +69 -0
- package/templates/frontend/angular-base/README.md +188 -192
- package/templates/frontend/angular-base/package.json +92 -92
- package/templates/frontend/angular-nx/package.json +102 -102
- package/templates/frontend/react-vite/.cursor/agents/frontend-senior.agent.md +49 -0
- package/templates/frontend/react-vite/.cursor/agents/qa-test-expert.agent.md +49 -0
- package/templates/frontend/react-vite/.cursor/agents/security-expert.agent.md +39 -0
- package/templates/frontend/react-vite/.cursor/agents/ux-ui-expert.agent.md +45 -0
- package/templates/frontend/react-vite/.cursor/hooks/ensureTestsExist.ts +220 -0
- package/templates/frontend/react-vite/.cursor/hooks.json +10 -0
- package/templates/frontend/react-vite/.cursor/rules/architech.mdc +35 -20
- package/templates/frontend/react-vite/.cursor/settings.json +13 -0
- package/templates/frontend/react-vite/.husky/pre-commit +1 -0
- package/templates/frontend/react-vite/.vscode/settings.json +31 -0
- package/templates/frontend/react-vite/README.md +238 -61
- package/templates/frontend/react-vite/package.json +82 -62
- package/templates/frontend/react-vite/pnpm-lock.yaml +2877 -789
- package/templates/frontend/react-vite/pnpm-workspace.yaml +5 -2
- package/templates/frontend/react-vite/src/components/layout/navbar.tsx +38 -0
- package/templates/frontend/react-vite/src/components/ui/avatar.tsx +42 -0
- package/templates/frontend/react-vite/src/components/ui/dialog.tsx +122 -0
- package/templates/frontend/react-vite/src/components/ui/table.tsx +244 -0
- package/templates/frontend/react-vite/src/hooks/useLocalStorage.ts +32 -0
- package/templates/frontend/react-vite/src/index.css +27 -27
- package/templates/frontend/react-vite/src/routes/__root.tsx +21 -55
- package/templates/frontend/react-vite/src/routes/ui-components.tsx +1031 -0
- package/templates/frontend/react-vite/src/test/setup.ts +61 -1
- package/templates/frontend/react-vite/vite.config.ts +6 -1
- package/templates/frontend/react-vite/vitest.config.ts +27 -0
- package/templates/frontend/react-vite-help/.cursor/agents/frontend-senior.agent.md +49 -0
- package/templates/frontend/react-vite-help/.cursor/agents/qa-test-expert.agent.md +49 -0
- package/templates/frontend/react-vite-help/.cursor/agents/security-expert.agent.md +39 -0
- package/templates/frontend/react-vite-help/.cursor/agents/ux-ui-expert.agent.md +45 -0
- package/templates/frontend/react-vite-help/.cursor/hooks/ensureTestsExist.ts +220 -0
- package/templates/frontend/react-vite-help/.cursor/hooks.json +10 -0
- package/templates/frontend/react-vite-help/.cursor/mcp.json +1 -1
- package/templates/frontend/react-vite-help/.cursor/rules/architech.mdc +33 -23
- package/templates/frontend/react-vite-help/.cursor/settings.json +13 -0
- package/templates/frontend/react-vite-help/.husky/pre-commit +1 -0
- package/templates/frontend/react-vite-help/README.md +287 -61
- package/templates/frontend/react-vite-help/package.json +82 -62
- package/templates/frontend/react-vite-help/pnpm-lock.yaml +6319 -4487
- package/templates/frontend/react-vite-help/pnpm-workspace.yaml +5 -2
- package/templates/frontend/react-vite-help/src/__tests__/components/documentacion/tabs.test.tsx +95 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/layout/navbar.test.tsx +96 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/layout/sidebar.test.tsx +68 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/avatar.test.tsx +53 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/badge.test.tsx +50 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/breadcrumb.test.tsx +95 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/button.test.tsx +76 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/card.test.tsx +95 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/dialog.test.tsx +83 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/form.test.tsx +130 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/input.test.tsx +39 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/label.test.tsx +25 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/password-input.test.tsx +45 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/separator.test.tsx +35 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/table.test.tsx +126 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/tabs.test.tsx +66 -0
- package/templates/frontend/react-vite-help/src/__tests__/components/ui/textarea.test.tsx +34 -0
- package/templates/frontend/react-vite-help/src/__tests__/data/dashboard.test.ts +100 -0
- package/templates/frontend/react-vite-help/src/__tests__/data/proyectos-seed.test.ts +51 -0
- package/templates/frontend/react-vite-help/src/__tests__/hooks/useAuth.test.tsx +135 -0
- package/templates/frontend/react-vite-help/src/__tests__/hooks/useLocalStorage.test.ts +89 -0
- package/templates/frontend/react-vite-help/src/__tests__/lib/auth.test.ts +102 -0
- package/templates/frontend/react-vite-help/src/__tests__/lib/queryClient.test.ts +24 -0
- package/templates/frontend/react-vite-help/src/__tests__/lib/utils.test.ts +31 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/__root.test.tsx +72 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/dashboard.test.tsx +106 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/perfil.test.tsx +54 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/proyectos-crud.test.tsx +272 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated/ui-components.test.tsx +150 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/_authenticated.test.tsx +58 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/auth/iniciar-sesion.test.tsx +107 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/auth/recuperar-password.test.tsx +56 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/auth/registro.test.tsx +106 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/contacto.test.tsx +219 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/documentacion.test.tsx +81 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/index.test.tsx +69 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/proyectos-detalle.test.tsx +90 -0
- package/templates/frontend/react-vite-help/src/__tests__/routes/proyectos.test.tsx +74 -0
- package/templates/frontend/react-vite-help/src/components/documentacion/inicio.tsx +1 -0
- package/templates/frontend/react-vite-help/src/components/documentacion/stack.tsx +100 -1
- package/templates/frontend/react-vite-help/src/components/layout/navbar.tsx +75 -0
- package/templates/frontend/react-vite-help/src/components/layout/sidebar.tsx +101 -0
- package/templates/frontend/react-vite-help/src/components/ui/avatar.tsx +42 -0
- package/templates/frontend/react-vite-help/src/components/ui/breadcrumb.tsx +106 -106
- package/templates/frontend/react-vite-help/src/components/ui/dialog.tsx +122 -0
- package/templates/frontend/react-vite-help/src/components/ui/table.tsx +244 -0
- package/templates/frontend/react-vite-help/src/data/dashboard.ts +255 -0
- package/templates/frontend/react-vite-help/src/data/proyectos-seed.ts +87 -0
- package/templates/frontend/react-vite-help/src/hooks/useAuth.tsx +73 -0
- package/templates/frontend/react-vite-help/src/hooks/useLocalStorage.ts +32 -0
- package/templates/frontend/react-vite-help/src/index.css +104 -104
- package/templates/frontend/react-vite-help/src/lib/auth.ts +126 -0
- package/templates/frontend/react-vite-help/src/main.tsx +54 -33
- package/templates/frontend/react-vite-help/src/router.tsx +8 -0
- package/templates/frontend/react-vite-help/src/routes/__root.tsx +21 -59
- package/templates/frontend/react-vite-help/src/routes/_authenticated/dashboard.tsx +413 -0
- package/templates/frontend/react-vite-help/src/routes/_authenticated/perfil.tsx +71 -0
- package/templates/frontend/react-vite-help/src/routes/_authenticated/proyectos-crud.tsx +559 -0
- package/templates/frontend/react-vite-help/src/routes/_authenticated/ui-components.tsx +1054 -0
- package/templates/frontend/react-vite-help/src/routes/_authenticated.tsx +39 -0
- package/templates/frontend/react-vite-help/src/routes/auth/iniciar-sesion.tsx +50 -26
- package/templates/frontend/react-vite-help/src/routes/auth/recuperar-password.tsx +107 -0
- package/templates/frontend/react-vite-help/src/routes/contacto.tsx +839 -37
- package/templates/frontend/react-vite-help/src/routes/index.tsx +16 -13
- package/templates/frontend/react-vite-help/src/routes/proyectos.$proyectoId.tsx +11 -14
- package/templates/frontend/react-vite-help/src/routes/proyectos.tsx +16 -20
- package/templates/frontend/react-vite-help/src/test/mocks/recharts.tsx +35 -0
- package/templates/frontend/react-vite-help/src/test/mocks/router.ts +27 -0
- package/templates/frontend/react-vite-help/src/test/setup.ts +61 -1
- package/templates/frontend/react-vite-help/src/test/utils.tsx +57 -0
- package/templates/frontend/react-vite-help/vite.config.ts +30 -22
- package/templates/frontend/react-vite-help/vitest.config.ts +44 -9
- package/templates/mobile/README.md +83 -0
- package/templates/mobile/expo-base/.cursor/agents/api-integration.md +139 -0
- package/templates/mobile/expo-base/.cursor/agents/feature-architect.md +131 -0
- package/templates/mobile/expo-base/.cursor/agents/i18n-manager.md +147 -0
- package/templates/mobile/expo-base/.cursor/agents/quality-reviewer.md +137 -0
- package/templates/mobile/expo-base/.cursor/agents/testing-specialist.md +123 -0
- package/templates/mobile/expo-base/.cursor/agents/theme-engineer.md +106 -0
- package/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/SKILL.md +420 -0
- package/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/aria-patterns.md +567 -0
- package/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/mobile-accessibility.md +538 -0
- package/templates/mobile/expo-base/.cursor/skills/accessibility-compliance/references/wcag-guidelines.md +645 -0
- package/templates/mobile/expo-base/.cursor/skills/auth-implementation-patterns/SKILL.md +647 -0
- package/templates/mobile/expo-base/.cursor/skills/code-review-excellence/SKILL.md +538 -0
- package/templates/mobile/expo-base/.cursor/skills/design-system-patterns/SKILL.md +337 -0
- package/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/component-architecture.md +617 -0
- package/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/design-tokens.md +420 -0
- package/templates/mobile/expo-base/.cursor/skills/design-system-patterns/references/theming-architecture.md +521 -0
- package/templates/mobile/expo-base/.cursor/skills/error-handling-patterns/SKILL.md +641 -0
- package/templates/mobile/expo-base/.cursor/skills/eslint-prettier-config/SKILL.md +540 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/SKILL.md +190 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/app-store-metadata.md +479 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/ios-app-store.md +355 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/play-store.md +246 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/testflight.md +58 -0
- package/templates/mobile/expo-base/.cursor/skills/expo-deployment/references/workflows.md +200 -0
- package/templates/mobile/expo-base/.cursor/skills/github-actions-templates/SKILL.md +334 -0
- package/templates/mobile/expo-base/.cursor/skills/i18n-localization/SKILL.md +154 -0
- package/templates/mobile/expo-base/.cursor/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/templates/mobile/expo-base/.cursor/skills/jest-typescript/SKILL.md +1092 -0
- package/templates/mobile/expo-base/.cursor/skills/maestro-mobile-testing/SKILL.md +982 -0
- package/templates/mobile/expo-base/.cursor/skills/mobile-security-coder/SKILL.md +184 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/GENERATION.md +5 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/SKILL.md +42 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-ci.md +285 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-migration.md +291 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/best-practices-performance.md +284 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-cli.md +229 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-config.md +188 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-store.md +179 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/core-workspaces.md +205 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-aliases.md +168 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-catalogs.md +159 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-hooks.md +233 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-overrides.md +184 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-patches.md +201 -0
- package/templates/mobile/expo-base/.cursor/skills/pnpm/references/features-peer-deps.md +250 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-architecture/SKILL.md +673 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-design/SKILL.md +440 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-design/references/navigation-patterns.md +832 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-design/references/reanimated-patterns.md +775 -0
- package/templates/mobile/expo-base/.cursor/skills/react-native-design/references/styling-patterns.md +871 -0
- package/templates/mobile/expo-base/.cursor/skills/react-state-management/SKILL.md +437 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/SKILL.md +190 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/dev-tuning.md +167 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/perf-checklist.md +40 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/reanimated-v4.md +108 -0
- package/templates/mobile/expo-base/.cursor/skills/reanimated-skia-performance/references/skia-shaders.md +66 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/SKILL.md +296 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/find-polluter.sh +63 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-academic.md +14 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/templates/mobile/expo-base/.cursor/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/templates/mobile/expo-base/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
- package/templates/mobile/expo-base/.cursor/skills/tanstack-query/README.md +228 -0
- package/templates/mobile/expo-base/.cursor/skills/tanstack-query/SKILL.md +1585 -0
- package/templates/mobile/expo-base/.cursor/skills/test-driven-development/SKILL.md +371 -0
- package/templates/mobile/expo-base/.cursor/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/templates/mobile/expo-base/.cursor/skills/typescript-advanced-types/SKILL.md +724 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/AGENTS.md +946 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/SKILL.md +89 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/architecture-compound-components.md +112 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/patterns-children-over-render-props.md +87 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/patterns-explicit-variants.md +100 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/react19-no-forwardref.md +42 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-context-interface.md +191 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-decouple-implementation.md +113 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-composition-patterns/rules/state-lift-state.md +125 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/AGENTS.md +2897 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/README.md +165 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/SKILL.md +121 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-derived-value.md +53 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-gesture-detector-press.md +95 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/animation-gpu-properties.md +65 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/design-system-compound-components.md +66 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/fonts-config-plugin.md +71 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/imports-design-system-folder.md +68 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/js-hoist-intl.md +61 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-callbacks.md +44 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-function-references.md +132 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-images.md +53 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-inline-objects.md +97 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-expensive.md +94 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-memo.md +82 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-item-types.md +104 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/list-performance-virtualize.md +67 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/navigation-native-navigators.md +188 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-dispatcher.md +91 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-fallback.md +56 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/react-state-minimize.md +65 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/rendering-no-falsy-and.md +74 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/rendering-text-in-text-component.md +36 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/scroll-position-no-state.md +82 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/state-ground-truth.md +80 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-expo-image.md +66 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-image-gallery.md +104 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-measure-views.md +78 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-menus.md +174 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-native-modals.md +77 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-pressable.md +61 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-safe-area-scroll.md +65 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
- package/templates/mobile/expo-base/.cursor/skills/vercel-react-native-skills/rules/ui-styling.md +87 -0
- package/templates/mobile/expo-base/README.md +112 -2
- package/templates/mobile/expo-base/package.json +74 -74
- package/templates/mobile/expo-base/pnpm-workspace.yaml +7 -4
- package/dist/templates/frontend/angular-base/.agents/skills/angular-component/SKILL.md +0 -288
- package/dist/templates/frontend/angular-base/.agents/skills/angular-component/references/component-patterns.md +0 -358
- package/dist/templates/frontend/angular-base/.agents/skills/angular-di/SKILL.md +0 -387
- package/dist/templates/frontend/angular-base/.agents/skills/angular-di/references/di-patterns.md +0 -519
- package/dist/templates/frontend/angular-base/.agents/skills/angular-directives/SKILL.md +0 -437
- package/dist/templates/frontend/angular-base/.agents/skills/angular-directives/references/directive-patterns.md +0 -570
- package/dist/templates/frontend/angular-base/.agents/skills/angular-forms/SKILL.md +0 -434
- package/dist/templates/frontend/angular-base/.agents/skills/angular-forms/references/form-patterns.md +0 -398
- package/dist/templates/frontend/angular-base/.agents/skills/angular-http/SKILL.md +0 -366
- package/dist/templates/frontend/angular-base/.agents/skills/angular-http/references/http-patterns.md +0 -448
- package/dist/templates/frontend/angular-base/.agents/skills/angular-routing/SKILL.md +0 -395
- package/dist/templates/frontend/angular-base/.agents/skills/angular-routing/references/routing-patterns.md +0 -472
- package/dist/templates/frontend/angular-base/.agents/skills/angular-signals/SKILL.md +0 -302
- package/dist/templates/frontend/angular-base/.agents/skills/angular-signals/references/signal-patterns.md +0 -404
- package/dist/templates/frontend/angular-base/.agents/skills/angular-ssr/SKILL.md +0 -435
- package/dist/templates/frontend/angular-base/.agents/skills/angular-ssr/references/ssr-patterns.md +0 -497
- package/dist/templates/frontend/angular-base/.agents/skills/angular-testing/SKILL.md +0 -660
- package/dist/templates/frontend/angular-base/.agents/skills/angular-testing/references/testing-patterns.md +0 -707
- package/dist/templates/frontend/angular-base/.agents/skills/angular-tooling/SKILL.md +0 -352
- package/dist/templates/frontend/angular-base/.agents/skills/angular-tooling/references/tooling-patterns.md +0 -448
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-accessibility/SKILL.md +0 -780
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-components/SKILL.md +0 -718
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +0 -612
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +0 -594
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/SKILL.md +0 -432
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/references/animation-patterns.md +0 -427
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/SKILL.md +0 -354
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +0 -306
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/SKILL.md +0 -578
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +0 -353
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +0 -608
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +0 -215
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +0 -281
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-mobile-first/SKILL.md +0 -768
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/SKILL.md +0 -374
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +0 -244
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-plugins/SKILL.md +0 -505
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +0 -601
- package/dist/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +0 -485
- package/dist/templates/frontend/angular-base/.agents/skills/web-design-guidelines/SKILL.md +0 -39
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-component/SKILL.md +0 -288
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-component/references/component-patterns.md +0 -358
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-di/SKILL.md +0 -387
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-di/references/di-patterns.md +0 -519
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-directives/SKILL.md +0 -437
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-directives/references/directive-patterns.md +0 -570
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-forms/SKILL.md +0 -434
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-forms/references/form-patterns.md +0 -398
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-http/SKILL.md +0 -366
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-http/references/http-patterns.md +0 -448
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-routing/SKILL.md +0 -395
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-routing/references/routing-patterns.md +0 -472
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-signals/SKILL.md +0 -302
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-signals/references/signal-patterns.md +0 -404
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-ssr/SKILL.md +0 -435
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-ssr/references/ssr-patterns.md +0 -497
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-testing/SKILL.md +0 -660
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-testing/references/testing-patterns.md +0 -707
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-tooling/SKILL.md +0 -352
- package/dist/templates/frontend/angular-nx/.agents/skills/angular-tooling/references/tooling-patterns.md +0 -448
- package/dist/templates/frontend/angular-nx/.agents/skills/nx-workspace-patterns/SKILL.md +0 -457
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-accessibility/SKILL.md +0 -780
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-components/SKILL.md +0 -718
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +0 -612
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +0 -594
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-animations/SKILL.md +0 -432
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-animations/references/animation-patterns.md +0 -427
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-debugging/SKILL.md +0 -354
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +0 -306
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-framework-integration/SKILL.md +0 -578
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +0 -353
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +0 -608
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +0 -215
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +0 -281
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-mobile-first/SKILL.md +0 -768
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-performance/SKILL.md +0 -374
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +0 -244
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-plugins/SKILL.md +0 -505
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +0 -601
- package/dist/templates/frontend/angular-nx/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +0 -485
- package/dist/templates/frontend/angular-nx/.agents/skills/web-design-guidelines/SKILL.md +0 -39
- package/dist/templates/frontend/react-vite/.agents/skills/daisyui/SKILL.md +0 -1374
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/AGENTS.md +0 -97
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/SKILL.md +0 -116
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-devtools-performance.md +0 -69
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-formprovider-memo.md +0 -78
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-testing-wrapper.md +0 -63
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-complete-default-objects.md +0 -66
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-separate-crud-operations.md +0 -76
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-use-field-id-as-key.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-virtualization-formprovider.md +0 -64
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-avoid-double-registration.md +0 -46
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-controller-field-props.md +0 -56
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-local-state-combination.md +0 -69
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +0 -62
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +0 -64
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-async-default-values.md +0 -69
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-default-values.md +0 -57
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-revalidate-mode.md +0 -48
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-should-unregister.md +0 -62
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-useeffect-dependency.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-validation-mode.md +0 -51
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-destructure-formstate.md +0 -48
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +0 -49
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-useformstate-isolation.md +0 -62
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-mui-controller-pattern.md +0 -59
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-form-import.md +0 -64
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-select-wiring.md +0 -64
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-value-transform.md +0 -59
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-avoid-watch-in-render.md +0 -48
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-deep-subscription.md +0 -62
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-useformcontext-sparingly.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-default-value.md +0 -50
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-over-watch.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-watch-specific-fields.md +0 -54
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-delay-error.md +0 -52
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-dynamic-schema-factory.md +0 -57
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-error-message-strategy.md +0 -65
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-inline-vs-resolver.md +0 -63
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-native-validation.md +0 -60
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-resolver-caching.md +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/SKILL.md +0 -412
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/accessibility.md +0 -359
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/error-handling.md +0 -255
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/links-to-official-docs.md +0 -197
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/performance-optimization.md +0 -355
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/rhf-api-reference.md +0 -420
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/shadcn-integration.md +0 -390
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/top-errors.md +0 -381
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/zod-schemas-guide.md +0 -396
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/rules/react-hook-form-zod.md +0 -138
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/scripts/check-versions.sh +0 -51
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/advanced-form.tsx +0 -427
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/async-validation.tsx +0 -402
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/basic-form.tsx +0 -285
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/custom-error-display.tsx +0 -303
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/dynamic-fields.tsx +0 -308
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/multi-step-form.tsx +0 -367
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/package.json +0 -35
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/server-validation.ts +0 -313
- package/dist/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/shadcn-form.tsx +0 -351
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/SKILL.md +0 -412
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/aspect-ratio.md +0 -513
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/lazy-loading.md +0 -397
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/modern-formats.md +0 -526
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/picture-element.md +0 -593
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/references/srcset-sizes.md +0 -295
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/rules/responsive-images.md +0 -418
- package/dist/templates/frontend/react-vite/.agents/skills/responsive-images/templates/image-component.tsx +0 -231
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/.claude-plugin/plugin.json +0 -13
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/SKILL.md +0 -487
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/agents/seo-generator.md +0 -290
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/canonical-urls.md +0 -429
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/json-ld.md +0 -599
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/meta-description.md +0 -426
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/open-graph.md +0 -443
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/title-patterns.md +0 -333
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/references/twitter-cards.md +0 -423
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/rules/seo-meta.md +0 -157
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/faq.json +0 -46
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/local-business.json +0 -58
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/service.json +0 -41
- package/dist/templates/frontend/react-vite/.agents/skills/seo-meta/templates/meta-component.tsx +0 -275
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/SKILL.md +0 -1677
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/learn.md +0 -145
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/official-ui-reference.md +0 -1725
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/reference.md +0 -586
- package/dist/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/ui-reference.md +0 -1578
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/SKILL.md +0 -508
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/button-patterns.md +0 -234
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/card-patterns.md +0 -533
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/dark-mode-patterns.md +0 -309
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/form-patterns.md +0 -403
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/layout-patterns.md +0 -542
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/navigation-patterns.md +0 -634
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/typography-patterns.md +0 -338
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/rules/tailwind-patterns.md +0 -371
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/contact-form.tsx +0 -265
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/feature-grid.tsx +0 -141
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/footer.tsx +0 -258
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/hero-section.tsx +0 -105
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +0 -13
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/SKILL.md +0 -665
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/commands/setup.md +0 -200
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/architecture.md +0 -206
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/common-gotchas.md +0 -469
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/dark-mode.md +0 -239
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/migration-guide.md +0 -313
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +0 -118
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/components.json +0 -20
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/index.css +0 -140
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +0 -92
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +0 -31
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/utils.ts +0 -6
- package/dist/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/vite.config.ts +0 -17
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/SKILL.md +0 -1058
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-query/rules/tanstack-query.md +0 -126
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/SKILL.md +0 -663
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/references/common-errors.md +0 -77
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/rules/tanstack-router.md +0 -125
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/package.json +0 -26
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/route-examples.tsx +0 -126
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/vite.config.ts +0 -16
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/REVIEW_REPORT.md +0 -299
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/SKILL.md +0 -781
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-start/planning/stability-tracker.md +0 -49
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/SKILL.md +0 -573
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/cloudflare-d1-examples.md +0 -131
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/common-errors.md +0 -208
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/performance-virtualization.md +0 -106
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/query-integration.md +0 -195
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/references/server-side-patterns.md +0 -357
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/rules/tanstack-table.md +0 -151
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/basic-client-table.tsx +0 -101
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/column-configuration.tsx +0 -177
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/d1-database-example.tsx +0 -336
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/package.json +0 -25
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/server-paginated-table.tsx +0 -218
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/shadcn-styled-table.tsx +0 -123
- package/dist/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/virtualized-large-dataset.tsx +0 -164
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/SKILL.md +0 -504
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/rules/testing-library-patterns.md +0 -97
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/templates/msw-handlers.ts +0 -117
- package/dist/templates/frontend/react-vite/.agents/skills/testing-library/templates/setup.ts +0 -57
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/.claude-plugin/plugin.json +0 -13
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/SKILL.md +0 -400
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/coverage.md +0 -458
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/create-tests.md +0 -362
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/run-tests.md +0 -336
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/references/validation-rules.md +0 -222
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-agent.md +0 -132
- package/dist/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-spec.yaml +0 -69
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/.claude-plugin/plugin.json +0 -12
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/SKILL.md +0 -493
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/rules/vitest-patterns.md +0 -100
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/templates/test-utils.ts +0 -86
- package/dist/templates/frontend/react-vite/.agents/skills/vitest/templates/vitest.config.ts +0 -39
- package/dist/templates/frontend/react-vite/.agents/skills/zod/AGENTS.md +0 -97
- package/dist/templates/frontend/react-vite/.agents/skills/zod/SKILL.md +0 -127
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-intersection.md +0 -144
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-lazy-recursive.md +0 -143
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-pipe.md +0 -113
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-preprocess.md +0 -142
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/compose-shared-schemas.md +0 -137
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-avoid-throwing-in-refine.md +0 -127
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-custom-messages.md +0 -118
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-i18n.md +0 -145
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-path-for-nested.md +0 -130
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/error-use-flatten.md +0 -131
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-discriminated-unions.md +0 -138
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-extend-for-composition.md +0 -147
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-optional-vs-nullable.md +0 -117
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-partial-for-updates.md +0 -123
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-pick-omit.md +0 -146
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/object-strict-vs-strip.md +0 -109
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-async-for-async-refinements.md +0 -118
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-avoid-double-validation.md +0 -129
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-handle-all-issues.md +0 -125
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-never-trust-json.md +0 -113
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-use-safeparse.md +0 -102
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/parse-validate-early.md +0 -120
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-arrays.md +0 -153
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-avoid-dynamic-creation.md +0 -139
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-cache-schemas.md +0 -138
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-lazy-loading.md +0 -135
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/perf-zod-mini.md +0 -117
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-add-path.md +0 -141
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-catch.md +0 -143
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-defaults.md +0 -131
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-transform-coerce.md +0 -105
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/refine-vs-superrefine.md +0 -152
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-avoid-optional-abuse.md +0 -93
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-coercion-for-form-data.md +0 -88
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-string-validations.md +0 -90
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-enums.md +0 -107
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-primitives-correctly.md +0 -61
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-unknown-not-any.md +0 -88
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-branded-types.md +0 -102
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-enable-strict-mode.md +0 -130
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-export-schemas-and-types.md +0 -116
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-input-vs-output.md +0 -116
- package/dist/templates/frontend/react-vite/.agents/skills/zod/references/type-use-z-infer.md +0 -110
- package/dist/templates/frontend/react-vite/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +0 -9
- package/dist/templates/frontend/react-vite/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +0 -9
- package/dist/templates/frontend/react-vite/src/routeTree.gen.ts +0 -77
- package/dist/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +0 -9
- package/dist/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +0 -9
- package/dist/templates/frontend/react-vite-help/src/routeTree.gen.ts +0 -241
- package/templates/backend/nestjs-api-mysql/DOCKER-VALIDATION.md +0 -275
- package/templates/frontend/angular-base/.agents/skills/angular-component/SKILL.md +0 -288
- package/templates/frontend/angular-base/.agents/skills/angular-component/references/component-patterns.md +0 -358
- package/templates/frontend/angular-base/.agents/skills/angular-di/SKILL.md +0 -387
- package/templates/frontend/angular-base/.agents/skills/angular-di/references/di-patterns.md +0 -519
- package/templates/frontend/angular-base/.agents/skills/angular-directives/SKILL.md +0 -437
- package/templates/frontend/angular-base/.agents/skills/angular-directives/references/directive-patterns.md +0 -570
- package/templates/frontend/angular-base/.agents/skills/angular-forms/SKILL.md +0 -434
- package/templates/frontend/angular-base/.agents/skills/angular-forms/references/form-patterns.md +0 -398
- package/templates/frontend/angular-base/.agents/skills/angular-http/SKILL.md +0 -366
- package/templates/frontend/angular-base/.agents/skills/angular-http/references/http-patterns.md +0 -448
- package/templates/frontend/angular-base/.agents/skills/angular-routing/SKILL.md +0 -395
- package/templates/frontend/angular-base/.agents/skills/angular-routing/references/routing-patterns.md +0 -472
- package/templates/frontend/angular-base/.agents/skills/angular-signals/SKILL.md +0 -302
- package/templates/frontend/angular-base/.agents/skills/angular-signals/references/signal-patterns.md +0 -404
- package/templates/frontend/angular-base/.agents/skills/angular-ssr/SKILL.md +0 -435
- package/templates/frontend/angular-base/.agents/skills/angular-ssr/references/ssr-patterns.md +0 -497
- package/templates/frontend/angular-base/.agents/skills/angular-testing/SKILL.md +0 -660
- package/templates/frontend/angular-base/.agents/skills/angular-testing/references/testing-patterns.md +0 -707
- package/templates/frontend/angular-base/.agents/skills/angular-tooling/SKILL.md +0 -352
- package/templates/frontend/angular-base/.agents/skills/angular-tooling/references/tooling-patterns.md +0 -448
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-accessibility/SKILL.md +0 -780
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-components/SKILL.md +0 -718
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +0 -612
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +0 -594
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/SKILL.md +0 -432
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-animations/references/animation-patterns.md +0 -427
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/SKILL.md +0 -354
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +0 -306
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/SKILL.md +0 -578
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +0 -353
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +0 -608
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +0 -215
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +0 -281
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-mobile-first/SKILL.md +0 -768
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/SKILL.md +0 -374
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +0 -244
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-plugins/SKILL.md +0 -505
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +0 -601
- package/templates/frontend/angular-base/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +0 -485
- package/templates/frontend/angular-base/.agents/skills/web-design-guidelines/SKILL.md +0 -39
- package/templates/frontend/angular-nx/.agents/skills/angular-component/SKILL.md +0 -288
- package/templates/frontend/angular-nx/.agents/skills/angular-component/references/component-patterns.md +0 -358
- package/templates/frontend/angular-nx/.agents/skills/angular-di/SKILL.md +0 -387
- package/templates/frontend/angular-nx/.agents/skills/angular-di/references/di-patterns.md +0 -519
- package/templates/frontend/angular-nx/.agents/skills/angular-directives/SKILL.md +0 -437
- package/templates/frontend/angular-nx/.agents/skills/angular-directives/references/directive-patterns.md +0 -570
- package/templates/frontend/angular-nx/.agents/skills/angular-forms/SKILL.md +0 -434
- package/templates/frontend/angular-nx/.agents/skills/angular-forms/references/form-patterns.md +0 -398
- package/templates/frontend/angular-nx/.agents/skills/angular-http/SKILL.md +0 -366
- package/templates/frontend/angular-nx/.agents/skills/angular-http/references/http-patterns.md +0 -448
- package/templates/frontend/angular-nx/.agents/skills/angular-routing/SKILL.md +0 -395
- package/templates/frontend/angular-nx/.agents/skills/angular-routing/references/routing-patterns.md +0 -472
- package/templates/frontend/angular-nx/.agents/skills/angular-signals/SKILL.md +0 -302
- package/templates/frontend/angular-nx/.agents/skills/angular-signals/references/signal-patterns.md +0 -404
- package/templates/frontend/angular-nx/.agents/skills/angular-ssr/SKILL.md +0 -435
- package/templates/frontend/angular-nx/.agents/skills/angular-ssr/references/ssr-patterns.md +0 -497
- package/templates/frontend/angular-nx/.agents/skills/angular-testing/SKILL.md +0 -660
- package/templates/frontend/angular-nx/.agents/skills/angular-testing/references/testing-patterns.md +0 -707
- package/templates/frontend/angular-nx/.agents/skills/angular-tooling/SKILL.md +0 -352
- package/templates/frontend/angular-nx/.agents/skills/angular-tooling/references/tooling-patterns.md +0 -448
- package/templates/frontend/angular-nx/.agents/skills/nx-workspace-patterns/SKILL.md +0 -457
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-accessibility/SKILL.md +0 -780
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-components/SKILL.md +0 -718
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-design-systems/SKILL.md +0 -612
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-advanced-layouts/SKILL.md +0 -594
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-animations/SKILL.md +0 -432
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-animations/references/animation-patterns.md +0 -427
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-debugging/SKILL.md +0 -354
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-debugging/references/troubleshooting-guide.md +0 -306
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-framework-integration/SKILL.md +0 -578
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-framework-integration/references/react-patterns.md +0 -353
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/SKILL.md +0 -608
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +0 -215
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +0 -281
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-mobile-first/SKILL.md +0 -768
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-performance/SKILL.md +0 -374
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-performance/references/bundle-optimization.md +0 -244
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-plugins/SKILL.md +0 -505
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-responsive-darkmode/SKILL.md +0 -601
- package/templates/frontend/angular-nx/.agents/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +0 -485
- package/templates/frontend/angular-nx/.agents/skills/web-design-guidelines/SKILL.md +0 -39
- package/templates/frontend/react-vite/.agents/skills/daisyui/SKILL.md +0 -1374
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/AGENTS.md +0 -97
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/SKILL.md +0 -116
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-devtools-performance.md +0 -69
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-formprovider-memo.md +0 -78
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/adv-testing-wrapper.md +0 -63
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-complete-default-objects.md +0 -66
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-separate-crud-operations.md +0 -76
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-use-field-id-as-key.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/array-virtualization-formprovider.md +0 -64
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-avoid-double-registration.md +0 -46
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-controller-field-props.md +0 -56
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-local-state-combination.md +0 -69
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +0 -62
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +0 -64
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-async-default-values.md +0 -69
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-default-values.md +0 -57
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-revalidate-mode.md +0 -48
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-should-unregister.md +0 -62
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-useeffect-dependency.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formcfg-validation-mode.md +0 -51
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-destructure-formstate.md +0 -48
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +0 -49
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/formstate-useformstate-isolation.md +0 -62
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-mui-controller-pattern.md +0 -59
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-form-import.md +0 -64
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-shadcn-select-wiring.md +0 -64
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/integ-value-transform.md +0 -59
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-avoid-watch-in-render.md +0 -48
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-deep-subscription.md +0 -62
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-useformcontext-sparingly.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-default-value.md +0 -50
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-over-watch.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/sub-watch-specific-fields.md +0 -54
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-delay-error.md +0 -52
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-dynamic-schema-factory.md +0 -57
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-error-message-strategy.md +0 -65
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-inline-vs-resolver.md +0 -63
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-native-validation.md +0 -60
- package/templates/frontend/react-vite/.agents/skills/react-hook-form/references/valid-resolver-caching.md +0 -58
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/SKILL.md +0 -412
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/accessibility.md +0 -359
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/error-handling.md +0 -255
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/links-to-official-docs.md +0 -197
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/performance-optimization.md +0 -355
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/rhf-api-reference.md +0 -420
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/shadcn-integration.md +0 -390
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/top-errors.md +0 -381
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/references/zod-schemas-guide.md +0 -396
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/rules/react-hook-form-zod.md +0 -138
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/scripts/check-versions.sh +0 -51
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/advanced-form.tsx +0 -427
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/async-validation.tsx +0 -402
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/basic-form.tsx +0 -285
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/custom-error-display.tsx +0 -303
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/dynamic-fields.tsx +0 -308
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/multi-step-form.tsx +0 -367
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/package.json +0 -35
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/server-validation.ts +0 -313
- package/templates/frontend/react-vite/.agents/skills/react-hook-form-zod/templates/shadcn-form.tsx +0 -351
- package/templates/frontend/react-vite/.agents/skills/responsive-images/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/responsive-images/SKILL.md +0 -412
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/aspect-ratio.md +0 -513
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/lazy-loading.md +0 -397
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/modern-formats.md +0 -526
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/picture-element.md +0 -593
- package/templates/frontend/react-vite/.agents/skills/responsive-images/references/srcset-sizes.md +0 -295
- package/templates/frontend/react-vite/.agents/skills/responsive-images/rules/responsive-images.md +0 -418
- package/templates/frontend/react-vite/.agents/skills/responsive-images/templates/image-component.tsx +0 -231
- package/templates/frontend/react-vite/.agents/skills/seo-meta/.claude-plugin/plugin.json +0 -13
- package/templates/frontend/react-vite/.agents/skills/seo-meta/SKILL.md +0 -487
- package/templates/frontend/react-vite/.agents/skills/seo-meta/agents/seo-generator.md +0 -290
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/canonical-urls.md +0 -429
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/json-ld.md +0 -599
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/meta-description.md +0 -426
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/open-graph.md +0 -443
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/title-patterns.md +0 -333
- package/templates/frontend/react-vite/.agents/skills/seo-meta/references/twitter-cards.md +0 -423
- package/templates/frontend/react-vite/.agents/skills/seo-meta/rules/seo-meta.md +0 -157
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/faq.json +0 -46
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/local-business.json +0 -58
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/json-ld-schemas/service.json +0 -41
- package/templates/frontend/react-vite/.agents/skills/seo-meta/templates/meta-component.tsx +0 -275
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/SKILL.md +0 -1677
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/learn.md +0 -145
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/official-ui-reference.md +0 -1725
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/reference.md +0 -586
- package/templates/frontend/react-vite/.agents/skills/shadcn-ui/references/ui-reference.md +0 -1578
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/SKILL.md +0 -508
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/button-patterns.md +0 -234
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/card-patterns.md +0 -533
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/dark-mode-patterns.md +0 -309
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/form-patterns.md +0 -403
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/layout-patterns.md +0 -542
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/navigation-patterns.md +0 -634
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/references/typography-patterns.md +0 -338
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/rules/tailwind-patterns.md +0 -371
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/contact-form.tsx +0 -265
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/feature-grid.tsx +0 -141
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/footer.tsx +0 -258
- package/templates/frontend/react-vite/.agents/skills/tailwind-patterns/templates/components/hero-section.tsx +0 -105
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +0 -13
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/SKILL.md +0 -665
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/commands/setup.md +0 -200
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/architecture.md +0 -206
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/common-gotchas.md +0 -469
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/dark-mode.md +0 -239
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/references/migration-guide.md +0 -313
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +0 -118
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/components.json +0 -20
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/index.css +0 -140
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +0 -92
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +0 -31
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/utils.ts +0 -6
- package/templates/frontend/react-vite/.agents/skills/tailwind-v4-shadcn/templates/vite.config.ts +0 -17
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/SKILL.md +0 -1058
- package/templates/frontend/react-vite/.agents/skills/tanstack-query/rules/tanstack-query.md +0 -126
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/SKILL.md +0 -663
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/references/common-errors.md +0 -77
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/rules/tanstack-router.md +0 -125
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/package.json +0 -26
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/route-examples.tsx +0 -126
- package/templates/frontend/react-vite/.agents/skills/tanstack-router/templates/vite.config.ts +0 -16
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/REVIEW_REPORT.md +0 -299
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/SKILL.md +0 -781
- package/templates/frontend/react-vite/.agents/skills/tanstack-start/planning/stability-tracker.md +0 -49
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/SKILL.md +0 -573
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/cloudflare-d1-examples.md +0 -131
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/common-errors.md +0 -208
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/performance-virtualization.md +0 -106
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/query-integration.md +0 -195
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/references/server-side-patterns.md +0 -357
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/rules/tanstack-table.md +0 -151
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/basic-client-table.tsx +0 -101
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/column-configuration.tsx +0 -177
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/d1-database-example.tsx +0 -336
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/package.json +0 -25
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/server-paginated-table.tsx +0 -218
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/shadcn-styled-table.tsx +0 -123
- package/templates/frontend/react-vite/.agents/skills/tanstack-table/templates/virtualized-large-dataset.tsx +0 -164
- package/templates/frontend/react-vite/.agents/skills/testing-library/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/testing-library/SKILL.md +0 -504
- package/templates/frontend/react-vite/.agents/skills/testing-library/rules/testing-library-patterns.md +0 -97
- package/templates/frontend/react-vite/.agents/skills/testing-library/templates/msw-handlers.ts +0 -117
- package/templates/frontend/react-vite/.agents/skills/testing-library/templates/setup.ts +0 -57
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/.claude-plugin/plugin.json +0 -13
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/SKILL.md +0 -400
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/coverage.md +0 -458
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/create-tests.md +0 -362
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/commands/run-tests.md +0 -336
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/references/validation-rules.md +0 -222
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-agent.md +0 -132
- package/templates/frontend/react-vite/.agents/skills/testing-patterns/templates/test-spec.yaml +0 -69
- package/templates/frontend/react-vite/.agents/skills/vitest/.claude-plugin/plugin.json +0 -12
- package/templates/frontend/react-vite/.agents/skills/vitest/SKILL.md +0 -493
- package/templates/frontend/react-vite/.agents/skills/vitest/rules/vitest-patterns.md +0 -100
- package/templates/frontend/react-vite/.agents/skills/vitest/templates/test-utils.ts +0 -86
- package/templates/frontend/react-vite/.agents/skills/vitest/templates/vitest.config.ts +0 -39
- package/templates/frontend/react-vite/.agents/skills/zod/AGENTS.md +0 -97
- package/templates/frontend/react-vite/.agents/skills/zod/SKILL.md +0 -127
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-intersection.md +0 -144
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-lazy-recursive.md +0 -143
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-pipe.md +0 -113
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-preprocess.md +0 -142
- package/templates/frontend/react-vite/.agents/skills/zod/references/compose-shared-schemas.md +0 -137
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-avoid-throwing-in-refine.md +0 -127
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-custom-messages.md +0 -118
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-i18n.md +0 -145
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-path-for-nested.md +0 -130
- package/templates/frontend/react-vite/.agents/skills/zod/references/error-use-flatten.md +0 -131
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-discriminated-unions.md +0 -138
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-extend-for-composition.md +0 -147
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-optional-vs-nullable.md +0 -117
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-partial-for-updates.md +0 -123
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-pick-omit.md +0 -146
- package/templates/frontend/react-vite/.agents/skills/zod/references/object-strict-vs-strip.md +0 -109
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-async-for-async-refinements.md +0 -118
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-avoid-double-validation.md +0 -129
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-handle-all-issues.md +0 -125
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-never-trust-json.md +0 -113
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-use-safeparse.md +0 -102
- package/templates/frontend/react-vite/.agents/skills/zod/references/parse-validate-early.md +0 -120
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-arrays.md +0 -153
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-avoid-dynamic-creation.md +0 -139
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-cache-schemas.md +0 -138
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-lazy-loading.md +0 -135
- package/templates/frontend/react-vite/.agents/skills/zod/references/perf-zod-mini.md +0 -117
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-add-path.md +0 -141
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-catch.md +0 -143
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-defaults.md +0 -131
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-transform-coerce.md +0 -105
- package/templates/frontend/react-vite/.agents/skills/zod/references/refine-vs-superrefine.md +0 -152
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-avoid-optional-abuse.md +0 -93
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-coercion-for-form-data.md +0 -88
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-string-validations.md +0 -90
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-enums.md +0 -107
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-primitives-correctly.md +0 -61
- package/templates/frontend/react-vite/.agents/skills/zod/references/schema-use-unknown-not-any.md +0 -88
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-branded-types.md +0 -102
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-enable-strict-mode.md +0 -130
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-export-schemas-and-types.md +0 -116
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-input-vs-output.md +0 -116
- package/templates/frontend/react-vite/.agents/skills/zod/references/type-use-z-infer.md +0 -110
- package/templates/frontend/react-vite/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +0 -9
- package/templates/frontend/react-vite/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +0 -9
- package/templates/frontend/react-vite/src/routeTree.gen.ts +0 -77
- package/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-2319511cf318e28129c8d8eb723db5fd +0 -9
- package/templates/frontend/react-vite-help/.tanstack/tmp/c28007bb-bcef89e9e4593777e1c15ec4b4f32eea +0 -9
- package/templates/frontend/react-vite-help/src/routeTree.gen.ts +0 -241
- package/templates/frontend/react-vite-help/src/routes/dashbord.tsx +0 -9
- package/templates/frontend/react-vite-help/src/routes/index.test.tsx +0 -42
- package/templates/frontend/react-vite-help/src/routes/perfil.tsx +0 -9
- package/templates/mobile/expo-base/IMPLEMENTATION_SUMMARY.md +0 -413
- package/templates/mobile/expo-base/SETUP_NOTES.md +0 -233
- package/templates/mobile/expo-base/TEMPLATE_USAGE.md +0 -623
- package/templates/mobile/expo-base/WARP.md +0 -123
- package/templates/mobile/expo-base/docs/ARCHITECTURE.md +0 -565
- package/templates/mobile/expo-base/docs/CI_CD.md +0 -461
- package/templates/mobile/expo-base/docs/COMPONENTS.md +0 -1103
- package/templates/mobile/expo-base/docs/CONTRIBUTING.md +0 -733
- package/templates/mobile/expo-base/docs/DESIGN_TOKENS.md +0 -832
- package/templates/mobile/expo-base/docs/GIT_CONVENTIONS.md +0 -411
- package/templates/mobile/expo-base/docs/I18N.md +0 -701
- package/templates/mobile/expo-base/docs/TESTING.md +0 -565
- package/templates/mobile/expo-base/docs/THEMING.md +0 -753
- package/templates/mobile/expo-base/docs/VERSIONING.md +0 -518
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/assets/example-template.txt +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/best-practices.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/common-patterns.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/example-reference.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/testing.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/top-errors.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/typescript-patterns.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/v4-to-v5-migration.md +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/scripts/example-script.sh +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/custom-hooks-pattern.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/devtools-setup.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/error-boundary.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/package.json +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/provider-setup.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/query-client-config.ts +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-infinite-query.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-mutation-basic.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-mutation-optimistic.tsx +0 -0
- /package/dist/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-query-basic.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/assets/example-template.txt +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/best-practices.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/common-patterns.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/example-reference.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/testing.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/top-errors.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/typescript-patterns.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/references/v4-to-v5-migration.md +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/scripts/example-script.sh +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/custom-hooks-pattern.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/devtools-setup.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/error-boundary.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/package.json +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/provider-setup.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/query-client-config.ts +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-infinite-query.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-mutation-basic.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-mutation-optimistic.tsx +0 -0
- /package/templates/{frontend/react-vite/.agents → mobile/expo-base/.cursor}/skills/tanstack-query/templates/use-query-basic.tsx +0 -0
|
@@ -0,0 +1,946 @@
|
|
|
1
|
+
# React Composition Patterns
|
|
2
|
+
|
|
3
|
+
**Version 1.0.0**
|
|
4
|
+
Engineering
|
|
5
|
+
January 2026
|
|
6
|
+
|
|
7
|
+
> **Note:**
|
|
8
|
+
> This document is mainly for agents and LLMs to follow when maintaining,
|
|
9
|
+
> generating, or refactoring React codebases using composition. Humans
|
|
10
|
+
> may also find it useful, but guidance here is optimized for automation
|
|
11
|
+
> and consistency by AI-assisted workflows.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## Abstract
|
|
16
|
+
|
|
17
|
+
Composition patterns for building flexible, maintainable React components. Avoid boolean prop proliferation by using compound components, lifting state, and composing internals. These patterns make codebases easier for both humans and AI agents to work with as they scale.
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## Table of Contents
|
|
22
|
+
|
|
23
|
+
1. [Component Architecture](#1-component-architecture) — **HIGH**
|
|
24
|
+
- 1.1 [Avoid Boolean Prop Proliferation](#11-avoid-boolean-prop-proliferation)
|
|
25
|
+
- 1.2 [Use Compound Components](#12-use-compound-components)
|
|
26
|
+
2. [State Management](#2-state-management) — **MEDIUM**
|
|
27
|
+
- 2.1 [Decouple State Management from UI](#21-decouple-state-management-from-ui)
|
|
28
|
+
- 2.2 [Define Generic Context Interfaces for Dependency Injection](#22-define-generic-context-interfaces-for-dependency-injection)
|
|
29
|
+
- 2.3 [Lift State into Provider Components](#23-lift-state-into-provider-components)
|
|
30
|
+
3. [Implementation Patterns](#3-implementation-patterns) — **MEDIUM**
|
|
31
|
+
- 3.1 [Create Explicit Component Variants](#31-create-explicit-component-variants)
|
|
32
|
+
- 3.2 [Prefer Composing Children Over Render Props](#32-prefer-composing-children-over-render-props)
|
|
33
|
+
4. [React 19 APIs](#4-react-19-apis) — **MEDIUM**
|
|
34
|
+
- 4.1 [React 19 API Changes](#41-react-19-api-changes)
|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## 1. Component Architecture
|
|
39
|
+
|
|
40
|
+
**Impact: HIGH**
|
|
41
|
+
|
|
42
|
+
Fundamental patterns for structuring components to avoid prop
|
|
43
|
+
proliferation and enable flexible composition.
|
|
44
|
+
|
|
45
|
+
### 1.1 Avoid Boolean Prop Proliferation
|
|
46
|
+
|
|
47
|
+
**Impact: CRITICAL (prevents unmaintainable component variants)**
|
|
48
|
+
|
|
49
|
+
Don't add boolean props like `isThread`, `isEditing`, `isDMThread` to customize
|
|
50
|
+
|
|
51
|
+
component behavior. Each boolean doubles possible states and creates
|
|
52
|
+
|
|
53
|
+
unmaintainable conditional logic. Use composition instead.
|
|
54
|
+
|
|
55
|
+
**Incorrect: boolean props create exponential complexity**
|
|
56
|
+
|
|
57
|
+
```tsx
|
|
58
|
+
function Composer({
|
|
59
|
+
onSubmit,
|
|
60
|
+
isThread,
|
|
61
|
+
channelId,
|
|
62
|
+
isDMThread,
|
|
63
|
+
dmId,
|
|
64
|
+
isEditing,
|
|
65
|
+
isForwarding,
|
|
66
|
+
}: Props) {
|
|
67
|
+
return (
|
|
68
|
+
<form>
|
|
69
|
+
<Header />
|
|
70
|
+
<Input />
|
|
71
|
+
{isDMThread ? (
|
|
72
|
+
<AlsoSendToDMField id={dmId} />
|
|
73
|
+
) : isThread ? (
|
|
74
|
+
<AlsoSendToChannelField id={channelId} />
|
|
75
|
+
) : null}
|
|
76
|
+
{isEditing ? (
|
|
77
|
+
<EditActions />
|
|
78
|
+
) : isForwarding ? (
|
|
79
|
+
<ForwardActions />
|
|
80
|
+
) : (
|
|
81
|
+
<DefaultActions />
|
|
82
|
+
)}
|
|
83
|
+
<Footer onSubmit={onSubmit} />
|
|
84
|
+
</form>
|
|
85
|
+
)
|
|
86
|
+
}
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**Correct: composition eliminates conditionals**
|
|
90
|
+
|
|
91
|
+
```tsx
|
|
92
|
+
// Channel composer
|
|
93
|
+
function ChannelComposer() {
|
|
94
|
+
return (
|
|
95
|
+
<Composer.Frame>
|
|
96
|
+
<Composer.Header />
|
|
97
|
+
<Composer.Input />
|
|
98
|
+
<Composer.Footer>
|
|
99
|
+
<Composer.Attachments />
|
|
100
|
+
<Composer.Formatting />
|
|
101
|
+
<Composer.Emojis />
|
|
102
|
+
<Composer.Submit />
|
|
103
|
+
</Composer.Footer>
|
|
104
|
+
</Composer.Frame>
|
|
105
|
+
)
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// Thread composer - adds "also send to channel" field
|
|
109
|
+
function ThreadComposer({ channelId }: { channelId: string }) {
|
|
110
|
+
return (
|
|
111
|
+
<Composer.Frame>
|
|
112
|
+
<Composer.Header />
|
|
113
|
+
<Composer.Input />
|
|
114
|
+
<AlsoSendToChannelField id={channelId} />
|
|
115
|
+
<Composer.Footer>
|
|
116
|
+
<Composer.Formatting />
|
|
117
|
+
<Composer.Emojis />
|
|
118
|
+
<Composer.Submit />
|
|
119
|
+
</Composer.Footer>
|
|
120
|
+
</Composer.Frame>
|
|
121
|
+
)
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// Edit composer - different footer actions
|
|
125
|
+
function EditComposer() {
|
|
126
|
+
return (
|
|
127
|
+
<Composer.Frame>
|
|
128
|
+
<Composer.Input />
|
|
129
|
+
<Composer.Footer>
|
|
130
|
+
<Composer.Formatting />
|
|
131
|
+
<Composer.Emojis />
|
|
132
|
+
<Composer.CancelEdit />
|
|
133
|
+
<Composer.SaveEdit />
|
|
134
|
+
</Composer.Footer>
|
|
135
|
+
</Composer.Frame>
|
|
136
|
+
)
|
|
137
|
+
}
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
Each variant is explicit about what it renders. We can share internals without
|
|
141
|
+
|
|
142
|
+
sharing a single monolithic parent.
|
|
143
|
+
|
|
144
|
+
### 1.2 Use Compound Components
|
|
145
|
+
|
|
146
|
+
**Impact: HIGH (enables flexible composition without prop drilling)**
|
|
147
|
+
|
|
148
|
+
Structure complex components as compound components with a shared context. Each
|
|
149
|
+
|
|
150
|
+
subcomponent accesses shared state via context, not props. Consumers compose the
|
|
151
|
+
|
|
152
|
+
pieces they need.
|
|
153
|
+
|
|
154
|
+
**Incorrect: monolithic component with render props**
|
|
155
|
+
|
|
156
|
+
```tsx
|
|
157
|
+
function Composer({
|
|
158
|
+
renderHeader,
|
|
159
|
+
renderFooter,
|
|
160
|
+
renderActions,
|
|
161
|
+
showAttachments,
|
|
162
|
+
showFormatting,
|
|
163
|
+
showEmojis,
|
|
164
|
+
}: Props) {
|
|
165
|
+
return (
|
|
166
|
+
<form>
|
|
167
|
+
{renderHeader?.()}
|
|
168
|
+
<Input />
|
|
169
|
+
{showAttachments && <Attachments />}
|
|
170
|
+
{renderFooter ? (
|
|
171
|
+
renderFooter()
|
|
172
|
+
) : (
|
|
173
|
+
<Footer>
|
|
174
|
+
{showFormatting && <Formatting />}
|
|
175
|
+
{showEmojis && <Emojis />}
|
|
176
|
+
{renderActions?.()}
|
|
177
|
+
</Footer>
|
|
178
|
+
)}
|
|
179
|
+
</form>
|
|
180
|
+
)
|
|
181
|
+
}
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
**Correct: compound components with shared context**
|
|
185
|
+
|
|
186
|
+
```tsx
|
|
187
|
+
const ComposerContext = createContext<ComposerContextValue | null>(null)
|
|
188
|
+
|
|
189
|
+
function ComposerProvider({ children, state, actions, meta }: ProviderProps) {
|
|
190
|
+
return (
|
|
191
|
+
<ComposerContext value={{ state, actions, meta }}>
|
|
192
|
+
{children}
|
|
193
|
+
</ComposerContext>
|
|
194
|
+
)
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
function ComposerFrame({ children }: { children: React.ReactNode }) {
|
|
198
|
+
return <form>{children}</form>
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
function ComposerInput() {
|
|
202
|
+
const {
|
|
203
|
+
state,
|
|
204
|
+
actions: { update },
|
|
205
|
+
meta: { inputRef },
|
|
206
|
+
} = use(ComposerContext)
|
|
207
|
+
return (
|
|
208
|
+
<TextInput
|
|
209
|
+
ref={inputRef}
|
|
210
|
+
value={state.input}
|
|
211
|
+
onChangeText={(text) => update((s) => ({ ...s, input: text }))}
|
|
212
|
+
/>
|
|
213
|
+
)
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
function ComposerSubmit() {
|
|
217
|
+
const {
|
|
218
|
+
actions: { submit },
|
|
219
|
+
} = use(ComposerContext)
|
|
220
|
+
return <Button onPress={submit}>Send</Button>
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// Export as compound component
|
|
224
|
+
const Composer = {
|
|
225
|
+
Provider: ComposerProvider,
|
|
226
|
+
Frame: ComposerFrame,
|
|
227
|
+
Input: ComposerInput,
|
|
228
|
+
Submit: ComposerSubmit,
|
|
229
|
+
Header: ComposerHeader,
|
|
230
|
+
Footer: ComposerFooter,
|
|
231
|
+
Attachments: ComposerAttachments,
|
|
232
|
+
Formatting: ComposerFormatting,
|
|
233
|
+
Emojis: ComposerEmojis,
|
|
234
|
+
}
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
**Usage:**
|
|
238
|
+
|
|
239
|
+
```tsx
|
|
240
|
+
<Composer.Provider state={state} actions={actions} meta={meta}>
|
|
241
|
+
<Composer.Frame>
|
|
242
|
+
<Composer.Header />
|
|
243
|
+
<Composer.Input />
|
|
244
|
+
<Composer.Footer>
|
|
245
|
+
<Composer.Formatting />
|
|
246
|
+
<Composer.Submit />
|
|
247
|
+
</Composer.Footer>
|
|
248
|
+
</Composer.Frame>
|
|
249
|
+
</Composer.Provider>
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
Consumers explicitly compose exactly what they need. No hidden conditionals. And the state, actions and meta are dependency-injected by a parent provider, allowing multiple usages of the same component structure.
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
## 2. State Management
|
|
257
|
+
|
|
258
|
+
**Impact: MEDIUM**
|
|
259
|
+
|
|
260
|
+
Patterns for lifting state and managing shared context across
|
|
261
|
+
composed components.
|
|
262
|
+
|
|
263
|
+
### 2.1 Decouple State Management from UI
|
|
264
|
+
|
|
265
|
+
**Impact: MEDIUM (enables swapping state implementations without changing UI)**
|
|
266
|
+
|
|
267
|
+
The provider component should be the only place that knows how state is managed.
|
|
268
|
+
|
|
269
|
+
UI components consume the context interface—they don't know if state comes from
|
|
270
|
+
|
|
271
|
+
useState, Zustand, or a server sync.
|
|
272
|
+
|
|
273
|
+
**Incorrect: UI coupled to state implementation**
|
|
274
|
+
|
|
275
|
+
```tsx
|
|
276
|
+
function ChannelComposer({ channelId }: { channelId: string }) {
|
|
277
|
+
// UI component knows about global state implementation
|
|
278
|
+
const state = useGlobalChannelState(channelId)
|
|
279
|
+
const { submit, updateInput } = useChannelSync(channelId)
|
|
280
|
+
|
|
281
|
+
return (
|
|
282
|
+
<Composer.Frame>
|
|
283
|
+
<Composer.Input
|
|
284
|
+
value={state.input}
|
|
285
|
+
onChange={(text) => sync.updateInput(text)}
|
|
286
|
+
/>
|
|
287
|
+
<Composer.Submit onPress={() => sync.submit()} />
|
|
288
|
+
</Composer.Frame>
|
|
289
|
+
)
|
|
290
|
+
}
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
**Correct: state management isolated in provider**
|
|
294
|
+
|
|
295
|
+
```tsx
|
|
296
|
+
// Provider handles all state management details
|
|
297
|
+
function ChannelProvider({
|
|
298
|
+
channelId,
|
|
299
|
+
children,
|
|
300
|
+
}: {
|
|
301
|
+
channelId: string
|
|
302
|
+
children: React.ReactNode
|
|
303
|
+
}) {
|
|
304
|
+
const { state, update, submit } = useGlobalChannel(channelId)
|
|
305
|
+
const inputRef = useRef(null)
|
|
306
|
+
|
|
307
|
+
return (
|
|
308
|
+
<Composer.Provider
|
|
309
|
+
state={state}
|
|
310
|
+
actions={{ update, submit }}
|
|
311
|
+
meta={{ inputRef }}
|
|
312
|
+
>
|
|
313
|
+
{children}
|
|
314
|
+
</Composer.Provider>
|
|
315
|
+
)
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// UI component only knows about the context interface
|
|
319
|
+
function ChannelComposer() {
|
|
320
|
+
return (
|
|
321
|
+
<Composer.Frame>
|
|
322
|
+
<Composer.Header />
|
|
323
|
+
<Composer.Input />
|
|
324
|
+
<Composer.Footer>
|
|
325
|
+
<Composer.Submit />
|
|
326
|
+
</Composer.Footer>
|
|
327
|
+
</Composer.Frame>
|
|
328
|
+
)
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
// Usage
|
|
332
|
+
function Channel({ channelId }: { channelId: string }) {
|
|
333
|
+
return (
|
|
334
|
+
<ChannelProvider channelId={channelId}>
|
|
335
|
+
<ChannelComposer />
|
|
336
|
+
</ChannelProvider>
|
|
337
|
+
)
|
|
338
|
+
}
|
|
339
|
+
```
|
|
340
|
+
|
|
341
|
+
**Different providers, same UI:**
|
|
342
|
+
|
|
343
|
+
```tsx
|
|
344
|
+
// Local state for ephemeral forms
|
|
345
|
+
function ForwardMessageProvider({ children }) {
|
|
346
|
+
const [state, setState] = useState(initialState)
|
|
347
|
+
const forwardMessage = useForwardMessage()
|
|
348
|
+
|
|
349
|
+
return (
|
|
350
|
+
<Composer.Provider
|
|
351
|
+
state={state}
|
|
352
|
+
actions={{ update: setState, submit: forwardMessage }}
|
|
353
|
+
>
|
|
354
|
+
{children}
|
|
355
|
+
</Composer.Provider>
|
|
356
|
+
)
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
// Global synced state for channels
|
|
360
|
+
function ChannelProvider({ channelId, children }) {
|
|
361
|
+
const { state, update, submit } = useGlobalChannel(channelId)
|
|
362
|
+
|
|
363
|
+
return (
|
|
364
|
+
<Composer.Provider state={state} actions={{ update, submit }}>
|
|
365
|
+
{children}
|
|
366
|
+
</Composer.Provider>
|
|
367
|
+
)
|
|
368
|
+
}
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
The same `Composer.Input` component works with both providers because it only
|
|
372
|
+
|
|
373
|
+
depends on the context interface, not the implementation.
|
|
374
|
+
|
|
375
|
+
### 2.2 Define Generic Context Interfaces for Dependency Injection
|
|
376
|
+
|
|
377
|
+
**Impact: HIGH (enables dependency-injectable state across use-cases)**
|
|
378
|
+
|
|
379
|
+
Define a **generic interface** for your component context with three parts:
|
|
380
|
+
|
|
381
|
+
`state`, `actions`, and `meta`. This interface is a contract that any provider
|
|
382
|
+
|
|
383
|
+
can implement—enabling the same UI components to work with completely different
|
|
384
|
+
|
|
385
|
+
state implementations.
|
|
386
|
+
|
|
387
|
+
**Core principle:** Lift state, compose internals, make state
|
|
388
|
+
|
|
389
|
+
dependency-injectable.
|
|
390
|
+
|
|
391
|
+
**Incorrect: UI coupled to specific state implementation**
|
|
392
|
+
|
|
393
|
+
```tsx
|
|
394
|
+
function ComposerInput() {
|
|
395
|
+
// Tightly coupled to a specific hook
|
|
396
|
+
const { input, setInput } = useChannelComposerState()
|
|
397
|
+
return <TextInput value={input} onChangeText={setInput} />
|
|
398
|
+
}
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
**Correct: generic interface enables dependency injection**
|
|
402
|
+
|
|
403
|
+
```tsx
|
|
404
|
+
// Define a GENERIC interface that any provider can implement
|
|
405
|
+
interface ComposerState {
|
|
406
|
+
input: string
|
|
407
|
+
attachments: Attachment[]
|
|
408
|
+
isSubmitting: boolean
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
interface ComposerActions {
|
|
412
|
+
update: (updater: (state: ComposerState) => ComposerState) => void
|
|
413
|
+
submit: () => void
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
interface ComposerMeta {
|
|
417
|
+
inputRef: React.RefObject<TextInput>
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
interface ComposerContextValue {
|
|
421
|
+
state: ComposerState
|
|
422
|
+
actions: ComposerActions
|
|
423
|
+
meta: ComposerMeta
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
const ComposerContext = createContext<ComposerContextValue | null>(null)
|
|
427
|
+
```
|
|
428
|
+
|
|
429
|
+
**UI components consume the interface, not the implementation:**
|
|
430
|
+
|
|
431
|
+
```tsx
|
|
432
|
+
function ComposerInput() {
|
|
433
|
+
const {
|
|
434
|
+
state,
|
|
435
|
+
actions: { update },
|
|
436
|
+
meta,
|
|
437
|
+
} = use(ComposerContext)
|
|
438
|
+
|
|
439
|
+
// This component works with ANY provider that implements the interface
|
|
440
|
+
return (
|
|
441
|
+
<TextInput
|
|
442
|
+
ref={meta.inputRef}
|
|
443
|
+
value={state.input}
|
|
444
|
+
onChangeText={(text) => update((s) => ({ ...s, input: text }))}
|
|
445
|
+
/>
|
|
446
|
+
)
|
|
447
|
+
}
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
**Different providers implement the same interface:**
|
|
451
|
+
|
|
452
|
+
```tsx
|
|
453
|
+
// Provider A: Local state for ephemeral forms
|
|
454
|
+
function ForwardMessageProvider({ children }: { children: React.ReactNode }) {
|
|
455
|
+
const [state, setState] = useState(initialState)
|
|
456
|
+
const inputRef = useRef(null)
|
|
457
|
+
const submit = useForwardMessage()
|
|
458
|
+
|
|
459
|
+
return (
|
|
460
|
+
<ComposerContext
|
|
461
|
+
value={{
|
|
462
|
+
state,
|
|
463
|
+
actions: { update: setState, submit },
|
|
464
|
+
meta: { inputRef },
|
|
465
|
+
}}
|
|
466
|
+
>
|
|
467
|
+
{children}
|
|
468
|
+
</ComposerContext>
|
|
469
|
+
)
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
// Provider B: Global synced state for channels
|
|
473
|
+
function ChannelProvider({ channelId, children }: Props) {
|
|
474
|
+
const { state, update, submit } = useGlobalChannel(channelId)
|
|
475
|
+
const inputRef = useRef(null)
|
|
476
|
+
|
|
477
|
+
return (
|
|
478
|
+
<ComposerContext
|
|
479
|
+
value={{
|
|
480
|
+
state,
|
|
481
|
+
actions: { update, submit },
|
|
482
|
+
meta: { inputRef },
|
|
483
|
+
}}
|
|
484
|
+
>
|
|
485
|
+
{children}
|
|
486
|
+
</ComposerContext>
|
|
487
|
+
)
|
|
488
|
+
}
|
|
489
|
+
```
|
|
490
|
+
|
|
491
|
+
**The same composed UI works with both:**
|
|
492
|
+
|
|
493
|
+
```tsx
|
|
494
|
+
// Works with ForwardMessageProvider (local state)
|
|
495
|
+
<ForwardMessageProvider>
|
|
496
|
+
<Composer.Frame>
|
|
497
|
+
<Composer.Input />
|
|
498
|
+
<Composer.Submit />
|
|
499
|
+
</Composer.Frame>
|
|
500
|
+
</ForwardMessageProvider>
|
|
501
|
+
|
|
502
|
+
// Works with ChannelProvider (global synced state)
|
|
503
|
+
<ChannelProvider channelId="abc">
|
|
504
|
+
<Composer.Frame>
|
|
505
|
+
<Composer.Input />
|
|
506
|
+
<Composer.Submit />
|
|
507
|
+
</Composer.Frame>
|
|
508
|
+
</ChannelProvider>
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
**Custom UI outside the component can access state and actions:**
|
|
512
|
+
|
|
513
|
+
```tsx
|
|
514
|
+
function ForwardMessageDialog() {
|
|
515
|
+
return (
|
|
516
|
+
<ForwardMessageProvider>
|
|
517
|
+
<Dialog>
|
|
518
|
+
{/* The composer UI */}
|
|
519
|
+
<Composer.Frame>
|
|
520
|
+
<Composer.Input placeholder="Add a message, if you'd like." />
|
|
521
|
+
<Composer.Footer>
|
|
522
|
+
<Composer.Formatting />
|
|
523
|
+
<Composer.Emojis />
|
|
524
|
+
</Composer.Footer>
|
|
525
|
+
</Composer.Frame>
|
|
526
|
+
|
|
527
|
+
{/* Custom UI OUTSIDE the composer, but INSIDE the provider */}
|
|
528
|
+
<MessagePreview />
|
|
529
|
+
|
|
530
|
+
{/* Actions at the bottom of the dialog */}
|
|
531
|
+
<DialogActions>
|
|
532
|
+
<CancelButton />
|
|
533
|
+
<ForwardButton />
|
|
534
|
+
</DialogActions>
|
|
535
|
+
</Dialog>
|
|
536
|
+
</ForwardMessageProvider>
|
|
537
|
+
)
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
// This button lives OUTSIDE Composer.Frame but can still submit based on its context!
|
|
541
|
+
function ForwardButton() {
|
|
542
|
+
const {
|
|
543
|
+
actions: { submit },
|
|
544
|
+
} = use(ComposerContext)
|
|
545
|
+
return <Button onPress={submit}>Forward</Button>
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
// This preview lives OUTSIDE Composer.Frame but can read composer's state!
|
|
549
|
+
function MessagePreview() {
|
|
550
|
+
const { state } = use(ComposerContext)
|
|
551
|
+
return <Preview message={state.input} attachments={state.attachments} />
|
|
552
|
+
}
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
The provider boundary is what matters—not the visual nesting. Components that
|
|
556
|
+
|
|
557
|
+
need shared state don't have to be inside the `Composer.Frame`. They just need
|
|
558
|
+
|
|
559
|
+
to be within the provider.
|
|
560
|
+
|
|
561
|
+
The `ForwardButton` and `MessagePreview` are not visually inside the composer
|
|
562
|
+
|
|
563
|
+
box, but they can still access its state and actions. This is the power of
|
|
564
|
+
|
|
565
|
+
lifting state into providers.
|
|
566
|
+
|
|
567
|
+
The UI is reusable bits you compose together. The state is dependency-injected
|
|
568
|
+
|
|
569
|
+
by the provider. Swap the provider, keep the UI.
|
|
570
|
+
|
|
571
|
+
### 2.3 Lift State into Provider Components
|
|
572
|
+
|
|
573
|
+
**Impact: HIGH (enables state sharing outside component boundaries)**
|
|
574
|
+
|
|
575
|
+
Move state management into dedicated provider components. This allows sibling
|
|
576
|
+
|
|
577
|
+
components outside the main UI to access and modify state without prop drilling
|
|
578
|
+
|
|
579
|
+
or awkward refs.
|
|
580
|
+
|
|
581
|
+
**Incorrect: state trapped inside component**
|
|
582
|
+
|
|
583
|
+
```tsx
|
|
584
|
+
function ForwardMessageComposer() {
|
|
585
|
+
const [state, setState] = useState(initialState)
|
|
586
|
+
const forwardMessage = useForwardMessage()
|
|
587
|
+
|
|
588
|
+
return (
|
|
589
|
+
<Composer.Frame>
|
|
590
|
+
<Composer.Input />
|
|
591
|
+
<Composer.Footer />
|
|
592
|
+
</Composer.Frame>
|
|
593
|
+
)
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
// Problem: How does this button access composer state?
|
|
597
|
+
function ForwardMessageDialog() {
|
|
598
|
+
return (
|
|
599
|
+
<Dialog>
|
|
600
|
+
<ForwardMessageComposer />
|
|
601
|
+
<MessagePreview /> {/* Needs composer state */}
|
|
602
|
+
<DialogActions>
|
|
603
|
+
<CancelButton />
|
|
604
|
+
<ForwardButton /> {/* Needs to call submit */}
|
|
605
|
+
</DialogActions>
|
|
606
|
+
</Dialog>
|
|
607
|
+
)
|
|
608
|
+
}
|
|
609
|
+
```
|
|
610
|
+
|
|
611
|
+
**Incorrect: useEffect to sync state up**
|
|
612
|
+
|
|
613
|
+
```tsx
|
|
614
|
+
function ForwardMessageDialog() {
|
|
615
|
+
const [input, setInput] = useState('')
|
|
616
|
+
return (
|
|
617
|
+
<Dialog>
|
|
618
|
+
<ForwardMessageComposer onInputChange={setInput} />
|
|
619
|
+
<MessagePreview input={input} />
|
|
620
|
+
</Dialog>
|
|
621
|
+
)
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
function ForwardMessageComposer({ onInputChange }) {
|
|
625
|
+
const [state, setState] = useState(initialState)
|
|
626
|
+
useEffect(() => {
|
|
627
|
+
onInputChange(state.input) // Sync on every change 😬
|
|
628
|
+
}, [state.input])
|
|
629
|
+
}
|
|
630
|
+
```
|
|
631
|
+
|
|
632
|
+
**Incorrect: reading state from ref on submit**
|
|
633
|
+
|
|
634
|
+
```tsx
|
|
635
|
+
function ForwardMessageDialog() {
|
|
636
|
+
const stateRef = useRef(null)
|
|
637
|
+
return (
|
|
638
|
+
<Dialog>
|
|
639
|
+
<ForwardMessageComposer stateRef={stateRef} />
|
|
640
|
+
<ForwardButton onPress={() => submit(stateRef.current)} />
|
|
641
|
+
</Dialog>
|
|
642
|
+
)
|
|
643
|
+
}
|
|
644
|
+
```
|
|
645
|
+
|
|
646
|
+
**Correct: state lifted to provider**
|
|
647
|
+
|
|
648
|
+
```tsx
|
|
649
|
+
function ForwardMessageProvider({ children }: { children: React.ReactNode }) {
|
|
650
|
+
const [state, setState] = useState(initialState)
|
|
651
|
+
const forwardMessage = useForwardMessage()
|
|
652
|
+
const inputRef = useRef(null)
|
|
653
|
+
|
|
654
|
+
return (
|
|
655
|
+
<Composer.Provider
|
|
656
|
+
state={state}
|
|
657
|
+
actions={{ update: setState, submit: forwardMessage }}
|
|
658
|
+
meta={{ inputRef }}
|
|
659
|
+
>
|
|
660
|
+
{children}
|
|
661
|
+
</Composer.Provider>
|
|
662
|
+
)
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
function ForwardMessageDialog() {
|
|
666
|
+
return (
|
|
667
|
+
<ForwardMessageProvider>
|
|
668
|
+
<Dialog>
|
|
669
|
+
<ForwardMessageComposer />
|
|
670
|
+
<MessagePreview /> {/* Custom components can access state and actions */}
|
|
671
|
+
<DialogActions>
|
|
672
|
+
<CancelButton />
|
|
673
|
+
<ForwardButton /> {/* Custom components can access state and actions */}
|
|
674
|
+
</DialogActions>
|
|
675
|
+
</Dialog>
|
|
676
|
+
</ForwardMessageProvider>
|
|
677
|
+
)
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
function ForwardButton() {
|
|
681
|
+
const { actions } = use(Composer.Context)
|
|
682
|
+
return <Button onPress={actions.submit}>Forward</Button>
|
|
683
|
+
}
|
|
684
|
+
```
|
|
685
|
+
|
|
686
|
+
The ForwardButton lives outside the Composer.Frame but still has access to the
|
|
687
|
+
|
|
688
|
+
submit action because it's within the provider. Even though it's a one-off
|
|
689
|
+
|
|
690
|
+
component, it can still access the composer's state and actions from outside the
|
|
691
|
+
|
|
692
|
+
UI itself.
|
|
693
|
+
|
|
694
|
+
**Key insight:** Components that need shared state don't have to be visually
|
|
695
|
+
|
|
696
|
+
nested inside each other—they just need to be within the same provider.
|
|
697
|
+
|
|
698
|
+
---
|
|
699
|
+
|
|
700
|
+
## 3. Implementation Patterns
|
|
701
|
+
|
|
702
|
+
**Impact: MEDIUM**
|
|
703
|
+
|
|
704
|
+
Specific techniques for implementing compound components and
|
|
705
|
+
context providers.
|
|
706
|
+
|
|
707
|
+
### 3.1 Create Explicit Component Variants
|
|
708
|
+
|
|
709
|
+
**Impact: MEDIUM (self-documenting code, no hidden conditionals)**
|
|
710
|
+
|
|
711
|
+
Instead of one component with many boolean props, create explicit variant
|
|
712
|
+
|
|
713
|
+
components. Each variant composes the pieces it needs. The code documents
|
|
714
|
+
|
|
715
|
+
itself.
|
|
716
|
+
|
|
717
|
+
**Incorrect: one component, many modes**
|
|
718
|
+
|
|
719
|
+
```tsx
|
|
720
|
+
// What does this component actually render?
|
|
721
|
+
<Composer
|
|
722
|
+
isThread
|
|
723
|
+
isEditing={false}
|
|
724
|
+
channelId='abc'
|
|
725
|
+
showAttachments
|
|
726
|
+
showFormatting={false}
|
|
727
|
+
/>
|
|
728
|
+
```
|
|
729
|
+
|
|
730
|
+
**Correct: explicit variants**
|
|
731
|
+
|
|
732
|
+
```tsx
|
|
733
|
+
// Immediately clear what this renders
|
|
734
|
+
<ThreadComposer channelId="abc" />
|
|
735
|
+
|
|
736
|
+
// Or
|
|
737
|
+
<EditMessageComposer messageId="xyz" />
|
|
738
|
+
|
|
739
|
+
// Or
|
|
740
|
+
<ForwardMessageComposer messageId="123" />
|
|
741
|
+
```
|
|
742
|
+
|
|
743
|
+
Each implementation is unique, explicit and self-contained. Yet they can each
|
|
744
|
+
|
|
745
|
+
use shared parts.
|
|
746
|
+
|
|
747
|
+
**Implementation:**
|
|
748
|
+
|
|
749
|
+
```tsx
|
|
750
|
+
function ThreadComposer({ channelId }: { channelId: string }) {
|
|
751
|
+
return (
|
|
752
|
+
<ThreadProvider channelId={channelId}>
|
|
753
|
+
<Composer.Frame>
|
|
754
|
+
<Composer.Input />
|
|
755
|
+
<AlsoSendToChannelField channelId={channelId} />
|
|
756
|
+
<Composer.Footer>
|
|
757
|
+
<Composer.Formatting />
|
|
758
|
+
<Composer.Emojis />
|
|
759
|
+
<Composer.Submit />
|
|
760
|
+
</Composer.Footer>
|
|
761
|
+
</Composer.Frame>
|
|
762
|
+
</ThreadProvider>
|
|
763
|
+
)
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
function EditMessageComposer({ messageId }: { messageId: string }) {
|
|
767
|
+
return (
|
|
768
|
+
<EditMessageProvider messageId={messageId}>
|
|
769
|
+
<Composer.Frame>
|
|
770
|
+
<Composer.Input />
|
|
771
|
+
<Composer.Footer>
|
|
772
|
+
<Composer.Formatting />
|
|
773
|
+
<Composer.Emojis />
|
|
774
|
+
<Composer.CancelEdit />
|
|
775
|
+
<Composer.SaveEdit />
|
|
776
|
+
</Composer.Footer>
|
|
777
|
+
</Composer.Frame>
|
|
778
|
+
</EditMessageProvider>
|
|
779
|
+
)
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
function ForwardMessageComposer({ messageId }: { messageId: string }) {
|
|
783
|
+
return (
|
|
784
|
+
<ForwardMessageProvider messageId={messageId}>
|
|
785
|
+
<Composer.Frame>
|
|
786
|
+
<Composer.Input placeholder="Add a message, if you'd like." />
|
|
787
|
+
<Composer.Footer>
|
|
788
|
+
<Composer.Formatting />
|
|
789
|
+
<Composer.Emojis />
|
|
790
|
+
<Composer.Mentions />
|
|
791
|
+
</Composer.Footer>
|
|
792
|
+
</Composer.Frame>
|
|
793
|
+
</ForwardMessageProvider>
|
|
794
|
+
)
|
|
795
|
+
}
|
|
796
|
+
```
|
|
797
|
+
|
|
798
|
+
Each variant is explicit about:
|
|
799
|
+
|
|
800
|
+
- What provider/state it uses
|
|
801
|
+
|
|
802
|
+
- What UI elements it includes
|
|
803
|
+
|
|
804
|
+
- What actions are available
|
|
805
|
+
|
|
806
|
+
No boolean prop combinations to reason about. No impossible states.
|
|
807
|
+
|
|
808
|
+
### 3.2 Prefer Composing Children Over Render Props
|
|
809
|
+
|
|
810
|
+
**Impact: MEDIUM (cleaner composition, better readability)**
|
|
811
|
+
|
|
812
|
+
Use `children` for composition instead of `renderX` props. Children are more
|
|
813
|
+
|
|
814
|
+
readable, compose naturally, and don't require understanding callback
|
|
815
|
+
|
|
816
|
+
signatures.
|
|
817
|
+
|
|
818
|
+
**Incorrect: render props**
|
|
819
|
+
|
|
820
|
+
```tsx
|
|
821
|
+
function Composer({
|
|
822
|
+
renderHeader,
|
|
823
|
+
renderFooter,
|
|
824
|
+
renderActions,
|
|
825
|
+
}: {
|
|
826
|
+
renderHeader?: () => React.ReactNode
|
|
827
|
+
renderFooter?: () => React.ReactNode
|
|
828
|
+
renderActions?: () => React.ReactNode
|
|
829
|
+
}) {
|
|
830
|
+
return (
|
|
831
|
+
<form>
|
|
832
|
+
{renderHeader?.()}
|
|
833
|
+
<Input />
|
|
834
|
+
{renderFooter ? renderFooter() : <DefaultFooter />}
|
|
835
|
+
{renderActions?.()}
|
|
836
|
+
</form>
|
|
837
|
+
)
|
|
838
|
+
}
|
|
839
|
+
|
|
840
|
+
// Usage is awkward and inflexible
|
|
841
|
+
return (
|
|
842
|
+
<Composer
|
|
843
|
+
renderHeader={() => <CustomHeader />}
|
|
844
|
+
renderFooter={() => (
|
|
845
|
+
<>
|
|
846
|
+
<Formatting />
|
|
847
|
+
<Emojis />
|
|
848
|
+
</>
|
|
849
|
+
)}
|
|
850
|
+
renderActions={() => <SubmitButton />}
|
|
851
|
+
/>
|
|
852
|
+
)
|
|
853
|
+
```
|
|
854
|
+
|
|
855
|
+
**Correct: compound components with children**
|
|
856
|
+
|
|
857
|
+
```tsx
|
|
858
|
+
function ComposerFrame({ children }: { children: React.ReactNode }) {
|
|
859
|
+
return <form>{children}</form>
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
function ComposerFooter({ children }: { children: React.ReactNode }) {
|
|
863
|
+
return <footer className='flex'>{children}</footer>
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
// Usage is flexible
|
|
867
|
+
return (
|
|
868
|
+
<Composer.Frame>
|
|
869
|
+
<CustomHeader />
|
|
870
|
+
<Composer.Input />
|
|
871
|
+
<Composer.Footer>
|
|
872
|
+
<Composer.Formatting />
|
|
873
|
+
<Composer.Emojis />
|
|
874
|
+
<SubmitButton />
|
|
875
|
+
</Composer.Footer>
|
|
876
|
+
</Composer.Frame>
|
|
877
|
+
)
|
|
878
|
+
```
|
|
879
|
+
|
|
880
|
+
**When render props are appropriate:**
|
|
881
|
+
|
|
882
|
+
```tsx
|
|
883
|
+
// Render props work well when you need to pass data back
|
|
884
|
+
<List
|
|
885
|
+
data={items}
|
|
886
|
+
renderItem={({ item, index }) => <Item item={item} index={index} />}
|
|
887
|
+
/>
|
|
888
|
+
```
|
|
889
|
+
|
|
890
|
+
Use render props when the parent needs to provide data or state to the child.
|
|
891
|
+
|
|
892
|
+
Use children when composing static structure.
|
|
893
|
+
|
|
894
|
+
---
|
|
895
|
+
|
|
896
|
+
## 4. React 19 APIs
|
|
897
|
+
|
|
898
|
+
**Impact: MEDIUM**
|
|
899
|
+
|
|
900
|
+
React 19+ only. Don't use `forwardRef`; use `use()` instead of `useContext()`.
|
|
901
|
+
|
|
902
|
+
### 4.1 React 19 API Changes
|
|
903
|
+
|
|
904
|
+
**Impact: MEDIUM (cleaner component definitions and context usage)**
|
|
905
|
+
|
|
906
|
+
> **⚠️ React 19+ only.** Skip this if you're on React 18 or earlier.
|
|
907
|
+
|
|
908
|
+
In React 19, `ref` is now a regular prop (no `forwardRef` wrapper needed), and `use()` replaces `useContext()`.
|
|
909
|
+
|
|
910
|
+
**Incorrect: forwardRef in React 19**
|
|
911
|
+
|
|
912
|
+
```tsx
|
|
913
|
+
const ComposerInput = forwardRef<TextInput, Props>((props, ref) => {
|
|
914
|
+
return <TextInput ref={ref} {...props} />
|
|
915
|
+
})
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
**Correct: ref as a regular prop**
|
|
919
|
+
|
|
920
|
+
```tsx
|
|
921
|
+
function ComposerInput({ ref, ...props }: Props & { ref?: React.Ref<TextInput> }) {
|
|
922
|
+
return <TextInput ref={ref} {...props} />
|
|
923
|
+
}
|
|
924
|
+
```
|
|
925
|
+
|
|
926
|
+
**Incorrect: useContext in React 19**
|
|
927
|
+
|
|
928
|
+
```tsx
|
|
929
|
+
const value = useContext(MyContext)
|
|
930
|
+
```
|
|
931
|
+
|
|
932
|
+
**Correct: use instead of useContext**
|
|
933
|
+
|
|
934
|
+
```tsx
|
|
935
|
+
const value = use(MyContext)
|
|
936
|
+
```
|
|
937
|
+
|
|
938
|
+
`use()` can also be called conditionally, unlike `useContext()`.
|
|
939
|
+
|
|
940
|
+
---
|
|
941
|
+
|
|
942
|
+
## References
|
|
943
|
+
|
|
944
|
+
1. [https://react.dev](https://react.dev)
|
|
945
|
+
2. [https://react.dev/learn/passing-data-deeply-with-context](https://react.dev/learn/passing-data-deeply-with-context)
|
|
946
|
+
3. [https://react.dev/reference/react/use](https://react.dev/reference/react/use)
|