elsabro 2.0.1 → 2.2.0

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 (46) hide show
  1. package/commands/elsabro/add-phase.md +17 -0
  2. package/commands/elsabro/add-todo.md +111 -53
  3. package/commands/elsabro/audit-milestone.md +19 -0
  4. package/commands/elsabro/check-todos.md +210 -31
  5. package/commands/elsabro/complete-milestone.md +20 -1
  6. package/commands/elsabro/debug.md +19 -0
  7. package/commands/elsabro/discuss-phase.md +18 -1
  8. package/commands/elsabro/execute.md +496 -52
  9. package/commands/elsabro/insert-phase.md +18 -1
  10. package/commands/elsabro/list-phase-assumptions.md +17 -0
  11. package/commands/elsabro/new-milestone.md +19 -0
  12. package/commands/elsabro/new.md +19 -0
  13. package/commands/elsabro/pause-work.md +75 -0
  14. package/commands/elsabro/plan-milestone-gaps.md +20 -1
  15. package/commands/elsabro/plan.md +264 -36
  16. package/commands/elsabro/progress.md +203 -79
  17. package/commands/elsabro/quick.md +19 -0
  18. package/commands/elsabro/remove-phase.md +17 -0
  19. package/commands/elsabro/research-phase.md +18 -1
  20. package/commands/elsabro/resume-work.md +130 -2
  21. package/commands/elsabro/start.md +365 -98
  22. package/commands/elsabro/verify-work.md +271 -12
  23. package/package.json +1 -1
  24. package/references/SYSTEM_INDEX.md +241 -0
  25. package/references/command-flow.md +352 -0
  26. package/references/enforcement-rules.md +331 -0
  27. package/references/error-handling-instructions.md +26 -12
  28. package/references/state-sync.md +381 -0
  29. package/references/task-dispatcher.md +388 -0
  30. package/references/tasks-integration.md +380 -0
  31. package/skills/api-microservice.md +765 -0
  32. package/skills/api-setup.md +76 -3
  33. package/skills/auth-setup.md +46 -6
  34. package/skills/chrome-extension.md +584 -0
  35. package/skills/cicd-setup.md +1206 -0
  36. package/skills/cli-tool.md +884 -0
  37. package/skills/database-setup.md +41 -5
  38. package/skills/desktop-app.md +1351 -0
  39. package/skills/expo-app.md +35 -2
  40. package/skills/full-stack-app.md +543 -0
  41. package/skills/mobile-app.md +813 -0
  42. package/skills/nextjs-app.md +33 -2
  43. package/skills/payments-setup.md +76 -1
  44. package/skills/saas-starter.md +639 -0
  45. package/skills/sentry-setup.md +41 -7
  46. package/skills/testing-setup.md +1218 -0
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  name: nextjs-app
3
- description: Skill para crear aplicaciones web con Next.js. Usa este skill cuando el usuario quiere crear una página web, dashboard, o aplicación web.
3
+ description: Skill para crear aplicaciones web con Next.js. Usa este skill cuando el usuario quiere crear una pagina web, dashboard, o aplicacion web.
4
+ tags:
5
+ - web
6
+ - nextjs
7
+ - react
8
+ - typescript
9
+ - tailwind
10
+ - fullstack
11
+ difficulty: intermediate
12
+ estimated_time: 20-30 min
4
13
  ---
5
14
 
6
15
  # Skill: Crear App Next.js
@@ -17,6 +26,28 @@ Usar cuando el usuario menciona:
17
26
  - "blog"
18
27
  </when_to_use>
19
28
 
29
+ <pre_requisites>
30
+ ## Pre-requisitos
31
+
32
+ ### Conocimientos
33
+ - JavaScript/TypeScript basico
34
+ - React fundamentals (components, hooks, state)
35
+ - HTML/CSS basico
36
+ - Terminal/CLI basico
37
+
38
+ ### Software
39
+ - Node.js 20+ LTS
40
+ - npm, yarn, o pnpm
41
+ - Editor de codigo (VS Code recomendado)
42
+ - Navegador moderno (Chrome, Firefox, Safari, Edge)
43
+
44
+ ### Extensiones recomendadas (VS Code)
45
+ - ES7+ React/Redux/React-Native snippets
46
+ - Tailwind CSS IntelliSense
47
+ - Prettier
48
+ - ESLint
49
+ </pre_requisites>
50
+
20
51
  <before_starting>
21
52
  ## Investigación Obligatoria
22
53
 
@@ -43,7 +74,7 @@ Usar cuando el usuario menciona:
43
74
 
44
75
  | Tecnología | Propósito | Verificar |
45
76
  |------------|-----------|-----------|
46
- | Next.js 15+ | Framework React | Context7 |
77
+ | Next.js 15.x | Framework React | Context7 |
47
78
  | TypeScript | Type safety | Context7 |
48
79
  | Tailwind CSS 4 | Estilos | Context7 |
49
80
  | App Router | Routing | Context7 |
@@ -1,6 +1,15 @@
1
1
  ---
2
2
  name: payments-setup
3
3
  description: Skill para integrar pagos en cualquier proyecto. Usa este skill cuando el usuario quiere cobrar, vender, suscripciones, o Stripe.
4
+ tags:
5
+ - payments
6
+ - stripe
7
+ - billing
8
+ - subscriptions
9
+ - e-commerce
10
+ - checkout
11
+ difficulty: advanced
12
+ estimated_time: 45-60 min
4
13
  ---
5
14
 
6
15
  # Skill: Setup de Pagos
@@ -17,6 +26,30 @@ Usar cuando el usuario menciona:
17
26
  - "e-commerce"
18
27
  </when_to_use>
19
28
 
29
+ <pre_requisites>
30
+ ## Pre-requisitos
31
+
32
+ ### Conocimientos
33
+ - JavaScript/TypeScript intermedio
34
+ - Conceptos de API REST
35
+ - Async/await y Promises
36
+ - Conceptos basicos de seguridad web (HTTPS, tokens)
37
+
38
+ ### Software
39
+ - Node.js 20+ LTS
40
+ - Proyecto existente (Next.js, Hono, o similar)
41
+ - Stripe CLI (para desarrollo local)
42
+
43
+ ### Cuentas requeridas
44
+ - Cuenta de Stripe (gratis para test mode)
45
+ - Stripe CLI instalado: `brew install stripe/stripe-cli/stripe`
46
+
47
+ ### Antes de produccion
48
+ - Cuenta bancaria verificada en Stripe
49
+ - Documentacion de negocio completada
50
+ - Politicas de reembolso definidas
51
+ </pre_requisites>
52
+
20
53
  <before_starting>
21
54
  ## Investigación Obligatoria
22
55
 
@@ -59,6 +92,48 @@ Usar cuando el usuario menciona:
59
92
  | PayPal | Audiencia que lo prefiere |
60
93
  </recommended_stack>
61
94
 
95
+ <project_structure>
96
+ ## Estructura de Proyecto
97
+
98
+ ### Archivos de Stripe en Next.js
99
+ ```
100
+ src/
101
+ ├── lib/
102
+ │ ├── stripe.ts # Cliente servidor (secret key)
103
+ │ └── stripe-client.ts # Cliente frontend (publishable key)
104
+ ├── app/
105
+ │ ├── api/
106
+ │ │ ├── checkout/
107
+ │ │ │ └── route.ts # Crear sesion de checkout
108
+ │ │ ├── subscribe/
109
+ │ │ │ └── route.ts # Crear suscripcion
110
+ │ │ ├── portal/
111
+ │ │ │ └── route.ts # Customer portal
112
+ │ │ └── webhooks/
113
+ │ │ └── stripe/
114
+ │ │ └── route.ts # Webhook handler
115
+ │ ├── success/
116
+ │ │ └── page.tsx # Pagina post-pago exitoso
117
+ │ ├── cancel/
118
+ │ │ └── page.tsx # Pagina pago cancelado
119
+ │ └── pricing/
120
+ │ └── page.tsx # Pagina de precios
121
+ └── components/
122
+ ├── BuyButton.tsx # Boton de compra
123
+ ├── SubscribeButton.tsx # Boton de suscripcion
124
+ └── ManageSubscription.tsx # Acceso a portal
125
+ ```
126
+
127
+ ### Variables de entorno
128
+ ```bash
129
+ # .env.local
130
+ STRIPE_SECRET_KEY=sk_test_xxx # Solo servidor
131
+ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_xxx # Cliente
132
+ STRIPE_WEBHOOK_SECRET=whsec_xxx # Webhooks
133
+ NEXT_PUBLIC_URL=http://localhost:3000 # URL base
134
+ ```
135
+ </project_structure>
136
+
62
137
  <stripe_setup>
63
138
  ## Setup Stripe (Recomendado)
64
139
 
@@ -98,7 +173,7 @@ STRIPE_WEBHOOK_SECRET=whsec_xxx
98
173
  import Stripe from 'stripe'
99
174
 
100
175
  export const stripe = new Stripe(process.env.STRIPE_SECRET_KEY!, {
101
- apiVersion: '2024-11-20.acacia', // Verificar versión actual
176
+ apiVersion: '2024-12-18.acacia', // API version 2026
102
177
  typescript: true,
103
178
  })
104
179
  ```