create-huenei-template 0.2.17 → 0.3.1

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.
Files changed (1058) hide show
  1. package/dist/config/templates.js +7 -0
  2. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-builder.agent.md +98 -0
  3. package/dist/templates/frontend/hub-pre-sales/.cursor/agents/qa-test-expert.agent.md +48 -0
  4. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/new-component.md +192 -0
  5. package/dist/templates/frontend/hub-pre-sales/.cursor/commands/prepare-preview.md +48 -0
  6. package/dist/templates/frontend/hub-pre-sales/.cursor/context/pre-sales.md +94 -0
  7. package/dist/templates/frontend/hub-pre-sales/.cursor/hooks/injectPreSalesContext.ts +103 -0
  8. package/dist/templates/frontend/hub-pre-sales/.cursor/hooks.json +23 -0
  9. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/anti-generic-ui.mdc +39 -0
  10. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/architech.mdc +202 -0
  11. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/component-patterns.mdc +87 -0
  12. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/domain-business-bootstrap.mdc +74 -0
  13. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/form-patterns.mdc +74 -0
  14. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/gsap-animations.mdc +46 -0
  15. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/mock-data.mdc +61 -0
  16. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/pre-sales-mode.mdc +48 -0
  17. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/restrictions.mdc +42 -0
  18. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/routing-patterns.mdc +81 -0
  19. package/dist/templates/frontend/hub-pre-sales/.cursor/rules/separation-of-concerns.mdc +41 -0
  20. package/dist/templates/frontend/hub-pre-sales/.cursor/settings.json +13 -0
  21. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/adapt/SKILL.md +199 -0
  22. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/animate/SKILL.md +188 -0
  23. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/audit/SKILL.md +148 -0
  24. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/bolder/SKILL.md +117 -0
  25. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/clarify/SKILL.md +183 -0
  26. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/colorize/SKILL.md +143 -0
  27. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/critique/SKILL.md +225 -0
  28. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/cognitive-load.md +106 -0
  29. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/heuristics-scoring.md +234 -0
  30. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/personas.md +178 -0
  31. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/daisyui/SKILL.md +1374 -0
  32. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/delight/SKILL.md +303 -0
  33. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/distill/SKILL.md +122 -0
  34. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-core/SKILL.md +254 -0
  35. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-frameworks/SKILL.md +266 -0
  36. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-performance/SKILL.md +79 -0
  37. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-plugins/SKILL.md +433 -0
  38. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-react/SKILL.md +136 -0
  39. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-scrolltrigger/SKILL.md +296 -0
  40. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-timeline/SKILL.md +107 -0
  41. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-utils/SKILL.md +284 -0
  42. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/SKILL.md +365 -0
  43. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/color-and-contrast.md +105 -0
  44. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/craft.md +70 -0
  45. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/extract.md +70 -0
  46. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/interaction-design.md +195 -0
  47. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/motion-design.md +99 -0
  48. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/responsive-design.md +114 -0
  49. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/spatial-design.md +100 -0
  50. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/typography.md +142 -0
  51. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/ux-writing.md +107 -0
  52. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/scripts/cleanup-deprecated.mjs +214 -0
  53. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/layout/SKILL.md +125 -0
  54. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/mock-data-patterns/SKILL.md +175 -0
  55. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/optimize/SKILL.md +266 -0
  56. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/overdrive/SKILL.md +142 -0
  57. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/polish/SKILL.md +224 -0
  58. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/quieter/SKILL.md +103 -0
  59. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/AGENTS.md +97 -0
  60. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/SKILL.md +116 -0
  61. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
  62. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
  63. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
  64. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
  65. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
  66. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
  67. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
  68. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
  69. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
  70. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
  71. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
  72. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
  73. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
  74. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
  75. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
  76. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
  77. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
  78. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
  79. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
  80. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
  81. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
  82. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
  83. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
  84. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
  85. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
  86. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
  87. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
  88. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
  89. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
  90. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
  91. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
  92. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
  93. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
  94. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
  95. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
  96. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
  97. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
  98. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
  99. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
  100. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
  101. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
  102. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
  103. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/SKILL.md +412 -0
  104. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/accessibility.md +359 -0
  105. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/error-handling.md +255 -0
  106. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
  107. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
  108. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
  109. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
  110. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/top-errors.md +381 -0
  111. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
  112. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
  113. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
  114. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
  115. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
  116. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
  117. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
  118. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
  119. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
  120. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/package.json +35 -0
  121. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
  122. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
  123. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/.claude-plugin/plugin.json +12 -0
  124. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/SKILL.md +412 -0
  125. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/aspect-ratio.md +513 -0
  126. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/lazy-loading.md +397 -0
  127. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/modern-formats.md +526 -0
  128. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/picture-element.md +593 -0
  129. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/srcset-sizes.md +295 -0
  130. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/rules/responsive-images.md +418 -0
  131. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/templates/image-component.tsx +231 -0
  132. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/.claude-plugin/plugin.json +13 -0
  133. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/SKILL.md +487 -0
  134. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/agents/seo-generator.md +290 -0
  135. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/canonical-urls.md +429 -0
  136. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/json-ld.md +599 -0
  137. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/meta-description.md +426 -0
  138. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/open-graph.md +443 -0
  139. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/title-patterns.md +333 -0
  140. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/twitter-cards.md +423 -0
  141. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/rules/seo-meta.md +157 -0
  142. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
  143. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
  144. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
  145. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/meta-component.tsx +275 -0
  146. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/SKILL.md +1677 -0
  147. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/learn.md +145 -0
  148. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
  149. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/reference.md +586 -0
  150. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/ui-reference.md +1578 -0
  151. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/shape/SKILL.md +96 -0
  152. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
  153. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/SKILL.md +508 -0
  154. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/button-patterns.md +234 -0
  155. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/card-patterns.md +533 -0
  156. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
  157. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/form-patterns.md +403 -0
  158. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/layout-patterns.md +542 -0
  159. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
  160. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/typography-patterns.md +338 -0
  161. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
  162. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
  163. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
  164. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
  165. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
  166. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
  167. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/SKILL.md +665 -0
  168. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
  169. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
  170. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
  171. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
  172. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
  173. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
  174. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/components.json +20 -0
  175. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/index.css +140 -0
  176. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
  177. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
  178. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
  179. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
  180. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-accessibility/SKILL.md +780 -0
  181. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-components/SKILL.md +718 -0
  182. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
  183. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
  184. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-animations/SKILL.md +432 -0
  185. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
  186. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-debugging/SKILL.md +354 -0
  187. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
  188. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-framework-integration/SKILL.md +578 -0
  189. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
  190. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
  191. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
  192. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
  193. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-mobile-first/SKILL.md +768 -0
  194. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-performance/SKILL.md +374 -0
  195. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
  196. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-plugins/SKILL.md +505 -0
  197. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
  198. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
  199. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
  200. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/SKILL.md +1058 -0
  201. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/assets/example-template.txt +14 -0
  202. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/best-practices.md +304 -0
  203. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/common-patterns.md +271 -0
  204. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/example-reference.md +26 -0
  205. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/testing.md +282 -0
  206. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/top-errors.md +332 -0
  207. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/typescript-patterns.md +291 -0
  208. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
  209. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/rules/tanstack-query.md +126 -0
  210. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/scripts/example-script.sh +15 -0
  211. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
  212. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
  213. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/error-boundary.tsx +243 -0
  214. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/package.json +31 -0
  215. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/provider-setup.tsx +50 -0
  216. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/query-client-config.ts +72 -0
  217. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
  218. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
  219. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
  220. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
  221. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
  222. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/SKILL.md +663 -0
  223. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/references/common-errors.md +77 -0
  224. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/rules/tanstack-router.md +125 -0
  225. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/package.json +26 -0
  226. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/route-examples.tsx +126 -0
  227. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/vite.config.ts +16 -0
  228. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
  229. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/REVIEW_REPORT.md +299 -0
  230. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/SKILL.md +781 -0
  231. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/planning/stability-tracker.md +49 -0
  232. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
  233. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/SKILL.md +573 -0
  234. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
  235. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/common-errors.md +208 -0
  236. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/performance-virtualization.md +106 -0
  237. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/query-integration.md +195 -0
  238. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/server-side-patterns.md +357 -0
  239. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/rules/tanstack-table.md +151 -0
  240. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
  241. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/column-configuration.tsx +177 -0
  242. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
  243. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/package.json +25 -0
  244. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
  245. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
  246. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
  247. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/.claude-plugin/plugin.json +12 -0
  248. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/SKILL.md +504 -0
  249. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/rules/testing-library-patterns.md +97 -0
  250. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/templates/msw-handlers.ts +117 -0
  251. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/templates/setup.ts +57 -0
  252. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
  253. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/SKILL.md +400 -0
  254. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/coverage.md +458 -0
  255. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/create-tests.md +362 -0
  256. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/run-tests.md +336 -0
  257. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/references/validation-rules.md +222 -0
  258. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/templates/test-agent.md +132 -0
  259. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/templates/test-spec.yaml +69 -0
  260. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/typeset/SKILL.md +116 -0
  261. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/.claude-plugin/plugin.json +12 -0
  262. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/SKILL.md +493 -0
  263. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/rules/vitest-patterns.md +100 -0
  264. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/templates/test-utils.ts +86 -0
  265. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/vitest/templates/vitest.config.ts +39 -0
  266. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/web-design-guidelines/SKILL.md +39 -0
  267. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/AGENTS.md +97 -0
  268. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/SKILL.md +127 -0
  269. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-intersection.md +144 -0
  270. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-lazy-recursive.md +143 -0
  271. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-pipe.md +113 -0
  272. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-preprocess.md +142 -0
  273. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-shared-schemas.md +137 -0
  274. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
  275. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-custom-messages.md +118 -0
  276. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-i18n.md +145 -0
  277. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-path-for-nested.md +130 -0
  278. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-use-flatten.md +131 -0
  279. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-discriminated-unions.md +138 -0
  280. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-extend-for-composition.md +147 -0
  281. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-optional-vs-nullable.md +117 -0
  282. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-partial-for-updates.md +123 -0
  283. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-pick-omit.md +146 -0
  284. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-strict-vs-strip.md +109 -0
  285. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-async-for-async-refinements.md +118 -0
  286. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-avoid-double-validation.md +129 -0
  287. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-handle-all-issues.md +125 -0
  288. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-never-trust-json.md +113 -0
  289. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-use-safeparse.md +102 -0
  290. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-validate-early.md +120 -0
  291. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-arrays.md +153 -0
  292. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
  293. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-cache-schemas.md +138 -0
  294. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-lazy-loading.md +135 -0
  295. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-zod-mini.md +117 -0
  296. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-add-path.md +141 -0
  297. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-catch.md +143 -0
  298. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-defaults.md +131 -0
  299. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-transform-coerce.md +105 -0
  300. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-vs-superrefine.md +152 -0
  301. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
  302. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-coercion-for-form-data.md +88 -0
  303. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-string-validations.md +90 -0
  304. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-enums.md +107 -0
  305. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-primitives-correctly.md +61 -0
  306. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-unknown-not-any.md +88 -0
  307. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-branded-types.md +102 -0
  308. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-enable-strict-mode.md +130 -0
  309. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-export-schemas-and-types.md +116 -0
  310. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-input-vs-output.md +116 -0
  311. package/dist/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-use-z-infer.md +110 -0
  312. package/dist/templates/frontend/hub-pre-sales/.husky/pre-commit +1 -0
  313. package/dist/templates/frontend/hub-pre-sales/.impeccable.md +45 -0
  314. package/dist/templates/frontend/hub-pre-sales/.prettierrc +6 -0
  315. package/dist/templates/frontend/hub-pre-sales/.vscode/extensions.json +7 -0
  316. package/dist/templates/frontend/hub-pre-sales/.vscode/settings.json +31 -0
  317. package/dist/templates/frontend/hub-pre-sales/AGENTS.md +47 -0
  318. package/dist/templates/frontend/hub-pre-sales/README.md +109 -0
  319. package/dist/templates/frontend/hub-pre-sales/components.json +22 -0
  320. package/dist/templates/frontend/hub-pre-sales/eslint.config.js +41 -0
  321. package/dist/templates/frontend/hub-pre-sales/index.html +22 -0
  322. package/dist/templates/frontend/hub-pre-sales/package.json +84 -0
  323. package/dist/templates/frontend/hub-pre-sales/pnpm-workspace.yaml +5 -0
  324. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/layout/navbar.test.tsx +54 -0
  325. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/avatar.test.tsx +74 -0
  326. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/badge.test.tsx +55 -0
  327. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/breadcrumb.test.tsx +140 -0
  328. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/button.test.tsx +121 -0
  329. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/card.test.tsx +144 -0
  330. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/dialog.test.tsx +121 -0
  331. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/form.test.tsx +165 -0
  332. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/input.test.tsx +52 -0
  333. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/label.test.tsx +40 -0
  334. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/password-input.test.tsx +59 -0
  335. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/separator.test.tsx +40 -0
  336. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/table.test.tsx +254 -0
  337. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/tabs.test.tsx +82 -0
  338. package/dist/templates/frontend/hub-pre-sales/src/__tests__/components/ui/textarea.test.tsx +47 -0
  339. package/dist/templates/frontend/hub-pre-sales/src/__tests__/helpers/render.tsx +90 -0
  340. package/dist/templates/frontend/hub-pre-sales/src/__tests__/hooks/useLocalStorage.test.ts +95 -0
  341. package/dist/templates/frontend/hub-pre-sales/src/__tests__/lib/queryClient.test.ts +24 -0
  342. package/dist/templates/frontend/hub-pre-sales/src/__tests__/lib/utils.test.ts +43 -0
  343. package/dist/templates/frontend/hub-pre-sales/src/__tests__/routes/index.test.tsx +64 -0
  344. package/dist/templates/frontend/hub-pre-sales/src/__tests__/routes/root.test.tsx +78 -0
  345. package/dist/templates/frontend/hub-pre-sales/src/assets/react.svg +1 -0
  346. package/dist/templates/frontend/hub-pre-sales/src/components/layout/navbar.tsx +25 -0
  347. package/dist/templates/frontend/hub-pre-sales/src/components/ui/avatar.tsx +42 -0
  348. package/dist/templates/frontend/hub-pre-sales/src/components/ui/badge.tsx +37 -0
  349. package/dist/templates/frontend/hub-pre-sales/src/components/ui/breadcrumb.tsx +106 -0
  350. package/dist/templates/frontend/hub-pre-sales/src/components/ui/button.tsx +58 -0
  351. package/dist/templates/frontend/hub-pre-sales/src/components/ui/card.tsx +72 -0
  352. package/dist/templates/frontend/hub-pre-sales/src/components/ui/dialog.tsx +122 -0
  353. package/dist/templates/frontend/hub-pre-sales/src/components/ui/form.tsx +165 -0
  354. package/dist/templates/frontend/hub-pre-sales/src/components/ui/input.tsx +22 -0
  355. package/dist/templates/frontend/hub-pre-sales/src/components/ui/label.tsx +24 -0
  356. package/dist/templates/frontend/hub-pre-sales/src/components/ui/password-input.tsx +41 -0
  357. package/dist/templates/frontend/hub-pre-sales/src/components/ui/separator.tsx +28 -0
  358. package/dist/templates/frontend/hub-pre-sales/src/components/ui/table.tsx +229 -0
  359. package/dist/templates/frontend/hub-pre-sales/src/components/ui/tabs.tsx +62 -0
  360. package/dist/templates/frontend/hub-pre-sales/src/components/ui/textarea.tsx +21 -0
  361. package/dist/templates/frontend/hub-pre-sales/src/components/ui/theme-toggle.tsx +35 -0
  362. package/dist/templates/frontend/hub-pre-sales/src/hooks/useLocalStorage.ts +32 -0
  363. package/dist/templates/frontend/hub-pre-sales/src/hooks/useTheme.ts +73 -0
  364. package/dist/templates/frontend/hub-pre-sales/src/index.css +282 -0
  365. package/dist/templates/frontend/hub-pre-sales/src/lib/gsap.ts +6 -0
  366. package/dist/templates/frontend/hub-pre-sales/src/lib/queryClient.ts +11 -0
  367. package/dist/templates/frontend/hub-pre-sales/src/lib/utils.ts +6 -0
  368. package/dist/templates/frontend/hub-pre-sales/src/main.tsx +33 -0
  369. package/dist/templates/frontend/hub-pre-sales/src/router.tsx +13 -0
  370. package/dist/templates/frontend/hub-pre-sales/src/routes/__root.tsx +48 -0
  371. package/dist/templates/frontend/hub-pre-sales/src/routes/index.tsx +31 -0
  372. package/dist/templates/frontend/hub-pre-sales/src/test/setup.ts +61 -0
  373. package/dist/templates/frontend/hub-pre-sales/tsconfig.app.json +34 -0
  374. package/dist/templates/frontend/hub-pre-sales/tsconfig.json +10 -0
  375. package/dist/templates/frontend/hub-pre-sales/tsconfig.node.json +26 -0
  376. package/dist/templates/frontend/hub-pre-sales/vite.config.ts +27 -0
  377. package/dist/templates/frontend/hub-pre-sales/vitest.config.ts +48 -0
  378. package/dist/templates/frontend/pre-sales/.cursor/rules/architech.mdc +199 -199
  379. package/dist/templates/frontend/pre-sales/.cursor/rules/deployment-ready.mdc +52 -52
  380. package/dist/templates/frontend/pre-sales/.cursor/rules/domain-business-bootstrap.mdc +74 -74
  381. package/dist/templates/frontend/pre-sales/.cursor/rules/pre-sales-mode.mdc +104 -104
  382. package/dist/templates/frontend/pre-sales/.cursor/rules/separation-of-concerns.mdc +41 -41
  383. package/dist/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/SKILL.md +296 -296
  384. package/dist/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/resources/deploy-codex.sh +301 -301
  385. package/dist/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/resources/deploy.sh +301 -301
  386. package/dist/templates/frontend/pre-sales/src/__tests__/components/layout/sidebar.test.tsx +58 -58
  387. package/dist/templates/frontend/pre-sales/src/__tests__/lib/auth.test.ts +102 -102
  388. package/dist/templates/frontend/pre-sales/src/__tests__/routes/__root.test.tsx +72 -72
  389. package/dist/templates/frontend/pre-sales/src/__tests__/routes/_authenticated.test.tsx +57 -57
  390. package/dist/templates/frontend/pre-sales/src/components/layout/navbar.tsx +121 -121
  391. package/dist/templates/frontend/pre-sales/src/components/ui/combobox.tsx +308 -308
  392. package/dist/templates/frontend/pre-sales/src/components/ui/command.tsx +179 -179
  393. package/dist/templates/frontend/pre-sales/src/data/dashboard.ts +249 -249
  394. package/dist/templates/frontend/pre-sales/src/hooks/useTheme.ts +73 -73
  395. package/dist/templates/frontend/pre-sales/src/index.css +282 -282
  396. package/dist/templates/frontend/pre-sales/src/routes/__root.tsx +62 -62
  397. package/dist/templates/frontend/pre-sales/src/routes/auth/iniciar-sesion.tsx +173 -173
  398. package/dist/templates/frontend/react-vite/.npmrc.example +28 -0
  399. package/dist/templates/frontend/react-vite/README.md +17 -0
  400. package/dist/templates/frontend/react-vite/eslint.config.js +41 -31
  401. package/dist/templates/frontend/react-vite/package.json +2 -0
  402. package/dist/templates/frontend/react-vite/src/index.css +3 -15
  403. package/dist/templates/frontend/react-vite/src/main.tsx +36 -33
  404. package/dist/templates/frontend/react-vite/src/routes/__root.tsx +3 -3
  405. package/dist/templates/frontend/react-vite/src/routes/index.tsx +185 -187
  406. package/dist/templates/frontend/react-vite/src/routes/ui-components.tsx +698 -922
  407. package/dist/templates/frontend/react-vite/vite.config.ts +7 -2
  408. package/dist/templates/frontend/react-vite-help/.vscode/settings.json +26 -0
  409. package/dist/templates/mobile/expo-base/package.json +3 -2
  410. package/dist/templates/mobile/expo-base/pnpm-workspace.yaml +3 -0
  411. package/dist/templates/mobile/expo-base/src/features/auth/login-screen.tsx +144 -177
  412. package/dist/templates/mobile/expo-base/src/i18n/locales/en-US.json +136 -134
  413. package/dist/templates/mobile/expo-base/src/i18n/locales/es-AR.json +136 -134
  414. package/package.json +1 -1
  415. package/templates/frontend/hub-pre-sales/.cursor/context/pre-sales.md +94 -0
  416. package/templates/frontend/hub-pre-sales/.cursor/rules/anti-generic-ui.mdc +39 -0
  417. package/templates/frontend/hub-pre-sales/.cursor/rules/architech.mdc +202 -0
  418. package/templates/frontend/hub-pre-sales/.cursor/rules/component-patterns.mdc +87 -0
  419. package/templates/frontend/hub-pre-sales/.cursor/rules/domain-business-bootstrap.mdc +74 -0
  420. package/templates/frontend/hub-pre-sales/.cursor/rules/form-patterns.mdc +74 -0
  421. package/templates/frontend/hub-pre-sales/.cursor/rules/gsap-animations.mdc +46 -0
  422. package/templates/frontend/hub-pre-sales/.cursor/rules/mock-data.mdc +61 -0
  423. package/templates/frontend/hub-pre-sales/.cursor/rules/pre-sales-mode.mdc +48 -0
  424. package/templates/frontend/hub-pre-sales/.cursor/rules/restrictions.mdc +42 -0
  425. package/templates/frontend/hub-pre-sales/.cursor/rules/routing-patterns.mdc +81 -0
  426. package/templates/frontend/hub-pre-sales/.cursor/rules/separation-of-concerns.mdc +41 -0
  427. package/templates/frontend/hub-pre-sales/.cursor/settings.json +13 -0
  428. package/templates/frontend/hub-pre-sales/.cursor/skills/adapt/SKILL.md +199 -0
  429. package/templates/frontend/hub-pre-sales/.cursor/skills/animate/SKILL.md +188 -0
  430. package/templates/frontend/hub-pre-sales/.cursor/skills/audit/SKILL.md +148 -0
  431. package/templates/frontend/hub-pre-sales/.cursor/skills/bolder/SKILL.md +117 -0
  432. package/templates/frontend/hub-pre-sales/.cursor/skills/clarify/SKILL.md +183 -0
  433. package/templates/frontend/hub-pre-sales/.cursor/skills/colorize/SKILL.md +143 -0
  434. package/templates/frontend/hub-pre-sales/.cursor/skills/critique/SKILL.md +225 -0
  435. package/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/cognitive-load.md +106 -0
  436. package/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/heuristics-scoring.md +234 -0
  437. package/templates/frontend/hub-pre-sales/.cursor/skills/critique/reference/personas.md +178 -0
  438. package/templates/frontend/hub-pre-sales/.cursor/skills/daisyui/SKILL.md +1374 -0
  439. package/templates/frontend/hub-pre-sales/.cursor/skills/delight/SKILL.md +303 -0
  440. package/templates/frontend/hub-pre-sales/.cursor/skills/distill/SKILL.md +122 -0
  441. package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-core/SKILL.md +254 -0
  442. package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-frameworks/SKILL.md +266 -0
  443. package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-performance/SKILL.md +79 -0
  444. package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-plugins/SKILL.md +433 -0
  445. package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-react/SKILL.md +136 -0
  446. package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-scrolltrigger/SKILL.md +296 -0
  447. package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-timeline/SKILL.md +107 -0
  448. package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-utils/SKILL.md +284 -0
  449. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/SKILL.md +365 -0
  450. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/color-and-contrast.md +105 -0
  451. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/craft.md +70 -0
  452. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/extract.md +70 -0
  453. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/interaction-design.md +195 -0
  454. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/motion-design.md +99 -0
  455. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/responsive-design.md +114 -0
  456. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/spatial-design.md +100 -0
  457. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/typography.md +142 -0
  458. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/reference/ux-writing.md +107 -0
  459. package/templates/frontend/hub-pre-sales/.cursor/skills/impeccable/scripts/cleanup-deprecated.mjs +214 -0
  460. package/templates/frontend/hub-pre-sales/.cursor/skills/layout/SKILL.md +125 -0
  461. package/templates/frontend/hub-pre-sales/.cursor/skills/mock-data-patterns/SKILL.md +175 -0
  462. package/templates/frontend/hub-pre-sales/.cursor/skills/optimize/SKILL.md +266 -0
  463. package/templates/frontend/hub-pre-sales/.cursor/skills/overdrive/SKILL.md +142 -0
  464. package/templates/frontend/hub-pre-sales/.cursor/skills/polish/SKILL.md +224 -0
  465. package/templates/frontend/hub-pre-sales/.cursor/skills/quieter/SKILL.md +103 -0
  466. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/AGENTS.md +97 -0
  467. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/SKILL.md +116 -0
  468. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
  469. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
  470. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
  471. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
  472. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
  473. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
  474. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
  475. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
  476. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
  477. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
  478. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
  479. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
  480. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
  481. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
  482. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
  483. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
  484. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
  485. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
  486. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
  487. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
  488. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
  489. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
  490. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
  491. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
  492. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
  493. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
  494. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
  495. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
  496. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
  497. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
  498. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
  499. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
  500. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
  501. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
  502. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
  503. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
  504. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
  505. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
  506. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
  507. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
  508. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
  509. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/.claude-plugin/plugin.json +12 -0
  510. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/SKILL.md +412 -0
  511. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/accessibility.md +359 -0
  512. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/error-handling.md +255 -0
  513. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/links-to-official-docs.md +197 -0
  514. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/performance-optimization.md +355 -0
  515. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/rhf-api-reference.md +420 -0
  516. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/shadcn-integration.md +390 -0
  517. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/top-errors.md +381 -0
  518. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/references/zod-schemas-guide.md +396 -0
  519. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/rules/react-hook-form-zod.md +138 -0
  520. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/scripts/check-versions.sh +51 -0
  521. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/advanced-form.tsx +427 -0
  522. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/async-validation.tsx +402 -0
  523. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/basic-form.tsx +285 -0
  524. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/custom-error-display.tsx +303 -0
  525. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/dynamic-fields.tsx +308 -0
  526. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/multi-step-form.tsx +367 -0
  527. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/package.json +35 -0
  528. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/server-validation.ts +313 -0
  529. package/templates/frontend/hub-pre-sales/.cursor/skills/react-hook-form-zod/templates/shadcn-form.tsx +351 -0
  530. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/.claude-plugin/plugin.json +12 -0
  531. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/SKILL.md +412 -0
  532. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/aspect-ratio.md +513 -0
  533. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/lazy-loading.md +397 -0
  534. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/modern-formats.md +526 -0
  535. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/picture-element.md +593 -0
  536. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/references/srcset-sizes.md +295 -0
  537. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/rules/responsive-images.md +418 -0
  538. package/templates/frontend/hub-pre-sales/.cursor/skills/responsive-images/templates/image-component.tsx +231 -0
  539. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/.claude-plugin/plugin.json +13 -0
  540. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/SKILL.md +487 -0
  541. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/agents/seo-generator.md +290 -0
  542. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/canonical-urls.md +429 -0
  543. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/json-ld.md +599 -0
  544. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/meta-description.md +426 -0
  545. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/open-graph.md +443 -0
  546. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/title-patterns.md +333 -0
  547. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/references/twitter-cards.md +423 -0
  548. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/rules/seo-meta.md +157 -0
  549. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/faq.json +46 -0
  550. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/local-business.json +58 -0
  551. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/json-ld-schemas/service.json +41 -0
  552. package/templates/frontend/hub-pre-sales/.cursor/skills/seo-meta/templates/meta-component.tsx +275 -0
  553. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/SKILL.md +1677 -0
  554. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/learn.md +145 -0
  555. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/official-ui-reference.md +1725 -0
  556. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/reference.md +586 -0
  557. package/templates/frontend/hub-pre-sales/.cursor/skills/shadcn-ui/references/ui-reference.md +1578 -0
  558. package/templates/frontend/hub-pre-sales/.cursor/skills/shape/SKILL.md +96 -0
  559. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/.claude-plugin/plugin.json +12 -0
  560. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/SKILL.md +508 -0
  561. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/button-patterns.md +234 -0
  562. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/card-patterns.md +533 -0
  563. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/dark-mode-patterns.md +309 -0
  564. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/form-patterns.md +403 -0
  565. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/layout-patterns.md +542 -0
  566. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/navigation-patterns.md +634 -0
  567. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/references/typography-patterns.md +338 -0
  568. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/rules/tailwind-patterns.md +371 -0
  569. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/contact-form.tsx +265 -0
  570. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/feature-grid.tsx +141 -0
  571. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/footer.tsx +258 -0
  572. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-patterns/templates/components/hero-section.tsx +105 -0
  573. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/.claude-plugin/plugin.json +13 -0
  574. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/SKILL.md +665 -0
  575. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/commands/setup.md +200 -0
  576. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/architecture.md +206 -0
  577. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/common-gotchas.md +469 -0
  578. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/dark-mode.md +239 -0
  579. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/references/migration-guide.md +313 -0
  580. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/rules/tailwind-v4-shadcn.md +118 -0
  581. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/components.json +20 -0
  582. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/index.css +140 -0
  583. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/theme-provider.tsx +92 -0
  584. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/tsconfig.app.json +31 -0
  585. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/utils.ts +6 -0
  586. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwind-v4-shadcn/templates/vite.config.ts +17 -0
  587. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-accessibility/SKILL.md +780 -0
  588. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-components/SKILL.md +718 -0
  589. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-design-systems/SKILL.md +612 -0
  590. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-advanced-layouts/SKILL.md +594 -0
  591. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-animations/SKILL.md +432 -0
  592. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-animations/references/animation-patterns.md +427 -0
  593. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-debugging/SKILL.md +354 -0
  594. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-debugging/references/troubleshooting-guide.md +306 -0
  595. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-framework-integration/SKILL.md +578 -0
  596. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-framework-integration/references/react-patterns.md +353 -0
  597. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/SKILL.md +608 -0
  598. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/references/advanced-theme-patterns.md +215 -0
  599. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-fundamentals-v4/references/custom-utilities-guide.md +281 -0
  600. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-mobile-first/SKILL.md +768 -0
  601. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-performance/SKILL.md +374 -0
  602. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-performance/references/bundle-optimization.md +244 -0
  603. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-plugins/SKILL.md +505 -0
  604. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-responsive-darkmode/SKILL.md +601 -0
  605. package/templates/frontend/hub-pre-sales/.cursor/skills/tailwindcss-responsive-darkmode/references/advanced-responsive-patterns.md +485 -0
  606. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/.claude-plugin/plugin.json +12 -0
  607. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/SKILL.md +1058 -0
  608. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/assets/example-template.txt +14 -0
  609. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/best-practices.md +304 -0
  610. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/common-patterns.md +271 -0
  611. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/example-reference.md +26 -0
  612. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/testing.md +282 -0
  613. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/top-errors.md +332 -0
  614. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/typescript-patterns.md +291 -0
  615. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/references/v4-to-v5-migration.md +231 -0
  616. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/rules/tanstack-query.md +126 -0
  617. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/scripts/example-script.sh +15 -0
  618. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
  619. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/devtools-setup.tsx +248 -0
  620. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/error-boundary.tsx +243 -0
  621. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/package.json +31 -0
  622. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/provider-setup.tsx +50 -0
  623. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/query-client-config.ts +72 -0
  624. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-infinite-query.tsx +214 -0
  625. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-mutation-basic.tsx +201 -0
  626. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
  627. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-query/templates/use-query-basic.tsx +119 -0
  628. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/.claude-plugin/plugin.json +12 -0
  629. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/SKILL.md +663 -0
  630. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/references/common-errors.md +77 -0
  631. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/rules/tanstack-router.md +125 -0
  632. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/package.json +26 -0
  633. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/route-examples.tsx +126 -0
  634. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-router/templates/vite.config.ts +16 -0
  635. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/.claude-plugin/plugin.json +12 -0
  636. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/REVIEW_REPORT.md +299 -0
  637. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/SKILL.md +781 -0
  638. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-start/planning/stability-tracker.md +49 -0
  639. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/.claude-plugin/plugin.json +12 -0
  640. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/SKILL.md +573 -0
  641. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/cloudflare-d1-examples.md +131 -0
  642. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/common-errors.md +208 -0
  643. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/performance-virtualization.md +106 -0
  644. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/query-integration.md +195 -0
  645. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/references/server-side-patterns.md +357 -0
  646. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/rules/tanstack-table.md +151 -0
  647. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/basic-client-table.tsx +101 -0
  648. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/column-configuration.tsx +177 -0
  649. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/d1-database-example.tsx +336 -0
  650. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/package.json +25 -0
  651. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/server-paginated-table.tsx +218 -0
  652. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/shadcn-styled-table.tsx +123 -0
  653. package/templates/frontend/hub-pre-sales/.cursor/skills/tanstack-table/templates/virtualized-large-dataset.tsx +164 -0
  654. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/.claude-plugin/plugin.json +12 -0
  655. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/SKILL.md +504 -0
  656. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/rules/testing-library-patterns.md +97 -0
  657. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/templates/msw-handlers.ts +117 -0
  658. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-library/templates/setup.ts +57 -0
  659. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/.claude-plugin/plugin.json +13 -0
  660. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/SKILL.md +400 -0
  661. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/coverage.md +458 -0
  662. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/create-tests.md +362 -0
  663. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/commands/run-tests.md +336 -0
  664. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/references/validation-rules.md +222 -0
  665. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/templates/test-agent.md +132 -0
  666. package/templates/frontend/hub-pre-sales/.cursor/skills/testing-patterns/templates/test-spec.yaml +69 -0
  667. package/templates/frontend/hub-pre-sales/.cursor/skills/typeset/SKILL.md +116 -0
  668. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/.claude-plugin/plugin.json +12 -0
  669. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/SKILL.md +493 -0
  670. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/rules/vitest-patterns.md +100 -0
  671. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/templates/test-utils.ts +86 -0
  672. package/templates/frontend/hub-pre-sales/.cursor/skills/vitest/templates/vitest.config.ts +39 -0
  673. package/templates/frontend/hub-pre-sales/.cursor/skills/web-design-guidelines/SKILL.md +39 -0
  674. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/AGENTS.md +97 -0
  675. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/SKILL.md +127 -0
  676. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-intersection.md +144 -0
  677. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-lazy-recursive.md +143 -0
  678. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-pipe.md +113 -0
  679. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-preprocess.md +142 -0
  680. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/compose-shared-schemas.md +137 -0
  681. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-avoid-throwing-in-refine.md +127 -0
  682. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-custom-messages.md +118 -0
  683. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-i18n.md +145 -0
  684. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-path-for-nested.md +130 -0
  685. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/error-use-flatten.md +131 -0
  686. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-discriminated-unions.md +138 -0
  687. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-extend-for-composition.md +147 -0
  688. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-optional-vs-nullable.md +117 -0
  689. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-partial-for-updates.md +123 -0
  690. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-pick-omit.md +146 -0
  691. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/object-strict-vs-strip.md +109 -0
  692. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-async-for-async-refinements.md +118 -0
  693. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-avoid-double-validation.md +129 -0
  694. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-handle-all-issues.md +125 -0
  695. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-never-trust-json.md +113 -0
  696. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-use-safeparse.md +102 -0
  697. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/parse-validate-early.md +120 -0
  698. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-arrays.md +153 -0
  699. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-avoid-dynamic-creation.md +139 -0
  700. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-cache-schemas.md +138 -0
  701. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-lazy-loading.md +135 -0
  702. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/perf-zod-mini.md +117 -0
  703. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-add-path.md +141 -0
  704. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-catch.md +143 -0
  705. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-defaults.md +131 -0
  706. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-transform-coerce.md +105 -0
  707. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/refine-vs-superrefine.md +152 -0
  708. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-avoid-optional-abuse.md +93 -0
  709. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-coercion-for-form-data.md +88 -0
  710. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-string-validations.md +90 -0
  711. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-enums.md +107 -0
  712. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-primitives-correctly.md +61 -0
  713. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/schema-use-unknown-not-any.md +88 -0
  714. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-branded-types.md +102 -0
  715. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-enable-strict-mode.md +130 -0
  716. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-export-schemas-and-types.md +116 -0
  717. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-input-vs-output.md +116 -0
  718. package/templates/frontend/hub-pre-sales/.cursor/skills/zod/references/type-use-z-infer.md +110 -0
  719. package/templates/frontend/hub-pre-sales/.husky/pre-commit +1 -0
  720. package/templates/frontend/hub-pre-sales/.impeccable.md +45 -0
  721. package/templates/frontend/hub-pre-sales/.prettierrc +6 -0
  722. package/templates/frontend/hub-pre-sales/.vscode/extensions.json +7 -0
  723. package/templates/frontend/hub-pre-sales/.vscode/settings.json +31 -0
  724. package/templates/frontend/hub-pre-sales/AGENTS.md +47 -0
  725. package/templates/frontend/hub-pre-sales/README.md +109 -0
  726. package/templates/frontend/hub-pre-sales/components.json +22 -0
  727. package/templates/frontend/hub-pre-sales/eslint.config.js +41 -0
  728. package/templates/frontend/hub-pre-sales/index.html +22 -0
  729. package/templates/frontend/hub-pre-sales/package.json +84 -0
  730. package/templates/frontend/hub-pre-sales/pnpm-lock.yaml +6597 -0
  731. package/templates/frontend/hub-pre-sales/pnpm-workspace.yaml +5 -0
  732. package/templates/frontend/hub-pre-sales/skills-lock.json +53 -0
  733. package/templates/frontend/hub-pre-sales/src/__tests__/components/layout/navbar.test.tsx +54 -0
  734. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/avatar.test.tsx +74 -0
  735. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/badge.test.tsx +55 -0
  736. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/breadcrumb.test.tsx +140 -0
  737. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/button.test.tsx +121 -0
  738. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/card.test.tsx +144 -0
  739. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/dialog.test.tsx +121 -0
  740. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/form.test.tsx +165 -0
  741. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/input.test.tsx +52 -0
  742. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/label.test.tsx +40 -0
  743. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/password-input.test.tsx +59 -0
  744. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/separator.test.tsx +40 -0
  745. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/table.test.tsx +254 -0
  746. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/tabs.test.tsx +82 -0
  747. package/templates/frontend/hub-pre-sales/src/__tests__/components/ui/textarea.test.tsx +47 -0
  748. package/templates/frontend/hub-pre-sales/src/__tests__/helpers/render.tsx +90 -0
  749. package/templates/frontend/hub-pre-sales/src/__tests__/hooks/useLocalStorage.test.ts +95 -0
  750. package/templates/frontend/hub-pre-sales/src/__tests__/lib/queryClient.test.ts +24 -0
  751. package/templates/frontend/hub-pre-sales/src/__tests__/lib/utils.test.ts +43 -0
  752. package/templates/frontend/hub-pre-sales/src/__tests__/routes/index.test.tsx +64 -0
  753. package/templates/frontend/hub-pre-sales/src/__tests__/routes/root.test.tsx +78 -0
  754. package/templates/frontend/hub-pre-sales/src/assets/react.svg +1 -0
  755. package/templates/frontend/hub-pre-sales/src/components/layout/navbar.tsx +25 -0
  756. package/templates/frontend/hub-pre-sales/src/components/ui/avatar.tsx +42 -0
  757. package/templates/frontend/hub-pre-sales/src/components/ui/badge.tsx +37 -0
  758. package/templates/frontend/hub-pre-sales/src/components/ui/breadcrumb.tsx +106 -0
  759. package/templates/frontend/hub-pre-sales/src/components/ui/button.tsx +58 -0
  760. package/templates/frontend/hub-pre-sales/src/components/ui/card.tsx +72 -0
  761. package/templates/frontend/hub-pre-sales/src/components/ui/dialog.tsx +122 -0
  762. package/templates/frontend/hub-pre-sales/src/components/ui/form.tsx +165 -0
  763. package/templates/frontend/hub-pre-sales/src/components/ui/input.tsx +22 -0
  764. package/templates/frontend/hub-pre-sales/src/components/ui/label.tsx +24 -0
  765. package/templates/frontend/hub-pre-sales/src/components/ui/password-input.tsx +41 -0
  766. package/templates/frontend/hub-pre-sales/src/components/ui/separator.tsx +28 -0
  767. package/templates/frontend/hub-pre-sales/src/components/ui/table.tsx +229 -0
  768. package/templates/frontend/hub-pre-sales/src/components/ui/tabs.tsx +62 -0
  769. package/templates/frontend/hub-pre-sales/src/components/ui/textarea.tsx +21 -0
  770. package/templates/frontend/hub-pre-sales/src/components/ui/theme-toggle.tsx +35 -0
  771. package/templates/frontend/hub-pre-sales/src/hooks/useLocalStorage.ts +32 -0
  772. package/templates/frontend/hub-pre-sales/src/hooks/useTheme.ts +73 -0
  773. package/templates/frontend/hub-pre-sales/src/index.css +282 -0
  774. package/templates/frontend/hub-pre-sales/src/lib/gsap.ts +6 -0
  775. package/templates/frontend/hub-pre-sales/src/lib/queryClient.ts +11 -0
  776. package/templates/frontend/hub-pre-sales/src/lib/utils.ts +6 -0
  777. package/templates/frontend/hub-pre-sales/src/main.tsx +33 -0
  778. package/templates/frontend/hub-pre-sales/src/router.tsx +13 -0
  779. package/templates/frontend/hub-pre-sales/src/routes/__root.tsx +48 -0
  780. package/templates/frontend/hub-pre-sales/src/routes/index.tsx +31 -0
  781. package/templates/frontend/hub-pre-sales/src/test/setup.ts +61 -0
  782. package/templates/frontend/hub-pre-sales/tsconfig.app.json +34 -0
  783. package/templates/frontend/hub-pre-sales/tsconfig.json +10 -0
  784. package/templates/frontend/hub-pre-sales/tsconfig.node.json +26 -0
  785. package/templates/frontend/hub-pre-sales/vite.config.ts +27 -0
  786. package/templates/frontend/hub-pre-sales/vitest.config.ts +48 -0
  787. package/templates/frontend/pre-sales/.cursor/rules/architech.mdc +199 -199
  788. package/templates/frontend/pre-sales/.cursor/rules/deployment-ready.mdc +52 -52
  789. package/templates/frontend/pre-sales/.cursor/rules/domain-business-bootstrap.mdc +74 -74
  790. package/templates/frontend/pre-sales/.cursor/rules/pre-sales-mode.mdc +104 -104
  791. package/templates/frontend/pre-sales/.cursor/rules/separation-of-concerns.mdc +41 -41
  792. package/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/SKILL.md +296 -296
  793. package/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/resources/deploy-codex.sh +301 -301
  794. package/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/resources/deploy.sh +301 -301
  795. package/templates/frontend/pre-sales/pnpm-lock.yaml +6448 -6448
  796. package/templates/frontend/pre-sales/skills-lock.json +10 -10
  797. package/templates/frontend/pre-sales/src/__tests__/components/layout/sidebar.test.tsx +58 -58
  798. package/templates/frontend/pre-sales/src/__tests__/lib/auth.test.ts +102 -102
  799. package/templates/frontend/pre-sales/src/__tests__/routes/__root.test.tsx +72 -72
  800. package/templates/frontend/pre-sales/src/__tests__/routes/_authenticated.test.tsx +57 -57
  801. package/templates/frontend/pre-sales/src/components/layout/navbar.tsx +121 -121
  802. package/templates/frontend/pre-sales/src/components/ui/combobox.tsx +308 -308
  803. package/templates/frontend/pre-sales/src/components/ui/command.tsx +179 -179
  804. package/templates/frontend/pre-sales/src/data/dashboard.ts +249 -249
  805. package/templates/frontend/pre-sales/src/hooks/useTheme.ts +73 -73
  806. package/templates/frontend/pre-sales/src/index.css +282 -282
  807. package/templates/frontend/pre-sales/src/routes/__root.tsx +62 -62
  808. package/templates/frontend/pre-sales/src/routes/auth/iniciar-sesion.tsx +173 -173
  809. package/templates/frontend/react-vite/.npmrc.example +28 -0
  810. package/templates/frontend/react-vite/README.md +17 -0
  811. package/templates/frontend/react-vite/eslint.config.js +41 -31
  812. package/templates/frontend/react-vite/package.json +2 -0
  813. package/templates/frontend/react-vite/pnpm-lock.yaml +535 -13
  814. package/templates/frontend/react-vite/src/index.css +3 -15
  815. package/templates/frontend/react-vite/src/main.tsx +36 -33
  816. package/templates/frontend/react-vite/src/routes/__root.tsx +3 -3
  817. package/templates/frontend/react-vite/src/routes/index.tsx +185 -187
  818. package/templates/frontend/react-vite/src/routes/ui-components.tsx +698 -922
  819. package/templates/frontend/react-vite/vite.config.ts +7 -2
  820. package/templates/frontend/react-vite-help/.vscode/settings.json +26 -0
  821. package/templates/mobile/expo-base/package.json +3 -2
  822. package/templates/mobile/expo-base/pnpm-lock.yaml +10240 -11354
  823. package/templates/mobile/expo-base/pnpm-workspace.yaml +3 -0
  824. package/templates/mobile/expo-base/src/features/auth/login-screen.tsx +144 -177
  825. package/templates/mobile/expo-base/src/i18n/locales/en-US.json +136 -134
  826. package/templates/mobile/expo-base/src/i18n/locales/es-AR.json +136 -134
  827. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/agents/nestjs-code-reviewer.md +0 -54
  828. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/agents/prisma-guardian.md +0 -67
  829. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/agents/test-runner.md +0 -57
  830. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/commands/new-endpoint.md +0 -209
  831. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/commands/new-model.md +0 -201
  832. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/autoTestOnStop.ts +0 -127
  833. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/blockDangerous.ts +0 -98
  834. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/ensureTestsExist.ts +0 -405
  835. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/formatOnEdit.ts +0 -70
  836. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/protectSecrets.ts +0 -101
  837. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/sessionInit.ts +0 -104
  838. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/validatePrisma.ts +0 -121
  839. package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks.json +0 -46
  840. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/agents/nestjs-code-reviewer.md +0 -54
  841. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/agents/prisma-guardian.md +0 -67
  842. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/agents/test-runner.md +0 -57
  843. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/commands/new-endpoint.md +0 -209
  844. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/commands/new-model.md +0 -201
  845. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/autoTestOnStop.ts +0 -127
  846. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/blockDangerous.ts +0 -98
  847. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/ensureTestsExist.ts +0 -405
  848. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/formatOnEdit.ts +0 -70
  849. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/protectSecrets.ts +0 -101
  850. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/sessionInit.ts +0 -104
  851. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/validatePrisma.ts +0 -121
  852. package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks.json +0 -46
  853. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/agents/nestjs-code-reviewer.md +0 -23
  854. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/agents/sequelize-guardian.md +0 -37
  855. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/agents/test-runner.md +0 -33
  856. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/commands/new-endpoint.md +0 -76
  857. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/commands/new-model.md +0 -85
  858. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/autoTestOnStop.ts +0 -127
  859. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/blockDangerous.ts +0 -98
  860. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/ensureTestsExist.ts +0 -397
  861. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/formatOnEdit.ts +0 -66
  862. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/protectSecrets.ts +0 -101
  863. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/sessionInit.ts +0 -104
  864. package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks.json +0 -41
  865. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/agents/nestjs-code-reviewer.md +0 -23
  866. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/agents/sequelize-guardian.md +0 -37
  867. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/agents/test-runner.md +0 -33
  868. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/commands/new-endpoint.md +0 -76
  869. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/commands/new-model.md +0 -85
  870. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/autoTestOnStop.ts +0 -127
  871. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/blockDangerous.ts +0 -98
  872. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/ensureTestsExist.ts +0 -397
  873. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/formatOnEdit.ts +0 -66
  874. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/protectSecrets.ts +0 -101
  875. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/sessionInit.ts +0 -104
  876. package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks.json +0 -41
  877. package/templates/backend/nestjs-api-postgres/.cursor/agents/nestjs-code-reviewer.md +0 -54
  878. package/templates/backend/nestjs-api-postgres/.cursor/agents/prisma-guardian.md +0 -62
  879. package/templates/backend/nestjs-api-postgres/.cursor/agents/security-auditor.md +0 -71
  880. package/templates/backend/nestjs-api-postgres/.cursor/agents/test-runner.md +0 -58
  881. package/templates/backend/nestjs-api-postgres/.cursor/commands/add-pagination.md +0 -235
  882. package/templates/backend/nestjs-api-postgres/.cursor/commands/add-seed.md +0 -160
  883. package/templates/backend/nestjs-api-postgres/.cursor/commands/add-tests.md +0 -322
  884. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-endpoint.md +0 -209
  885. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-guard.md +0 -195
  886. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-interceptor.md +0 -188
  887. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-middleware.md +0 -176
  888. package/templates/backend/nestjs-api-postgres/.cursor/commands/new-model.md +0 -201
  889. package/templates/backend/nestjs-api-postgres/.cursor/hooks/auto-retry.ts +0 -62
  890. package/templates/backend/nestjs-api-postgres/.cursor/hooks/block-dangerous.ts +0 -202
  891. package/templates/backend/nestjs-api-postgres/.cursor/hooks/format-and-validate.ts +0 -124
  892. package/templates/backend/nestjs-api-postgres/.cursor/hooks/protect-secrets.ts +0 -105
  893. package/templates/backend/nestjs-api-postgres/.cursor/hooks/session-context.ts +0 -130
  894. package/templates/backend/nestjs-api-postgres/.cursor/hooks.json +0 -36
  895. package/templates/backend/nestjs-api-postgres/.cursor/mcp.json +0 -21
  896. package/templates/backend/nestjs-api-sqlite/.cursor/agents/code-reviewer.md +0 -153
  897. package/templates/backend/nestjs-api-sqlite/.cursor/agents/nestjs-architect.md +0 -138
  898. package/templates/backend/nestjs-api-sqlite/.cursor/agents/prisma-analyst.md +0 -164
  899. package/templates/backend/nestjs-api-sqlite/.cursor/agents/security-auditor.md +0 -150
  900. package/templates/backend/nestjs-api-sqlite/.cursor/agents/test-engineer.md +0 -290
  901. package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-pagination.md +0 -235
  902. package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-seed.md +0 -172
  903. package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-tests.md +0 -322
  904. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-endpoint.md +0 -209
  905. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-guard.md +0 -195
  906. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-interceptor.md +0 -188
  907. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-middleware.md +0 -176
  908. package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-model.md +0 -201
  909. package/templates/backend/nestjs-api-sqlite/.cursor/hooks/auto-format.ts +0 -80
  910. package/templates/backend/nestjs-api-sqlite/.cursor/hooks/block-dangerous-commands.ts +0 -144
  911. package/templates/backend/nestjs-api-sqlite/.cursor/hooks/prisma-schema-watcher.ts +0 -64
  912. package/templates/backend/nestjs-api-sqlite/.cursor/hooks/protect-sensitive-files.ts +0 -122
  913. package/templates/backend/nestjs-api-sqlite/.cursor/hooks/session-context.ts +0 -105
  914. package/templates/backend/nestjs-api-sqlite/.cursor/hooks.json +0 -18
  915. package/templates/backend/nestjs-api-sqlite/.cursor/mcp.json +0 -17
  916. package/templates/backend/nestjs-api-sqlserver/.cursor/agents/nestjs-code-reviewer.md +0 -54
  917. package/templates/backend/nestjs-api-sqlserver/.cursor/agents/prisma-guardian.md +0 -67
  918. package/templates/backend/nestjs-api-sqlserver/.cursor/agents/test-runner.md +0 -57
  919. package/templates/backend/nestjs-api-sqlserver/.cursor/commands/new-endpoint.md +0 -209
  920. package/templates/backend/nestjs-api-sqlserver/.cursor/commands/new-model.md +0 -201
  921. package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/autoTestOnStop.ts +0 -127
  922. package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/blockDangerous.ts +0 -98
  923. package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/ensureTestsExist.ts +0 -405
  924. package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/formatOnEdit.ts +0 -70
  925. package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/protectSecrets.ts +0 -101
  926. package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/sessionInit.ts +0 -104
  927. package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/validatePrisma.ts +0 -121
  928. package/templates/backend/nestjs-api-sqlserver/.cursor/hooks.json +0 -46
  929. package/templates/frontend/angular-base/.cursor/agents/accessibility-reviewer.md +0 -67
  930. package/templates/frontend/angular-base/.cursor/agents/angular-code-reviewer.md +0 -60
  931. package/templates/frontend/angular-base/.cursor/agents/qa-test-expert.md +0 -70
  932. package/templates/frontend/angular-base/.cursor/agents/security-auditor.md +0 -58
  933. package/templates/frontend/angular-base/.cursor/commands/add-e2e-test.md +0 -236
  934. package/templates/frontend/angular-base/.cursor/commands/new-component.md +0 -211
  935. package/templates/frontend/angular-base/.cursor/commands/new-form.md +0 -284
  936. package/templates/frontend/angular-base/.cursor/commands/new-interceptor.md +0 -257
  937. package/templates/frontend/angular-base/.cursor/commands/new-page.md +0 -215
  938. package/templates/frontend/angular-base/.cursor/commands/new-service.md +0 -203
  939. package/templates/frontend/angular-base/.cursor/hooks/auto-format.ts +0 -70
  940. package/templates/frontend/angular-base/.cursor/hooks/auto-test-on-stop.ts +0 -113
  941. package/templates/frontend/angular-base/.cursor/hooks/block-dangerous-commands.ts +0 -160
  942. package/templates/frontend/angular-base/.cursor/hooks/ensure-tests-exist.ts +0 -363
  943. package/templates/frontend/angular-base/.cursor/hooks/protect-sensitive-files.ts +0 -118
  944. package/templates/frontend/angular-base/.cursor/hooks/session-context.ts +0 -110
  945. package/templates/frontend/angular-base/.cursor/hooks.json +0 -41
  946. package/templates/frontend/angular-base/.cursor/mcp.json +0 -21
  947. package/templates/frontend/angular-nx/.cursor/agents/angular-code-reviewer.md +0 -64
  948. package/templates/frontend/angular-nx/.cursor/agents/ci-watcher.md +0 -480
  949. package/templates/frontend/angular-nx/.cursor/agents/nx-architecture-guardian.md +0 -69
  950. package/templates/frontend/angular-nx/.cursor/agents/qa-test-expert.md +0 -75
  951. package/templates/frontend/angular-nx/.cursor/agents/security-auditor.md +0 -61
  952. package/templates/frontend/angular-nx/.cursor/commands/ci-monitor.md +0 -428
  953. package/templates/frontend/angular-nx/.cursor/hooks/auto-format.ts +0 -70
  954. package/templates/frontend/angular-nx/.cursor/hooks/auto-test-on-stop.ts +0 -115
  955. package/templates/frontend/angular-nx/.cursor/hooks/block-dangerous-commands.ts +0 -188
  956. package/templates/frontend/angular-nx/.cursor/hooks/ensure-tests-exist.ts +0 -399
  957. package/templates/frontend/angular-nx/.cursor/hooks/protect-sensitive-files.ts +0 -128
  958. package/templates/frontend/angular-nx/.cursor/hooks/session-context.ts +0 -121
  959. package/templates/frontend/angular-nx/.cursor/hooks.json +0 -41
  960. package/templates/frontend/angular-nx/.cursor/mcp.json +0 -12
  961. package/templates/frontend/pre-sales/.cursor/agents/pre-sales-builder.agent.md +0 -92
  962. package/templates/frontend/pre-sales/.cursor/agents/pre-sales-deploy.agent.md +0 -87
  963. package/templates/frontend/pre-sales/.cursor/agents/qa-test-expert.agent.md +0 -48
  964. package/templates/frontend/pre-sales/.cursor/commands/deploy-demo.md +0 -73
  965. package/templates/frontend/pre-sales/.cursor/commands/new-component.md +0 -192
  966. package/templates/frontend/pre-sales/.cursor/commands/prepare-deploy.md +0 -135
  967. package/templates/frontend/pre-sales/.cursor/hooks/ensureTestsExist.ts +0 -220
  968. package/templates/frontend/pre-sales/.cursor/hooks/injectPreSalesContext.ts +0 -97
  969. package/templates/frontend/pre-sales/.cursor/hooks.json +0 -23
  970. package/templates/frontend/pre-sales/.cursor/mcp.json +0 -13
  971. package/templates/frontend/react-ssr/.cursor/agents/accessibility-reviewer.md +0 -22
  972. package/templates/frontend/react-ssr/.cursor/agents/nextjs-code-reviewer.md +0 -24
  973. package/templates/frontend/react-ssr/.cursor/agents/react-test-expert.md +0 -32
  974. package/templates/frontend/react-ssr/.cursor/agents/security-auditor.md +0 -25
  975. package/templates/frontend/react-ssr/.cursor/commands/new-component.md +0 -97
  976. package/templates/frontend/react-ssr/.cursor/commands/new-page.md +0 -95
  977. package/templates/frontend/react-ssr/.cursor/commands/new-prisma-model.md +0 -66
  978. package/templates/frontend/react-ssr/.cursor/commands/new-server-action.md +0 -89
  979. package/templates/frontend/react-ssr/.cursor/hooks/auto-format.ts +0 -64
  980. package/templates/frontend/react-ssr/.cursor/hooks/auto-test-on-stop.ts +0 -94
  981. package/templates/frontend/react-ssr/.cursor/hooks/block-dangerous-commands.ts +0 -120
  982. package/templates/frontend/react-ssr/.cursor/hooks/ensure-tests-exist.ts +0 -209
  983. package/templates/frontend/react-ssr/.cursor/hooks/protect-sensitive-files.ts +0 -101
  984. package/templates/frontend/react-ssr/.cursor/hooks/session-context.ts +0 -93
  985. package/templates/frontend/react-ssr/.cursor/hooks/tsconfig.json +0 -10
  986. package/templates/frontend/react-ssr/.cursor/hooks.json +0 -41
  987. package/templates/frontend/react-vite/.cursor/agents/frontend-senior.agent.md +0 -49
  988. package/templates/frontend/react-vite/.cursor/agents/qa-test-expert.agent.md +0 -126
  989. package/templates/frontend/react-vite/.cursor/agents/security-expert.agent.md +0 -39
  990. package/templates/frontend/react-vite/.cursor/agents/ux-ui-expert.agent.md +0 -45
  991. package/templates/frontend/react-vite/.cursor/commands/add-route.md +0 -211
  992. package/templates/frontend/react-vite/.cursor/commands/add-tests.md +0 -269
  993. package/templates/frontend/react-vite/.cursor/commands/new-component.md +0 -232
  994. package/templates/frontend/react-vite/.cursor/commands/new-form.md +0 -268
  995. package/templates/frontend/react-vite/.cursor/commands/new-page.md +0 -203
  996. package/templates/frontend/react-vite/.cursor/commands/new-query.md +0 -287
  997. package/templates/frontend/react-vite/.cursor/commands/new-table.md +0 -299
  998. package/templates/frontend/react-vite/.cursor/hooks/autoTestOnStop.ts +0 -117
  999. package/templates/frontend/react-vite/.cursor/hooks/blockDangerous.ts +0 -75
  1000. package/templates/frontend/react-vite/.cursor/hooks/ensureTestsExist.ts +0 -306
  1001. package/templates/frontend/react-vite/.cursor/hooks/formatOnEdit.ts +0 -49
  1002. package/templates/frontend/react-vite/.cursor/hooks/protectSecrets.ts +0 -88
  1003. package/templates/frontend/react-vite/.cursor/hooks/sessionInit.ts +0 -77
  1004. package/templates/frontend/react-vite/.cursor/hooks.json +0 -41
  1005. package/templates/frontend/react-vite-help/.cursor/RECONSTRUCTION-PROMPT.md +0 -738
  1006. package/templates/frontend/react-vite-help/.cursor/agents/frontend-senior.agent.md +0 -49
  1007. package/templates/frontend/react-vite-help/.cursor/agents/qa-test-expert.agent.md +0 -49
  1008. package/templates/frontend/react-vite-help/.cursor/agents/security-expert.agent.md +0 -39
  1009. package/templates/frontend/react-vite-help/.cursor/agents/ux-ui-expert.agent.md +0 -45
  1010. package/templates/frontend/react-vite-help/.cursor/commands/add-route.md +0 -211
  1011. package/templates/frontend/react-vite-help/.cursor/commands/add-tests.md +0 -269
  1012. package/templates/frontend/react-vite-help/.cursor/commands/new-component.md +0 -232
  1013. package/templates/frontend/react-vite-help/.cursor/commands/new-form.md +0 -268
  1014. package/templates/frontend/react-vite-help/.cursor/commands/new-page.md +0 -203
  1015. package/templates/frontend/react-vite-help/.cursor/commands/new-query.md +0 -287
  1016. package/templates/frontend/react-vite-help/.cursor/commands/new-table.md +0 -299
  1017. package/templates/frontend/react-vite-help/.cursor/hooks/ensureTestsExist.ts +0 -220
  1018. package/templates/frontend/react-vite-help/.cursor/hooks.json +0 -10
  1019. package/templates/frontend/react-vite-help/.cursor/mcp.json +0 -17
  1020. package/templates/mobile/expo-base/.cursor/agents/api-integration.md +0 -139
  1021. package/templates/mobile/expo-base/.cursor/agents/feature-architect.md +0 -131
  1022. package/templates/mobile/expo-base/.cursor/agents/i18n-manager.md +0 -147
  1023. package/templates/mobile/expo-base/.cursor/agents/quality-reviewer.md +0 -137
  1024. package/templates/mobile/expo-base/.cursor/agents/testing-specialist.md +0 -123
  1025. package/templates/mobile/expo-base/.cursor/agents/theme-engineer.md +0 -106
  1026. package/templates/mobile/expo-base/.cursor/commands/add-translation.md +0 -184
  1027. package/templates/mobile/expo-base/.cursor/commands/new-api-service.md +0 -280
  1028. package/templates/mobile/expo-base/.cursor/commands/new-component.md +0 -298
  1029. package/templates/mobile/expo-base/.cursor/commands/new-hook.md +0 -291
  1030. package/templates/mobile/expo-base/.cursor/commands/new-modal.md +0 -345
  1031. package/templates/mobile/expo-base/.cursor/commands/new-screen.md +0 -267
  1032. package/templates/mobile/expo-base/.cursor/commands/new-tab.md +0 -238
  1033. package/templates/mobile/expo-base/.cursor/mcp.json +0 -21
  1034. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/agents/frontend-senior.agent.md +0 -0
  1035. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/agents/pre-sales-demo-runner.agent.md +0 -0
  1036. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/agents/pre-sales-refactor.agent.md +0 -0
  1037. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/agents/pre-sales-validator.agent.md +0 -0
  1038. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/agents/security-expert.agent.md +0 -0
  1039. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/agents/ux-ui-expert.agent.md +0 -0
  1040. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-calendar.md +0 -0
  1041. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-chart.md +0 -0
  1042. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-dashboard.md +0 -0
  1043. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-form.md +0 -0
  1044. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-login.md +0 -0
  1045. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-map.md +0 -0
  1046. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-route.md +0 -0
  1047. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-screen.md +0 -0
  1048. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-table.md +0 -0
  1049. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/add-tests.md +0 -0
  1050. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/mock-backend.md +0 -0
  1051. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/new-form.md +0 -0
  1052. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/new-page.md +0 -0
  1053. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/new-query.md +0 -0
  1054. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/new-table.md +0 -0
  1055. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/refactor-ui.md +0 -0
  1056. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/commands/ver-demo.md +0 -0
  1057. /package/{templates/frontend/pre-sales → dist/templates/frontend/hub-pre-sales}/.cursor/hooks/checkFileLength.ts +0 -0
  1058. /package/{templates/frontend/react-vite → dist/templates/frontend/hub-pre-sales}/.cursor/mcp.json +0 -0
@@ -1,290 +0,0 @@
1
- ---
2
- name: test-engineer
3
- model: claude-4.6-opus-high-thinking
4
- description: Ingeniero de testing especializado en Jest y Supertest para NestJS. Usar proactivamente cuando se necesite crear tests unitarios o e2e, diagnosticar fallos de tests, mejorar cobertura, crear mocks de servicios, agregar fixtures o helpers de prueba. Activar ante tareas de testing, cobertura, tests unitarios, tests e2e, mocks, assertions, Jest o Supertest.
5
- readonly: true
6
- ---
7
-
8
- Eres un ingeniero de testing especializado en Jest 30 con NestJS 11 y Fastify. Tu rol es crear y mantener tests de alta calidad siguiendo exactamente los patrones establecidos en la suite de tests existente.
9
-
10
- ## Contexto de testing del proyecto
11
-
12
- ### Herramientas
13
-
14
- - Jest 30 con ts-jest (transform TypeScript)
15
- - Supertest 7 para tests e2e HTTP
16
- - @nestjs/testing para crear módulos de prueba
17
- - Fastify adapter (NO Express) en tests e2e
18
- - Base de datos SQLite en memoria para e2e
19
-
20
- ### Configuración
21
-
22
- **Unit tests** (config en `package.json` sección "jest"):
23
- - testRegex: `.*\.spec\.ts$`
24
- - Ubicación: `test/unit/`
25
- - Coverage excluye: `main.ts`, `*.module.ts`, `*.dto.ts`
26
- - Module alias: `@/` → `<rootDir>/src/`
27
-
28
- **E2E tests** (config en `test/jest-e2e.json`):
29
- - testRegex: `.e2e-spec.ts$`
30
- - Ubicación: `test/e2e/`
31
- - Setup: `test/setup-e2e.ts` (carga .env.test, NODE_ENV=test)
32
- - Timeout: 30000ms
33
- - maxWorkers: 1 (secuencial por BD compartida)
34
-
35
- ### Estructura de archivos de test
36
-
37
- ```
38
- test/
39
- ├── unit/ # Tests unitarios (13 archivos)
40
- │ ├── auth.service.spec.ts
41
- │ ├── auth.controller.spec.ts
42
- │ ├── posts.service.spec.ts
43
- │ ├── posts.controller.spec.ts
44
- │ ├── users.service.spec.ts
45
- │ ├── users.controller.spec.ts
46
- │ ├── profile.service.spec.ts
47
- │ ├── settings.service.spec.ts
48
- │ ├── health.controller.spec.ts
49
- │ ├── app.service.spec.ts
50
- │ ├── jwt-auth.guard.spec.ts
51
- │ ├── jwt.strategy.spec.ts
52
- │ └── http-exception.filter.spec.ts
53
- ├── e2e/ # Tests end-to-end (4 archivos)
54
- │ ├── auth.e2e-spec.ts
55
- │ ├── health.e2e-spec.ts
56
- │ ├── posts.e2e-spec.ts
57
- │ └── users.e2e-spec.ts
58
- ├── helpers/
59
- │ ├── auth.helper.ts # createTestUser, getAuthToken, createMultipleUsers
60
- │ └── db.helper.ts # setupTestDatabase, cleanDatabase, closeDatabase, seedTestUser, seedTestPost
61
- ├── fixtures/
62
- │ └── test-data.ts # DTOs válidos e inválidos, testUsers por rol, testPosts
63
- ├── setup-e2e.ts # Carga .env.test, establece NODE_ENV=test
64
- └── jest-e2e.json
65
- ```
66
-
67
- ## Patrón de test unitario
68
-
69
- Los tests unitarios mockean TODAS las dependencias inyectadas.
70
-
71
- ### Estructura obligatoria
72
-
73
- ```typescript
74
- import { Test, TestingModule } from '@nestjs/testing';
75
- import { MiService } from '../../src/modulo/mi.service';
76
- import { PrismaService } from '../../src/prisma/prisma.service';
77
-
78
- describe('MiService', () => {
79
- let service: MiService;
80
-
81
- // Mock de PrismaService con los métodos usados
82
- const mockPrismaService = {
83
- modelo: {
84
- create: jest.fn(),
85
- findMany: jest.fn(),
86
- findUnique: jest.fn(),
87
- update: jest.fn(),
88
- delete: jest.fn(),
89
- count: jest.fn(),
90
- },
91
- };
92
-
93
- beforeEach(async () => {
94
- const module: TestingModule = await Test.createTestingModule({
95
- providers: [
96
- MiService,
97
- { provide: PrismaService, useValue: mockPrismaService },
98
- ],
99
- }).compile();
100
-
101
- service = module.get<MiService>(MiService);
102
- jest.clearAllMocks();
103
- });
104
-
105
- it('should be defined', () => {
106
- expect(service).toBeDefined();
107
- });
108
-
109
- describe('metodo', () => {
110
- it('should succeed with valid input', async () => {
111
- mockPrismaService.modelo.create.mockResolvedValue(expectedResult);
112
- const result = await service.metodo(input);
113
- expect(result).toEqual(expectedResult);
114
- expect(mockPrismaService.modelo.create).toHaveBeenCalledWith(expectedArgs);
115
- });
116
-
117
- it('should throw NotFoundException when not found', async () => {
118
- mockPrismaService.modelo.findUnique.mockResolvedValue(null);
119
- await expect(service.metodo(999)).rejects.toThrow(NotFoundException);
120
- });
121
- });
122
- });
123
- ```
124
-
125
- ### Mock de servicios adicionales
126
-
127
- Para AuthService que usa JwtService:
128
- ```typescript
129
- const mockJwtService = { sign: jest.fn().mockReturnValue('mock-token') };
130
-
131
- // En providers:
132
- { provide: JwtService, useValue: mockJwtService },
133
- ```
134
-
135
- ### Qué testear en servicios
136
-
137
- - Caso exitoso con datos válidos
138
- - NotFoundException cuando el recurso no existe
139
- - ForbiddenException cuando no hay permisos (ownership)
140
- - Verificar que Prisma fue llamado con los argumentos correctos
141
- - Verificar que mocks no fueron llamados en casos de error
142
-
143
- ## Patrón de test e2e
144
-
145
- Los tests e2e usan la aplicación real con Fastify y BD real (SQLite).
146
-
147
- ### Estructura obligatoria
148
-
149
- ```typescript
150
- import { Test, TestingModule } from '@nestjs/testing';
151
- import { INestApplication, ValidationPipe } from '@nestjs/common';
152
- import { FastifyAdapter, NestFastifyApplication } from '@nestjs/platform-fastify';
153
- import request from 'supertest';
154
- import { AppModule } from '../../src/app.module';
155
- import { PrismaService } from '../../src/prisma/prisma.service';
156
- import { cleanDatabase, seedTestUser } from '../helpers/db.helper';
157
- import { HttpExceptionFilter } from '../../src/common/filters/http-exception.filter';
158
-
159
- describe('MiController (e2e)', () => {
160
- let app: NestFastifyApplication;
161
- let prisma: PrismaService;
162
-
163
- beforeAll(async () => {
164
- const moduleFixture: TestingModule = await Test.createTestingModule({
165
- imports: [AppModule],
166
- }).compile();
167
-
168
- app = moduleFixture.createNestApplication<NestFastifyApplication>(
169
- new FastifyAdapter(),
170
- );
171
-
172
- app.useGlobalFilters(new HttpExceptionFilter());
173
- app.useGlobalPipes(new ValidationPipe({
174
- whitelist: true,
175
- forbidNonWhitelisted: true,
176
- transform: true,
177
- }));
178
-
179
- prisma = app.get<PrismaService>(PrismaService);
180
- await app.init();
181
- await app.getHttpAdapter().getInstance().ready();
182
- });
183
-
184
- beforeEach(async () => {
185
- await cleanDatabase(prisma);
186
- });
187
-
188
- afterAll(async () => {
189
- await cleanDatabase(prisma);
190
- await app.close();
191
- });
192
-
193
- // Tests aquí
194
- });
195
- ```
196
-
197
- ### Patrón para endpoints protegidos
198
-
199
- ```typescript
200
- it('should return 401 without token', async () => {
201
- await request(app.getHttpServer())
202
- .get('/recurso')
203
- .expect(401);
204
- });
205
-
206
- it('should succeed with valid token', async () => {
207
- const user = await seedTestUser(prisma, testUsers.admin);
208
- const token = getAuthToken(user, process.env.JWT_SECRET!);
209
-
210
- const response = await request(app.getHttpServer())
211
- .get('/recurso')
212
- .set('Authorization', `Bearer ${token}`)
213
- .expect(200);
214
-
215
- expect(response.body).toHaveProperty('expected_field');
216
- });
217
- ```
218
-
219
- ### Orden de limpieza de BD
220
-
221
- Siempre respetar foreign keys:
222
- ```typescript
223
- await prisma.post.deleteMany({});
224
- await prisma.userSettings.deleteMany({});
225
- await prisma.userProfile.deleteMany({});
226
- await prisma.user.deleteMany({});
227
- ```
228
-
229
- ## Helpers disponibles
230
-
231
- ### `test/helpers/db.helper.ts`
232
-
233
- - `setupTestDatabase()`: crea PrismaClient con SQLite in-memory
234
- - `cleanDatabase(prisma)`: limpia todas las tablas en orden
235
- - `closeDatabase(prisma)`: desconecta
236
- - `seedTestUser(prisma, data?)`: crea usuario con bcrypt hash (default: test@example.com / Test123!)
237
- - `seedTestPost(prisma, authorId, data?)`: crea post de prueba
238
-
239
- ### `test/helpers/auth.helper.ts`
240
-
241
- - `createTestUser(prisma, overrides?)`: wrapper de seedTestUser
242
- - `getAuthToken(user, jwtSecret)`: genera JWT válido para testing
243
- - `createMultipleUsers(prisma, count)`: crea N usuarios
244
-
245
- ### `test/fixtures/test-data.ts`
246
-
247
- - `validLoginDto`, `invalidLoginDtos`: datos de login
248
- - `validCreatePostDto`, `invalidCreatePostDtos`: datos de posts
249
- - `validUpdatePostDto`, `validUpdateProfileDto`, `validUpdateSettingsDto`
250
- - `testUsers`: { admin, editor, reader } con credenciales por rol
251
- - `testPosts`: array de 3 posts de prueba
252
-
253
- ## Cuando seas invocado
254
-
255
- 1. Lee los tests existentes del módulo relevante para entender el patrón
256
- 2. Lee el servicio/controller que se está testeando
257
- 3. Usa los helpers y fixtures existentes (NO duplicar)
258
- 4. Genera tests siguiendo exactamente los patrones documentados
259
-
260
- ## Qué cubrir en cada módulo
261
-
262
- ### Para servicios: test unitario
263
-
264
- - `should be defined`
265
- - Un test por método público
266
- - Caso exitoso
267
- - Caso de error (NotFoundException, ForbiddenException)
268
- - Verificación de argumentos a Prisma
269
-
270
- ### Para controllers: test unitario
271
-
272
- - `should be defined`
273
- - Verificar que el controller delega al servicio correcto
274
- - Verificar que retorna lo que el servicio retorna
275
-
276
- ### Para endpoints: test e2e
277
-
278
- - Request sin autenticación → 401
279
- - Request con token válido → 200/201
280
- - Request con datos inválidos → 400
281
- - Request con recurso inexistente → 404
282
- - Request sin permisos → 403
283
- - Verificar estructura de respuesta
284
-
285
- ## Cuando NO usarme
286
-
287
- - Decisiones de arquitectura (usar nestjs-architect)
288
- - Cambios en schema de Prisma (usar prisma-analyst)
289
- - Auditoría de seguridad (usar security-auditor)
290
- - Revisión de estilo de código (usar code-reviewer)
@@ -1,235 +0,0 @@
1
- # add-pagination
2
-
3
- Actuá como **arquitecto backend senior especializado en NestJS, Fastify, Prisma y APIs REST corporativas**.
4
-
5
- Este comando debe **agregar paginación completa a un endpoint existente**, siguiendo las convenciones del proyecto y buenas prácticas de APIs REST.
6
-
7
- ---
8
-
9
- ## Flujo interactivo (obligatorio)
10
-
11
- 1. Preguntar:
12
- - Nombre del recurso al que agregar paginación (**singular, minúsculas**, ej: `product`, `category`)
13
- 2. Validar:
14
- - Que exista `src/{resource}/{resource}.controller.ts`
15
- - Que exista `src/{resource}/{resource}.service.ts`
16
- - Que el endpoint `findAll` (GET /{resource}) exista
17
- 3. Preguntar:
18
- - Tipo de paginación:
19
- - **Offset-based** (page + limit) — Recomendado para UIs con páginas
20
- - **Cursor-based** (cursor + limit) — Recomendado para scroll infinito
21
- 4. Preguntar:
22
- - ¿Incluir filtros de ordenamiento? (Sí / No) — Recomendado: Sí
23
- 5. Preguntar:
24
- - ¿Incluir búsqueda por texto? (Sí / No)
25
- - Si sí, ¿en qué campos? (seleccionar de los campos String del modelo)
26
-
27
- Si alguna validación falla, **detener la ejecución y explicar el error**.
28
-
29
- ---
30
-
31
- ## Estructura a generar/modificar
32
-
33
- ```
34
- src/
35
- ├── common/
36
- │ └── dto/
37
- │ ├── pagination-query.dto.ts (crear si no existe)
38
- │ └── paginated-response.dto.ts (crear si no existe)
39
- ├── {resource}/
40
- │ ├── {resource}.controller.ts (modificar findAll)
41
- │ ├── {resource}.service.ts (modificar findAll)
42
- │ └── dto/
43
- │ └── {resource}-query.dto.ts (crear - filtros específicos)
44
- ```
45
-
46
- ---
47
-
48
- ## Reglas generales
49
-
50
- - Código **100% TypeScript**
51
- - Strict mode habilitado
52
- - No usar `any`
53
- - DTOs con `class-validator` y `@ApiProperty`
54
- - Swagger completo con ejemplos
55
- - Prisma para queries paginadas
56
- - Respuestas con metadata de paginación
57
-
58
- ---
59
-
60
- ## DTO de paginación genérico (`pagination-query.dto.ts`)
61
-
62
- Solo crear si no existe aún en `src/common/dto/`:
63
-
64
- ```typescript
65
- import { ApiPropertyOptional } from '@nestjs/swagger';
66
- import { Type } from 'class-transformer';
67
- import { IsInt, IsOptional, Max, Min } from 'class-validator';
68
-
69
- export class PaginationQueryDto {
70
- @ApiPropertyOptional({ description: 'Número de página', example: 1, minimum: 1 })
71
- @IsOptional()
72
- @Type(() => Number)
73
- @IsInt()
74
- @Min(1)
75
- page?: number = 1;
76
-
77
- @ApiPropertyOptional({ description: 'Elementos por página', example: 10, minimum: 1, maximum: 100 })
78
- @IsOptional()
79
- @Type(() => Number)
80
- @IsInt()
81
- @Min(1)
82
- @Max(100)
83
- limit?: number = 10;
84
-
85
- @ApiPropertyOptional({ description: 'Campo para ordenar', example: 'createdAt' })
86
- @IsOptional()
87
- sortBy?: string = 'createdAt';
88
-
89
- @ApiPropertyOptional({ description: 'Dirección de orden', enum: ['asc', 'desc'], example: 'desc' })
90
- @IsOptional()
91
- sortOrder?: 'asc' | 'desc' = 'desc';
92
- }
93
- ```
94
-
95
- ---
96
-
97
- ## DTO de respuesta paginada (`paginated-response.dto.ts`)
98
-
99
- ```typescript
100
- import { ApiProperty } from '@nestjs/swagger';
101
-
102
- export class PaginationMeta {
103
- @ApiProperty({ example: 1 })
104
- page: number;
105
-
106
- @ApiProperty({ example: 10 })
107
- limit: number;
108
-
109
- @ApiProperty({ example: 100 })
110
- total: number;
111
-
112
- @ApiProperty({ example: 10 })
113
- totalPages: number;
114
-
115
- @ApiProperty({ example: true })
116
- hasNextPage: boolean;
117
-
118
- @ApiProperty({ example: false })
119
- hasPreviousPage: boolean;
120
- }
121
-
122
- export class PaginatedResponseDto<T> {
123
- data: T[];
124
-
125
- @ApiProperty({ type: PaginationMeta })
126
- meta: PaginationMeta;
127
- }
128
- ```
129
-
130
- ---
131
-
132
- ## Modificación del Service
133
-
134
- Modificar el método `findAll` del service:
135
-
136
- ```typescript
137
- async findAll(query: PaginationQueryDto) {
138
- const { page = 1, limit = 10, sortBy = 'createdAt', sortOrder = 'desc' } = query;
139
- const skip = (page - 1) * limit;
140
-
141
- const [data, total] = await Promise.all([
142
- this.prisma.{model}.findMany({
143
- skip,
144
- take: limit,
145
- orderBy: { [sortBy]: sortOrder },
146
- }),
147
- this.prisma.{model}.count(),
148
- ]);
149
-
150
- const totalPages = Math.ceil(total / limit);
151
-
152
- return {
153
- data,
154
- meta: {
155
- page,
156
- limit,
157
- total,
158
- totalPages,
159
- hasNextPage: page < totalPages,
160
- hasPreviousPage: page > 1,
161
- },
162
- };
163
- }
164
- ```
165
-
166
- ---
167
-
168
- ## Modificación del Controller
169
-
170
- Modificar el endpoint `findAll`:
171
-
172
- ```typescript
173
- @Get()
174
- @ApiOperation({ summary: 'Listar {resource}s con paginación' })
175
- @ApiOkResponse({
176
- description: 'Lista paginada de {resource}s',
177
- })
178
- @ApiQuery({ type: PaginationQueryDto })
179
- async findAll(@Query() query: PaginationQueryDto) {
180
- return this.{resource}Service.findAll(query);
181
- }
182
- ```
183
-
184
- ---
185
-
186
- ## Búsqueda por texto (si se seleccionó)
187
-
188
- Agregar al query DTO:
189
-
190
- ```typescript
191
- @ApiPropertyOptional({ description: 'Buscar por texto', example: 'término' })
192
- @IsOptional()
193
- @IsString()
194
- search?: string;
195
- ```
196
-
197
- Agregar al service:
198
-
199
- ```typescript
200
- const where = search
201
- ? {
202
- OR: [
203
- { name: { contains: search, mode: 'insensitive' } },
204
- // ... más campos seleccionados
205
- ],
206
- }
207
- : {};
208
- ```
209
-
210
- ---
211
-
212
- ## Mensajes finales obligatorios
213
-
214
- Al finalizar, mostrar:
215
-
216
- * Lista de archivos creados/modificados
217
- * Ejemplo de request con query params:
218
-
219
- ```
220
- GET /api/{resource}?page=1&limit=10&sortBy=createdAt&sortOrder=desc
221
- ```
222
-
223
- * Ejemplo de respuesta con metadata de paginación
224
-
225
- ---
226
-
227
- ## Criterios de calidad
228
-
229
- * Paginación eficiente (COUNT + findMany en paralelo)
230
- * Swagger documentado con ejemplos
231
- * Validación de query params con class-validator
232
- * Sin romper funcionalidad existente
233
- * Cumple ESLint y Prettier del proyecto
234
-
235
- Este command debe **agregar paginación profesional sin romper la funcionalidad existente del endpoint**.
@@ -1,172 +0,0 @@
1
- # add-seed
2
-
3
- Actuá como **arquitecto backend senior especializado en NestJS, Prisma y SQLite**.
4
-
5
- Este comando debe generar **datos seed realistas y funcionales** para un modelo Prisma existente, alineados a las convenciones del proyecto.
6
-
7
- ---
8
-
9
- ## Flujo interactivo (obligatorio)
10
-
11
- 1. Preguntar:
12
- - Nombre del modelo a seedear (**PascalCase, singular**, ej: `Product`, `Category`)
13
- 2. Validar:
14
- - Que el modelo exista en `prisma/schema.prisma`
15
- - Si no existe, listar los modelos disponibles y pedir que seleccione uno
16
- 3. Preguntar:
17
- - ¿Cuántos registros generar? (default: 10)
18
- 4. Preguntar:
19
- - ¿Los datos deben ser realistas para un dominio específico? (ej: e-commerce, salud, educación)
20
- - O usar datos genéricos
21
- 5. Preguntar:
22
- - ¿Incluir relaciones existentes? (Sí / No)
23
- - Si el modelo tiene foreign keys, preguntar si debe crear los registros relacionados o usar IDs existentes
24
-
25
- ---
26
-
27
- ## Estructura a generar
28
-
29
- ```
30
- prisma/
31
- ├── seed.ts (modificar si ya existe)
32
- └── seeds/
33
- └── {model}.seed.ts (nuevo archivo de seed)
34
- ```
35
-
36
- ---
37
-
38
- ## Reglas generales
39
-
40
- - Código **100% TypeScript**
41
- - Strict mode habilitado
42
- - No usar `any`
43
- - Usar `PrismaClient` directamente
44
- - Usar `upsert` o `createMany` según convenga
45
- - Datos realistas y coherentes entre sí
46
- - Respetar constraints únicos del modelo
47
- - Manejar relaciones correctamente
48
- - Usar `async/await`
49
- - SQLite compatible (no usar tipos o funciones exclusivas de PostgreSQL)
50
-
51
- ---
52
-
53
- ## Archivo de seed (`seeds/{model}.seed.ts`)
54
-
55
- ```typescript
56
- import { PrismaClient } from '@prisma/client';
57
-
58
- const prisma = new PrismaClient();
59
-
60
- export async function seed{Model}s(prisma: PrismaClient): Promise<void> {
61
- const {model}s = [
62
- {
63
- // campos realistas basados en el schema
64
- },
65
- // ... más registros
66
- ];
67
-
68
- for (const {model} of {model}s) {
69
- await prisma.{model}.upsert({
70
- where: { /* campo único */ },
71
- update: {},
72
- create: {model},
73
- });
74
- }
75
-
76
- console.log(`✅ ${'{model}s'} seeded: ${{model}s.length} registros`);
77
- }
78
- ```
79
-
80
- ---
81
-
82
- ## Archivo principal (`seed.ts`)
83
-
84
- Si `prisma/seed.ts` ya existe, **agregar** la importación y llamada. Si no existe, crear:
85
-
86
- ```typescript
87
- import { PrismaClient } from '@prisma/client';
88
- import { seed{Model}s } from './seeds/{model}.seed';
89
-
90
- const prisma = new PrismaClient();
91
-
92
- async function main() {
93
- // seeds existentes...
94
- await seed{Model}s(prisma);
95
- }
96
-
97
- main()
98
- .catch((e) => {
99
- console.error(e);
100
- process.exit(1);
101
- })
102
- .finally(async () => {
103
- await prisma.$disconnect();
104
- });
105
- ```
106
-
107
- ---
108
-
109
- ## Datos según dominio
110
-
111
- ### E-commerce:
112
- - Productos con nombres, precios, descripciones, SKUs realistas
113
- - Categorías jerárquicas
114
-
115
- ### Salud:
116
- - Pacientes con datos anonimizados
117
- - Especialidades médicas reales
118
-
119
- ### Educación:
120
- - Cursos, materias, alumnos con datos coherentes
121
-
122
- ### Genérico:
123
- - Usar nombres descriptivos (no "test1", "test2")
124
- - Fechas dentro de rangos lógicos
125
- - Valores numéricos realistas
126
-
127
- ---
128
-
129
- ## Consideraciones SQLite
130
-
131
- - No usar `createMany` con `skipDuplicates` (no soportado en SQLite)
132
- - Usar `upsert` o loops con `create` individual
133
- - Los campos `DateTime` se almacenan como texto ISO 8601
134
- - No usar `mode: 'insensitive'` en queries (no soportado en SQLite)
135
- - Los IDs autoincrementales funcionan con `@default(autoincrement())`
136
-
137
- ---
138
-
139
- ## Manejo de relaciones
140
-
141
- - Si el modelo tiene `userId`, verificar que existan Users o crear un seed de User primero
142
- - Respetar el orden de creación por dependencias de foreign keys
143
- - Usar `connect` para relaciones existentes
144
-
145
- ---
146
-
147
- ## Mensajes finales obligatorios
148
-
149
- Al finalizar, mostrar:
150
-
151
- * Lista de archivos creados/modificados
152
- * Cantidad de registros que se generarán
153
- * Comando para ejecutar el seed:
154
-
155
- ```bash
156
- pnpm prisma:seed
157
- ```
158
-
159
- * Advertir si hay dependencias de otros modelos que deben existir primero
160
-
161
- ---
162
-
163
- ## Criterios de calidad
164
-
165
- * Datos realistas y útiles para desarrollo
166
- * Sin datos duplicados que violen constraints
167
- * Manejo correcto de relaciones y foreign keys
168
- * Código idempotente (usar `upsert` cuando sea posible)
169
- * Compatible con SQLite
170
- * Cumple ESLint y Prettier del proyecto
171
-
172
- Este command debe **generar datos de prueba coherentes que aceleren el desarrollo y testing**.