create-huenei-template 0.2.13 → 0.2.15

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 (432) hide show
  1. package/dist/config/templates.js +7 -0
  2. package/dist/templates/cursor/.cursor/agents/config-drift-analyzer.md +152 -0
  3. package/dist/templates/cursor/.cursor/commands/actualizar-reglas.md +580 -0
  4. package/dist/templates/frontend/react-ssr/.cursor/agents/accessibility-reviewer.md +22 -0
  5. package/dist/templates/frontend/react-ssr/.cursor/agents/nextjs-code-reviewer.md +24 -0
  6. package/dist/templates/frontend/react-ssr/.cursor/agents/react-test-expert.md +32 -0
  7. package/dist/templates/frontend/react-ssr/.cursor/agents/security-auditor.md +25 -0
  8. package/dist/templates/frontend/react-ssr/.cursor/commands/new-component.md +97 -0
  9. package/dist/templates/frontend/react-ssr/.cursor/commands/new-page.md +95 -0
  10. package/dist/templates/frontend/react-ssr/.cursor/commands/new-prisma-model.md +66 -0
  11. package/dist/templates/frontend/react-ssr/.cursor/commands/new-server-action.md +89 -0
  12. package/dist/templates/frontend/react-ssr/.cursor/hooks/auto-format.ts +64 -0
  13. package/dist/templates/frontend/react-ssr/.cursor/hooks/auto-test-on-stop.ts +94 -0
  14. package/dist/templates/frontend/react-ssr/.cursor/hooks/block-dangerous-commands.ts +120 -0
  15. package/dist/templates/frontend/react-ssr/.cursor/hooks/ensure-tests-exist.ts +209 -0
  16. package/dist/templates/frontend/react-ssr/.cursor/hooks/protect-sensitive-files.ts +101 -0
  17. package/dist/templates/frontend/react-ssr/.cursor/hooks/session-context.ts +93 -0
  18. package/dist/templates/frontend/react-ssr/.cursor/hooks/tsconfig.json +10 -0
  19. package/dist/templates/frontend/react-ssr/.cursor/hooks.json +41 -0
  20. package/dist/templates/frontend/react-ssr/.cursor/rules/auth-patterns.mdc +48 -0
  21. package/dist/templates/frontend/react-ssr/.cursor/rules/code-quality.mdc +39 -0
  22. package/dist/templates/frontend/react-ssr/.cursor/rules/naming-conventions.mdc +32 -0
  23. package/dist/templates/frontend/react-ssr/.cursor/rules/nextjs-architecture.mdc +51 -0
  24. package/dist/templates/frontend/react-ssr/.cursor/rules/prisma-standards.mdc +53 -0
  25. package/dist/templates/frontend/react-ssr/.cursor/rules/react-conventions.mdc +52 -0
  26. package/dist/templates/frontend/react-ssr/.cursor/rules/testing-conventions.mdc +53 -0
  27. package/dist/templates/frontend/react-ssr/.cursor/rules/ui-stack.mdc +47 -0
  28. package/dist/templates/frontend/react-ssr/.cursor/skills/authjs-skills/SKILL.md +1149 -0
  29. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/SKILL.md +189 -0
  30. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/daisyUI5.skill +0 -0
  31. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/creating-components.md +412 -0
  32. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/data-display.md +341 -0
  33. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/feedback.md +240 -0
  34. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/input.md +283 -0
  35. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/layout.md +275 -0
  36. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/navigation.md +338 -0
  37. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/scripts/daisy-meta.ts +220 -0
  38. package/dist/templates/frontend/react-ssr/.cursor/skills/daisyui-5/scripts/generate-daisy-safelist.ts +152 -0
  39. package/dist/templates/frontend/react-ssr/.cursor/skills/docker-expert/SKILL.md +413 -0
  40. package/dist/templates/frontend/react-ssr/.cursor/skills/nextjs-app-router-patterns/SKILL.md +537 -0
  41. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/SKILL.md +243 -0
  42. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/db-execute.md +75 -0
  43. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/db-pull.md +185 -0
  44. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/db-push.md +148 -0
  45. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/db-seed.md +191 -0
  46. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/debug.md +46 -0
  47. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/dev.md +157 -0
  48. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/format.md +48 -0
  49. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/generate.md +147 -0
  50. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/init.md +118 -0
  51. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-deploy.md +127 -0
  52. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-dev.md +143 -0
  53. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-diff.md +89 -0
  54. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-reset.md +72 -0
  55. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-resolve.md +57 -0
  56. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-status.md +65 -0
  57. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/studio.md +122 -0
  58. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/validate.md +53 -0
  59. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/SKILL.md +216 -0
  60. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/client-methods.md +221 -0
  61. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/constructor.md +185 -0
  62. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/filters.md +256 -0
  63. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/model-queries.md +281 -0
  64. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/query-options.md +276 -0
  65. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/raw-queries.md +194 -0
  66. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/relations.md +308 -0
  67. package/dist/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/transactions.md +184 -0
  68. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/AGENTS.md +97 -0
  69. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/README.md +138 -0
  70. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/SKILL.md +116 -0
  71. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/assets/templates/_template.md +26 -0
  72. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/_sections.md +46 -0
  73. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
  74. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
  75. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
  76. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
  77. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
  78. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
  79. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
  80. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
  81. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
  82. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
  83. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
  84. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
  85. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
  86. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
  87. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
  88. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
  89. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
  90. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
  91. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
  92. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
  93. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
  94. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
  95. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
  96. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
  97. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
  98. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
  99. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
  100. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
  101. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
  102. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
  103. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
  104. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
  105. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
  106. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
  107. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
  108. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
  109. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
  110. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
  111. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
  112. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
  113. package/dist/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
  114. package/dist/templates/frontend/react-ssr/.cursor/skills/recharts/SKILL.md +713 -0
  115. package/dist/templates/frontend/react-ssr/.cursor/skills/recharts/references/api_reference.md +1121 -0
  116. package/dist/templates/frontend/react-ssr/.cursor/skills/recharts/references/best_practices.md +782 -0
  117. package/dist/templates/frontend/react-ssr/.cursor/skills/recharts/references/examples.md +940 -0
  118. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/SKILL.md +114 -0
  119. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/cache-gc-time.md +93 -0
  120. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/cache-invalidation.md +116 -0
  121. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/cache-placeholder-vs-initial.md +156 -0
  122. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/cache-stale-time.md +80 -0
  123. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/err-error-boundaries.md +150 -0
  124. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/inf-page-params.md +132 -0
  125. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/mut-invalidate-queries.md +118 -0
  126. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/mut-mutation-state.md +169 -0
  127. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/mut-optimistic-updates.md +137 -0
  128. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/network-mode.md +179 -0
  129. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/parallel-use-queries.md +152 -0
  130. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/perf-select-transform.md +144 -0
  131. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/persist-queries.md +194 -0
  132. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/pf-intent-prefetch.md +143 -0
  133. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-array-structure.md +50 -0
  134. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-factory-pattern.md +102 -0
  135. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-hierarchical-organization.md +76 -0
  136. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-include-dependencies.md +62 -0
  137. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-serializable.md +93 -0
  138. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/query-cancellation.md +171 -0
  139. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/ssr-dehydration.md +158 -0
  140. package/dist/templates/frontend/react-ssr/.cursor/skills/tanstack-table/SKILL.md +582 -0
  141. package/dist/templates/frontend/react-ssr/.cursor/skills/zod-4/SKILL.md +216 -0
  142. package/dist/templates/frontend/react-ssr/.dockerignore +14 -0
  143. package/dist/templates/frontend/react-ssr/.env.example +9 -0
  144. package/dist/templates/frontend/react-ssr/.husky/pre-commit +1 -0
  145. package/dist/templates/frontend/react-ssr/Dockerfile +41 -0
  146. package/dist/templates/frontend/react-ssr/README.md +121 -0
  147. package/dist/templates/frontend/react-ssr/components.json +22 -0
  148. package/dist/templates/frontend/react-ssr/docker-compose.yml +21 -0
  149. package/dist/templates/frontend/react-ssr/eslint.config.mjs +26 -0
  150. package/dist/templates/frontend/react-ssr/next.config.ts +7 -0
  151. package/dist/templates/frontend/react-ssr/package.json +86 -0
  152. package/dist/templates/frontend/react-ssr/postcss.config.mjs +5 -0
  153. package/dist/templates/frontend/react-ssr/prisma/schema.prisma +75 -0
  154. package/dist/templates/frontend/react-ssr/prisma/seed.ts +109 -0
  155. package/dist/templates/frontend/react-ssr/prisma.config.ts +17 -0
  156. package/dist/templates/frontend/react-ssr/skills-lock.json +65 -0
  157. package/dist/templates/frontend/react-ssr/src/__tests__/components/ui/badge.test.tsx +26 -0
  158. package/dist/templates/frontend/react-ssr/src/__tests__/components/ui/button.test.tsx +38 -0
  159. package/dist/templates/frontend/react-ssr/src/__tests__/components/ui/card.test.tsx +39 -0
  160. package/dist/templates/frontend/react-ssr/src/__tests__/components/ui/input.test.tsx +32 -0
  161. package/dist/templates/frontend/react-ssr/src/__tests__/hooks/useLocalStorage.test.ts +53 -0
  162. package/dist/templates/frontend/react-ssr/src/__tests__/lib/queryClient.test.ts +19 -0
  163. package/dist/templates/frontend/react-ssr/src/__tests__/lib/utils.test.ts +24 -0
  164. package/dist/templates/frontend/react-ssr/src/actions/auth.ts +91 -0
  165. package/dist/templates/frontend/react-ssr/src/actions/contacto.ts +46 -0
  166. package/dist/templates/frontend/react-ssr/src/actions/proyectos.ts +159 -0
  167. package/dist/templates/frontend/react-ssr/src/app/(authenticated)/dashboard/dashboard-client.tsx +321 -0
  168. package/dist/templates/frontend/react-ssr/src/app/(authenticated)/dashboard/page.tsx +48 -0
  169. package/dist/templates/frontend/react-ssr/src/app/(authenticated)/layout.tsx +34 -0
  170. package/dist/templates/frontend/react-ssr/src/app/(authenticated)/perfil/page.tsx +85 -0
  171. package/dist/templates/frontend/react-ssr/src/app/(authenticated)/proyectos-crud/page.tsx +23 -0
  172. package/dist/templates/frontend/react-ssr/src/app/(authenticated)/proyectos-crud/proyectos-crud-client.tsx +472 -0
  173. package/dist/templates/frontend/react-ssr/src/app/(authenticated)/ui-components/page.tsx +358 -0
  174. package/dist/templates/frontend/react-ssr/src/app/api/auth/[...nextauth]/route.ts +3 -0
  175. package/dist/templates/frontend/react-ssr/src/app/auth/iniciar-sesion/page.tsx +148 -0
  176. package/dist/templates/frontend/react-ssr/src/app/auth/recuperar-password/page.tsx +100 -0
  177. package/dist/templates/frontend/react-ssr/src/app/auth/registro/page.tsx +154 -0
  178. package/dist/templates/frontend/react-ssr/src/app/contacto/contacto-form.tsx +189 -0
  179. package/dist/templates/frontend/react-ssr/src/app/contacto/page.tsx +11 -0
  180. package/dist/templates/frontend/react-ssr/src/app/globals.css +99 -0
  181. package/dist/templates/frontend/react-ssr/src/app/layout.tsx +22 -0
  182. package/dist/templates/frontend/react-ssr/src/app/loading.tsx +7 -0
  183. package/dist/templates/frontend/react-ssr/src/app/not-found.tsx +14 -0
  184. package/dist/templates/frontend/react-ssr/src/app/page.tsx +331 -0
  185. package/dist/templates/frontend/react-ssr/src/app/proyectos/page.tsx +178 -0
  186. package/dist/templates/frontend/react-ssr/src/auth.ts +64 -0
  187. package/dist/templates/frontend/react-ssr/src/components/layout/navbar.tsx +68 -0
  188. package/dist/templates/frontend/react-ssr/src/components/layout/sidebar.tsx +109 -0
  189. package/dist/templates/frontend/react-ssr/src/components/layout/sign-out-button.tsx +16 -0
  190. package/dist/templates/frontend/react-ssr/src/components/providers.tsx +33 -0
  191. package/dist/templates/frontend/react-ssr/src/components/ui/avatar.tsx +53 -0
  192. package/dist/templates/frontend/react-ssr/src/components/ui/badge.tsx +42 -0
  193. package/dist/templates/frontend/react-ssr/src/components/ui/breadcrumb.tsx +114 -0
  194. package/dist/templates/frontend/react-ssr/src/components/ui/button.tsx +58 -0
  195. package/dist/templates/frontend/react-ssr/src/components/ui/card.tsx +95 -0
  196. package/dist/templates/frontend/react-ssr/src/components/ui/dialog.tsx +136 -0
  197. package/dist/templates/frontend/react-ssr/src/components/ui/form.tsx +168 -0
  198. package/dist/templates/frontend/react-ssr/src/components/ui/input.tsx +22 -0
  199. package/dist/templates/frontend/react-ssr/src/components/ui/label.tsx +26 -0
  200. package/dist/templates/frontend/react-ssr/src/components/ui/password-input.tsx +43 -0
  201. package/dist/templates/frontend/react-ssr/src/components/ui/separator.tsx +30 -0
  202. package/dist/templates/frontend/react-ssr/src/components/ui/table.tsx +240 -0
  203. package/dist/templates/frontend/react-ssr/src/components/ui/tabs.tsx +76 -0
  204. package/dist/templates/frontend/react-ssr/src/components/ui/textarea.tsx +21 -0
  205. package/dist/templates/frontend/react-ssr/src/data/dashboard.ts +179 -0
  206. package/dist/templates/frontend/react-ssr/src/hooks/useLocalStorage.ts +38 -0
  207. package/dist/templates/frontend/react-ssr/src/lib/prisma.ts +24 -0
  208. package/dist/templates/frontend/react-ssr/src/lib/queryClient.ts +25 -0
  209. package/dist/templates/frontend/react-ssr/src/lib/utils.ts +6 -0
  210. package/dist/templates/frontend/react-ssr/src/proxy.ts +31 -0
  211. package/dist/templates/frontend/react-ssr/src/test/mocks/next-navigation.ts +16 -0
  212. package/dist/templates/frontend/react-ssr/src/test/setup.ts +1 -0
  213. package/dist/templates/frontend/react-ssr/src/test/utils.tsx +30 -0
  214. package/dist/templates/frontend/react-ssr/src/types/index.ts +36 -0
  215. package/dist/templates/frontend/react-ssr/tsconfig.json +41 -0
  216. package/dist/templates/frontend/react-ssr/vitest.config.ts +41 -0
  217. package/package.json +1 -1
  218. package/templates/cursor/.cursor/agents/config-drift-analyzer.md +152 -0
  219. package/templates/cursor/.cursor/commands/actualizar-reglas.md +580 -0
  220. package/templates/frontend/react-ssr/.cursor/agents/accessibility-reviewer.md +22 -0
  221. package/templates/frontend/react-ssr/.cursor/agents/nextjs-code-reviewer.md +24 -0
  222. package/templates/frontend/react-ssr/.cursor/agents/react-test-expert.md +32 -0
  223. package/templates/frontend/react-ssr/.cursor/agents/security-auditor.md +25 -0
  224. package/templates/frontend/react-ssr/.cursor/commands/new-component.md +97 -0
  225. package/templates/frontend/react-ssr/.cursor/commands/new-page.md +95 -0
  226. package/templates/frontend/react-ssr/.cursor/commands/new-prisma-model.md +66 -0
  227. package/templates/frontend/react-ssr/.cursor/commands/new-server-action.md +89 -0
  228. package/templates/frontend/react-ssr/.cursor/hooks/auto-format.ts +64 -0
  229. package/templates/frontend/react-ssr/.cursor/hooks/auto-test-on-stop.ts +94 -0
  230. package/templates/frontend/react-ssr/.cursor/hooks/block-dangerous-commands.ts +120 -0
  231. package/templates/frontend/react-ssr/.cursor/hooks/ensure-tests-exist.ts +209 -0
  232. package/templates/frontend/react-ssr/.cursor/hooks/protect-sensitive-files.ts +101 -0
  233. package/templates/frontend/react-ssr/.cursor/hooks/session-context.ts +93 -0
  234. package/templates/frontend/react-ssr/.cursor/hooks/tsconfig.json +10 -0
  235. package/templates/frontend/react-ssr/.cursor/hooks.json +41 -0
  236. package/templates/frontend/react-ssr/.cursor/rules/auth-patterns.mdc +48 -0
  237. package/templates/frontend/react-ssr/.cursor/rules/code-quality.mdc +39 -0
  238. package/templates/frontend/react-ssr/.cursor/rules/naming-conventions.mdc +32 -0
  239. package/templates/frontend/react-ssr/.cursor/rules/nextjs-architecture.mdc +51 -0
  240. package/templates/frontend/react-ssr/.cursor/rules/prisma-standards.mdc +53 -0
  241. package/templates/frontend/react-ssr/.cursor/rules/react-conventions.mdc +52 -0
  242. package/templates/frontend/react-ssr/.cursor/rules/testing-conventions.mdc +53 -0
  243. package/templates/frontend/react-ssr/.cursor/rules/ui-stack.mdc +47 -0
  244. package/templates/frontend/react-ssr/.cursor/skills/authjs-skills/SKILL.md +1149 -0
  245. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/SKILL.md +189 -0
  246. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/daisyUI5.skill +0 -0
  247. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/creating-components.md +412 -0
  248. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/data-display.md +341 -0
  249. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/feedback.md +240 -0
  250. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/input.md +283 -0
  251. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/layout.md +275 -0
  252. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/references/navigation.md +338 -0
  253. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/scripts/daisy-meta.ts +220 -0
  254. package/templates/frontend/react-ssr/.cursor/skills/daisyui-5/scripts/generate-daisy-safelist.ts +152 -0
  255. package/templates/frontend/react-ssr/.cursor/skills/docker-expert/SKILL.md +413 -0
  256. package/templates/frontend/react-ssr/.cursor/skills/nextjs-app-router-patterns/SKILL.md +537 -0
  257. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/SKILL.md +243 -0
  258. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/db-execute.md +75 -0
  259. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/db-pull.md +185 -0
  260. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/db-push.md +148 -0
  261. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/db-seed.md +191 -0
  262. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/debug.md +46 -0
  263. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/dev.md +157 -0
  264. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/format.md +48 -0
  265. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/generate.md +147 -0
  266. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/init.md +118 -0
  267. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-deploy.md +127 -0
  268. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-dev.md +143 -0
  269. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-diff.md +89 -0
  270. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-reset.md +72 -0
  271. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-resolve.md +57 -0
  272. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/migrate-status.md +65 -0
  273. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/studio.md +122 -0
  274. package/templates/frontend/react-ssr/.cursor/skills/prisma-cli/references/validate.md +53 -0
  275. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/SKILL.md +216 -0
  276. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/client-methods.md +221 -0
  277. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/constructor.md +185 -0
  278. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/filters.md +256 -0
  279. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/model-queries.md +281 -0
  280. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/query-options.md +276 -0
  281. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/raw-queries.md +194 -0
  282. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/relations.md +308 -0
  283. package/templates/frontend/react-ssr/.cursor/skills/prisma-client-api/references/transactions.md +184 -0
  284. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/AGENTS.md +97 -0
  285. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/README.md +138 -0
  286. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/SKILL.md +116 -0
  287. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/assets/templates/_template.md +26 -0
  288. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/_sections.md +46 -0
  289. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/adv-devtools-performance.md +69 -0
  290. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/adv-formprovider-memo.md +78 -0
  291. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/adv-testing-wrapper.md +63 -0
  292. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-complete-default-objects.md +66 -0
  293. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-separate-crud-operations.md +76 -0
  294. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-unique-fieldarray-per-name.md +58 -0
  295. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-use-field-id-as-key.md +54 -0
  296. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/array-virtualization-formprovider.md +64 -0
  297. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-avoid-double-registration.md +46 -0
  298. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-controller-field-props.md +56 -0
  299. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-local-state-combination.md +69 -0
  300. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-single-usecontroller-per-component.md +62 -0
  301. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/ctrl-usecontroller-isolation.md +64 -0
  302. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-async-default-values.md +69 -0
  303. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-default-values.md +57 -0
  304. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-revalidate-mode.md +48 -0
  305. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-should-unregister.md +62 -0
  306. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-useeffect-dependency.md +54 -0
  307. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formcfg-validation-mode.md +51 -0
  308. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-avoid-isvalid-with-onsubmit.md +58 -0
  309. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-destructure-formstate.md +48 -0
  310. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-getfieldstate-for-single-field.md +49 -0
  311. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-subscribe-to-specific-fields.md +54 -0
  312. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/formstate-useformstate-isolation.md +62 -0
  313. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/integ-mui-controller-pattern.md +59 -0
  314. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/integ-shadcn-form-import.md +64 -0
  315. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/integ-shadcn-select-wiring.md +64 -0
  316. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/integ-value-transform.md +59 -0
  317. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-avoid-watch-in-render.md +48 -0
  318. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-deep-subscription.md +62 -0
  319. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-useformcontext-sparingly.md +58 -0
  320. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-usewatch-default-value.md +50 -0
  321. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-usewatch-over-watch.md +58 -0
  322. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-usewatch-with-getvalues.md +54 -0
  323. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/sub-watch-specific-fields.md +54 -0
  324. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-delay-error.md +52 -0
  325. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-dynamic-schema-factory.md +57 -0
  326. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-error-message-strategy.md +65 -0
  327. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-inline-vs-resolver.md +63 -0
  328. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-native-validation.md +60 -0
  329. package/templates/frontend/react-ssr/.cursor/skills/react-hook-form/references/valid-resolver-caching.md +58 -0
  330. package/templates/frontend/react-ssr/.cursor/skills/recharts/SKILL.md +713 -0
  331. package/templates/frontend/react-ssr/.cursor/skills/recharts/references/api_reference.md +1121 -0
  332. package/templates/frontend/react-ssr/.cursor/skills/recharts/references/best_practices.md +782 -0
  333. package/templates/frontend/react-ssr/.cursor/skills/recharts/references/examples.md +940 -0
  334. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/SKILL.md +114 -0
  335. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/cache-gc-time.md +93 -0
  336. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/cache-invalidation.md +116 -0
  337. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/cache-placeholder-vs-initial.md +156 -0
  338. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/cache-stale-time.md +80 -0
  339. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/err-error-boundaries.md +150 -0
  340. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/inf-page-params.md +132 -0
  341. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/mut-invalidate-queries.md +118 -0
  342. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/mut-mutation-state.md +169 -0
  343. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/mut-optimistic-updates.md +137 -0
  344. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/network-mode.md +179 -0
  345. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/parallel-use-queries.md +152 -0
  346. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/perf-select-transform.md +144 -0
  347. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/persist-queries.md +194 -0
  348. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/pf-intent-prefetch.md +143 -0
  349. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-array-structure.md +50 -0
  350. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-factory-pattern.md +102 -0
  351. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-hierarchical-organization.md +76 -0
  352. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-include-dependencies.md +62 -0
  353. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/qk-serializable.md +93 -0
  354. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/query-cancellation.md +171 -0
  355. package/templates/frontend/react-ssr/.cursor/skills/tanstack-query-best-practices/rules/ssr-dehydration.md +158 -0
  356. package/templates/frontend/react-ssr/.cursor/skills/tanstack-table/SKILL.md +582 -0
  357. package/templates/frontend/react-ssr/.cursor/skills/zod-4/SKILL.md +216 -0
  358. package/templates/frontend/react-ssr/.dockerignore +14 -0
  359. package/templates/frontend/react-ssr/.env.example +9 -0
  360. package/templates/frontend/react-ssr/.husky/pre-commit +1 -0
  361. package/templates/frontend/react-ssr/Dockerfile +41 -0
  362. package/templates/frontend/react-ssr/README.md +121 -0
  363. package/templates/frontend/react-ssr/components.json +22 -0
  364. package/templates/frontend/react-ssr/docker-compose.yml +21 -0
  365. package/templates/frontend/react-ssr/eslint.config.mjs +26 -0
  366. package/templates/frontend/react-ssr/next.config.ts +7 -0
  367. package/templates/frontend/react-ssr/package.json +86 -0
  368. package/templates/frontend/react-ssr/postcss.config.mjs +5 -0
  369. package/templates/frontend/react-ssr/prisma/schema.prisma +75 -0
  370. package/templates/frontend/react-ssr/prisma/seed.ts +109 -0
  371. package/templates/frontend/react-ssr/prisma.config.ts +17 -0
  372. package/templates/frontend/react-ssr/skills-lock.json +65 -0
  373. package/templates/frontend/react-ssr/src/__tests__/components/ui/badge.test.tsx +26 -0
  374. package/templates/frontend/react-ssr/src/__tests__/components/ui/button.test.tsx +38 -0
  375. package/templates/frontend/react-ssr/src/__tests__/components/ui/card.test.tsx +39 -0
  376. package/templates/frontend/react-ssr/src/__tests__/components/ui/input.test.tsx +32 -0
  377. package/templates/frontend/react-ssr/src/__tests__/hooks/useLocalStorage.test.ts +53 -0
  378. package/templates/frontend/react-ssr/src/__tests__/lib/queryClient.test.ts +19 -0
  379. package/templates/frontend/react-ssr/src/__tests__/lib/utils.test.ts +24 -0
  380. package/templates/frontend/react-ssr/src/actions/auth.ts +91 -0
  381. package/templates/frontend/react-ssr/src/actions/contacto.ts +46 -0
  382. package/templates/frontend/react-ssr/src/actions/proyectos.ts +159 -0
  383. package/templates/frontend/react-ssr/src/app/(authenticated)/dashboard/dashboard-client.tsx +321 -0
  384. package/templates/frontend/react-ssr/src/app/(authenticated)/dashboard/page.tsx +48 -0
  385. package/templates/frontend/react-ssr/src/app/(authenticated)/layout.tsx +34 -0
  386. package/templates/frontend/react-ssr/src/app/(authenticated)/perfil/page.tsx +85 -0
  387. package/templates/frontend/react-ssr/src/app/(authenticated)/proyectos-crud/page.tsx +23 -0
  388. package/templates/frontend/react-ssr/src/app/(authenticated)/proyectos-crud/proyectos-crud-client.tsx +472 -0
  389. package/templates/frontend/react-ssr/src/app/(authenticated)/ui-components/page.tsx +358 -0
  390. package/templates/frontend/react-ssr/src/app/api/auth/[...nextauth]/route.ts +3 -0
  391. package/templates/frontend/react-ssr/src/app/auth/iniciar-sesion/page.tsx +148 -0
  392. package/templates/frontend/react-ssr/src/app/auth/recuperar-password/page.tsx +100 -0
  393. package/templates/frontend/react-ssr/src/app/auth/registro/page.tsx +154 -0
  394. package/templates/frontend/react-ssr/src/app/contacto/contacto-form.tsx +189 -0
  395. package/templates/frontend/react-ssr/src/app/contacto/page.tsx +11 -0
  396. package/templates/frontend/react-ssr/src/app/globals.css +99 -0
  397. package/templates/frontend/react-ssr/src/app/layout.tsx +22 -0
  398. package/templates/frontend/react-ssr/src/app/loading.tsx +7 -0
  399. package/templates/frontend/react-ssr/src/app/not-found.tsx +14 -0
  400. package/templates/frontend/react-ssr/src/app/page.tsx +331 -0
  401. package/templates/frontend/react-ssr/src/app/proyectos/page.tsx +178 -0
  402. package/templates/frontend/react-ssr/src/auth.ts +64 -0
  403. package/templates/frontend/react-ssr/src/components/layout/navbar.tsx +68 -0
  404. package/templates/frontend/react-ssr/src/components/layout/sidebar.tsx +109 -0
  405. package/templates/frontend/react-ssr/src/components/layout/sign-out-button.tsx +16 -0
  406. package/templates/frontend/react-ssr/src/components/providers.tsx +33 -0
  407. package/templates/frontend/react-ssr/src/components/ui/avatar.tsx +53 -0
  408. package/templates/frontend/react-ssr/src/components/ui/badge.tsx +42 -0
  409. package/templates/frontend/react-ssr/src/components/ui/breadcrumb.tsx +114 -0
  410. package/templates/frontend/react-ssr/src/components/ui/button.tsx +58 -0
  411. package/templates/frontend/react-ssr/src/components/ui/card.tsx +95 -0
  412. package/templates/frontend/react-ssr/src/components/ui/dialog.tsx +136 -0
  413. package/templates/frontend/react-ssr/src/components/ui/form.tsx +168 -0
  414. package/templates/frontend/react-ssr/src/components/ui/input.tsx +22 -0
  415. package/templates/frontend/react-ssr/src/components/ui/label.tsx +26 -0
  416. package/templates/frontend/react-ssr/src/components/ui/password-input.tsx +43 -0
  417. package/templates/frontend/react-ssr/src/components/ui/separator.tsx +30 -0
  418. package/templates/frontend/react-ssr/src/components/ui/table.tsx +240 -0
  419. package/templates/frontend/react-ssr/src/components/ui/tabs.tsx +76 -0
  420. package/templates/frontend/react-ssr/src/components/ui/textarea.tsx +21 -0
  421. package/templates/frontend/react-ssr/src/data/dashboard.ts +179 -0
  422. package/templates/frontend/react-ssr/src/hooks/useLocalStorage.ts +38 -0
  423. package/templates/frontend/react-ssr/src/lib/prisma.ts +24 -0
  424. package/templates/frontend/react-ssr/src/lib/queryClient.ts +25 -0
  425. package/templates/frontend/react-ssr/src/lib/utils.ts +6 -0
  426. package/templates/frontend/react-ssr/src/proxy.ts +31 -0
  427. package/templates/frontend/react-ssr/src/test/mocks/next-navigation.ts +16 -0
  428. package/templates/frontend/react-ssr/src/test/setup.ts +1 -0
  429. package/templates/frontend/react-ssr/src/test/utils.tsx +30 -0
  430. package/templates/frontend/react-ssr/src/types/index.ts +36 -0
  431. package/templates/frontend/react-ssr/tsconfig.json +41 -0
  432. package/templates/frontend/react-ssr/vitest.config.ts +41 -0
@@ -13,6 +13,13 @@ export const TEMPLATE_CATALOG = [
13
13
  category: "frontend",
14
14
  path: "frontend/react-vite-help",
15
15
  },
16
+ {
17
+ id: "react-ssr",
18
+ name: "React SSR (Next.js)",
19
+ description: "Next.js 16 con Auth.js, Prisma, MySQL y Docker. SSR, Server Actions y App Router.",
20
+ category: "frontend",
21
+ path: "frontend/react-ssr",
22
+ },
16
23
  {
17
24
  id: "expo-base",
18
25
  name: "Expo",
@@ -0,0 +1,152 @@
1
+ ---
2
+ name: config-drift-analyzer
3
+ description: "Configuration drift analyst. Use proactively during /actualizar-reglas Phase 2 to compare the existing .cursor/ configuration against the current project state and produce a structured delta report of what needs updating, removing, or adding."
4
+ model: inherit
5
+ readonly: true
6
+ ---
7
+
8
+ You are a configuration drift specialist. You receive the project analysis report from the `project-analyzer` subagent and your job is to deeply read every existing `.cursor/` configuration artifact, compare it against the current state of the project, and produce a precise delta report. Every finding MUST cite evidence from the project code or from the configuration file being evaluated.
9
+
10
+ ## Input
11
+
12
+ You will receive the `project-analyzer` report as context in the prompt. This report contains:
13
+ - Technology stack with evidence
14
+ - Architecture and patterns
15
+ - Inferred business rules
16
+ - Significant dependencies
17
+ - Existing `.cursor/` inventory (names only)
18
+
19
+ Your job is to go deeper: **read the actual content** of each configuration file and evaluate whether it is still accurate, complete, and relevant.
20
+
21
+ ## What to analyze
22
+
23
+ ### 1. Rules (.cursor/rules/*.mdc)
24
+
25
+ For EACH rule file:
26
+
27
+ 1. Read its full content (frontmatter + body)
28
+ 2. Check if the files/patterns referenced by `globs` still exist in the project
29
+ 3. Check if the conventions, patterns, or business rules described in the body still match the actual code
30
+ 4. Look for **stale references**: file paths that moved, renamed classes/functions, deprecated patterns
31
+ 5. Look for **incomplete coverage**: the rule describes pattern X but the project now also uses pattern Y in the same domain
32
+ 6. Compare against inferred business rules — does every business rule from the project-analyzer report have a corresponding rule?
33
+
34
+ Classify each rule as:
35
+ - **VIGENTE**: Content is accurate and complete, no changes needed
36
+ - **DESACTUALIZADO**: Content has inaccuracies or is missing new patterns — needs rewriting
37
+ - **OBSOLETO**: References patterns/files/technologies that no longer exist — should be removed
38
+
39
+ ### 2. Skills (.cursor/skills/*)
40
+
41
+ For EACH skill directory:
42
+
43
+ 1. Check if the skill's target technology/library is still a dependency in the project
44
+ 2. If the dependency was removed from the project, the skill is obsolete
45
+ 3. Check the project's dependency files for NEW significant dependencies that lack a skill
46
+
47
+ Classify each skill as:
48
+ - **VIGENTE**: Target technology is still used
49
+ - **OBSOLETO**: Target technology was removed from the project
50
+
51
+ List NEW dependencies that should have a skill but don't.
52
+
53
+ ### 3. Agents (.cursor/agents/*.md)
54
+
55
+ For EACH agent file:
56
+
57
+ 1. Read its full content (frontmatter + prompt)
58
+ 2. Check if the tools, files, patterns, and conventions referenced in the prompt still exist
59
+ 3. Check if the agent's responsibility is still relevant to the project
60
+ 4. Look for **scope drift**: the project's architecture changed and the agent's scope no longer matches
61
+ 5. Check if the `model` setting is still appropriate for the task complexity
62
+
63
+ Classify each agent as:
64
+ - **VIGENTE**: Prompt is accurate and responsibility is relevant
65
+ - **DESACTUALIZADO**: Prompt references stale information — needs rewriting
66
+ - **OBSOLETO**: Responsibility no longer applies to the project
67
+
68
+ Look for gaps: architectural patterns or workflows that would benefit from a new agent.
69
+
70
+ ### 4. Hooks (.cursor/hooks.json + .cursor/hooks/*.ts)
71
+
72
+ If hooks exist:
73
+
74
+ 1. Read `hooks.json` and each hook script
75
+ 2. Check if the matchers/patterns in hooks.json still match actual project files
76
+ 3. Check if the commands in hooks.json point to scripts that exist
77
+ 4. Check if the hook logic is still relevant (e.g., a formatter hook for a formatter that was replaced)
78
+ 5. Check if the linter/formatter referenced by hooks is still configured in the project
79
+
80
+ If no hooks exist, check if the project now has patterns that would benefit from hooks (detected linters, formatters, sensitive files, etc.).
81
+
82
+ ### 5. Commands (.cursor/commands/*.md)
83
+
84
+ For EACH command file:
85
+
86
+ 1. Read its full content
87
+ 2. Check if the project paths, patterns, and conventions referenced still exist
88
+ 3. Check if the scaffolding templates match the current project structure
89
+ 4. Check if the command duplicates functionality now covered by an agent or hook
90
+
91
+ Classify each command as:
92
+ - **VIGENTE**: References and logic are accurate
93
+ - **DESACTUALIZADO**: References stale paths or outdated patterns — needs rewriting
94
+ - **OBSOLETO**: Workflow no longer applies or is covered by another mechanism
95
+
96
+ Look for gaps: repetitive workflows in the project that could be automated with a new command.
97
+
98
+ ## Output format
99
+
100
+ Return your analysis as a single structured markdown document with exactly these sections:
101
+
102
+ ```
103
+ ## Delta Report
104
+
105
+ ### Rules
106
+ For each existing rule:
107
+ - [VIGENTE|DESACTUALIZADO|OBSOLETO]: `nombre.mdc` — [reason with evidence: file:line or specific reference]
108
+
109
+ New rules needed:
110
+ - AGREGAR: `nombre-propuesto.mdc` — [description] (evidencia: [file:line or pattern not covered])
111
+
112
+ ### Skills
113
+ For each existing skill:
114
+ - [VIGENTE|OBSOLETO]: `nombre/` — [reason: dependency still in package.json or removed]
115
+
116
+ New skills needed:
117
+ - AGREGAR: `nombre` — [dependency detected in file X without matching skill]
118
+
119
+ ### Agents
120
+ For each existing agent:
121
+ - [VIGENTE|DESACTUALIZADO|OBSOLETO]: `nombre.md` — [reason with evidence]
122
+ - [If DESACTUALIZADO: specific issues to fix]
123
+
124
+ New agents needed:
125
+ - AGREGAR: `nombre-propuesto.md` — [responsibility] (evidencia: [pattern or workflow detected])
126
+
127
+ ### Hooks
128
+ For each existing hook:
129
+ - [VIGENTE|DESACTUALIZADO|OBSOLETO]: `nombre.ts` — [reason with evidence]
130
+
131
+ New hooks needed:
132
+ - AGREGAR: `nombre-propuesto.ts` — [event: description] (evidencia: [detected pattern])
133
+
134
+ ### Commands
135
+ For each existing command:
136
+ - [VIGENTE|DESACTUALIZADO|OBSOLETO]: `nombre.md` — [reason with evidence]
137
+
138
+ New commands needed:
139
+ - AGREGAR: `/nombre-propuesto` — [what it does] (evidencia: [repetitive pattern detected])
140
+
141
+ ### Resumen de impacto
142
+ | Tipo | Vigentes | Desactualizados | Obsoletos | Nuevos |
143
+ |------|----------|-----------------|-----------|--------|
144
+ | Rules | N | N | N | N |
145
+ | Skills | N | — | N | N |
146
+ | Agents | N | N | N | N |
147
+ | Hooks | N | N | N | N |
148
+ | Commands | N | N | N | N |
149
+ | **Total** | **N** | **N** | **N** | **N** |
150
+ ```
151
+
152
+ Be thorough and precise. A rule that references `src/services/` when the project moved to `src/application/services/` is DESACTUALIZADO. A skill for `lodash` when lodash was removed from package.json is OBSOLETO. A missing rule for a new authentication middleware is a gap that requires AGREGAR. Do NOT skip any artifact and do NOT fabricate evidence.