@qubiit/lmagent 2.5.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.
- package/.editorconfig +18 -0
- package/AGENTS.md +169 -0
- package/CLAUDE.md +122 -0
- package/CONTRIBUTING.md +90 -0
- package/LICENSE +21 -0
- package/README.md +195 -0
- package/config/commands.yaml +194 -0
- package/config/levels.yaml +135 -0
- package/config/models.yaml +192 -0
- package/config/settings.yaml +405 -0
- package/config/tools-extended.yaml +534 -0
- package/config/tools.yaml +437 -0
- package/docs/assets/logo.png +0 -0
- package/docs/commands.md +132 -0
- package/docs/customization-guide.md +445 -0
- package/docs/getting-started.md +154 -0
- package/docs/how-to-start.md +242 -0
- package/docs/navigation-index.md +227 -0
- package/docs/usage-guide.md +113 -0
- package/install.js +1044 -0
- package/package.json +35 -0
- package/pyproject.toml +182 -0
- package/rules/_bootstrap.md +138 -0
- package/rules/agents-ia.md +607 -0
- package/rules/api-design.md +337 -0
- package/rules/automations-n8n.md +646 -0
- package/rules/code-style.md +570 -0
- package/rules/documentation.md +98 -0
- package/rules/security.md +316 -0
- package/rules/stack.md +395 -0
- package/rules/testing.md +326 -0
- package/rules/workflow.md +353 -0
- package/scripts/create_skill.js +300 -0
- package/scripts/validate_skills.js +283 -0
- package/skills/ai-agent-engineer/SKILL.md +394 -0
- package/skills/ai-agent-engineer/references/agent-patterns.md +149 -0
- package/skills/api-designer/SKILL.md +429 -0
- package/skills/api-designer/references/api-standards.md +13 -0
- package/skills/architect/SKILL.md +285 -0
- package/skills/architect/references/c4-model.md +133 -0
- package/skills/automation-engineer/SKILL.md +352 -0
- package/skills/automation-engineer/references/n8n-patterns.md +127 -0
- package/skills/backend-engineer/SKILL.md +261 -0
- package/skills/backend-engineer/assets/fastapi-project-structure.yaml +74 -0
- package/skills/backend-engineer/references/debugging-guide.md +174 -0
- package/skills/backend-engineer/references/design-patterns.md +208 -0
- package/skills/backend-engineer/scripts/scaffold_backend.py +313 -0
- package/skills/bmad-methodology/SKILL.md +202 -0
- package/skills/bmad-methodology/references/scale-adaptive-levels.md +141 -0
- package/skills/browser-agent/SKILL.md +502 -0
- package/skills/browser-agent/scripts/playwright_setup.ts +16 -0
- package/skills/code-reviewer/SKILL.md +306 -0
- package/skills/code-reviewer/references/code-review-checklist.md +16 -0
- package/skills/data-engineer/SKILL.md +474 -0
- package/skills/data-engineer/assets/pg-monitoring-queries.sql +154 -0
- package/skills/data-engineer/references/index-strategy.md +128 -0
- package/skills/data-engineer/scripts/backup_postgres.py +221 -0
- package/skills/devops-engineer/SKILL.md +547 -0
- package/skills/devops-engineer/references/ci-cd-patterns.md +265 -0
- package/skills/devops-engineer/scripts/docker_healthcheck.py +125 -0
- package/skills/document-generator/SKILL.md +746 -0
- package/skills/document-generator/references/pdf-generation.md +22 -0
- package/skills/frontend-engineer/SKILL.md +532 -0
- package/skills/frontend-engineer/references/accessibility-guide.md +146 -0
- package/skills/frontend-engineer/scripts/audit_bundle.py +144 -0
- package/skills/git-workflow/SKILL.md +374 -0
- package/skills/git-workflow/references/git-flow.md +25 -0
- package/skills/mcp-builder/SKILL.md +471 -0
- package/skills/mcp-builder/references/mcp-server-guide.md +23 -0
- package/skills/mobile-engineer/SKILL.md +502 -0
- package/skills/mobile-engineer/references/platform-guidelines.md +160 -0
- package/skills/orchestrator/SKILL.md +246 -0
- package/skills/orchestrator/references/methodology-routing.md +117 -0
- package/skills/orchestrator/references/persona-mapping.md +85 -0
- package/skills/orchestrator/references/routing-logic.md +110 -0
- package/skills/performance-engineer/SKILL.md +549 -0
- package/skills/performance-engineer/references/caching-patterns.md +181 -0
- package/skills/performance-engineer/scripts/profile_endpoint.py +170 -0
- package/skills/product-manager/SKILL.md +488 -0
- package/skills/product-manager/references/prioritization-frameworks.md +126 -0
- package/skills/prompt-engineer/SKILL.md +433 -0
- package/skills/prompt-engineer/references/prompt-patterns.md +158 -0
- package/skills/qa-engineer/SKILL.md +441 -0
- package/skills/qa-engineer/references/testing-strategy.md +166 -0
- package/skills/qa-engineer/scripts/run_coverage.py +147 -0
- package/skills/scrum-master/SKILL.md +225 -0
- package/skills/scrum-master/references/sprint-ceremonies.md +159 -0
- package/skills/security-analyst/SKILL.md +390 -0
- package/skills/security-analyst/references/owasp-top10.md +188 -0
- package/skills/security-analyst/scripts/audit_security.py +242 -0
- package/skills/seo-auditor/SKILL.md +523 -0
- package/skills/seo-auditor/references/seo-checklist.md +17 -0
- package/skills/spec-driven-dev/SKILL.md +342 -0
- package/skills/spec-driven-dev/references/phase-gates.md +107 -0
- package/skills/supabase-expert/SKILL.md +602 -0
- package/skills/supabase-expert/references/supabase-patterns.md +19 -0
- package/skills/swe-agent/SKILL.md +311 -0
- package/skills/swe-agent/references/trajectory-format.md +134 -0
- package/skills/systematic-debugger/SKILL.md +512 -0
- package/skills/systematic-debugger/references/debugging-guide.md +12 -0
- package/skills/tech-lead/SKILL.md +409 -0
- package/skills/tech-lead/references/code-review-checklist.md +111 -0
- package/skills/technical-writer/SKILL.md +631 -0
- package/skills/technical-writer/references/doc-templates.md +218 -0
- package/skills/testing-strategist/SKILL.md +476 -0
- package/skills/testing-strategist/references/testing-pyramid.md +16 -0
- package/skills/ux-ui-designer/SKILL.md +419 -0
- package/skills/ux-ui-designer/references/design-system-foundation.md +168 -0
- package/skills_overview.txt +94 -0
- package/templates/PROJECT_KICKOFF.md +284 -0
- package/templates/SKILL_TEMPLATE.md +131 -0
- package/templates/USAGE.md +95 -0
- package/templates/agent-python/README.md +71 -0
- package/templates/agent-python/agent.py +272 -0
- package/templates/agent-python/config.yaml +76 -0
- package/templates/agent-python/prompts/system.md +109 -0
- package/templates/agent-python/requirements.txt +7 -0
- package/templates/automation-n8n/README.md +14 -0
- package/templates/automation-n8n/webhook-handler.json +57 -0
- package/templates/backend-node/Dockerfile +12 -0
- package/templates/backend-node/README.md +15 -0
- package/templates/backend-node/package.json +30 -0
- package/templates/backend-node/src/index.ts +19 -0
- package/templates/backend-node/src/routes.ts +7 -0
- package/templates/backend-node/tsconfig.json +22 -0
- package/templates/backend-python/Dockerfile +11 -0
- package/templates/backend-python/README.md +78 -0
- package/templates/backend-python/app/core/config.py +12 -0
- package/templates/backend-python/app/core/database.py +12 -0
- package/templates/backend-python/app/main.py +17 -0
- package/templates/backend-python/app/routers/__init__.py +1 -0
- package/templates/backend-python/app/routers/health.py +7 -0
- package/templates/backend-python/requirements-dev.txt +6 -0
- package/templates/backend-python/requirements.txt +4 -0
- package/templates/backend-python/tests/test_health.py +9 -0
- package/templates/checkpoint.yaml +117 -0
- package/templates/database/README.md +474 -0
- package/templates/frontend-react/README.md +446 -0
- package/templates/plan.yaml +320 -0
- package/templates/session.yaml +125 -0
- package/templates/spec.yaml +229 -0
- package/templates/tasks.yaml +330 -0
- package/workflows/bugfix-backend.md +380 -0
- package/workflows/documentation.md +232 -0
- package/workflows/generate-prd.md +320 -0
- package/workflows/ideation.md +396 -0
- package/workflows/new-agent-ia.md +497 -0
- package/workflows/new-automation.md +374 -0
- package/workflows/new-feature.md +290 -0
- package/workflows/optimize-performance.md +373 -0
- package/workflows/resolve-github-issue.md +524 -0
- package/workflows/security-review.md +291 -0
- package/workflows/spec-driven.md +476 -0
- package/workflows/testing-strategy.md +296 -0
- package/workflows/third-party-integration.md +277 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: BMAD Methodology
|
|
3
|
+
description: Experto en la aplicación de la metodología Best Model Agent Driven (BMAD).
|
|
4
|
+
role: Scale-Adaptive Intelligence & Project Orchestration
|
|
5
|
+
type: methodology
|
|
6
|
+
version: 2.5
|
|
7
|
+
icon: 🧠
|
|
8
|
+
expertise:
|
|
9
|
+
- Scale-Adaptive Intelligence (Levels 0-4)
|
|
10
|
+
- Project Kickoff & Discovery
|
|
11
|
+
- Multi-Persona Orchestration
|
|
12
|
+
- Ideation & Brainstorming (SCAMPER, 5 Whys)
|
|
13
|
+
- PRD Generation
|
|
14
|
+
- Complexity Classification
|
|
15
|
+
- Agile-Lean hybrid methodologies
|
|
16
|
+
activates_on:
|
|
17
|
+
- Inicio de proyecto nuevo
|
|
18
|
+
- Clasificación de complejidad de tarea
|
|
19
|
+
- Brainstorming e ideación
|
|
20
|
+
- Generación de PRDs
|
|
21
|
+
- Orquestación multi-persona
|
|
22
|
+
- Cuando se necesita decidir el nivel de planning requerido
|
|
23
|
+
triggers:
|
|
24
|
+
- /bmad
|
|
25
|
+
- /kickoff
|
|
26
|
+
- /classify
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
# BMAD Methodology Skill
|
|
30
|
+
|
|
31
|
+
> **BMAD-METHOD**: Build, Measure, Adapt, Deliver — un framework de inteligencia adaptativa que ajusta el nivel de rigor según la complejidad de la tarea.
|
|
32
|
+
|
|
33
|
+
## 🧠 System Prompt
|
|
34
|
+
|
|
35
|
+
```markdown
|
|
36
|
+
Eres un experto en la metodología **BMAD-METHOD (Build, Measure, Adapt, Deliver)**.
|
|
37
|
+
Tu objetivo es **ESCALAR EL PROCESO AL NIVEL CORRECTO DE COMPLEJIDAD**.
|
|
38
|
+
Tu tono es **Estructurado, Adaptativo, Orientado a Resultados**.
|
|
39
|
+
|
|
40
|
+
**Principios Core:**
|
|
41
|
+
1. **Right-sizing**: No apliques procesos enterprise a un bug fix, ni fixes rápidos a cambios arquitecturales.
|
|
42
|
+
2. **Level-first**: Siempre clasifica ANTES de planificar.
|
|
43
|
+
3. **Personas as Experts**: Cada fase tiene un experto; delega, no hagas todo tú.
|
|
44
|
+
4. **Artifacts as Checkpoints**: Los artefactos son puntos de validación, no burocracia.
|
|
45
|
+
|
|
46
|
+
**Restricciones:**
|
|
47
|
+
- NUNCA inicies implementación sin clasificar el nivel (0-4).
|
|
48
|
+
- SIEMPRE genera el artefacto mínimo requerido para el nivel.
|
|
49
|
+
- NUNCA saltes la fase de Discovery para proyectos nuevos.
|
|
50
|
+
- SIEMPRE valida con el usuario antes de escalar de nivel.
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## 📊 Scale-Adaptive Intelligence
|
|
54
|
+
|
|
55
|
+
El corazón de BMAD es el **sistema de niveles** que adapta el proceso a la complejidad real:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
┌──────────────────────────────────────────────────────────────────┐
|
|
59
|
+
│ BMAD SCALE-ADAPTIVE LEVELS │
|
|
60
|
+
│ │
|
|
61
|
+
│ Level 0: TRIVIAL │ <5 min │ No planning │ Just do it │
|
|
62
|
+
│ Level 1: SMALL │ 5-30 min │ Minimal plan │ Brief desc │
|
|
63
|
+
│ Level 2: MEDIUM │ 30m-2h │ Standard │ impl_plan.md │
|
|
64
|
+
│ Level 3: COMPLEX │ 2-8h │ Extensive │ Full artifacts │
|
|
65
|
+
│ Level 4: ENTERPRISE │ 8h+ │ Audit-grade │ Governance │
|
|
66
|
+
│ │
|
|
67
|
+
│ 💡 Referencia completa: config/levels.yaml │
|
|
68
|
+
└──────────────────────────────────────────────────────────────────┘
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Clasificación Automática
|
|
72
|
+
|
|
73
|
+
| Señal | Nivel Mínimo | Razón |
|
|
74
|
+
|-------|-------------|-------|
|
|
75
|
+
| Archivos `*.sql` afectados | Level 2 | Cambios de DB requieren cuidado |
|
|
76
|
+
| Archivos `*auth*` afectados | Level 2 | Seguridad sensible |
|
|
77
|
+
| Archivos `*migration*` | Level 3 | Planning extensivo requerido |
|
|
78
|
+
| Archivos `*security*` | Level 3 | Revisión obligatoria |
|
|
79
|
+
| Keywords "breaking change" | Level 3+ | Impacto amplio |
|
|
80
|
+
|
|
81
|
+
## 🚀 Project Kickoff Protocol
|
|
82
|
+
|
|
83
|
+
Para proyectos nuevos, BMAD define un flujo de arranque estructurado:
|
|
84
|
+
|
|
85
|
+
```
|
|
86
|
+
USUARIO AGENTE (BMAD)
|
|
87
|
+
──────── ─────────────
|
|
88
|
+
│
|
|
89
|
+
▼
|
|
90
|
+
Completa PROJECT_KICKOFF.md
|
|
91
|
+
(5-10 minutos)
|
|
92
|
+
│
|
|
93
|
+
▼
|
|
94
|
+
Abre en IDE ──────────────────► Detecta PROJECT_KICKOFF.md
|
|
95
|
+
│
|
|
96
|
+
▼
|
|
97
|
+
Clasifica Nivel (0-4)
|
|
98
|
+
│
|
|
99
|
+
▼
|
|
100
|
+
Activa workflow según nivel:
|
|
101
|
+
• L0-1: Directo a /dev
|
|
102
|
+
• L2+: /spec workflow
|
|
103
|
+
│
|
|
104
|
+
▼
|
|
105
|
+
Orquesta persona secuencial:
|
|
106
|
+
/pm → /arch → /dev → /qa
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**Template de arranque**: [PROJECT_KICKOFF.md](../templates/PROJECT_KICKOFF.md)
|
|
110
|
+
|
|
111
|
+
## 💡 Ideation Framework
|
|
112
|
+
|
|
113
|
+
BMAD incluye frameworks de ideación estructurada:
|
|
114
|
+
|
|
115
|
+
### Modos Disponibles
|
|
116
|
+
|
|
117
|
+
| Modo | Descripción | Cuándo Usar |
|
|
118
|
+
|------|-------------|-------------|
|
|
119
|
+
| 🌱 Seed Expansion | Expandir idea semilla en múltiples direcciones | Idea inicial vaga |
|
|
120
|
+
| 🔍 Problem Exploration | 5 Whys + 5 Whos + 5 Hows | Entender un problema |
|
|
121
|
+
| 💡 Solution Generation | SCAMPER + Crazy 8s | Generar soluciones |
|
|
122
|
+
| 🔀 Combinatorial | Concept Mash-up | Combinar conceptos |
|
|
123
|
+
| 🎯 Constraint-Based | Idear bajo restricciones | Limitaciones conocidas |
|
|
124
|
+
|
|
125
|
+
**Workflow completo**: [ideation.md](../workflows/ideation.md)
|
|
126
|
+
|
|
127
|
+
## 📄 PRD Generation (BMAD-style)
|
|
128
|
+
|
|
129
|
+
BMAD genera PRDs completos con un proceso de 4 fases:
|
|
130
|
+
|
|
131
|
+
1. **Discovery** → Entender problema, identificar usuarios, analizar contexto
|
|
132
|
+
2. **Definition** → Definir scope, priorizar features, establecer métricas
|
|
133
|
+
3. **Specification** → User Stories, Acceptance Criteria, Mockups
|
|
134
|
+
4. **Validation** → Review con stakeholders, ajustes, aprobación
|
|
135
|
+
|
|
136
|
+
**Workflow completo**: [generate-prd.md](../workflows/generate-prd.md)
|
|
137
|
+
|
|
138
|
+
## 🔄 Multi-Persona Orchestration
|
|
139
|
+
|
|
140
|
+
BMAD coordina personas según la fase del proyecto:
|
|
141
|
+
|
|
142
|
+
| Fase | Persona | Artefacto | Validación |
|
|
143
|
+
|------|---------|-----------|------------|
|
|
144
|
+
| Discovery | `/pm` | Problem Statement | ¿Problema real validado? |
|
|
145
|
+
| Planning | `/arch` | ADRs, plan.yaml | ¿Arquitectura viable? |
|
|
146
|
+
| Tasks | `/dev` | tasks.yaml | ¿Tasks atómicas? |
|
|
147
|
+
| Implement | `/dev` + `/frontend` | Código | ¿Tests passing? |
|
|
148
|
+
| Verify | `/qa` | Report | ¿Criteria cumplidos? |
|
|
149
|
+
| Deploy | `/devops` | Pipeline | ¿Rollback plan? |
|
|
150
|
+
|
|
151
|
+
**Orchestrator como coordinador**: El skill [orchestrator](../orchestrator/SKILL.md) usa BMAD para decidir qué persona activar y cuándo.
|
|
152
|
+
|
|
153
|
+
## 🛠️ Comandos
|
|
154
|
+
|
|
155
|
+
| Comando | Acción |
|
|
156
|
+
|---------|--------|
|
|
157
|
+
| `/bmad classify [descripción]` | Clasificar nivel de una tarea |
|
|
158
|
+
| `/bmad kickoff` | Iniciar protocolo de arranque de proyecto |
|
|
159
|
+
| `/bmad ideate [tema]` | Iniciar sesión de ideación |
|
|
160
|
+
| `/bmad prd [nombre]` | Generar PRD completo |
|
|
161
|
+
| `/bmad status` | Ver estado actual del proyecto |
|
|
162
|
+
|
|
163
|
+
## 🛠️ Tool Bindings
|
|
164
|
+
|
|
165
|
+
| Herramienta | Cuándo Usarla |
|
|
166
|
+
|-------------|---------------|
|
|
167
|
+
| `view_file` | Leer PROJECT_KICKOFF.md, spec.yaml existentes |
|
|
168
|
+
| `write_to_file` | Generar PRDs, specs |
|
|
169
|
+
| `notify_user` | Pedir clasificación de nivel, aprobación de PRD |
|
|
170
|
+
| `generate_image` | Crear diagramas de flujo, wireframes |
|
|
171
|
+
| `search_web` | Research de mercado para PRDs |
|
|
172
|
+
|
|
173
|
+
## 📚 Referencias
|
|
174
|
+
|
|
175
|
+
- [config/levels.yaml](../config/levels.yaml) — Sistema de niveles completo
|
|
176
|
+
- [templates/PROJECT_KICKOFF.md](../templates/PROJECT_KICKOFF.md) — Template de arranque
|
|
177
|
+
- [workflows/ideation.md](../workflows/ideation.md) — Workflow de ideación
|
|
178
|
+
- [workflows/generate-prd.md](../workflows/generate-prd.md) — Workflow de PRD
|
|
179
|
+
- [skills/orchestrator/SKILL.md](../orchestrator/SKILL.md) — Orquestador
|
|
180
|
+
|
|
181
|
+
## 📋 Definition of Done (BMAD)
|
|
182
|
+
|
|
183
|
+
### Clasificación
|
|
184
|
+
- [ ] Nivel de complejidad asignado (0-4)
|
|
185
|
+
- [ ] Artefactos requeridos identificados según nivel
|
|
186
|
+
- [ ] Persona(s) correcta(s) activada(s)
|
|
187
|
+
|
|
188
|
+
### Project Kickoff
|
|
189
|
+
- [ ] PROJECT_KICKOFF.md completado
|
|
190
|
+
- [ ] Nivel clasificado
|
|
191
|
+
- [ ] Workflow correcto activado
|
|
192
|
+
|
|
193
|
+
### Ideación / PRD
|
|
194
|
+
- [ ] Framework de ideación seleccionado y ejecutado
|
|
195
|
+
- [ ] Top 3 ideas documentadas
|
|
196
|
+
- [ ] PRD generado con métricas de éxito
|
|
197
|
+
- [ ] Stakeholder sign-off obtenido
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
*Skill version: 2.3 | Inspirado en BMAD-METHOD Scale-Adaptive Intelligence*
|
|
202
|
+
*Compatible con: Spec-Driven Development + SWE-Agent*
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Scale-Adaptive Intelligence — BMAD Methodology Reference
|
|
2
|
+
|
|
3
|
+
> Guía detallada del sistema de niveles de BMAD para clasificar y adaptar el esfuerzo de planificación.
|
|
4
|
+
|
|
5
|
+
## El Problema que Resuelve
|
|
6
|
+
|
|
7
|
+
No todas las tareas necesitan el mismo nivel de planificación:
|
|
8
|
+
- Un hotfix de 1 línea NO necesita un PRD formal
|
|
9
|
+
- Un MVP de producto SÍ necesita especificación completa
|
|
10
|
+
|
|
11
|
+
**BMAD resuelve esto** clasificando la tarea en un nivel (0-4) y adaptando el proceso automáticamente.
|
|
12
|
+
|
|
13
|
+
## Los 5 Niveles
|
|
14
|
+
|
|
15
|
+
### Level 0: Quick Fix
|
|
16
|
+
```
|
|
17
|
+
Esfuerzo: < 5 minutos
|
|
18
|
+
Planning: Ninguno
|
|
19
|
+
Workflow: Directo
|
|
20
|
+
Ejemplo: Fix typo, actualizar variable de entorno, corregir import
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
**Señales:**
|
|
24
|
+
- Cambio en 1 archivo
|
|
25
|
+
- Sin lógica nueva
|
|
26
|
+
- Sin riesgo de regresión
|
|
27
|
+
|
|
28
|
+
**Acción del Orchestrator:** Delegar directamente a `/dev`
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
### Level 1: Simple Task
|
|
33
|
+
```
|
|
34
|
+
Esfuerzo: < 2 horas
|
|
35
|
+
Planning: Mental (plan breve)
|
|
36
|
+
Workflow: Plan → Implement → Test
|
|
37
|
+
Ejemplo: Agregar endpoint CRUD, nuevo componente, fix de bug simple
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**Señales:**
|
|
41
|
+
- 1-3 archivos
|
|
42
|
+
- Lógica simple y contenida
|
|
43
|
+
- Patrones existentes a seguir
|
|
44
|
+
|
|
45
|
+
**Acción del Orchestrator:** Delegar a persona específica con contexto
|
|
46
|
+
|
|
47
|
+
---
|
|
48
|
+
|
|
49
|
+
### Level 2: Feature
|
|
50
|
+
```
|
|
51
|
+
Esfuerzo: 2 horas - 2 días
|
|
52
|
+
Planning: spec.yaml (informal)
|
|
53
|
+
Workflow: Specify → Plan → Implement → Verify
|
|
54
|
+
Ejemplo: Feature nueva con backend + frontend, integración de API externa
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Señales:**
|
|
58
|
+
- 3-10 archivos
|
|
59
|
+
- Cruza 2+ dominios (backend + frontend)
|
|
60
|
+
- Necesita alineación con PM
|
|
61
|
+
|
|
62
|
+
**Acción del Orchestrator:** Activar `/spec-dev` pipeline
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
### Level 3: Epic
|
|
67
|
+
```
|
|
68
|
+
Esfuerzo: 3 días - 2 semanas
|
|
69
|
+
Planning: spec.yaml + plan.yaml + tasks.yaml (formal)
|
|
70
|
+
Workflow: SPEC DRIVEN completo (5 fases)
|
|
71
|
+
Ejemplo: Sistema de autenticación, dashboard de analytics, módulo de pagos
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
**Señales:**
|
|
75
|
+
- 10+ archivos
|
|
76
|
+
- Múltiples personas involucradas
|
|
77
|
+
- Decisiones de arquitectura requeridas
|
|
78
|
+
- Tests de integración necesarios
|
|
79
|
+
|
|
80
|
+
**Acción del Orchestrator:** Pipeline SPEC DRIVEN completo con gates
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
### Level 4: Project
|
|
85
|
+
```
|
|
86
|
+
Esfuerzo: > 2 semanas
|
|
87
|
+
Planning: Roadmap + múltiples specs
|
|
88
|
+
Workflow: Multi-sprint, múltiples EPICs
|
|
89
|
+
Ejemplo: MVP completo, migración de plataforma, rewrite de módulo
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
**Señales:**
|
|
93
|
+
- Sistema completo o subsistema mayor
|
|
94
|
+
- Múltiples stakeholders
|
|
95
|
+
- Riesgos técnicos significativos
|
|
96
|
+
- Requiere POC o prototipo
|
|
97
|
+
|
|
98
|
+
**Acción del Orchestrator:** Descomponer en múltiples Level 3 EPICs
|
|
99
|
+
|
|
100
|
+
## Tabla de Decisión Rápida
|
|
101
|
+
|
|
102
|
+
| Pregunta | <5 min | <2h | <2d | <2 sem | >2 sem |
|
|
103
|
+
|----------|--------|-----|-----|--------|--------|
|
|
104
|
+
| **Level** | 0 | 1 | 2 | 3 | 4 |
|
|
105
|
+
| **spec.yaml** | ❌ | ❌ | ✅ informal | ✅ formal | ✅ formal |
|
|
106
|
+
| **plan.yaml** | ❌ | ❌ | ❌ | ✅ | ✅ |
|
|
107
|
+
| **tasks.yaml** | ❌ | ❌ | ❌ | ✅ | ✅ |
|
|
108
|
+
| **ADR** | ❌ | ❌ | ❌ | ✅ | ✅ |
|
|
109
|
+
| **Code Review** | ❌ | ✅ | ✅ | ✅ | ✅ |
|
|
110
|
+
| **Tests** | Opcional | ✅ Unit | ✅ + Integr. | ✅ + E2E | ✅ Full |
|
|
111
|
+
|
|
112
|
+
## Frameworks de Ideación (para kickoff)
|
|
113
|
+
|
|
114
|
+
### SCAMPER
|
|
115
|
+
Para generar ideas a partir de algo existente:
|
|
116
|
+
- **S**ubstitute: ¿Qué puedo reemplazar?
|
|
117
|
+
- **C**ombine: ¿Qué puedo combinar?
|
|
118
|
+
- **A**dapt: ¿Qué puedo adaptar de otro contexto?
|
|
119
|
+
- **M**odify: ¿Qué puedo modificar/magnificar/minimizar?
|
|
120
|
+
- **P**ut to other use: ¿Para qué más sirve?
|
|
121
|
+
- **E**liminate: ¿Qué puedo eliminar?
|
|
122
|
+
- **R**everse: ¿Qué pasa si lo invierto?
|
|
123
|
+
|
|
124
|
+
### 5 Whys
|
|
125
|
+
Para encontrar la causa raíz de un problema:
|
|
126
|
+
```
|
|
127
|
+
Problema: "Los usuarios abandonan el checkout"
|
|
128
|
+
Why 1: Porque el formulario es largo
|
|
129
|
+
Why 2: Porque pedimos datos innecesarios
|
|
130
|
+
Why 3: Porque nadie revisó los campos requeridos
|
|
131
|
+
Why 4: Porque no hay un PM asignado al flujo
|
|
132
|
+
Why 5: Porque no priorizamos UX del checkout
|
|
133
|
+
→ Root Cause: Falta de ownership de UX en flujos críticos
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
### Crazy 8s
|
|
137
|
+
Para prototipar rápido:
|
|
138
|
+
1. Dividir una hoja en 8 secciones
|
|
139
|
+
2. 1 minuto por sección: dibujar una idea
|
|
140
|
+
3. Votar las mejores 2
|
|
141
|
+
4. Iterar sobre las ganadoras
|