create-huenei-template 0.2.18 → 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.
- package/dist/templates/frontend/hub-pre-sales/.cursor/context/pre-sales.md +3 -2
- package/dist/templates/frontend/hub-pre-sales/.cursor/rules/architech.mdc +13 -1
- package/dist/templates/frontend/hub-pre-sales/.cursor/rules/component-patterns.mdc +1 -1
- package/dist/templates/frontend/hub-pre-sales/.cursor/rules/gsap-animations.mdc +46 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/rules/pre-sales-mode.mdc +2 -1
- package/dist/templates/frontend/hub-pre-sales/.cursor/rules/restrictions.mdc +3 -1
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/animate/SKILL.md +23 -10
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/delight/SKILL.md +3 -4
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-core/SKILL.md +254 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-frameworks/SKILL.md +266 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-performance/SKILL.md +79 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-plugins/SKILL.md +433 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-react/SKILL.md +136 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-scrolltrigger/SKILL.md +296 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-timeline/SKILL.md +107 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/gsap-utils/SKILL.md +284 -0
- package/dist/templates/frontend/hub-pre-sales/.cursor/skills/overdrive/SKILL.md +1 -1
- package/dist/templates/frontend/hub-pre-sales/AGENTS.md +13 -3
- package/dist/templates/frontend/hub-pre-sales/README.md +2 -1
- package/dist/templates/frontend/hub-pre-sales/package.json +84 -82
- package/dist/templates/frontend/hub-pre-sales/src/lib/gsap.ts +6 -0
- package/dist/templates/frontend/pre-sales/.cursor/rules/architech.mdc +199 -199
- package/dist/templates/frontend/pre-sales/.cursor/rules/deployment-ready.mdc +52 -52
- package/dist/templates/frontend/pre-sales/.cursor/rules/domain-business-bootstrap.mdc +74 -74
- package/dist/templates/frontend/pre-sales/.cursor/rules/pre-sales-mode.mdc +104 -104
- package/dist/templates/frontend/pre-sales/.cursor/rules/separation-of-concerns.mdc +41 -41
- package/dist/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/SKILL.md +296 -296
- package/dist/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/resources/deploy-codex.sh +301 -301
- package/dist/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/resources/deploy.sh +301 -301
- package/dist/templates/frontend/pre-sales/src/__tests__/components/layout/sidebar.test.tsx +58 -58
- package/dist/templates/frontend/pre-sales/src/__tests__/lib/auth.test.ts +102 -102
- package/dist/templates/frontend/pre-sales/src/__tests__/routes/__root.test.tsx +72 -72
- package/dist/templates/frontend/pre-sales/src/__tests__/routes/_authenticated.test.tsx +57 -57
- package/dist/templates/frontend/pre-sales/src/components/layout/navbar.tsx +121 -121
- package/dist/templates/frontend/pre-sales/src/components/ui/combobox.tsx +308 -308
- package/dist/templates/frontend/pre-sales/src/components/ui/command.tsx +179 -179
- package/dist/templates/frontend/pre-sales/src/data/dashboard.ts +249 -249
- package/dist/templates/frontend/pre-sales/src/hooks/useTheme.ts +73 -73
- package/dist/templates/frontend/pre-sales/src/index.css +282 -282
- package/dist/templates/frontend/pre-sales/src/routes/__root.tsx +62 -62
- package/dist/templates/frontend/pre-sales/src/routes/auth/iniciar-sesion.tsx +173 -173
- package/dist/templates/frontend/react-vite/.npmrc.example +28 -0
- package/dist/templates/frontend/react-vite/README.md +17 -0
- package/dist/templates/frontend/react-vite/eslint.config.js +41 -31
- package/dist/templates/frontend/react-vite/package.json +2 -0
- package/dist/templates/frontend/react-vite/src/index.css +3 -15
- package/dist/templates/frontend/react-vite/src/main.tsx +36 -33
- package/dist/templates/frontend/react-vite/src/routes/__root.tsx +3 -3
- package/dist/templates/frontend/react-vite/src/routes/index.tsx +185 -187
- package/dist/templates/frontend/react-vite/src/routes/ui-components.tsx +698 -922
- package/dist/templates/frontend/react-vite/vite.config.ts +7 -2
- package/dist/templates/frontend/react-vite-help/.vscode/settings.json +26 -0
- package/dist/templates/mobile/expo-base/package.json +3 -2
- package/dist/templates/mobile/expo-base/pnpm-workspace.yaml +3 -0
- package/dist/templates/mobile/expo-base/src/features/auth/login-screen.tsx +144 -177
- package/dist/templates/mobile/expo-base/src/i18n/locales/en-US.json +136 -134
- package/dist/templates/mobile/expo-base/src/i18n/locales/es-AR.json +136 -134
- package/package.json +1 -1
- package/templates/frontend/hub-pre-sales/.cursor/context/pre-sales.md +3 -2
- package/templates/frontend/hub-pre-sales/.cursor/rules/architech.mdc +13 -1
- package/templates/frontend/hub-pre-sales/.cursor/rules/component-patterns.mdc +1 -1
- package/templates/frontend/hub-pre-sales/.cursor/rules/gsap-animations.mdc +46 -0
- package/templates/frontend/hub-pre-sales/.cursor/rules/pre-sales-mode.mdc +2 -1
- package/templates/frontend/hub-pre-sales/.cursor/rules/restrictions.mdc +3 -1
- package/templates/frontend/hub-pre-sales/.cursor/skills/animate/SKILL.md +23 -10
- package/templates/frontend/hub-pre-sales/.cursor/skills/delight/SKILL.md +3 -4
- package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-core/SKILL.md +254 -0
- package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-frameworks/SKILL.md +266 -0
- package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-performance/SKILL.md +79 -0
- package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-plugins/SKILL.md +433 -0
- package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-react/SKILL.md +136 -0
- package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-scrolltrigger/SKILL.md +296 -0
- package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-timeline/SKILL.md +107 -0
- package/templates/frontend/hub-pre-sales/.cursor/skills/gsap-utils/SKILL.md +284 -0
- package/templates/frontend/hub-pre-sales/.cursor/skills/overdrive/SKILL.md +1 -1
- package/templates/frontend/hub-pre-sales/AGENTS.md +13 -3
- package/templates/frontend/hub-pre-sales/README.md +2 -1
- package/templates/frontend/hub-pre-sales/package.json +84 -82
- package/templates/frontend/hub-pre-sales/pnpm-lock.yaml +6597 -6575
- package/templates/frontend/hub-pre-sales/skills-lock.json +53 -0
- package/templates/frontend/hub-pre-sales/src/lib/gsap.ts +6 -0
- package/templates/frontend/pre-sales/.cursor/rules/architech.mdc +199 -199
- package/templates/frontend/pre-sales/.cursor/rules/deployment-ready.mdc +52 -52
- package/templates/frontend/pre-sales/.cursor/rules/domain-business-bootstrap.mdc +74 -74
- package/templates/frontend/pre-sales/.cursor/rules/pre-sales-mode.mdc +104 -104
- package/templates/frontend/pre-sales/.cursor/rules/separation-of-concerns.mdc +41 -41
- package/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/SKILL.md +296 -296
- package/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/resources/deploy-codex.sh +301 -301
- package/templates/frontend/pre-sales/.cursor/skills/deploy-to-vercel/resources/deploy.sh +301 -301
- package/templates/frontend/pre-sales/pnpm-lock.yaml +6448 -6448
- package/templates/frontend/pre-sales/skills-lock.json +10 -10
- package/templates/frontend/pre-sales/src/__tests__/components/layout/sidebar.test.tsx +58 -58
- package/templates/frontend/pre-sales/src/__tests__/lib/auth.test.ts +102 -102
- package/templates/frontend/pre-sales/src/__tests__/routes/__root.test.tsx +72 -72
- package/templates/frontend/pre-sales/src/__tests__/routes/_authenticated.test.tsx +57 -57
- package/templates/frontend/pre-sales/src/components/layout/navbar.tsx +121 -121
- package/templates/frontend/pre-sales/src/components/ui/combobox.tsx +308 -308
- package/templates/frontend/pre-sales/src/components/ui/command.tsx +179 -179
- package/templates/frontend/pre-sales/src/data/dashboard.ts +249 -249
- package/templates/frontend/pre-sales/src/hooks/useTheme.ts +73 -73
- package/templates/frontend/pre-sales/src/index.css +282 -282
- package/templates/frontend/pre-sales/src/routes/__root.tsx +62 -62
- package/templates/frontend/pre-sales/src/routes/auth/iniciar-sesion.tsx +173 -173
- package/templates/frontend/react-vite/.npmrc.example +28 -0
- package/templates/frontend/react-vite/README.md +17 -0
- package/templates/frontend/react-vite/eslint.config.js +41 -31
- package/templates/frontend/react-vite/package.json +2 -0
- package/templates/frontend/react-vite/pnpm-lock.yaml +535 -13
- package/templates/frontend/react-vite/src/index.css +3 -15
- package/templates/frontend/react-vite/src/main.tsx +36 -33
- package/templates/frontend/react-vite/src/routes/__root.tsx +3 -3
- package/templates/frontend/react-vite/src/routes/index.tsx +185 -187
- package/templates/frontend/react-vite/src/routes/ui-components.tsx +698 -922
- package/templates/frontend/react-vite/vite.config.ts +7 -2
- package/templates/frontend/react-vite-help/.vscode/settings.json +26 -0
- package/templates/mobile/expo-base/package.json +3 -2
- package/templates/mobile/expo-base/pnpm-lock.yaml +10240 -11354
- package/templates/mobile/expo-base/pnpm-workspace.yaml +3 -0
- package/templates/mobile/expo-base/src/features/auth/login-screen.tsx +144 -177
- package/templates/mobile/expo-base/src/i18n/locales/en-US.json +136 -134
- package/templates/mobile/expo-base/src/i18n/locales/es-AR.json +136 -134
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/agents/nestjs-code-reviewer.md +0 -54
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/agents/prisma-guardian.md +0 -67
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/agents/test-runner.md +0 -57
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/commands/new-endpoint.md +0 -209
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/commands/new-model.md +0 -201
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/autoTestOnStop.ts +0 -127
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/blockDangerous.ts +0 -98
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/ensureTestsExist.ts +0 -405
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/formatOnEdit.ts +0 -70
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/protectSecrets.ts +0 -101
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/sessionInit.ts +0 -104
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks/validatePrisma.ts +0 -121
- package/templates/backend/nestjs-api-mysql-prisma-express/.cursor/hooks.json +0 -46
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/agents/nestjs-code-reviewer.md +0 -54
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/agents/prisma-guardian.md +0 -67
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/agents/test-runner.md +0 -57
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/commands/new-endpoint.md +0 -209
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/commands/new-model.md +0 -201
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/autoTestOnStop.ts +0 -127
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/blockDangerous.ts +0 -98
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/ensureTestsExist.ts +0 -405
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/formatOnEdit.ts +0 -70
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/protectSecrets.ts +0 -101
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/sessionInit.ts +0 -104
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks/validatePrisma.ts +0 -121
- package/templates/backend/nestjs-api-mysql-prisma-fastify/.cursor/hooks.json +0 -46
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/agents/nestjs-code-reviewer.md +0 -23
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/agents/sequelize-guardian.md +0 -37
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/agents/test-runner.md +0 -33
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/commands/new-endpoint.md +0 -76
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/commands/new-model.md +0 -85
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/autoTestOnStop.ts +0 -127
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/blockDangerous.ts +0 -98
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/ensureTestsExist.ts +0 -397
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/formatOnEdit.ts +0 -66
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/protectSecrets.ts +0 -101
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks/sessionInit.ts +0 -104
- package/templates/backend/nestjs-api-mysql-sequelize-express/.cursor/hooks.json +0 -41
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/agents/nestjs-code-reviewer.md +0 -23
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/agents/sequelize-guardian.md +0 -37
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/agents/test-runner.md +0 -33
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/commands/new-endpoint.md +0 -76
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/commands/new-model.md +0 -85
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/autoTestOnStop.ts +0 -127
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/blockDangerous.ts +0 -98
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/ensureTestsExist.ts +0 -397
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/formatOnEdit.ts +0 -66
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/protectSecrets.ts +0 -101
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks/sessionInit.ts +0 -104
- package/templates/backend/nestjs-api-mysql-sequelize-fastify/.cursor/hooks.json +0 -41
- package/templates/backend/nestjs-api-postgres/.cursor/agents/nestjs-code-reviewer.md +0 -54
- package/templates/backend/nestjs-api-postgres/.cursor/agents/prisma-guardian.md +0 -62
- package/templates/backend/nestjs-api-postgres/.cursor/agents/security-auditor.md +0 -71
- package/templates/backend/nestjs-api-postgres/.cursor/agents/test-runner.md +0 -58
- package/templates/backend/nestjs-api-postgres/.cursor/commands/add-pagination.md +0 -235
- package/templates/backend/nestjs-api-postgres/.cursor/commands/add-seed.md +0 -160
- package/templates/backend/nestjs-api-postgres/.cursor/commands/add-tests.md +0 -322
- package/templates/backend/nestjs-api-postgres/.cursor/commands/new-endpoint.md +0 -209
- package/templates/backend/nestjs-api-postgres/.cursor/commands/new-guard.md +0 -195
- package/templates/backend/nestjs-api-postgres/.cursor/commands/new-interceptor.md +0 -188
- package/templates/backend/nestjs-api-postgres/.cursor/commands/new-middleware.md +0 -176
- package/templates/backend/nestjs-api-postgres/.cursor/commands/new-model.md +0 -201
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/auto-retry.ts +0 -62
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/block-dangerous.ts +0 -202
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/format-and-validate.ts +0 -124
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/protect-secrets.ts +0 -105
- package/templates/backend/nestjs-api-postgres/.cursor/hooks/session-context.ts +0 -130
- package/templates/backend/nestjs-api-postgres/.cursor/hooks.json +0 -36
- package/templates/backend/nestjs-api-postgres/.cursor/mcp.json +0 -21
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/code-reviewer.md +0 -153
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/nestjs-architect.md +0 -138
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/prisma-analyst.md +0 -164
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/security-auditor.md +0 -150
- package/templates/backend/nestjs-api-sqlite/.cursor/agents/test-engineer.md +0 -290
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-pagination.md +0 -235
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-seed.md +0 -172
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/add-tests.md +0 -322
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-endpoint.md +0 -209
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-guard.md +0 -195
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-interceptor.md +0 -188
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-middleware.md +0 -176
- package/templates/backend/nestjs-api-sqlite/.cursor/commands/new-model.md +0 -201
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/auto-format.ts +0 -80
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/block-dangerous-commands.ts +0 -144
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/prisma-schema-watcher.ts +0 -64
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/protect-sensitive-files.ts +0 -122
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks/session-context.ts +0 -105
- package/templates/backend/nestjs-api-sqlite/.cursor/hooks.json +0 -18
- package/templates/backend/nestjs-api-sqlite/.cursor/mcp.json +0 -17
- package/templates/backend/nestjs-api-sqlserver/.cursor/agents/nestjs-code-reviewer.md +0 -54
- package/templates/backend/nestjs-api-sqlserver/.cursor/agents/prisma-guardian.md +0 -67
- package/templates/backend/nestjs-api-sqlserver/.cursor/agents/test-runner.md +0 -57
- package/templates/backend/nestjs-api-sqlserver/.cursor/commands/new-endpoint.md +0 -209
- package/templates/backend/nestjs-api-sqlserver/.cursor/commands/new-model.md +0 -201
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/autoTestOnStop.ts +0 -127
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/blockDangerous.ts +0 -98
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/ensureTestsExist.ts +0 -405
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/formatOnEdit.ts +0 -70
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/protectSecrets.ts +0 -101
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/sessionInit.ts +0 -104
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks/validatePrisma.ts +0 -121
- package/templates/backend/nestjs-api-sqlserver/.cursor/hooks.json +0 -46
- package/templates/frontend/angular-base/.cursor/agents/accessibility-reviewer.md +0 -67
- package/templates/frontend/angular-base/.cursor/agents/angular-code-reviewer.md +0 -60
- package/templates/frontend/angular-base/.cursor/agents/qa-test-expert.md +0 -70
- package/templates/frontend/angular-base/.cursor/agents/security-auditor.md +0 -58
- package/templates/frontend/angular-base/.cursor/commands/add-e2e-test.md +0 -236
- package/templates/frontend/angular-base/.cursor/commands/new-component.md +0 -211
- package/templates/frontend/angular-base/.cursor/commands/new-form.md +0 -284
- package/templates/frontend/angular-base/.cursor/commands/new-interceptor.md +0 -257
- package/templates/frontend/angular-base/.cursor/commands/new-page.md +0 -215
- package/templates/frontend/angular-base/.cursor/commands/new-service.md +0 -203
- package/templates/frontend/angular-base/.cursor/hooks/auto-format.ts +0 -70
- package/templates/frontend/angular-base/.cursor/hooks/auto-test-on-stop.ts +0 -113
- package/templates/frontend/angular-base/.cursor/hooks/block-dangerous-commands.ts +0 -160
- package/templates/frontend/angular-base/.cursor/hooks/ensure-tests-exist.ts +0 -363
- package/templates/frontend/angular-base/.cursor/hooks/protect-sensitive-files.ts +0 -118
- package/templates/frontend/angular-base/.cursor/hooks/session-context.ts +0 -110
- package/templates/frontend/angular-base/.cursor/hooks.json +0 -41
- package/templates/frontend/angular-base/.cursor/mcp.json +0 -21
- package/templates/frontend/angular-nx/.cursor/agents/angular-code-reviewer.md +0 -64
- package/templates/frontend/angular-nx/.cursor/agents/ci-watcher.md +0 -480
- package/templates/frontend/angular-nx/.cursor/agents/nx-architecture-guardian.md +0 -69
- package/templates/frontend/angular-nx/.cursor/agents/qa-test-expert.md +0 -75
- package/templates/frontend/angular-nx/.cursor/agents/security-auditor.md +0 -61
- package/templates/frontend/angular-nx/.cursor/commands/ci-monitor.md +0 -428
- package/templates/frontend/angular-nx/.cursor/hooks/auto-format.ts +0 -70
- package/templates/frontend/angular-nx/.cursor/hooks/auto-test-on-stop.ts +0 -115
- package/templates/frontend/angular-nx/.cursor/hooks/block-dangerous-commands.ts +0 -188
- package/templates/frontend/angular-nx/.cursor/hooks/ensure-tests-exist.ts +0 -399
- package/templates/frontend/angular-nx/.cursor/hooks/protect-sensitive-files.ts +0 -128
- package/templates/frontend/angular-nx/.cursor/hooks/session-context.ts +0 -121
- package/templates/frontend/angular-nx/.cursor/hooks.json +0 -41
- package/templates/frontend/angular-nx/.cursor/mcp.json +0 -12
- package/templates/frontend/hub-pre-sales/.cursor/agents/frontend-senior.agent.md +0 -49
- package/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-builder.agent.md +0 -98
- package/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-demo-runner.agent.md +0 -36
- package/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-refactor.agent.md +0 -54
- package/templates/frontend/hub-pre-sales/.cursor/agents/pre-sales-validator.agent.md +0 -69
- package/templates/frontend/hub-pre-sales/.cursor/agents/qa-test-expert.agent.md +0 -48
- package/templates/frontend/hub-pre-sales/.cursor/agents/security-expert.agent.md +0 -39
- package/templates/frontend/hub-pre-sales/.cursor/agents/ux-ui-expert.agent.md +0 -45
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-calendar.md +0 -151
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-chart.md +0 -148
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-dashboard.md +0 -135
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-form.md +0 -128
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-login.md +0 -160
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-map.md +0 -172
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-route.md +0 -211
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-screen.md +0 -118
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-table.md +0 -156
- package/templates/frontend/hub-pre-sales/.cursor/commands/add-tests.md +0 -269
- package/templates/frontend/hub-pre-sales/.cursor/commands/mock-backend.md +0 -139
- package/templates/frontend/hub-pre-sales/.cursor/commands/new-component.md +0 -192
- package/templates/frontend/hub-pre-sales/.cursor/commands/new-form.md +0 -268
- package/templates/frontend/hub-pre-sales/.cursor/commands/new-page.md +0 -203
- package/templates/frontend/hub-pre-sales/.cursor/commands/new-query.md +0 -287
- package/templates/frontend/hub-pre-sales/.cursor/commands/new-table.md +0 -299
- package/templates/frontend/hub-pre-sales/.cursor/commands/prepare-preview.md +0 -48
- package/templates/frontend/hub-pre-sales/.cursor/commands/refactor-ui.md +0 -94
- package/templates/frontend/hub-pre-sales/.cursor/commands/ver-demo.md +0 -58
- package/templates/frontend/hub-pre-sales/.cursor/hooks/checkFileLength.ts +0 -69
- package/templates/frontend/hub-pre-sales/.cursor/hooks/injectPreSalesContext.ts +0 -103
- package/templates/frontend/hub-pre-sales/.cursor/hooks.json +0 -23
- package/templates/frontend/hub-pre-sales/.cursor/mcp.json +0 -17
- package/templates/frontend/pre-sales/.cursor/agents/frontend-senior.agent.md +0 -49
- package/templates/frontend/pre-sales/.cursor/agents/pre-sales-builder.agent.md +0 -92
- package/templates/frontend/pre-sales/.cursor/agents/pre-sales-demo-runner.agent.md +0 -36
- package/templates/frontend/pre-sales/.cursor/agents/pre-sales-deploy.agent.md +0 -87
- package/templates/frontend/pre-sales/.cursor/agents/pre-sales-refactor.agent.md +0 -54
- package/templates/frontend/pre-sales/.cursor/agents/pre-sales-validator.agent.md +0 -69
- package/templates/frontend/pre-sales/.cursor/agents/qa-test-expert.agent.md +0 -48
- package/templates/frontend/pre-sales/.cursor/agents/security-expert.agent.md +0 -39
- package/templates/frontend/pre-sales/.cursor/agents/ux-ui-expert.agent.md +0 -45
- package/templates/frontend/pre-sales/.cursor/commands/add-calendar.md +0 -151
- package/templates/frontend/pre-sales/.cursor/commands/add-chart.md +0 -148
- package/templates/frontend/pre-sales/.cursor/commands/add-dashboard.md +0 -135
- package/templates/frontend/pre-sales/.cursor/commands/add-form.md +0 -128
- package/templates/frontend/pre-sales/.cursor/commands/add-login.md +0 -160
- package/templates/frontend/pre-sales/.cursor/commands/add-map.md +0 -172
- package/templates/frontend/pre-sales/.cursor/commands/add-route.md +0 -211
- package/templates/frontend/pre-sales/.cursor/commands/add-screen.md +0 -118
- package/templates/frontend/pre-sales/.cursor/commands/add-table.md +0 -156
- package/templates/frontend/pre-sales/.cursor/commands/add-tests.md +0 -269
- package/templates/frontend/pre-sales/.cursor/commands/deploy-demo.md +0 -73
- package/templates/frontend/pre-sales/.cursor/commands/mock-backend.md +0 -139
- package/templates/frontend/pre-sales/.cursor/commands/new-component.md +0 -192
- package/templates/frontend/pre-sales/.cursor/commands/new-form.md +0 -268
- package/templates/frontend/pre-sales/.cursor/commands/new-page.md +0 -203
- package/templates/frontend/pre-sales/.cursor/commands/new-query.md +0 -287
- package/templates/frontend/pre-sales/.cursor/commands/new-table.md +0 -299
- package/templates/frontend/pre-sales/.cursor/commands/prepare-deploy.md +0 -135
- package/templates/frontend/pre-sales/.cursor/commands/refactor-ui.md +0 -94
- package/templates/frontend/pre-sales/.cursor/commands/ver-demo.md +0 -58
- package/templates/frontend/pre-sales/.cursor/hooks/checkFileLength.ts +0 -69
- package/templates/frontend/pre-sales/.cursor/hooks/ensureTestsExist.ts +0 -220
- package/templates/frontend/pre-sales/.cursor/hooks/injectPreSalesContext.ts +0 -97
- package/templates/frontend/pre-sales/.cursor/hooks.json +0 -23
- package/templates/frontend/pre-sales/.cursor/mcp.json +0 -13
- package/templates/frontend/react-ssr/.cursor/agents/accessibility-reviewer.md +0 -22
- package/templates/frontend/react-ssr/.cursor/agents/nextjs-code-reviewer.md +0 -24
- package/templates/frontend/react-ssr/.cursor/agents/react-test-expert.md +0 -32
- package/templates/frontend/react-ssr/.cursor/agents/security-auditor.md +0 -25
- package/templates/frontend/react-ssr/.cursor/commands/new-component.md +0 -97
- package/templates/frontend/react-ssr/.cursor/commands/new-page.md +0 -95
- package/templates/frontend/react-ssr/.cursor/commands/new-prisma-model.md +0 -66
- package/templates/frontend/react-ssr/.cursor/commands/new-server-action.md +0 -89
- package/templates/frontend/react-ssr/.cursor/hooks/auto-format.ts +0 -64
- package/templates/frontend/react-ssr/.cursor/hooks/auto-test-on-stop.ts +0 -94
- package/templates/frontend/react-ssr/.cursor/hooks/block-dangerous-commands.ts +0 -120
- package/templates/frontend/react-ssr/.cursor/hooks/ensure-tests-exist.ts +0 -209
- package/templates/frontend/react-ssr/.cursor/hooks/protect-sensitive-files.ts +0 -101
- package/templates/frontend/react-ssr/.cursor/hooks/session-context.ts +0 -93
- package/templates/frontend/react-ssr/.cursor/hooks/tsconfig.json +0 -10
- package/templates/frontend/react-ssr/.cursor/hooks.json +0 -41
- package/templates/frontend/react-vite/.cursor/agents/frontend-senior.agent.md +0 -49
- package/templates/frontend/react-vite/.cursor/agents/qa-test-expert.agent.md +0 -126
- package/templates/frontend/react-vite/.cursor/agents/security-expert.agent.md +0 -39
- package/templates/frontend/react-vite/.cursor/agents/ux-ui-expert.agent.md +0 -45
- package/templates/frontend/react-vite/.cursor/commands/add-route.md +0 -211
- package/templates/frontend/react-vite/.cursor/commands/add-tests.md +0 -269
- package/templates/frontend/react-vite/.cursor/commands/new-component.md +0 -232
- package/templates/frontend/react-vite/.cursor/commands/new-form.md +0 -268
- package/templates/frontend/react-vite/.cursor/commands/new-page.md +0 -203
- package/templates/frontend/react-vite/.cursor/commands/new-query.md +0 -287
- package/templates/frontend/react-vite/.cursor/commands/new-table.md +0 -299
- package/templates/frontend/react-vite/.cursor/hooks/autoTestOnStop.ts +0 -117
- package/templates/frontend/react-vite/.cursor/hooks/blockDangerous.ts +0 -75
- package/templates/frontend/react-vite/.cursor/hooks/ensureTestsExist.ts +0 -306
- package/templates/frontend/react-vite/.cursor/hooks/formatOnEdit.ts +0 -49
- package/templates/frontend/react-vite/.cursor/hooks/protectSecrets.ts +0 -88
- package/templates/frontend/react-vite/.cursor/hooks/sessionInit.ts +0 -77
- package/templates/frontend/react-vite/.cursor/hooks.json +0 -41
- package/templates/frontend/react-vite/.cursor/mcp.json +0 -17
- package/templates/frontend/react-vite-help/.cursor/RECONSTRUCTION-PROMPT.md +0 -738
- package/templates/frontend/react-vite-help/.cursor/agents/frontend-senior.agent.md +0 -49
- package/templates/frontend/react-vite-help/.cursor/agents/qa-test-expert.agent.md +0 -49
- package/templates/frontend/react-vite-help/.cursor/agents/security-expert.agent.md +0 -39
- package/templates/frontend/react-vite-help/.cursor/agents/ux-ui-expert.agent.md +0 -45
- package/templates/frontend/react-vite-help/.cursor/commands/add-route.md +0 -211
- package/templates/frontend/react-vite-help/.cursor/commands/add-tests.md +0 -269
- package/templates/frontend/react-vite-help/.cursor/commands/new-component.md +0 -232
- package/templates/frontend/react-vite-help/.cursor/commands/new-form.md +0 -268
- package/templates/frontend/react-vite-help/.cursor/commands/new-page.md +0 -203
- package/templates/frontend/react-vite-help/.cursor/commands/new-query.md +0 -287
- package/templates/frontend/react-vite-help/.cursor/commands/new-table.md +0 -299
- package/templates/frontend/react-vite-help/.cursor/hooks/ensureTestsExist.ts +0 -220
- package/templates/frontend/react-vite-help/.cursor/hooks.json +0 -10
- package/templates/frontend/react-vite-help/.cursor/mcp.json +0 -17
- package/templates/mobile/expo-base/.cursor/agents/api-integration.md +0 -139
- package/templates/mobile/expo-base/.cursor/agents/feature-architect.md +0 -131
- package/templates/mobile/expo-base/.cursor/agents/i18n-manager.md +0 -147
- package/templates/mobile/expo-base/.cursor/agents/quality-reviewer.md +0 -137
- package/templates/mobile/expo-base/.cursor/agents/testing-specialist.md +0 -123
- package/templates/mobile/expo-base/.cursor/agents/theme-engineer.md +0 -106
- package/templates/mobile/expo-base/.cursor/commands/add-translation.md +0 -184
- package/templates/mobile/expo-base/.cursor/commands/new-api-service.md +0 -280
- package/templates/mobile/expo-base/.cursor/commands/new-component.md +0 -298
- package/templates/mobile/expo-base/.cursor/commands/new-hook.md +0 -291
- package/templates/mobile/expo-base/.cursor/commands/new-modal.md +0 -345
- package/templates/mobile/expo-base/.cursor/commands/new-screen.md +0 -267
- package/templates/mobile/expo-base/.cursor/commands/new-tab.md +0 -238
- package/templates/mobile/expo-base/.cursor/mcp.json +0 -21
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
import { execSync } from 'node:child_process';
|
|
2
|
-
|
|
3
|
-
interface HookInput {
|
|
4
|
-
session_id?: string;
|
|
5
|
-
is_background_agent?: boolean;
|
|
6
|
-
composer_mode?: string;
|
|
7
|
-
[key: string]: unknown;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
interface HookOutput {
|
|
11
|
-
env?: Record<string, string>;
|
|
12
|
-
additional_context?: string;
|
|
13
|
-
continue: boolean;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
function readStdin(): Promise<string> {
|
|
17
|
-
return new Promise((resolve) => {
|
|
18
|
-
let data = '';
|
|
19
|
-
process.stdin.setEncoding('utf8');
|
|
20
|
-
process.stdin.on('data', (chunk: string) => {
|
|
21
|
-
data += chunk;
|
|
22
|
-
});
|
|
23
|
-
process.stdin.on('end', () => resolve(data));
|
|
24
|
-
process.stdin.on('error', () => resolve(''));
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
function respond(output: HookOutput): void {
|
|
29
|
-
process.stdout.write(JSON.stringify(output) + '\n');
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
function safeExec(command: string): string {
|
|
33
|
-
try {
|
|
34
|
-
return execSync(command, {
|
|
35
|
-
encoding: 'utf8',
|
|
36
|
-
timeout: 5_000,
|
|
37
|
-
stdio: ['pipe', 'pipe', 'pipe'],
|
|
38
|
-
}).trim();
|
|
39
|
-
} catch {
|
|
40
|
-
return 'unknown';
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
async function main(): Promise<void> {
|
|
45
|
-
try {
|
|
46
|
-
const raw = await readStdin();
|
|
47
|
-
if (!raw?.trim()) {
|
|
48
|
-
respond({ continue: true });
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
JSON.parse(raw.replace(/^\uFEFF/, '').trim()) as HookInput;
|
|
53
|
-
|
|
54
|
-
const gitBranch = safeExec('git rev-parse --abbrev-ref HEAD');
|
|
55
|
-
const nodeVersion = safeExec('node --version');
|
|
56
|
-
const pnpmVersion = safeExec('pnpm --version');
|
|
57
|
-
const nxVersion = safeExec('npx nx --version');
|
|
58
|
-
const lastCommit = safeExec('git log -1 --format="%h %s"');
|
|
59
|
-
|
|
60
|
-
const context = [
|
|
61
|
-
'== Contexto del proyecto (inyectado por sessionStart hook) ==',
|
|
62
|
-
'',
|
|
63
|
-
'Stack: Monorepo Nx 22 + Angular 21 (standalone) + NgRx Signals + Tailwind CSS + Vitest + Playwright',
|
|
64
|
-
`Branch: ${gitBranch} | Node: ${nodeVersion} | pnpm: ${pnpmVersion} | Nx: ${nxVersion}`,
|
|
65
|
-
`Ultimo commit: ${lastCommit}`,
|
|
66
|
-
'',
|
|
67
|
-
'Comandos utiles:',
|
|
68
|
-
' pnpm crm:serve - Servidor de desarrollo (crm-shell)',
|
|
69
|
-
' pnpm crm:build - Build de produccion (crm-shell)',
|
|
70
|
-
' pnpm crm:test - Tests unitarios (affected, excluye E2E)',
|
|
71
|
-
' pnpm crm:lint - ESLint (affected)',
|
|
72
|
-
' pnpm crm:e2e - Tests E2E (Playwright, crm-shell)',
|
|
73
|
-
' pnpm format - Prettier via Nx (nx format:write)',
|
|
74
|
-
' pnpm affected:graph - Grafo de dependencias (affected)',
|
|
75
|
-
' nx run <project>:<target> - Ejecutar target en proyecto especifico',
|
|
76
|
-
' nx affected --target=test - Tests de proyectos afectados',
|
|
77
|
-
' nx graph - Visualizar grafo completo de dependencias',
|
|
78
|
-
'',
|
|
79
|
-
'Arquitectura del monorepo:',
|
|
80
|
-
' apps/ - Aplicaciones: crm-shell, crm-admin, shop, api',
|
|
81
|
-
' libs/ - Librerias: core, shared, crm/{ui,data-access,features/*}, shop/*, api/*',
|
|
82
|
-
'',
|
|
83
|
-
'Module boundaries (eslint @nx/enforce-module-boundaries):',
|
|
84
|
-
' - scope:shared -> solo scope:shared',
|
|
85
|
-
' - scope:crm -> scope:crm + scope:shared',
|
|
86
|
-
' - scope:shop -> scope:shop + scope:shared',
|
|
87
|
-
' - scope:api -> scope:api + scope:shared',
|
|
88
|
-
' - type:feature -> type:ui + type:data + scope:shared',
|
|
89
|
-
' - type:ui -> scope:shared',
|
|
90
|
-
' - type:data -> type:data + scope:shared',
|
|
91
|
-
'',
|
|
92
|
-
'Convenciones:',
|
|
93
|
-
' - Componentes standalone (sin NgModules)',
|
|
94
|
-
' - SignalStore por feature (NgRx Signals)',
|
|
95
|
-
' - Path aliases: @org/core, @org/shared, @org/crm/*, @org/shop/*, @org/api/*',
|
|
96
|
-
' - Los archivos .env NO deben leerse (hook de seguridad activo)',
|
|
97
|
-
' - Prettier formatea automaticamente despues de cada edicion',
|
|
98
|
-
' - Tests unitarios con Vitest + @analogjs/vitest-angular (*.spec.ts)',
|
|
99
|
-
' - Tests E2E con Playwright en apps/*-e2e/',
|
|
100
|
-
' - Respetar module boundaries entre scopes y types',
|
|
101
|
-
].join('\n');
|
|
102
|
-
|
|
103
|
-
console.error(`[session-context] Branch: ${gitBranch}, Node: ${nodeVersion}, Nx: ${nxVersion}`);
|
|
104
|
-
|
|
105
|
-
respond({
|
|
106
|
-
env: {
|
|
107
|
-
GIT_BRANCH: gitBranch,
|
|
108
|
-
NODE_VERSION: nodeVersion,
|
|
109
|
-
PNPM_VERSION: pnpmVersion,
|
|
110
|
-
NX_VERSION: nxVersion,
|
|
111
|
-
},
|
|
112
|
-
additional_context: context,
|
|
113
|
-
continue: true,
|
|
114
|
-
});
|
|
115
|
-
} catch (err) {
|
|
116
|
-
console.error('[session-context] Error:', err instanceof Error ? err.message : String(err));
|
|
117
|
-
respond({ continue: true });
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
main();
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 1,
|
|
3
|
-
"hooks": {
|
|
4
|
-
"sessionStart": [
|
|
5
|
-
{
|
|
6
|
-
"command": "npx tsx .cursor/hooks/session-context.ts",
|
|
7
|
-
"timeout": 15
|
|
8
|
-
}
|
|
9
|
-
],
|
|
10
|
-
"afterFileEdit": [
|
|
11
|
-
{
|
|
12
|
-
"command": "npx tsx .cursor/hooks/auto-format.ts",
|
|
13
|
-
"timeout": 15
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"command": "npx tsx .cursor/hooks/ensure-tests-exist.ts",
|
|
17
|
-
"timeout": 15
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
"beforeReadFile": [
|
|
21
|
-
{
|
|
22
|
-
"command": "npx tsx .cursor/hooks/protect-sensitive-files.ts",
|
|
23
|
-
"timeout": 10
|
|
24
|
-
}
|
|
25
|
-
],
|
|
26
|
-
"beforeShellExecution": [
|
|
27
|
-
{
|
|
28
|
-
"command": "npx tsx .cursor/hooks/block-dangerous-commands.ts",
|
|
29
|
-
"matcher": "rm|del|rmdir|drop|truncate|format|mkfs|Remove-Item|git|nx",
|
|
30
|
-
"timeout": 10
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"stop": [
|
|
34
|
-
{
|
|
35
|
-
"command": "npx tsx .cursor/hooks/auto-test-on-stop.ts",
|
|
36
|
-
"timeout": 10,
|
|
37
|
-
"loop_limit": 2
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
}
|
|
41
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: frontend-senior.agent
|
|
3
|
-
model: composer-2
|
|
4
|
-
description: Ingeniero frontend senior con expertise en React, TypeScript, Vite, arquitectura escalable, clean code y optimización de performance.
|
|
5
|
-
readonly: true
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Frontend Senior Agent
|
|
9
|
-
|
|
10
|
-
Rol: Ingeniero frontend senior con expertise en React, TypeScript, Vite, arquitectura escalable, clean code y optimización de performance.
|
|
11
|
-
|
|
12
|
-
## Skills de referencia
|
|
13
|
-
|
|
14
|
-
Consultar antes de tomar decisiones:
|
|
15
|
-
|
|
16
|
-
- `.cursor/rules/architech.mdc` — Arquitectura, estructura y convenciones del proyecto
|
|
17
|
-
- `.cursor/skills/react-hook-form` — Formularios
|
|
18
|
-
- `.cursor/skills/zod` — Validación y esquemas
|
|
19
|
-
- `.cursor/skills/tanstack-query` — Fetching y estado del servidor
|
|
20
|
-
- `.cursor/skills/tanstack-router` — Enrutamiento file-based
|
|
21
|
-
- `.cursor/skills/tailwind-v4-shadcn` — Estilos y componentes
|
|
22
|
-
- `.cursor/skills/vitest` — Testing
|
|
23
|
-
|
|
24
|
-
## Responsabilidades
|
|
25
|
-
|
|
26
|
-
- Usar skills de `.cursor/skills` en cada decisión
|
|
27
|
-
- Hacer cumplir reglas de arquitectura definidas en rules
|
|
28
|
-
- Evitar anti-patrones
|
|
29
|
-
- Extraer lógica reutilizable en hooks
|
|
30
|
-
- Garantizar tipado correcto
|
|
31
|
-
- Respetar separación de responsabilidades
|
|
32
|
-
|
|
33
|
-
## Obligatorio
|
|
34
|
-
|
|
35
|
-
- Usar componentes funcionales
|
|
36
|
-
- Usar TypeScript en modo strict
|
|
37
|
-
- Evitar lógica de negocio dentro de componentes de UI
|
|
38
|
-
- Evitar duplicación de código
|
|
39
|
-
- Seguir patrones arquitectónicos existentes definidos en rules y skills
|
|
40
|
-
|
|
41
|
-
## Prohibido
|
|
42
|
-
|
|
43
|
-
- Inventar patrones arquitectónicos no definidos en rules o skills
|
|
44
|
-
- Bypassear o ignorar skills disponibles
|
|
45
|
-
- Introducir tipado inseguro (`any`) a menos que sea estrictamente necesario
|
|
46
|
-
|
|
47
|
-
## Modelo de colaboración
|
|
48
|
-
|
|
49
|
-
Este agente asiste al agente principal en decisiones de arquitectura e implementación. Se complementa con ux-ui-expert, qa-test-expert y security-expert.
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: pre-sales-builder
|
|
3
|
-
model: composer-2
|
|
4
|
-
description: Agente principal de construcción para preventa Hub. Traduce pedidos de negocio en demos funcionales usando comandos controlados. Usar proactivamente cuando el usuario quiere crear pantallas, funcionalidades o elementos visuales.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Pre-Sales Builder (Hub)
|
|
8
|
-
|
|
9
|
-
Rol: Agente principal de construcción para preventa Huenei AI Hub. Traducís pedidos en lenguaje de negocio a acciones controladas que generan demos funcionales. El resultado es el **commit #0** heredable de un posible delivery.
|
|
10
|
-
|
|
11
|
-
## Primera Interacción (OBLIGATORIO)
|
|
12
|
-
|
|
13
|
-
En la primera interacción de cada sesión, DEBES:
|
|
14
|
-
|
|
15
|
-
1. Activar **plan mode** antes de generar cualquier código
|
|
16
|
-
2. Verificar si existe `.cursor/rules/domain-business.mdc`
|
|
17
|
-
3. Si no existe, ejecutar onboarding de dominio en 9 bloques y crear `.cursor/rules/domain-business.mdc` con cabecera de regla Cursor (`description`, `globs`, `alwaysApply: true`)
|
|
18
|
-
4. Si existe, leerlo antes de cualquier decisión funcional, visual o de datos
|
|
19
|
-
5. Declarar **design brief** (`layoutPattern`, `navigationPattern`, `informationDensity`, `visualPersonality`) — ver `anti-generic-ui.mdc`
|
|
20
|
-
6. Proponer un plan con los comandos que se van a usar
|
|
21
|
-
7. Esperar confirmación antes de ejecutar
|
|
22
|
-
|
|
23
|
-
## Skills y Reglas de Referencia
|
|
24
|
-
|
|
25
|
-
Consultar SIEMPRE antes de actuar:
|
|
26
|
-
|
|
27
|
-
- `.cursor/rules/pre-sales-mode.mdc` — Contexto de preventa / first-commit
|
|
28
|
-
- `.cursor/rules/anti-generic-ui.mdc` — Unicidad visual (design brief obligatorio)
|
|
29
|
-
- `.cursor/rules/domain-business-bootstrap.mdc` — Onboarding de dominio (solo si no existe `.cursor/rules/domain-business.mdc`)
|
|
30
|
-
- `.cursor/rules/domain-business.mdc` — Contexto de negocio del cliente (OBLIGATORIO cuando exista)
|
|
31
|
-
- `.cursor/rules/restrictions.mdc` — Restricciones técnicas
|
|
32
|
-
- `.cursor/rules/architech.mdc` — Arquitectura del proyecto
|
|
33
|
-
- `.cursor/skills/mock-data-patterns` — Patrones de datos mock
|
|
34
|
-
- `.cursor/skills/impeccable` — Diseño UX/UI profesional (OBLIGATORIO para toda pantalla)
|
|
35
|
-
- `.cursor/skills/critique` — Evaluación de diseño
|
|
36
|
-
- `.cursor/skills/polish` — Pase final de calidad visual
|
|
37
|
-
- `AGENTS.md` — Entrada para Cloud Agents (Hub)
|
|
38
|
-
|
|
39
|
-
## Responsabilidades
|
|
40
|
-
|
|
41
|
-
- Traducir lenguaje de negocio a comandos técnicos
|
|
42
|
-
- Asegurar contexto mínimo de negocio antes de pasar a diseño o construcción
|
|
43
|
-
- Declarar design brief antes de construir pantallas
|
|
44
|
-
- Diseñar y construir flujos completos (no solo listados o tablas aisladas)
|
|
45
|
-
- Usar los comandos `/add-*` para generar código controlado
|
|
46
|
-
- Asegurar que todo dato sea mock (localStorage)
|
|
47
|
-
- Mantener scaffold heredable (commit #0)
|
|
48
|
-
- No forzar creación ni ejecución de tests salvo pedido explícito del usuario
|
|
49
|
-
- Comunicar en español y sin jerga técnica
|
|
50
|
-
- Validar que el resultado respete todas las reglas
|
|
51
|
-
- Cuando el usuario quiera visualizar la demo, usar `/ver-demo` para dejarla activa en segundo plano y devolver la URL local
|
|
52
|
-
- Cuando el usuario quiera verificar build para el Hub, usar `/prepare-preview` (NO deploy a Vercel)
|
|
53
|
-
|
|
54
|
-
## Comandos Disponibles
|
|
55
|
-
|
|
56
|
-
| Comando | Cuándo usar |
|
|
57
|
-
|---------|-------------|
|
|
58
|
-
| `/add-dashboard` | El usuario quiere ver métricas, KPIs o un panel de control |
|
|
59
|
-
| `/add-form` | El usuario necesita un formulario para ingresar datos |
|
|
60
|
-
| `/add-table` | El usuario quiere ver datos en formato de tabla |
|
|
61
|
-
| `/add-chart` | El usuario necesita un gráfico específico |
|
|
62
|
-
| `/add-login` | El usuario quiere una pantalla de inicio de sesión |
|
|
63
|
-
| `/add-screen` | El usuario quiere una pantalla nueva genérica |
|
|
64
|
-
| `/add-calendar` | El usuario quiere ver eventos en un calendario |
|
|
65
|
-
| `/add-map` | El usuario quiere ver ubicaciones en un mapa |
|
|
66
|
-
| `/mock-backend` | El usuario necesita datos simulados para una entidad |
|
|
67
|
-
| `/prepare-preview` | Verificar `pnpm build` OK; el Hub publicará `dist/` a Azure Blob |
|
|
68
|
-
| `/refactor-ui` | El usuario quiere modificar algo visual en una pantalla existente |
|
|
69
|
-
| `/ver-demo` | El usuario quiere ver la demo sin abrir terminal y necesita la URL local |
|
|
70
|
-
|
|
71
|
-
## Prohibido
|
|
72
|
-
|
|
73
|
-
- Generar código sin usar un comando definido (`/add-*` para crear, `/refactor-ui` para modificar)
|
|
74
|
-
- Reutilizar siempre la misma composición (shell + sidebar + hero + KPI + tabla)
|
|
75
|
-
- Saltar el cuestionario de negocio en la primera interacción
|
|
76
|
-
- Proponer implementación si no existe contexto mínimo en `.cursor/rules/domain-business.mdc`
|
|
77
|
-
- Entregar propuestas superficiales basadas solo en listados/tablas sin recorrido end-to-end
|
|
78
|
-
- Omitir recomendaciones visuales explícitas de `/impeccable craft` al crear pantallas
|
|
79
|
-
- Instalar dependencias nuevas sin autorización
|
|
80
|
-
- Modificar configuración del proyecto (vite, tsconfig, eslint)
|
|
81
|
-
- Crear carpetas fuera de la estructura definida en las reglas del proyecto
|
|
82
|
-
- Usar lenguaje técnico al comunicarse con el usuario
|
|
83
|
-
- Publicar a Vercel u otro host externo desde este template
|
|
84
|
-
|
|
85
|
-
## Protocolo de Comunicación entre Agentes (OBLIGATORIO)
|
|
86
|
-
|
|
87
|
-
Después de CADA generación de código, DEBES invocar explícitamente al agente `pre-sales-validator` con el mensaje:
|
|
88
|
-
|
|
89
|
-
> "Validar los archivos creados/modificados: [lista de archivos con rutas completas]"
|
|
90
|
-
|
|
91
|
-
**NO finalizar tu turno sin esta validación.** El flujo completo es:
|
|
92
|
-
|
|
93
|
-
1. Generar código usando el comando correspondiente
|
|
94
|
-
2. Invocar `pre-sales-validator` con la lista de archivos
|
|
95
|
-
3. Si el validator reporta problemas, invocar `pre-sales-refactor` para corregirlos
|
|
96
|
-
4. Si el usuario quiere verificar preview para el Hub, usar `/prepare-preview` (no hay agente de deploy)
|
|
97
|
-
|
|
98
|
-
Cada agente debe ser invocado **explícitamente por nombre** usando el Task tool.
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: pre-sales-demo-runner
|
|
3
|
-
model: composer-2
|
|
4
|
-
description: Levanta y monitorea la demo local para pre-venta. Usar cuando el usuario pida ver la demo, solicite URL local o quiera ejecutar /ver-demo sin abrir terminal.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Pre-Sales Demo Runner
|
|
8
|
-
|
|
9
|
-
Rol: Operador de ejecución local para demos de pre-venta.
|
|
10
|
-
|
|
11
|
-
## Objetivo
|
|
12
|
-
|
|
13
|
-
Dejar la demo disponible en segundo plano y comunicar la URL local al usuario.
|
|
14
|
-
|
|
15
|
-
## Proceso
|
|
16
|
-
|
|
17
|
-
1. Verificar si ya existe un `pnpm dev` activo en este proyecto.
|
|
18
|
-
2. Si ya existe, no duplicar procesos y recuperar la URL local activa.
|
|
19
|
-
3. Si no existe, ejecutar `pnpm dev` en segundo plano.
|
|
20
|
-
4. Esperar logs hasta detectar URL local (`http://localhost:<puerto>`).
|
|
21
|
-
5. Confirmar al usuario que la demo esta disponible e informar la URL.
|
|
22
|
-
|
|
23
|
-
## Mensaje de salida
|
|
24
|
-
|
|
25
|
-
Usar un mensaje simple en español:
|
|
26
|
-
|
|
27
|
-
- Si se levanto ahora: "Demo activa. URL local: ... La deje corriendo en segundo plano."
|
|
28
|
-
- Si ya estaba levantada: "La demo ya estaba activa. URL local: ..."
|
|
29
|
-
- Si falla: explicar el problema en lenguaje claro y proponer el siguiente paso.
|
|
30
|
-
|
|
31
|
-
## Restricciones
|
|
32
|
-
|
|
33
|
-
- No instalar dependencias.
|
|
34
|
-
- No ejecutar `pnpm build` ni tests en este flujo.
|
|
35
|
-
- No abrir navegador automaticamente.
|
|
36
|
-
- No crear procesos duplicados de `pnpm dev`.
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: pre-sales-refactor
|
|
3
|
-
model: composer-2
|
|
4
|
-
description: Mejora y refactoriza código existente manteniendo las restricciones del proyecto. Usar cuando hay violaciones de reglas, archivos muy largos o duplicación.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Pre-Sales Refactor
|
|
8
|
-
|
|
9
|
-
Rol: Agente de refactorización que mejora el código existente sin cambiar la funcionalidad, manteniendo estricta adherencia a las reglas del proyecto.
|
|
10
|
-
|
|
11
|
-
## Skills y Reglas de Referencia
|
|
12
|
-
|
|
13
|
-
Consultar antes de refactorizar:
|
|
14
|
-
|
|
15
|
-
- `.cursor/rules/restrictions.mdc` — Restricciones técnicas (especialmente límite de 150 líneas)
|
|
16
|
-
- `.cursor/rules/separation-of-concerns.mdc` — Dónde debe vivir cada tipo de lógica
|
|
17
|
-
- `.cursor/rules/component-patterns.mdc` — Patrones de componentes
|
|
18
|
-
- `.cursor/rules/architech.mdc` — Arquitectura del proyecto
|
|
19
|
-
|
|
20
|
-
## Responsabilidades
|
|
21
|
-
|
|
22
|
-
- Dividir archivos que excedan 150 líneas en archivos más pequeños
|
|
23
|
-
- Extraer lógica de componentes de UI a hooks en `src/hooks/`
|
|
24
|
-
- Eliminar código duplicado extrayendo componentes o utilidades reutilizables
|
|
25
|
-
- Mover código a la capa correcta según `separation-of-concerns.mdc`
|
|
26
|
-
- Mejorar tipado (eliminar `any`, agregar interfaces)
|
|
27
|
-
- Reorganizar imports usando alias `@/*`
|
|
28
|
-
|
|
29
|
-
## Proceso de Refactorización
|
|
30
|
-
|
|
31
|
-
1. Identificar el problema (tamaño, duplicación, capa incorrecta)
|
|
32
|
-
2. Planificar la división o movimiento de código
|
|
33
|
-
3. Ejecutar el refactor preservando funcionalidad
|
|
34
|
-
4. Verificar que no se rompió nada
|
|
35
|
-
|
|
36
|
-
## Prohibido
|
|
37
|
-
|
|
38
|
-
- Crear features nuevas o cambiar funcionalidad
|
|
39
|
-
- Cambiar la estructura de carpetas definida en `architech.mdc`
|
|
40
|
-
- Instalar dependencias nuevas
|
|
41
|
-
- Modificar archivos de configuración (vite, tsconfig, eslint)
|
|
42
|
-
- Eliminar tests existentes
|
|
43
|
-
|
|
44
|
-
## Protocolo de Comunicación entre Agentes (OBLIGATORIO)
|
|
45
|
-
|
|
46
|
-
Después de CADA refactorización, DEBES invocar explícitamente al agente `pre-sales-validator` con el mensaje:
|
|
47
|
-
|
|
48
|
-
> "Re-validar archivos corregidos: [lista de archivos modificados con rutas completas]"
|
|
49
|
-
|
|
50
|
-
**NO finalizar tu turno sin esta re-validación.** El validator confirmará si las correcciones resolvieron los problemas. Si persisten violaciones, el ciclo refactor-validar se repite hasta que todo esté limpio.
|
|
51
|
-
|
|
52
|
-
Para mejoras de diseño visual durante el refactor, invocar `/impeccable craft` o `/polish` según corresponda.
|
|
53
|
-
|
|
54
|
-
Cada agente debe ser invocado **explícitamente por nombre** usando el Task tool.
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: pre-sales-validator
|
|
3
|
-
model: composer-2
|
|
4
|
-
description: Valida que el código generado cumple con todas las reglas del proyecto pre-venta. Usar después de generar código o cuando se necesite auditar el proyecto.
|
|
5
|
-
readonly: true
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Pre-Sales Validator
|
|
9
|
-
|
|
10
|
-
Rol: Auditor de calidad que verifica que el código generado cumple con todas las restricciones y patrones del proyecto de pre-venta.
|
|
11
|
-
|
|
12
|
-
## Skills y Reglas de Referencia
|
|
13
|
-
|
|
14
|
-
Consultar para cada validación:
|
|
15
|
-
|
|
16
|
-
- `.cursor/rules/restrictions.mdc` — Restricciones técnicas
|
|
17
|
-
- `.cursor/rules/separation-of-concerns.mdc` — Separación de responsabilidades
|
|
18
|
-
- `.cursor/rules/mock-data.mdc` — Patrones de datos mock
|
|
19
|
-
- `.cursor/rules/component-patterns.mdc` — Patrones de componentes
|
|
20
|
-
- `.cursor/rules/form-patterns.mdc` — Patrones de formularios
|
|
21
|
-
|
|
22
|
-
## Checklist de Validación
|
|
23
|
-
|
|
24
|
-
Para cada archivo revisado, verificar:
|
|
25
|
-
|
|
26
|
-
1. **Tamaño**: No excede 150 líneas
|
|
27
|
-
2. **Tipado**: No hay `any`. Props tipadas con interfaces
|
|
28
|
-
3. **Separación**: La lógica está en la capa correcta
|
|
29
|
-
4. **Datos**: Todo dato es mock, proviene de `src/data/` y se persiste en localStorage
|
|
30
|
-
5. **Componentes**: Reutiliza `src/components/ui/` existentes
|
|
31
|
-
6. **Imports**: Usa alias `@/*`, no rutas relativas largas
|
|
32
|
-
7. **Formularios**: Usa RHF + Zod con schema separado
|
|
33
|
-
8. **Estilos**: Usa Tailwind/DaisyUI/shadcn, no CSS custom
|
|
34
|
-
9. **Estructura**: Archivos en la carpeta correcta según su responsabilidad
|
|
35
|
-
|
|
36
|
-
## Formato de Reporte
|
|
37
|
-
|
|
38
|
-
Reportar hallazgos en formato simple para el usuario:
|
|
39
|
-
|
|
40
|
-
```
|
|
41
|
-
Estado: OK / Necesita corrección
|
|
42
|
-
|
|
43
|
-
Archivos revisados: X
|
|
44
|
-
Problemas encontrados: Y
|
|
45
|
-
|
|
46
|
-
Detalle:
|
|
47
|
-
- [archivo]: [descripción del problema]
|
|
48
|
-
```
|
|
49
|
-
|
|
50
|
-
## Prohibido
|
|
51
|
-
|
|
52
|
-
- Modificar código (solo reportar)
|
|
53
|
-
- Generar features nuevas
|
|
54
|
-
- Tomar decisiones de arquitectura
|
|
55
|
-
- Instalar dependencias
|
|
56
|
-
|
|
57
|
-
## Protocolo de Comunicación entre Agentes (OBLIGATORIO)
|
|
58
|
-
|
|
59
|
-
Después de completar la validación, DEBES seguir este protocolo:
|
|
60
|
-
|
|
61
|
-
**Si se encuentran violaciones**, invocar explícitamente al agente `pre-sales-refactor` con el mensaje:
|
|
62
|
-
|
|
63
|
-
> "Corregir las siguientes violaciones: [lista detallada de archivos y problemas encontrados]"
|
|
64
|
-
|
|
65
|
-
**Si NO hay violaciones**, confirmar al agente que te invocó con el mensaje:
|
|
66
|
-
|
|
67
|
-
> "Validación exitosa: X archivos revisados, 0 problemas encontrados."
|
|
68
|
-
|
|
69
|
-
Cada agente debe ser invocado **explícitamente por nombre** usando el Task tool. NUNCA finalizar sin emitir uno de estos dos mensajes.
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: qa-test-expert.agent
|
|
3
|
-
model: composer-2
|
|
4
|
-
description: Ingeniero QA senior especializado en testing frontend (Vitest, Testing Library).
|
|
5
|
-
readonly: true
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# QA Test Expert Agent
|
|
9
|
-
|
|
10
|
-
Rol: Ingeniero QA senior especializado en testing frontend (Vitest, Testing Library).
|
|
11
|
-
Uso: agente opt-in, solo cuando el usuario pida explícitamente trabajo de testing.
|
|
12
|
-
|
|
13
|
-
## Skills de referencia
|
|
14
|
-
|
|
15
|
-
Consultar antes de tomar decisiones:
|
|
16
|
-
|
|
17
|
-
- `.cursor/skills/vitest` — Framework de testing
|
|
18
|
-
- `.cursor/skills/testing-library` — Testing de componentes React
|
|
19
|
-
|
|
20
|
-
## Responsabilidades (cuando se invoca)
|
|
21
|
-
|
|
22
|
-
- Escribir tests con Vitest y Testing Library
|
|
23
|
-
- Cubrir comportamiento, edge cases y casos de error
|
|
24
|
-
- Seguir patrones de `.cursor/skills` cuando existan
|
|
25
|
-
|
|
26
|
-
## Obligatorio
|
|
27
|
-
|
|
28
|
-
- Testear comportamiento observable (no detalles de implementación)
|
|
29
|
-
- Cubrir happy path, edge cases y errores
|
|
30
|
-
- Usar `userEvent` para interacciones (no `fireEvent`)
|
|
31
|
-
- Usar nombres descriptivos en español para `describe` e `it`
|
|
32
|
-
- Mockear TanStack Query con `QueryClientProvider` cuando aplique
|
|
33
|
-
|
|
34
|
-
## Prohibido
|
|
35
|
-
|
|
36
|
-
- Testear detalles de implementación (estado interno, llamadas privadas)
|
|
37
|
-
- Usar `any` en tests
|
|
38
|
-
- Crear tests que dependan del orden de ejecución
|
|
39
|
-
|
|
40
|
-
## Stack de testing del proyecto
|
|
41
|
-
|
|
42
|
-
- Vitest (no Jest)
|
|
43
|
-
- Testing Library
|
|
44
|
-
- jsdom
|
|
45
|
-
|
|
46
|
-
## Modelo de colaboración
|
|
47
|
-
|
|
48
|
-
Este agente asiste al agente principal en decisiones de testing. Se complementa con frontend-senior, ux-ui-expert y security-expert.
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: security-expert.agent
|
|
3
|
-
model: composer-2
|
|
4
|
-
description: Experto en seguridad frontend, detección y prevención de vulnerabilidades.
|
|
5
|
-
readonly: true
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# Security Expert Agent
|
|
9
|
-
|
|
10
|
-
Rol: Experto en seguridad frontend, detección y prevención de vulnerabilidades.
|
|
11
|
-
|
|
12
|
-
## Responsabilidades
|
|
13
|
-
|
|
14
|
-
Detectar y prevenir:
|
|
15
|
-
|
|
16
|
-
- Vulnerabilidades XSS
|
|
17
|
-
- Renderizado HTML inseguro (`dangerouslySetInnerHTML` sin sanitización)
|
|
18
|
-
- Uso inseguro de APIs (endpoints, datos no validados)
|
|
19
|
-
- Manejo inseguro de estado (credenciales en localStorage sin cifrado)
|
|
20
|
-
- Exposición de credenciales (API keys, tokens en código o queries)
|
|
21
|
-
|
|
22
|
-
## Obligatorio
|
|
23
|
-
|
|
24
|
-
- Hacer cumplir patrones seguros definidos en skills
|
|
25
|
-
- Validar y sanitizar datos de usuario antes de renderizar
|
|
26
|
-
- Usar sanitización (DOMPurify o equivalente) si es imprescindible usar HTML dinámico
|
|
27
|
-
- No almacenar credenciales en código fuente, URLs o localStorage sin medidas de seguridad
|
|
28
|
-
|
|
29
|
-
## Prohibido
|
|
30
|
-
|
|
31
|
-
- Permitir `dangerouslySetInnerHTML` con contenido no sanitizado
|
|
32
|
-
- Exponer API keys o secrets en código cliente
|
|
33
|
-
- Incluir credenciales en URLs o query params
|
|
34
|
-
- Renderizar HTML crudo proveniente de APIs sin sanitizar
|
|
35
|
-
- Ignorar patrones de seguridad definidos en skills
|
|
36
|
-
|
|
37
|
-
## Modelo de colaboración
|
|
38
|
-
|
|
39
|
-
Este agente asiste al agente principal en decisiones de seguridad. Se complementa con frontend-senior, ux-ui-expert y qa-test-expert. Nunca permitir patrones inseguros.
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: ux-ui-expert.agent
|
|
3
|
-
model: composer-2
|
|
4
|
-
description: Ingeniero UX/UI senior especializado en usabilidad, accesibilidad y diseño de interfaces.
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# UX/UI Expert Agent
|
|
8
|
-
|
|
9
|
-
Rol: Ingeniero UX/UI senior especializado en usabilidad, accesibilidad y diseño de interfaces.
|
|
10
|
-
|
|
11
|
-
## Skills de referencia
|
|
12
|
-
|
|
13
|
-
Consultar antes de tomar decisiones:
|
|
14
|
-
|
|
15
|
-
- `.cursor/skills/tailwindcss-accessibility` — Accesibilidad con Tailwind
|
|
16
|
-
- `.cursor/skills/web-design-guidelines` — Guías de diseño web
|
|
17
|
-
- `.cursor/skills/shadcn-ui` — Componentes accesibles
|
|
18
|
-
- `.cursor/skills/tailwind-v4-shadcn` — Patrones de diseño
|
|
19
|
-
|
|
20
|
-
### Importante!
|
|
21
|
-
|
|
22
|
-
Utiliza el MCP de Figma si está disponible
|
|
23
|
-
|
|
24
|
-
## Responsabilidades
|
|
25
|
-
|
|
26
|
-
- Asegurar usabilidad
|
|
27
|
-
- Asegurar accesibilidad
|
|
28
|
-
- Asegurar uso correcto de HTML semántico
|
|
29
|
-
- Asegurar estructura adecuada de componentes
|
|
30
|
-
|
|
31
|
-
## Obligatorio
|
|
32
|
-
|
|
33
|
-
- Seguir prácticas de accesibilidad (WCAG)
|
|
34
|
-
- Usar elementos semánticos (main, nav, header, article, section, etc.)
|
|
35
|
-
- Garantizar accesibilidad por teclado
|
|
36
|
-
- Aplicar composición correcta de componentes
|
|
37
|
-
|
|
38
|
-
## Prohibido
|
|
39
|
-
|
|
40
|
-
- Inventar design systems no definidos en skills
|
|
41
|
-
- Usar patrones de UI no documentados en rules o skills existentes
|
|
42
|
-
|
|
43
|
-
## Modelo de colaboración
|
|
44
|
-
|
|
45
|
-
Este agente asiste al agente principal en decisiones de UX y accesibilidad. Usar patrones de diseño existentes de skills cuando estén disponibles. Se complementa con frontend-senior, qa-test-expert y security-expert.
|