awc-zns-mtd 2.0.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 +21 -0
- package/CHANGELOG.md +210 -0
- package/LICENSE +21 -0
- package/README.md +439 -0
- package/docs/examples/example-feature.md +94 -0
- package/docs/getting-started/quick-start.md +85 -0
- package/docs/guides/agent-guide.md +56 -0
- package/docs/guides/workflow-guide.md +49 -0
- package/docs/reference/commands-reference.md +93 -0
- package/docs/reference/methodology-design.md +193 -0
- package/package.json +66 -0
- package/src/modules/awc-zns-mtd/agents/architect-senior.agent.yaml +159 -0
- package/src/modules/awc-zns-mtd/agents/developer-pro.agent.yaml +197 -0
- package/src/modules/awc-zns-mtd/agents/qa-specialist.agent.yaml +225 -0
- package/src/modules/awc-zns-mtd/agents/zen-master.agent.yaml +142 -0
- package/src/modules/awc-zns-mtd/config.yaml +412 -0
- package/src/modules/awc-zns-mtd/templates/PRD-template.md +490 -0
- package/src/modules/awc-zns-mtd/templates/arquitectura-conceptual.md +431 -0
- package/src/modules/awc-zns-mtd/templates/cotizacion.md +333 -0
- package/src/modules/awc-zns-mtd/templates/discovery-notes.md +205 -0
- package/src/modules/awc-zns-mtd/templates/kickoff-agenda.md +297 -0
- package/src/modules/awc-zns-mtd/templates/oferta-comercial.md +279 -0
- package/src/modules/awc-zns-mtd/templates/viabilidad.md +281 -0
- package/src/modules/awc-zns-mtd/workflows/analisis-flow/workflow.yaml +500 -0
- package/src/modules/awc-zns-mtd/workflows/comercial-flow/workflow.yaml +444 -0
- package/src/modules/awc-zns-mtd/workflows/deployment-flow/workflow.yaml +395 -0
- package/src/modules/awc-zns-mtd/workflows/development-flow/workflow.yaml +321 -0
- package/src/modules/awc-zns-mtd/workflows/enterprise-flow/workflow.yaml +276 -0
- package/src/modules/awc-zns-mtd/workflows/inception-flow/workflow.yaml +588 -0
- package/src/modules/awc-zns-mtd/workflows/planificacion-flow/workflow.yaml +526 -0
- package/src/modules/awc-zns-mtd/workflows/qa-flow/workflow.yaml +291 -0
- package/src/modules/awc-zns-mtd/workflows/quick-flow/workflow.yaml +121 -0
- package/src/modules/awc-zns-mtd/workflows/standard-flow/workflow.yaml +181 -0
- package/src/modules/awc-zns-mtd/workflows/support-flow/workflow.yaml +438 -0
- package/src/modules/custom-agents/ARCHITECTURE.md +566 -0
- package/src/modules/custom-agents/CONVERSION_SUMMARY.md +315 -0
- package/src/modules/custom-agents/FINAL_SUMMARY.md +296 -0
- package/src/modules/custom-agents/README.md +628 -0
- package/src/modules/custom-agents/USAGE_GUIDE.md +306 -0
- package/src/modules/custom-agents/agents/aspnet-core-architect-senior.agent.yaml +368 -0
- package/src/modules/custom-agents/agents/backend-audit-master.agent.yaml +376 -0
- package/src/modules/custom-agents/agents/backend-java-senior.agent.yaml +606 -0
- package/src/modules/custom-agents/agents/c4-diagram-specialist.agent.yaml +345 -0
- package/src/modules/custom-agents/agents/consolidation-context-master.agent.yaml +318 -0
- package/src/modules/custom-agents/agents/cost-estimator-senior.agent.yaml +369 -0
- package/src/modules/custom-agents/agents/database-engineer-senior.agent.yaml +331 -0
- package/src/modules/custom-agents/agents/devsecops-onpremise-senior.agent.yaml +370 -0
- package/src/modules/custom-agents/agents/document-export-specialist.agent.yaml +355 -0
- package/src/modules/custom-agents/agents/dotnet-core-senior.agent.yaml +258 -0
- package/src/modules/custom-agents/agents/frontend-audit-master.agent.yaml +356 -0
- package/src/modules/custom-agents/agents/frontend-react-senior.agent.yaml +470 -0
- package/src/modules/custom-agents/agents/obsolescence-analyst-senior.agent.yaml +339 -0
- package/src/modules/custom-agents/agents/php-senior.agent.yaml +277 -0
- package/src/modules/custom-agents/agents/product-owner-business-analyst.agent.yaml +315 -0
- package/src/modules/custom-agents/agents/prompt-architect-senior.agent.yaml +398 -0
- package/src/modules/custom-agents/agents/prompt-engineer-senior.agent.yaml +431 -0
- package/src/modules/custom-agents/agents/python-senior.agent.yaml +347 -0
- package/src/modules/custom-agents/agents/react-native-senior.agent.yaml +292 -0
- package/src/modules/custom-agents/agents/solution-architect-senior.agent.yaml +496 -0
- package/src/modules/custom-agents/agents/technical-stories-architect.agent.yaml +402 -0
- package/src/modules/custom-agents/agents/validation-quality-master.agent.yaml +377 -0
- package/src/modules/custom-agents/cli/.awc-agents/aspnet-core-architect-senior.agent.yaml +368 -0
- package/src/modules/custom-agents/cli/.awc-agents/backend-audit-master.agent.yaml +376 -0
- package/src/modules/custom-agents/cli/.awc-agents/backend-java-senior.agent.yaml +606 -0
- package/src/modules/custom-agents/cli/.awc-agents/c4-diagram-specialist.agent.yaml +345 -0
- package/src/modules/custom-agents/cli/.awc-agents/consolidation-context-master.agent.yaml +318 -0
- package/src/modules/custom-agents/cli/.awc-agents/cost-estimator-senior.agent.yaml +369 -0
- package/src/modules/custom-agents/cli/.awc-agents/database-engineer-senior.agent.yaml +331 -0
- package/src/modules/custom-agents/cli/.awc-agents/devsecops-onpremise-senior.agent.yaml +370 -0
- package/src/modules/custom-agents/cli/.awc-agents/document-export-specialist.agent.yaml +355 -0
- package/src/modules/custom-agents/cli/.awc-agents/dotnet-core-senior.agent.yaml +258 -0
- package/src/modules/custom-agents/cli/.awc-agents/frontend-audit-master.agent.yaml +356 -0
- package/src/modules/custom-agents/cli/.awc-agents/frontend-react-senior.agent.yaml +470 -0
- package/src/modules/custom-agents/cli/.awc-agents/obsolescence-analyst-senior.agent.yaml +339 -0
- package/src/modules/custom-agents/cli/.awc-agents/php-senior.agent.yaml +277 -0
- package/src/modules/custom-agents/cli/.awc-agents/product-owner-business-analyst.agent.yaml +315 -0
- package/src/modules/custom-agents/cli/.awc-agents/prompt-architect-senior.agent.yaml +398 -0
- package/src/modules/custom-agents/cli/.awc-agents/prompt-engineer-senior.agent.yaml +431 -0
- package/src/modules/custom-agents/cli/.awc-agents/python-senior.agent.yaml +347 -0
- package/src/modules/custom-agents/cli/.awc-agents/react-native-senior.agent.yaml +292 -0
- package/src/modules/custom-agents/cli/.awc-agents/solution-architect-senior.agent.yaml +496 -0
- package/src/modules/custom-agents/cli/.awc-agents/technical-stories-architect.agent.yaml +402 -0
- package/src/modules/custom-agents/cli/.awc-agents/validation-quality-master.agent.yaml +377 -0
- package/src/modules/custom-agents/cli/CHANGELOG.md +77 -0
- package/src/modules/custom-agents/cli/LICENSE +21 -0
- package/src/modules/custom-agents/cli/PUBLISH.md +292 -0
- package/src/modules/custom-agents/cli/README.md +333 -0
- package/src/modules/custom-agents/cli/agents-data/aspnet-core-architect-senior.agent.yaml +368 -0
- package/src/modules/custom-agents/cli/agents-data/backend-audit-master.agent.yaml +376 -0
- package/src/modules/custom-agents/cli/agents-data/backend-java-senior.agent.yaml +606 -0
- package/src/modules/custom-agents/cli/agents-data/c4-diagram-specialist.agent.yaml +345 -0
- package/src/modules/custom-agents/cli/agents-data/consolidation-context-master.agent.yaml +318 -0
- package/src/modules/custom-agents/cli/agents-data/cost-estimator-senior.agent.yaml +369 -0
- package/src/modules/custom-agents/cli/agents-data/database-engineer-senior.agent.yaml +331 -0
- package/src/modules/custom-agents/cli/agents-data/devsecops-onpremise-senior.agent.yaml +370 -0
- package/src/modules/custom-agents/cli/agents-data/document-export-specialist.agent.yaml +355 -0
- package/src/modules/custom-agents/cli/agents-data/dotnet-core-senior.agent.yaml +258 -0
- package/src/modules/custom-agents/cli/agents-data/frontend-audit-master.agent.yaml +356 -0
- package/src/modules/custom-agents/cli/agents-data/frontend-react-senior.agent.yaml +470 -0
- package/src/modules/custom-agents/cli/agents-data/obsolescence-analyst-senior.agent.yaml +339 -0
- package/src/modules/custom-agents/cli/agents-data/php-senior.agent.yaml +277 -0
- package/src/modules/custom-agents/cli/agents-data/product-owner-business-analyst.agent.yaml +315 -0
- package/src/modules/custom-agents/cli/agents-data/prompt-architect-senior.agent.yaml +398 -0
- package/src/modules/custom-agents/cli/agents-data/prompt-engineer-senior.agent.yaml +431 -0
- package/src/modules/custom-agents/cli/agents-data/python-senior.agent.yaml +347 -0
- package/src/modules/custom-agents/cli/agents-data/react-native-senior.agent.yaml +292 -0
- package/src/modules/custom-agents/cli/agents-data/solution-architect-senior.agent.yaml +496 -0
- package/src/modules/custom-agents/cli/agents-data/technical-stories-architect.agent.yaml +402 -0
- package/src/modules/custom-agents/cli/agents-data/validation-quality-master.agent.yaml +377 -0
- package/src/modules/custom-agents/cli/awc-agent.js +372 -0
- package/src/modules/custom-agents/cli/config.yaml +478 -0
- package/src/modules/custom-agents/cli/package.json +63 -0
- package/src/modules/custom-agents/config.yaml +478 -0
- package/templates/.github/copilot-instructions.md +120 -0
- package/tools/cli/awc-cli.js +137 -0
- package/tools/cli/commands/config.js +148 -0
- package/tools/cli/commands/init.js +147 -0
- package/tools/cli/commands/install.js +188 -0
- package/tools/cli/commands/status.js +128 -0
- package/tools/cli/commands/validate.js +147 -0
- package/tools/cli/commands/version.js +49 -0
- package/tools/cli/utils/console-logger.js +153 -0
- package/tools/cli/utils/file-utils.js +178 -0
- package/tools/cli/utils/project-analyzer.js +280 -0
- package/tools/cli/utils/version.js +126 -0
- package/tools/version/README.md +272 -0
- package/tools/version/changelog-manager.js +288 -0
- package/tools/version/update-checker.js +234 -0
- package/tools/version/version-bump.js +90 -0
- package/tools/version/version-manager.js +224 -0
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
workflow:
|
|
2
|
+
name: "Development Flow - Implementación Iterativa"
|
|
3
|
+
id: "development-flow"
|
|
4
|
+
version: "1.0.0"
|
|
5
|
+
description: "Workflow de desarrollo siguiendo mejores prácticas de ingeniería de software"
|
|
6
|
+
|
|
7
|
+
metadata:
|
|
8
|
+
duration: "Continuo (durante sprints)"
|
|
9
|
+
complexity: "medium-high"
|
|
10
|
+
team_size: "2-10 developers"
|
|
11
|
+
|
|
12
|
+
phases:
|
|
13
|
+
- id: "feature-kickoff"
|
|
14
|
+
name: "Feature Kickoff"
|
|
15
|
+
|
|
16
|
+
- id: "development"
|
|
17
|
+
name: "Development & Code"
|
|
18
|
+
|
|
19
|
+
- id: "code-review"
|
|
20
|
+
name: "Code Review"
|
|
21
|
+
|
|
22
|
+
- id: "integration"
|
|
23
|
+
name: "Integration & Testing"
|
|
24
|
+
|
|
25
|
+
agents:
|
|
26
|
+
primary:
|
|
27
|
+
- "tech-lead-full-stack"
|
|
28
|
+
- "senior-backend-developer"
|
|
29
|
+
- "senior-frontend-developer"
|
|
30
|
+
|
|
31
|
+
supporting:
|
|
32
|
+
- "database-specialist"
|
|
33
|
+
- "devops-cloud-engineer"
|
|
34
|
+
- "code-reviewer"
|
|
35
|
+
|
|
36
|
+
steps:
|
|
37
|
+
- id: "dev-01"
|
|
38
|
+
name: "Selección de User Story del Sprint Backlog"
|
|
39
|
+
phase: "feature-kickoff"
|
|
40
|
+
agent: "senior-backend-developer"
|
|
41
|
+
duration: "15 minutos"
|
|
42
|
+
|
|
43
|
+
actions:
|
|
44
|
+
- type: "select"
|
|
45
|
+
description: "Tomar siguiente historia de mayor prioridad"
|
|
46
|
+
criteria: "Historia debe estar en estado 'To Do' y cumplir Definition of Ready"
|
|
47
|
+
|
|
48
|
+
- type: "understand"
|
|
49
|
+
description: "Leer y entender requisitos y criterios de aceptación"
|
|
50
|
+
|
|
51
|
+
- type: "clarify"
|
|
52
|
+
description: "Si hay dudas, consultar con PO antes de comenzar"
|
|
53
|
+
|
|
54
|
+
deliverables:
|
|
55
|
+
- "Historia asignada al developer"
|
|
56
|
+
- "Historia movida a 'In Progress'"
|
|
57
|
+
|
|
58
|
+
- id: "dev-02"
|
|
59
|
+
name: "Diseño Técnico (para features complejas)"
|
|
60
|
+
phase: "feature-kickoff"
|
|
61
|
+
agent: "tech-lead-full-stack"
|
|
62
|
+
duration: "30-60 minutos"
|
|
63
|
+
when: "Historias >8 story points o con alta complejidad técnica"
|
|
64
|
+
|
|
65
|
+
actions:
|
|
66
|
+
- type: "design"
|
|
67
|
+
description: "Diseñar solución técnica"
|
|
68
|
+
output:
|
|
69
|
+
- "Diagrama de secuencia (si aplica)"
|
|
70
|
+
- "Decisión de patrón de diseño a usar"
|
|
71
|
+
- "Identificar interfaces/contratos"
|
|
72
|
+
|
|
73
|
+
- type: "review"
|
|
74
|
+
description: "Quick review con Tech Lead (15 min)"
|
|
75
|
+
|
|
76
|
+
deliverables:
|
|
77
|
+
- "Mini tech spec o diagrama en whiteboard"
|
|
78
|
+
|
|
79
|
+
- id: "dev-03"
|
|
80
|
+
name: "Desarrollo TDD (Test-Driven Development)"
|
|
81
|
+
phase: "development"
|
|
82
|
+
agent: "senior-backend-developer"
|
|
83
|
+
duration: "Variable según complejidad"
|
|
84
|
+
|
|
85
|
+
actions:
|
|
86
|
+
- type: "test"
|
|
87
|
+
description: "Escribir test que falla (Red)"
|
|
88
|
+
approach: "Test unitario que valida el comportamiento esperado"
|
|
89
|
+
|
|
90
|
+
- type: "code"
|
|
91
|
+
description: "Escribir código mínimo para pasar test (Green)"
|
|
92
|
+
|
|
93
|
+
- type: "refactor"
|
|
94
|
+
description: "Refactorizar manteniendo tests en verde (Refactor)"
|
|
95
|
+
|
|
96
|
+
- type: "commit"
|
|
97
|
+
description: "Commit frecuentes con mensajes descriptivos"
|
|
98
|
+
format: "type(scope): message"
|
|
99
|
+
examples:
|
|
100
|
+
- "feat(auth): add Google OAuth login"
|
|
101
|
+
- "fix(payment): handle null pointer in calculateTotal"
|
|
102
|
+
- "refactor(user): extract validation to separate service"
|
|
103
|
+
|
|
104
|
+
best_practices:
|
|
105
|
+
- "Commits pequeños y frecuentes (cada 1-2 horas)"
|
|
106
|
+
- "Tests primero, código después"
|
|
107
|
+
- "Cobertura >80% en código nuevo"
|
|
108
|
+
- "Seguir SOLID principles"
|
|
109
|
+
|
|
110
|
+
- id: "dev-04"
|
|
111
|
+
name: "Code Quality Checks"
|
|
112
|
+
phase: "development"
|
|
113
|
+
agent: "senior-backend-developer"
|
|
114
|
+
duration: "Continuo"
|
|
115
|
+
|
|
116
|
+
actions:
|
|
117
|
+
- type: "lint"
|
|
118
|
+
description: "Ejecutar linter antes de commit"
|
|
119
|
+
tools:
|
|
120
|
+
- "ESLint (JavaScript/TypeScript)"
|
|
121
|
+
- "Checkstyle/PMD (Java)"
|
|
122
|
+
- "Pylint/Black (Python)"
|
|
123
|
+
|
|
124
|
+
- type: "format"
|
|
125
|
+
description: "Auto-formatear código"
|
|
126
|
+
tools:
|
|
127
|
+
- "Prettier"
|
|
128
|
+
- "Black (Python)"
|
|
129
|
+
- "google-java-format"
|
|
130
|
+
|
|
131
|
+
- type: "analyze"
|
|
132
|
+
description: "Ejecutar análisis estático local"
|
|
133
|
+
tools:
|
|
134
|
+
- "SonarLint"
|
|
135
|
+
- "SpotBugs"
|
|
136
|
+
|
|
137
|
+
- id: "dev-05"
|
|
138
|
+
name: "Create Pull Request"
|
|
139
|
+
phase: "code-review"
|
|
140
|
+
agent: "senior-backend-developer"
|
|
141
|
+
duration: "30 minutos"
|
|
142
|
+
|
|
143
|
+
actions:
|
|
144
|
+
- type: "prepare"
|
|
145
|
+
description: "Preparar PR para revisión"
|
|
146
|
+
checklist:
|
|
147
|
+
- "[ ] Todos los tests pasan"
|
|
148
|
+
- "[ ] Cobertura >80%"
|
|
149
|
+
- "[ ] No hay conflictos con main/develop"
|
|
150
|
+
- "[ ] Código formateado"
|
|
151
|
+
- "[ ] No hay warnings del linter"
|
|
152
|
+
|
|
153
|
+
- type: "document"
|
|
154
|
+
description: "Escribir descripción completa del PR"
|
|
155
|
+
template: |
|
|
156
|
+
## Qué hace este PR
|
|
157
|
+
{Descripción de la funcionalidad}
|
|
158
|
+
|
|
159
|
+
## User Story / Jira Ticket
|
|
160
|
+
Closes #{issue_number}
|
|
161
|
+
|
|
162
|
+
## Cómo probarlo
|
|
163
|
+
1. {Paso 1}
|
|
164
|
+
2. {Paso 2}
|
|
165
|
+
|
|
166
|
+
## Screenshots (si aplica)
|
|
167
|
+
{Imágenes}
|
|
168
|
+
|
|
169
|
+
## Checklist
|
|
170
|
+
- [ ] Tests agregados
|
|
171
|
+
- [ ] Documentación actualizada
|
|
172
|
+
|
|
173
|
+
- type: "request"
|
|
174
|
+
description: "Solicitar revisión de 2+ reviewers"
|
|
175
|
+
|
|
176
|
+
deliverables:
|
|
177
|
+
- "Pull Request creado"
|
|
178
|
+
- "Reviewers asignados"
|
|
179
|
+
|
|
180
|
+
- id: "dev-06"
|
|
181
|
+
name: "Code Review Process"
|
|
182
|
+
phase: "code-review"
|
|
183
|
+
agent: "code-reviewer"
|
|
184
|
+
duration: "1-2 horas"
|
|
185
|
+
|
|
186
|
+
actions:
|
|
187
|
+
- type: "review"
|
|
188
|
+
description: "Revisar código línea por línea"
|
|
189
|
+
focus:
|
|
190
|
+
- "Correctness: ¿El código hace lo que debe?"
|
|
191
|
+
- "Readability: ¿Es fácil de entender?"
|
|
192
|
+
- "Maintainability: ¿Es fácil de modificar?"
|
|
193
|
+
- "Performance: ¿Hay problemas evidentes?"
|
|
194
|
+
- "Security: ¿Hay vulnerabilidades?"
|
|
195
|
+
|
|
196
|
+
- type: "comment"
|
|
197
|
+
description: "Dejar comentarios constructivos"
|
|
198
|
+
types:
|
|
199
|
+
- "💡 Suggestion (opcional)"
|
|
200
|
+
- "❓ Question (requiere respuesta)"
|
|
201
|
+
- "🚨 Must fix (bloqueante)"
|
|
202
|
+
|
|
203
|
+
- type: "approve"
|
|
204
|
+
description: "Aprobar o solicitar cambios"
|
|
205
|
+
criteria: "Mínimo 2 aprobaciones antes de merge"
|
|
206
|
+
|
|
207
|
+
best_practices:
|
|
208
|
+
- "Review en <24 horas"
|
|
209
|
+
- "Comentarios constructivos, no destructivos"
|
|
210
|
+
- "Aprobar si cambios menores pendientes (nits)"
|
|
211
|
+
|
|
212
|
+
- id: "dev-07"
|
|
213
|
+
name: "Address Review Comments"
|
|
214
|
+
phase: "code-review"
|
|
215
|
+
agent: "senior-backend-developer"
|
|
216
|
+
duration: "1-4 horas"
|
|
217
|
+
|
|
218
|
+
actions:
|
|
219
|
+
- type: "resolve"
|
|
220
|
+
description: "Resolver comentarios del review"
|
|
221
|
+
|
|
222
|
+
- type: "update"
|
|
223
|
+
description: "Pushear cambios al PR"
|
|
224
|
+
|
|
225
|
+
- type: "discuss"
|
|
226
|
+
description: "Si hay desacuerdo, discutir con revisor"
|
|
227
|
+
|
|
228
|
+
- id: "dev-08"
|
|
229
|
+
name: "Merge to Main/Develop"
|
|
230
|
+
phase: "integration"
|
|
231
|
+
agent: "tech-lead-full-stack"
|
|
232
|
+
duration: "15 minutos"
|
|
233
|
+
|
|
234
|
+
actions:
|
|
235
|
+
- type: "validate"
|
|
236
|
+
description: "Validar que CI/CD pipeline pasó"
|
|
237
|
+
checks:
|
|
238
|
+
- "✅ Build successful"
|
|
239
|
+
- "✅ All tests pass"
|
|
240
|
+
- "✅ Code coverage >80%"
|
|
241
|
+
- "✅ No security vulnerabilities"
|
|
242
|
+
|
|
243
|
+
- type: "merge"
|
|
244
|
+
description: "Merge PR usando estrategia acordada"
|
|
245
|
+
strategies:
|
|
246
|
+
- "Squash and merge (preferido para features)"
|
|
247
|
+
- "Merge commit (para releases)"
|
|
248
|
+
- "Rebase and merge (para mantener historia lineal)"
|
|
249
|
+
|
|
250
|
+
- type: "cleanup"
|
|
251
|
+
description: "Borrar branch feature después de merge"
|
|
252
|
+
|
|
253
|
+
deliverables:
|
|
254
|
+
- "Código integrado en main/develop"
|
|
255
|
+
- "Branch feature eliminada"
|
|
256
|
+
|
|
257
|
+
- id: "dev-09"
|
|
258
|
+
name: "Deploy to Dev/Staging"
|
|
259
|
+
phase: "integration"
|
|
260
|
+
agent: "devops-cloud-engineer"
|
|
261
|
+
duration: "Automático (CI/CD)"
|
|
262
|
+
|
|
263
|
+
actions:
|
|
264
|
+
- type: "trigger"
|
|
265
|
+
description: "CI/CD pipeline se ejecuta automáticamente al merge"
|
|
266
|
+
|
|
267
|
+
- type: "deploy"
|
|
268
|
+
description: "Deploy automático a ambiente de desarrollo"
|
|
269
|
+
|
|
270
|
+
- type: "verify"
|
|
271
|
+
description: "Smoke tests automáticos post-deployment"
|
|
272
|
+
|
|
273
|
+
deliverables:
|
|
274
|
+
- "Feature desplegada en dev/staging"
|
|
275
|
+
|
|
276
|
+
deliverables:
|
|
277
|
+
- "Código funcional y testeado"
|
|
278
|
+
- "Tests automatizados (>80% cobertura)"
|
|
279
|
+
- "Pull Request mergeado"
|
|
280
|
+
- "Feature desplegada en dev/staging"
|
|
281
|
+
- "Documentación actualizada (si aplica)"
|
|
282
|
+
|
|
283
|
+
metrics:
|
|
284
|
+
- name: "Code Review Time"
|
|
285
|
+
target: "< 24 horas"
|
|
286
|
+
|
|
287
|
+
- name: "PR Size"
|
|
288
|
+
target: "< 400 líneas de código"
|
|
289
|
+
note: "PRs grandes son difíciles de revisar"
|
|
290
|
+
|
|
291
|
+
- name: "Code Coverage"
|
|
292
|
+
target: "> 80%"
|
|
293
|
+
|
|
294
|
+
- name: "Technical Debt Ratio"
|
|
295
|
+
target: "< 5%"
|
|
296
|
+
|
|
297
|
+
best_practices:
|
|
298
|
+
- "Feature branches, no commits directos a main"
|
|
299
|
+
- "PR pequeños (<400 líneas) para facilitar review"
|
|
300
|
+
- "TDD: tests primero, código después"
|
|
301
|
+
- "Commits frecuentes con mensajes descriptivos"
|
|
302
|
+
- "Code review obligatorio (mínimo 2 aprobaciones)"
|
|
303
|
+
- "Automatizar todo lo que se pueda (CI/CD)"
|
|
304
|
+
- "Documentar decisiones técnicas complejas"
|
|
305
|
+
|
|
306
|
+
tools:
|
|
307
|
+
version_control:
|
|
308
|
+
- "Git"
|
|
309
|
+
- "GitHub / GitLab / Bitbucket"
|
|
310
|
+
|
|
311
|
+
ci_cd:
|
|
312
|
+
- "GitHub Actions"
|
|
313
|
+
- "GitLab CI"
|
|
314
|
+
- "Jenkins"
|
|
315
|
+
- "CircleCI"
|
|
316
|
+
|
|
317
|
+
quality:
|
|
318
|
+
- "SonarQube"
|
|
319
|
+
- "ESLint"
|
|
320
|
+
- "Prettier"
|
|
321
|
+
- "Jest / JUnit / PyTest"
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
# Enterprise Flow - AWC ZNS-MTD
|
|
2
|
+
# Para sistemas complejos y arquitecturas empresariales (< 2 horas)
|
|
3
|
+
|
|
4
|
+
workflow:
|
|
5
|
+
metadata:
|
|
6
|
+
name: "Enterprise Flow - Transformación Digital ZNS"
|
|
7
|
+
id: "enterprise-flow"
|
|
8
|
+
version: "1.0.0"
|
|
9
|
+
duration: "< 2 horas"
|
|
10
|
+
use_case: "Proyectos complejos, arquitecturas empresariales, múltiples stakeholders, compliance"
|
|
11
|
+
complexity: "high"
|
|
12
|
+
|
|
13
|
+
description: |
|
|
14
|
+
Workflow completo para iniciativas empresariales complejas:
|
|
15
|
+
- Nuevos sistemas/plataformas
|
|
16
|
+
- Migraciones arquitectónicas
|
|
17
|
+
- Proyectos multi-equipo
|
|
18
|
+
- Requisitos de compliance/governance
|
|
19
|
+
|
|
20
|
+
Incluye: Discovery → Requirements → Solution Design → Implementation Plan → Development → QA → Deploy Strategy
|
|
21
|
+
|
|
22
|
+
phases:
|
|
23
|
+
# FASE 1: DISCOVERY (Descubrimiento Profundo)
|
|
24
|
+
- phase: "discovery"
|
|
25
|
+
steps:
|
|
26
|
+
- id: "1-discovery"
|
|
27
|
+
name: "Descubrimiento Estratégico"
|
|
28
|
+
agent: "zen-master"
|
|
29
|
+
duration: "15 min"
|
|
30
|
+
actions:
|
|
31
|
+
- "Entrevista con stakeholders clave"
|
|
32
|
+
- "Mapeo de procesos de negocio actuales"
|
|
33
|
+
- "Identificación de pain points y oportunidades"
|
|
34
|
+
- "Análisis de restricciones (técnicas, presupuesto, tiempo, compliance)"
|
|
35
|
+
- "Definición de visión y objetivos estratégicos"
|
|
36
|
+
|
|
37
|
+
outputs:
|
|
38
|
+
- "Stakeholder map"
|
|
39
|
+
- "Current state analysis"
|
|
40
|
+
- "Pain points prioritizados"
|
|
41
|
+
- "Visión del proyecto"
|
|
42
|
+
- "Restricciones documentadas"
|
|
43
|
+
|
|
44
|
+
zen_principle: "Entendimiento profundo antes de proponer soluciones"
|
|
45
|
+
|
|
46
|
+
# FASE 2: REQUIREMENTS (Requerimientos Completos)
|
|
47
|
+
- phase: "requirements"
|
|
48
|
+
steps:
|
|
49
|
+
- id: "2-requirements"
|
|
50
|
+
name: "Análisis de Requerimientos"
|
|
51
|
+
agent: "architect-senior"
|
|
52
|
+
duration: "20 min"
|
|
53
|
+
actions:
|
|
54
|
+
- "Crear PRD (Product Requirements Document) completo"
|
|
55
|
+
- "Definir requerimientos funcionales detallados"
|
|
56
|
+
- "Especificar requerimientos no funcionales (performance, seguridad, escalabilidad)"
|
|
57
|
+
- "Identificar dependencias externas"
|
|
58
|
+
- "Crear user stories con criterios de aceptación"
|
|
59
|
+
- "Priorización MoSCoW (Must, Should, Could, Won't)"
|
|
60
|
+
|
|
61
|
+
outputs:
|
|
62
|
+
- "PRD completo (2000-5000 palabras)"
|
|
63
|
+
- "Requerimientos funcionales"
|
|
64
|
+
- "Requerimientos no funcionales"
|
|
65
|
+
- "User stories con ACs"
|
|
66
|
+
- "Backlog priorizado"
|
|
67
|
+
|
|
68
|
+
sistematico_principle: "Documentación exhaustiva de requerimientos"
|
|
69
|
+
|
|
70
|
+
# FASE 3: SOLUTION DESIGN (Diseño de Solución)
|
|
71
|
+
- phase: "solution_design"
|
|
72
|
+
steps:
|
|
73
|
+
- id: "3-solution-design"
|
|
74
|
+
name: "Arquitectura de Solución"
|
|
75
|
+
agent: "architect-senior"
|
|
76
|
+
duration: "25 min"
|
|
77
|
+
actions:
|
|
78
|
+
- "Diseñar arquitectura de alto nivel (C4 Context + Container)"
|
|
79
|
+
- "Seleccionar stack tecnológico con justificación"
|
|
80
|
+
- "Diseñar patrones de integración"
|
|
81
|
+
- "Definir estrategia de datos"
|
|
82
|
+
- "Diseñar seguridad y autenticación/autorización"
|
|
83
|
+
- "Planificar escalabilidad y alta disponibilidad"
|
|
84
|
+
- "Crear ADRs para decisiones críticas"
|
|
85
|
+
|
|
86
|
+
outputs:
|
|
87
|
+
- "Architecture design document"
|
|
88
|
+
- "C4 diagrams (Context, Container, Component)"
|
|
89
|
+
- "Tech stack seleccionado con justificación"
|
|
90
|
+
- "ADRs para decisiones clave"
|
|
91
|
+
- "Security architecture"
|
|
92
|
+
- "Data architecture"
|
|
93
|
+
|
|
94
|
+
neutro_principle: "Evaluación objetiva de alternativas tecnológicas"
|
|
95
|
+
|
|
96
|
+
# FASE 4: IMPLEMENTATION PLAN (Plan de Implementación)
|
|
97
|
+
- phase: "implementation_plan"
|
|
98
|
+
steps:
|
|
99
|
+
- id: "4-implementation-plan"
|
|
100
|
+
name: "Planificación de Ejecución"
|
|
101
|
+
agent: "zen-master"
|
|
102
|
+
duration: "15 min"
|
|
103
|
+
actions:
|
|
104
|
+
- "Desglosar en fases/sprints"
|
|
105
|
+
- "Identificar MVP y funcionalidades incrementales"
|
|
106
|
+
- "Asignar responsabilidades"
|
|
107
|
+
- "Definir milestones y deliverables"
|
|
108
|
+
- "Crear roadmap temporal"
|
|
109
|
+
- "Identificar riesgos y plan de mitigación"
|
|
110
|
+
|
|
111
|
+
outputs:
|
|
112
|
+
- "Implementation roadmap"
|
|
113
|
+
- "MVP definition"
|
|
114
|
+
- "Sprint plan (primeras 2-3 iteraciones)"
|
|
115
|
+
- "Risk register con mitigaciones"
|
|
116
|
+
- "Team assignments"
|
|
117
|
+
|
|
118
|
+
zen_principle: "Planificación clara con enfoque en valor incremental"
|
|
119
|
+
|
|
120
|
+
# FASE 5: DEVELOPMENT (Desarrollo Iterativo)
|
|
121
|
+
- phase: "development"
|
|
122
|
+
steps:
|
|
123
|
+
- id: "5-develop"
|
|
124
|
+
name: "Desarrollo Incremental"
|
|
125
|
+
agent: "developer-pro"
|
|
126
|
+
duration: "30 min (primera iteración)"
|
|
127
|
+
actions:
|
|
128
|
+
- "Setup de proyecto (repo, CI/CD, tooling)"
|
|
129
|
+
- "Implementar infraestructura base"
|
|
130
|
+
- "Desarrollar componentes core (TDD)"
|
|
131
|
+
- "Integración continua"
|
|
132
|
+
- "Code reviews sistemáticos"
|
|
133
|
+
- "Refactoring continuo"
|
|
134
|
+
|
|
135
|
+
outputs:
|
|
136
|
+
- "Código base funcional"
|
|
137
|
+
- "Tests automatizados"
|
|
138
|
+
- "CI/CD pipeline configurado"
|
|
139
|
+
- "Documentación técnica"
|
|
140
|
+
|
|
141
|
+
sistematico_principle: "Desarrollo disciplinado con tests y reviews"
|
|
142
|
+
|
|
143
|
+
# FASE 6: QA & VALIDATION (Aseguramiento de Calidad)
|
|
144
|
+
- phase: "qa_validation"
|
|
145
|
+
steps:
|
|
146
|
+
- id: "6-qa"
|
|
147
|
+
name: "QA Integral"
|
|
148
|
+
agent: "qa-specialist"
|
|
149
|
+
duration: "15 min"
|
|
150
|
+
actions:
|
|
151
|
+
- "Testing funcional completo"
|
|
152
|
+
- "Testing no funcional (performance, security, accessibility)"
|
|
153
|
+
- "Auditoría de código"
|
|
154
|
+
- "Validación de compliance"
|
|
155
|
+
- "UAT (User Acceptance Testing)"
|
|
156
|
+
- "Bug tracking y resolución"
|
|
157
|
+
|
|
158
|
+
outputs:
|
|
159
|
+
- "Test results report"
|
|
160
|
+
- "Performance benchmarks"
|
|
161
|
+
- "Security audit report"
|
|
162
|
+
- "QA sign-off"
|
|
163
|
+
- "UAT feedback"
|
|
164
|
+
|
|
165
|
+
neutro_principle: "Validación objetiva con métricas medibles"
|
|
166
|
+
|
|
167
|
+
# FASE 7: DEPLOY STRATEGY (Estrategia de Despliegue)
|
|
168
|
+
- phase: "deploy_strategy"
|
|
169
|
+
steps:
|
|
170
|
+
- id: "7-deploy-strategy"
|
|
171
|
+
name: "Planificación de Despliegue"
|
|
172
|
+
agent: "architect-senior"
|
|
173
|
+
duration: "10 min"
|
|
174
|
+
actions:
|
|
175
|
+
- "Definir estrategia de despliegue (blue/green, canary, etc.)"
|
|
176
|
+
- "Crear runbook de deployment"
|
|
177
|
+
- "Planificar rollback strategy"
|
|
178
|
+
- "Configurar monitoring y alertas"
|
|
179
|
+
- "Crear post-deployment checklist"
|
|
180
|
+
- "Documentar operational procedures"
|
|
181
|
+
|
|
182
|
+
outputs:
|
|
183
|
+
- "Deployment strategy document"
|
|
184
|
+
- "Runbook"
|
|
185
|
+
- "Rollback plan"
|
|
186
|
+
- "Monitoring dashboard"
|
|
187
|
+
- "Operational docs"
|
|
188
|
+
|
|
189
|
+
sistematico_principle: "Despliegue planificado con contingencias"
|
|
190
|
+
|
|
191
|
+
decision_gates:
|
|
192
|
+
- gate: "stakeholder_alignment"
|
|
193
|
+
after_step: "1-discovery"
|
|
194
|
+
condition: "Si hay desalineación en visión/objetivos"
|
|
195
|
+
action: "PAUSE - Resolver desalineación antes de continuar"
|
|
196
|
+
|
|
197
|
+
- gate: "requirements_approval"
|
|
198
|
+
after_step: "2-requirements"
|
|
199
|
+
condition: "PRD debe ser aprobado por stakeholders"
|
|
200
|
+
action: "REVIEW & APPROVE before proceeding"
|
|
201
|
+
|
|
202
|
+
- gate: "architecture_review"
|
|
203
|
+
after_step: "3-solution-design"
|
|
204
|
+
condition: "Arquitectura debe pasar review de equipo senior"
|
|
205
|
+
action: "ARCHITECTURE REVIEW BOARD approval required"
|
|
206
|
+
|
|
207
|
+
- gate: "mvp_validation"
|
|
208
|
+
after_step: "4-implementation-plan"
|
|
209
|
+
condition: "MVP debe ser validado con usuarios/stakeholders"
|
|
210
|
+
action: "VALIDATE MVP definition before development"
|
|
211
|
+
|
|
212
|
+
- gate: "quality_gates"
|
|
213
|
+
after_step: "6-qa"
|
|
214
|
+
condition: "Todos los quality gates deben pasar"
|
|
215
|
+
action: "NO DEPLOYMENT until all gates pass"
|
|
216
|
+
|
|
217
|
+
quality_gates_enterprise:
|
|
218
|
+
- "PRD aprobado por product owner"
|
|
219
|
+
- "Arquitectura revisada por architecture board"
|
|
220
|
+
- "Security review aprobado"
|
|
221
|
+
- "Compliance requirements verificados"
|
|
222
|
+
- "Performance benchmarks cumplidos"
|
|
223
|
+
- "Cobertura de tests >= 85%"
|
|
224
|
+
- "Code review aprobado por 2+ seniors"
|
|
225
|
+
- "UAT aprobado por usuarios clave"
|
|
226
|
+
- "Documentación completa y actualizada"
|
|
227
|
+
- "Runbook de deployment validado"
|
|
228
|
+
|
|
229
|
+
success_criteria:
|
|
230
|
+
- "Stakeholders alineados en visión"
|
|
231
|
+
- "Requerimientos documentados y aprobados"
|
|
232
|
+
- "Arquitectura sólida y escalable"
|
|
233
|
+
- "MVP funcional entregado"
|
|
234
|
+
- "Calidad empresarial (tests, docs, security)"
|
|
235
|
+
- "Despliegue planificado con contingencias"
|
|
236
|
+
- "Equipo capacitado en el sistema"
|
|
237
|
+
|
|
238
|
+
artifacts:
|
|
239
|
+
- "Stakeholder map y meeting notes"
|
|
240
|
+
- "PRD completo (2000-5000 palabras)"
|
|
241
|
+
- "Architecture design document"
|
|
242
|
+
- "C4 diagrams (Context, Container, Component, Code)"
|
|
243
|
+
- "ADRs para decisiones arquitectónicas"
|
|
244
|
+
- "Tech stack justification"
|
|
245
|
+
- "Implementation roadmap"
|
|
246
|
+
- "Risk register"
|
|
247
|
+
- "Código fuente con tests"
|
|
248
|
+
- "CI/CD pipeline"
|
|
249
|
+
- "Test reports (functional, performance, security)"
|
|
250
|
+
- "Deployment runbook"
|
|
251
|
+
- "Operational documentation"
|
|
252
|
+
|
|
253
|
+
metrics_tracked:
|
|
254
|
+
- "Tiempo por fase"
|
|
255
|
+
- "Velocity (story points por sprint)"
|
|
256
|
+
- "Cobertura de tests"
|
|
257
|
+
- "Defect density"
|
|
258
|
+
- "Performance benchmarks"
|
|
259
|
+
- "Security vulnerabilities"
|
|
260
|
+
- "Technical debt ratio"
|
|
261
|
+
- "Stakeholder satisfaction"
|
|
262
|
+
|
|
263
|
+
governance:
|
|
264
|
+
- "Weekly status reports"
|
|
265
|
+
- "Bi-weekly sprint reviews"
|
|
266
|
+
- "Monthly steering committee"
|
|
267
|
+
- "Architecture review board (para decisiones críticas)"
|
|
268
|
+
- "Change control board (para cambios de scope)"
|
|
269
|
+
|
|
270
|
+
anti_patterns_to_avoid:
|
|
271
|
+
- "❌ Saltarse discovery y empezar a codificar"
|
|
272
|
+
- "❌ PRD incompleto o ambiguo"
|
|
273
|
+
- "❌ Arquitectura no revisada por pares"
|
|
274
|
+
- "❌ Despliegue sin plan de rollback"
|
|
275
|
+
- "❌ Documentación desactualizada"
|
|
276
|
+
- "❌ No involucrar stakeholders hasta el final"
|