ai-flow-dev 2.7.0 → 2.8.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/LICENSE +21 -21
- package/README.md +573 -570
- package/package.json +74 -74
- package/prompts/backend/flow-build-phase-0.md +535 -535
- package/prompts/backend/flow-build-phase-1.md +626 -626
- package/prompts/backend/flow-build-phase-10.md +340 -340
- package/prompts/backend/flow-build-phase-2.md +573 -573
- package/prompts/backend/flow-build-phase-3.md +834 -834
- package/prompts/backend/flow-build-phase-4.md +554 -554
- package/prompts/backend/flow-build-phase-5.md +703 -703
- package/prompts/backend/flow-build-phase-6.md +524 -524
- package/prompts/backend/flow-build-phase-7.md +1001 -1001
- package/prompts/backend/flow-build-phase-8.md +1407 -1407
- package/prompts/backend/flow-build-phase-9.md +477 -477
- package/prompts/backend/flow-build.md +137 -137
- package/prompts/backend/flow-check-review.md +656 -20
- package/prompts/backend/flow-check-test.md +526 -14
- package/prompts/backend/flow-check.md +717 -67
- package/prompts/backend/flow-commit.md +88 -119
- package/prompts/backend/flow-docs-sync.md +354 -354
- package/prompts/backend/flow-finish.md +919 -0
- package/prompts/backend/flow-release.md +949 -0
- package/prompts/backend/flow-work-feature.md +61 -61
- package/prompts/backend/flow-work-fix.md +46 -46
- package/prompts/backend/flow-work-refactor.md +48 -48
- package/prompts/backend/flow-work-resume.md +34 -34
- package/prompts/backend/flow-work.md +1098 -1286
- package/prompts/desktop/flow-build-phase-0.md +359 -359
- package/prompts/desktop/flow-build-phase-1.md +295 -295
- package/prompts/desktop/flow-build-phase-10.md +357 -357
- package/prompts/desktop/flow-build-phase-2.md +282 -282
- package/prompts/desktop/flow-build-phase-3.md +291 -291
- package/prompts/desktop/flow-build-phase-4.md +308 -308
- package/prompts/desktop/flow-build-phase-5.md +269 -269
- package/prompts/desktop/flow-build-phase-6.md +350 -350
- package/prompts/desktop/flow-build-phase-7.md +297 -297
- package/prompts/desktop/flow-build-phase-8.md +541 -541
- package/prompts/desktop/flow-build-phase-9.md +439 -439
- package/prompts/desktop/flow-build.md +156 -156
- package/prompts/desktop/flow-check-review.md +656 -20
- package/prompts/desktop/flow-check-test.md +526 -14
- package/prompts/desktop/flow-check.md +717 -67
- package/prompts/desktop/flow-commit.md +88 -119
- package/prompts/desktop/flow-docs-sync.md +354 -354
- package/prompts/desktop/flow-finish.md +919 -0
- package/prompts/desktop/flow-release.md +662 -0
- package/prompts/desktop/flow-work-feature.md +61 -61
- package/prompts/desktop/flow-work-fix.md +46 -46
- package/prompts/desktop/flow-work-refactor.md +48 -48
- package/prompts/desktop/flow-work-resume.md +34 -34
- package/prompts/desktop/flow-work.md +1202 -1390
- package/prompts/frontend/flow-build-phase-0.md +425 -425
- package/prompts/frontend/flow-build-phase-1.md +626 -626
- package/prompts/frontend/flow-build-phase-10.md +33 -33
- package/prompts/frontend/flow-build-phase-2.md +573 -573
- package/prompts/frontend/flow-build-phase-3.md +782 -782
- package/prompts/frontend/flow-build-phase-4.md +554 -554
- package/prompts/frontend/flow-build-phase-5.md +703 -703
- package/prompts/frontend/flow-build-phase-6.md +524 -524
- package/prompts/frontend/flow-build-phase-7.md +1001 -1001
- package/prompts/frontend/flow-build-phase-8.md +872 -872
- package/prompts/frontend/flow-build-phase-9.md +94 -94
- package/prompts/frontend/flow-build.md +137 -137
- package/prompts/frontend/flow-check-review.md +656 -20
- package/prompts/frontend/flow-check-test.md +526 -14
- package/prompts/frontend/flow-check.md +717 -67
- package/prompts/frontend/flow-commit.md +88 -119
- package/prompts/frontend/flow-docs-sync.md +550 -550
- package/prompts/frontend/flow-finish.md +919 -0
- package/prompts/frontend/flow-release.md +519 -0
- package/prompts/frontend/flow-work-api.md +1547 -0
- package/prompts/frontend/flow-work-feature.md +61 -61
- package/prompts/frontend/flow-work-fix.md +38 -38
- package/prompts/frontend/flow-work-refactor.md +48 -48
- package/prompts/frontend/flow-work-resume.md +34 -34
- package/prompts/frontend/flow-work.md +1595 -1320
- package/prompts/mobile/flow-build-phase-0.md +425 -425
- package/prompts/mobile/flow-build-phase-1.md +626 -626
- package/prompts/mobile/flow-build-phase-10.md +32 -32
- package/prompts/mobile/flow-build-phase-2.md +573 -573
- package/prompts/mobile/flow-build-phase-3.md +782 -782
- package/prompts/mobile/flow-build-phase-4.md +554 -554
- package/prompts/mobile/flow-build-phase-5.md +703 -703
- package/prompts/mobile/flow-build-phase-6.md +524 -524
- package/prompts/mobile/flow-build-phase-7.md +1001 -1001
- package/prompts/mobile/flow-build-phase-8.md +888 -888
- package/prompts/mobile/flow-build-phase-9.md +90 -90
- package/prompts/mobile/flow-build.md +135 -135
- package/prompts/mobile/flow-check-review.md +656 -20
- package/prompts/mobile/flow-check-test.md +526 -14
- package/prompts/mobile/flow-check.md +717 -67
- package/prompts/mobile/flow-commit.md +88 -119
- package/prompts/mobile/flow-docs-sync.md +620 -620
- package/prompts/mobile/flow-finish.md +919 -0
- package/prompts/mobile/flow-release.md +751 -0
- package/prompts/mobile/flow-work-api.md +1500 -0
- package/prompts/mobile/flow-work-feature.md +61 -61
- package/prompts/mobile/flow-work-fix.md +46 -46
- package/prompts/mobile/flow-work-refactor.md +48 -48
- package/prompts/mobile/flow-work-resume.md +34 -34
- package/prompts/mobile/flow-work.md +1605 -1329
- package/prompts/shared/mermaid-guidelines.md +102 -102
- package/prompts/shared/scope-levels.md +114 -114
- package/prompts/shared/smart-skip-preflight.md +214 -214
- package/prompts/shared/story-points.md +55 -55
- package/prompts/shared/task-format.md +74 -74
- package/prompts/shared/task-summary-template.md +277 -277
- package/templates/AGENT.template.md +443 -443
- package/templates/backend/.clauderules.template +112 -112
- package/templates/backend/.cursorrules.template +102 -102
- package/templates/backend/README.template.md +2 -2
- package/templates/backend/ai-instructions.template.md +2 -2
- package/templates/backend/copilot-instructions.template.md +2 -2
- package/templates/backend/docs/api.template.md +320 -320
- package/templates/backend/docs/business-flows.template.md +97 -97
- package/templates/backend/docs/code-standards.template.md +2 -2
- package/templates/backend/docs/contributing.template.md +3 -3
- package/templates/backend/docs/data-model.template.md +520 -520
- package/templates/backend/docs/testing.template.md +2 -2
- package/templates/backend/project-brief.template.md +2 -2
- package/templates/backend/specs/configuration.template.md +2 -2
- package/templates/backend/specs/security.template.md +2 -2
- package/templates/desktop/.clauderules.template +112 -112
- package/templates/desktop/.cursorrules.template +102 -102
- package/templates/desktop/README.template.md +170 -170
- package/templates/desktop/ai-instructions.template.md +366 -366
- package/templates/desktop/copilot-instructions.template.md +140 -140
- package/templates/desktop/docs/docs/api.template.md +320 -320
- package/templates/desktop/docs/docs/architecture.template.md +724 -724
- package/templates/desktop/docs/docs/business-flows.template.md +102 -102
- package/templates/desktop/docs/docs/code-standards.template.md +792 -792
- package/templates/desktop/docs/docs/contributing.template.md +149 -149
- package/templates/desktop/docs/docs/data-model.template.md +520 -520
- package/templates/desktop/docs/docs/operations.template.md +720 -720
- package/templates/desktop/docs/docs/testing.template.md +722 -722
- package/templates/desktop/project-brief.template.md +150 -150
- package/templates/desktop/specs/specs/configuration.template.md +121 -121
- package/templates/desktop/specs/specs/security.template.md +392 -392
- package/templates/frontend/README.template.md +2 -2
- package/templates/frontend/ai-instructions.template.md +2 -2
- package/templates/frontend/docs/api-integration.template.md +362 -362
- package/templates/frontend/docs/components.template.md +2 -2
- package/templates/frontend/docs/error-handling.template.md +360 -360
- package/templates/frontend/docs/operations.template.md +107 -107
- package/templates/frontend/docs/performance.template.md +124 -124
- package/templates/frontend/docs/pwa.template.md +119 -119
- package/templates/frontend/docs/state-management.template.md +2 -2
- package/templates/frontend/docs/styling.template.md +2 -2
- package/templates/frontend/docs/testing.template.md +2 -2
- package/templates/frontend/project-brief.template.md +2 -2
- package/templates/frontend/specs/accessibility.template.md +95 -95
- package/templates/frontend/specs/configuration.template.md +2 -2
- package/templates/frontend/specs/security.template.md +175 -175
- package/templates/fullstack/README.template.md +252 -252
- package/templates/fullstack/ai-instructions.template.md +444 -444
- package/templates/fullstack/project-brief.template.md +157 -157
- package/templates/fullstack/specs/configuration.template.md +340 -340
- package/templates/mobile/README.template.md +167 -167
- package/templates/mobile/ai-instructions.template.md +196 -196
- package/templates/mobile/docs/app-store.template.md +135 -135
- package/templates/mobile/docs/architecture.template.md +63 -63
- package/templates/mobile/docs/native-features.template.md +94 -94
- package/templates/mobile/docs/navigation.template.md +59 -59
- package/templates/mobile/docs/offline-strategy.template.md +65 -65
- package/templates/mobile/docs/permissions.template.md +56 -56
- package/templates/mobile/docs/state-management.template.md +85 -85
- package/templates/mobile/docs/testing.template.md +109 -109
- package/templates/mobile/project-brief.template.md +69 -69
- package/templates/mobile/specs/build-configuration.template.md +91 -91
- package/templates/mobile/specs/deployment.template.md +92 -92
- package/templates/work.template.md +61 -47
|
@@ -1,277 +1,277 @@
|
|
|
1
|
-
# Task Summary Template - Universal Format
|
|
2
|
-
|
|
3
|
-
**Purpose**: Generate standardized task summaries compatible with ClickUp, Jira, Linear, Asana, Trello, GitHub Projects, Azure DevOps, and any ticket management system.
|
|
4
|
-
|
|
5
|
-
**Usage**: This template is automatically populated by `/flow-work` after archiving completed work.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## 📋 Resumen de Tarea Completada
|
|
10
|
-
|
|
11
|
-
> **Compatibilidad**: ClickUp, Jira, Linear, Asana, Trello, GitHub Projects, Azure DevOps
|
|
12
|
-
> **Formato**: Markdown (copiar/pegar directo)
|
|
13
|
-
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
### 📌 Título
|
|
17
|
-
|
|
18
|
-
**[Type]: [Descriptive Feature Name]**
|
|
19
|
-
|
|
20
|
-
**Ejemplos:**
|
|
21
|
-
|
|
22
|
-
- `Feature: Bulk Mark as Read con PENDING→READ y subscriber_id opcional`
|
|
23
|
-
- `Refactor: Aplicar SRP a bulkMarkAsRead (110→50 líneas)`
|
|
24
|
-
- `Fix: Corregir race condition en notificaciones móviles`
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
### 📝 Descripción
|
|
29
|
-
|
|
30
|
-
[Párrafo 1: Contexto y problema - 2-3 líneas]
|
|
31
|
-
[Párrafo 2: Solución implementada - 2-3 líneas]
|
|
32
|
-
|
|
33
|
-
**Implementado:**
|
|
34
|
-
|
|
35
|
-
- [Feature/Fix 1 con detalles técnicos]
|
|
36
|
-
- [Feature/Fix 2 con detalles técnicos]
|
|
37
|
-
- [Feature/Fix 3 con detalles técnicos]
|
|
38
|
-
|
|
39
|
-
**Validación:**
|
|
40
|
-
|
|
41
|
-
- ✅ Tests: [X/X] passing ([Y] nuevos, [Z]% coverage)
|
|
42
|
-
- ✅ Lint: [N] errors, [M] warnings
|
|
43
|
-
- ✅ TypeCheck: passed/failed
|
|
44
|
-
- ✅ Docs: [N] archivos actualizados
|
|
45
|
-
|
|
46
|
-
---
|
|
47
|
-
|
|
48
|
-
### 📊 Métricas
|
|
49
|
-
|
|
50
|
-
| Campo | Valor |
|
|
51
|
-
| -------------------- | -------------------------------------- |
|
|
52
|
-
| **Duración** | [X]h [Y]min |
|
|
53
|
-
| **Esfuerzo** | [X.X] Story Points |
|
|
54
|
-
| **Commits** | [N] commits |
|
|
55
|
-
| **Branch** | `[feature/branch-name]` |
|
|
56
|
-
| **Archivos** | [N] modificados (+[XXX]/-[YYY] líneas) |
|
|
57
|
-
| **Breaking Changes** | ✅ No / ⚠️ Sí ([descripción]) |
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
### 🏷️ Labels/Tags
|
|
62
|
-
|
|
63
|
-
**Copiar según plataforma:**
|
|
64
|
-
|
|
65
|
-
- **ClickUp**: `Backend`, `API`, `[Scope]`, `Enhancement`
|
|
66
|
-
- **Jira**: Separar por comas en campo Labels
|
|
67
|
-
- **Linear**: Asignar a Team + Project correspondiente
|
|
68
|
-
- **GitHub**: Usar labels existentes del repo
|
|
69
|
-
|
|
70
|
-
**Tags generados:**
|
|
71
|
-
|
|
72
|
-
- **Tipo**: [Backend/Frontend/API/Database/Infrastructure]
|
|
73
|
-
- **Scope**: [módulo principal - ej: Deliveries, Auth, Subscribers]
|
|
74
|
-
- **Categoría**: [Enhancement/Bug Fix/Refactoring/Documentation/Security/Performance]
|
|
75
|
-
- **Prioridad**: [Critical/High/Medium/Low]
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
### 💡 Impacto
|
|
80
|
-
|
|
81
|
-
| Área | Impacto | Detalles |
|
|
82
|
-
| ------------------- | ---------------------------------------- | ------------------------------ |
|
|
83
|
-
| **UX** | [↑ Mejora / → Sin cambios / ↓ Regresión] | [descripción breve] |
|
|
84
|
-
| **Security** | [↑ Mejora / → Sin cambios / ⚠️ Atención] | [descripción breve] |
|
|
85
|
-
| **Performance** | [↑ Mejora / → Sin cambios / ↓ Regresión] | [descripción breve] |
|
|
86
|
-
| **Maintainability** | [↑ +X%] | [reducción complejidad/líneas] |
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
### 🔧 Tech Debt
|
|
91
|
-
|
|
92
|
-
**[Si aplica]:**
|
|
93
|
-
|
|
94
|
-
- ✅ Resuelto: TECH-DEBT #[N] - [descripción]
|
|
95
|
-
- 💰 Ahorro estimado: ~[X] horas futuras
|
|
96
|
-
- 📈 Métricas mejoradas: [complejidad ciclomática, líneas de código, etc.]
|
|
97
|
-
|
|
98
|
-
**[Si no aplica]:** _No hay tech debt asociado a esta tarea_
|
|
99
|
-
|
|
100
|
-
---
|
|
101
|
-
|
|
102
|
-
### 🔗 Referencias
|
|
103
|
-
|
|
104
|
-
- **Branch**: `[branch-name]`
|
|
105
|
-
- **Commits**: `[hash1]`, `[hash2]`, `[hash3]` ([N] total)
|
|
106
|
-
- **PR/MR**: [#XXX] o _Pendiente de crear_
|
|
107
|
-
- **Related**: [HU-XXX-XXX] / [Feature X.X] / _N/A_
|
|
108
|
-
|
|
109
|
-
---
|
|
110
|
-
|
|
111
|
-
## 📋 Guía de Mapeo por Plataforma
|
|
112
|
-
|
|
113
|
-
### ClickUp
|
|
114
|
-
|
|
115
|
-
- **Título** → Task Name
|
|
116
|
-
- **Descripción** → Description (Markdown nativo)
|
|
117
|
-
- **Tags** → Custom Tags
|
|
118
|
-
- **Métricas** → Custom Fields (Time Tracked, Story Points)
|
|
119
|
-
- **Estado** → Status (Completado)
|
|
120
|
-
|
|
121
|
-
### Jira
|
|
122
|
-
|
|
123
|
-
- **Título** → Summary
|
|
124
|
-
- **Descripción** → Description (formato Markdown/Wiki)
|
|
125
|
-
- **Tags** → Labels (separados por coma)
|
|
126
|
-
- **Story Points** → Story Points field
|
|
127
|
-
- **Branch** → Development panel (auto-link)
|
|
128
|
-
|
|
129
|
-
### Linear
|
|
130
|
-
|
|
131
|
-
- **Título** → Issue Title
|
|
132
|
-
- **Descripción** → Full description
|
|
133
|
-
- **Tags** → Labels (auto-crear si no existen)
|
|
134
|
-
- **Métricas** → Custom fields o comentarios
|
|
135
|
-
- **Branch** → Git integration (auto-detect)
|
|
136
|
-
|
|
137
|
-
### GitHub Projects
|
|
138
|
-
|
|
139
|
-
- **Título** → Issue/PR Title
|
|
140
|
-
- **Descripción** → Body
|
|
141
|
-
- **Tags** → Labels del repositorio
|
|
142
|
-
- **Métricas** → Task lists en descripción
|
|
143
|
-
- **Branch** → Linked branches
|
|
144
|
-
|
|
145
|
-
### Azure DevOps
|
|
146
|
-
|
|
147
|
-
- **Título** → Work Item Title
|
|
148
|
-
- **Descripción** → Description (Rich Text)
|
|
149
|
-
- **Tags** → Tags field
|
|
150
|
-
- **Story Points** → Effort field
|
|
151
|
-
- **Branch** → Related Work Items
|
|
152
|
-
|
|
153
|
-
### Trello
|
|
154
|
-
|
|
155
|
-
- **Título** → Card Name
|
|
156
|
-
- **Descripción** → Card Description
|
|
157
|
-
- **Tags** → Labels (colores personalizables)
|
|
158
|
-
- **Métricas** → Checklists o comentarios
|
|
159
|
-
- **Branch** → Attachments o Power-Ups
|
|
160
|
-
|
|
161
|
-
### Asana
|
|
162
|
-
|
|
163
|
-
- **Título** → Task Name
|
|
164
|
-
- **Descripción** → Task Description
|
|
165
|
-
- **Tags** → Tags (auto-crear)
|
|
166
|
-
- **Métricas** → Custom Fields
|
|
167
|
-
- **Branch** → Comentarios o subtareas
|
|
168
|
-
|
|
169
|
-
---
|
|
170
|
-
|
|
171
|
-
## 🤖 Instrucciones de Población Automática
|
|
172
|
-
|
|
173
|
-
**Datos a extraer (fuentes):**
|
|
174
|
-
|
|
175
|
-
1. **status.json**:
|
|
176
|
-
- `type` → Tipo de tarea (feature/refactor/fix)
|
|
177
|
-
- `timestamps.created` y `timestamps.completed` → Calcular duración
|
|
178
|
-
- `git.branchName` → Nombre de branch
|
|
179
|
-
- `git.commits[]` → Lista de commits
|
|
180
|
-
- `validation.*` → Resultados de tests, lint, typeCheck
|
|
181
|
-
- `progress.totalTasks` → Número de tareas
|
|
182
|
-
|
|
183
|
-
2. **work.md**:
|
|
184
|
-
- Sección "Objective" → Párrafos de descripción
|
|
185
|
-
- Sección "Tasks" → Extraer Story Points (regex: `• (\d+) SP`)
|
|
186
|
-
- Suma total de SP
|
|
187
|
-
|
|
188
|
-
3. **analytics.jsonl** (última línea):
|
|
189
|
-
- `dur` → Duración en minutos
|
|
190
|
-
- `sp` → Story Points
|
|
191
|
-
- `commits` → Número de commits
|
|
192
|
-
- `valid` → Validación exitosa
|
|
193
|
-
|
|
194
|
-
4. **TECH-DEBT.md** (si existe antes de eliminar carpeta):
|
|
195
|
-
- Buscar secciones marcadas con ✅
|
|
196
|
-
- Extraer títulos y métricas de mejora
|
|
197
|
-
|
|
198
|
-
5. **Git commands**:
|
|
199
|
-
- `git diff --stat [first-commit]~1..HEAD` → Archivos modificados (+/-líneas)
|
|
200
|
-
- `git log --oneline [branch]` → Hashes de commits
|
|
201
|
-
- `git log [branch] --grep="BREAKING CHANGE:"` → Detectar breaking changes
|
|
202
|
-
|
|
203
|
-
**Inferencia automática:**
|
|
204
|
-
|
|
205
|
-
### Tags/Labels
|
|
206
|
-
|
|
207
|
-
- **Backend**: Si toca `src/modules/`, `src/core/`, `.service.ts`, `.controller.ts`
|
|
208
|
-
- **Frontend**: Si toca `components/`, `pages/`, `.tsx`, `.vue`, `.svelte`
|
|
209
|
-
- **API**: Si toca `.controller.ts`, `dto/`, `docs/api.md`
|
|
210
|
-
- **Database**: Si toca `entities/`, `migrations/`, `docs/database.md`
|
|
211
|
-
- **Security**: Si toca `guards/`, `auth/`, JWT, validation, `docs/security.md`
|
|
212
|
-
- **Performance**: Si menciona "optimization", "cache", "query", "N+1", "lazy load"
|
|
213
|
-
- **Testing**: Si agrega/modifica `*.spec.ts`, `*.test.ts`, `.e2e-spec.ts`
|
|
214
|
-
- **Documentation**: Si modifica `docs/*.md`, `README.md`, JSDoc, comments
|
|
215
|
-
|
|
216
|
-
### Prioridad
|
|
217
|
-
|
|
218
|
-
- **Critical**: Si es fix de seguridad, vulnerabilidad, producción caída
|
|
219
|
-
- **High**: Si hay breaking changes, afecta usuarios finales, deadline cercano
|
|
220
|
-
- **Medium**: Features nuevos, mejoras significativas, refactors importantes
|
|
221
|
-
- **Low**: Refactors internos, documentación, tech debt menor
|
|
222
|
-
|
|
223
|
-
### Scope
|
|
224
|
-
|
|
225
|
-
- Extraer del path principal modificado (ej: `src/modules/tenants/deliveries/` → Scope: "Deliveries")
|
|
226
|
-
- Si múltiples módulos: listar los 2-3 principales
|
|
227
|
-
- Patrón común: `src/modules/[global|tenants]/[scope-name]/`
|
|
228
|
-
|
|
229
|
-
### Impacto
|
|
230
|
-
|
|
231
|
-
**UX ↑** (Mejora):
|
|
232
|
-
|
|
233
|
-
- Agrega/mejora endpoints públicos user-facing
|
|
234
|
-
- Reduce latencia/tiempo de respuesta
|
|
235
|
-
- Mejora mensajes de error/feedback
|
|
236
|
-
- Agrega features solicitadas por usuarios
|
|
237
|
-
|
|
238
|
-
**Security ↑** (Mejora):
|
|
239
|
-
|
|
240
|
-
- Agrega validaciones/constraints
|
|
241
|
-
- Implementa guards/middlewares
|
|
242
|
-
- Mejora JWT/auth handling
|
|
243
|
-
- Previene inyecciones SQL/XSS
|
|
244
|
-
- Agrega rate limiting/throttling
|
|
245
|
-
|
|
246
|
-
**Performance ↑** (Mejora):
|
|
247
|
-
|
|
248
|
-
- Reduce número de queries (N+1)
|
|
249
|
-
- Agrega cache/memoization
|
|
250
|
-
- Optimiza loops/algoritmos
|
|
251
|
-
- Implementa lazy loading/pagination
|
|
252
|
-
|
|
253
|
-
**Maintainability ↑** (Mejora):
|
|
254
|
-
|
|
255
|
-
- Refactoriza métodos largos (calcular % reducción líneas)
|
|
256
|
-
- Reduce complejidad ciclomática (antes vs después)
|
|
257
|
-
- Extrae responsabilidades (SRP)
|
|
258
|
-
- Mejora naming/estructura
|
|
259
|
-
- Agrega tests/documentación
|
|
260
|
-
|
|
261
|
-
**Cálculo de porcentaje de mejora**:
|
|
262
|
-
|
|
263
|
-
```
|
|
264
|
-
Maintainability = ((líneas_antes - líneas_después) / líneas_antes) * 100
|
|
265
|
-
Ejemplo: (110 - 50) / 110 = 54.5% ≈ +55%
|
|
266
|
-
```
|
|
267
|
-
|
|
268
|
-
---
|
|
269
|
-
|
|
270
|
-
## 📝 Notas de Implementación
|
|
271
|
-
|
|
272
|
-
- El template se llena automáticamente al ejecutar Phase 4 de `/flow-work`
|
|
273
|
-
- Campos opcionales: Si no hay datos, mostrar "_N/A_" o "_No aplica_"
|
|
274
|
-
- Breaking Changes: Solo mostrar si se detecta en commits
|
|
275
|
-
- Tech Debt: Solo mostrar sección si existe `TECH-DEBT.md`
|
|
276
|
-
- Todos los emojis son opcionales (quitar si la plataforma no los soporta)
|
|
277
|
-
- Formato Markdown es universal (todas las plataformas lo renderizan)
|
|
1
|
+
# Task Summary Template - Universal Format
|
|
2
|
+
|
|
3
|
+
**Purpose**: Generate standardized task summaries compatible with ClickUp, Jira, Linear, Asana, Trello, GitHub Projects, Azure DevOps, and any ticket management system.
|
|
4
|
+
|
|
5
|
+
**Usage**: This template is automatically populated by `/flow-work` after archiving completed work.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 📋 Resumen de Tarea Completada
|
|
10
|
+
|
|
11
|
+
> **Compatibilidad**: ClickUp, Jira, Linear, Asana, Trello, GitHub Projects, Azure DevOps
|
|
12
|
+
> **Formato**: Markdown (copiar/pegar directo)
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
### 📌 Título
|
|
17
|
+
|
|
18
|
+
**[Type]: [Descriptive Feature Name]**
|
|
19
|
+
|
|
20
|
+
**Ejemplos:**
|
|
21
|
+
|
|
22
|
+
- `Feature: Bulk Mark as Read con PENDING→READ y subscriber_id opcional`
|
|
23
|
+
- `Refactor: Aplicar SRP a bulkMarkAsRead (110→50 líneas)`
|
|
24
|
+
- `Fix: Corregir race condition en notificaciones móviles`
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
### 📝 Descripción
|
|
29
|
+
|
|
30
|
+
[Párrafo 1: Contexto y problema - 2-3 líneas]
|
|
31
|
+
[Párrafo 2: Solución implementada - 2-3 líneas]
|
|
32
|
+
|
|
33
|
+
**Implementado:**
|
|
34
|
+
|
|
35
|
+
- [Feature/Fix 1 con detalles técnicos]
|
|
36
|
+
- [Feature/Fix 2 con detalles técnicos]
|
|
37
|
+
- [Feature/Fix 3 con detalles técnicos]
|
|
38
|
+
|
|
39
|
+
**Validación:**
|
|
40
|
+
|
|
41
|
+
- ✅ Tests: [X/X] passing ([Y] nuevos, [Z]% coverage)
|
|
42
|
+
- ✅ Lint: [N] errors, [M] warnings
|
|
43
|
+
- ✅ TypeCheck: passed/failed
|
|
44
|
+
- ✅ Docs: [N] archivos actualizados
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
### 📊 Métricas
|
|
49
|
+
|
|
50
|
+
| Campo | Valor |
|
|
51
|
+
| -------------------- | -------------------------------------- |
|
|
52
|
+
| **Duración** | [X]h [Y]min |
|
|
53
|
+
| **Esfuerzo** | [X.X] Story Points |
|
|
54
|
+
| **Commits** | [N] commits |
|
|
55
|
+
| **Branch** | `[feature/branch-name]` |
|
|
56
|
+
| **Archivos** | [N] modificados (+[XXX]/-[YYY] líneas) |
|
|
57
|
+
| **Breaking Changes** | ✅ No / ⚠️ Sí ([descripción]) |
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
### 🏷️ Labels/Tags
|
|
62
|
+
|
|
63
|
+
**Copiar según plataforma:**
|
|
64
|
+
|
|
65
|
+
- **ClickUp**: `Backend`, `API`, `[Scope]`, `Enhancement`
|
|
66
|
+
- **Jira**: Separar por comas en campo Labels
|
|
67
|
+
- **Linear**: Asignar a Team + Project correspondiente
|
|
68
|
+
- **GitHub**: Usar labels existentes del repo
|
|
69
|
+
|
|
70
|
+
**Tags generados:**
|
|
71
|
+
|
|
72
|
+
- **Tipo**: [Backend/Frontend/API/Database/Infrastructure]
|
|
73
|
+
- **Scope**: [módulo principal - ej: Deliveries, Auth, Subscribers]
|
|
74
|
+
- **Categoría**: [Enhancement/Bug Fix/Refactoring/Documentation/Security/Performance]
|
|
75
|
+
- **Prioridad**: [Critical/High/Medium/Low]
|
|
76
|
+
|
|
77
|
+
---
|
|
78
|
+
|
|
79
|
+
### 💡 Impacto
|
|
80
|
+
|
|
81
|
+
| Área | Impacto | Detalles |
|
|
82
|
+
| ------------------- | ---------------------------------------- | ------------------------------ |
|
|
83
|
+
| **UX** | [↑ Mejora / → Sin cambios / ↓ Regresión] | [descripción breve] |
|
|
84
|
+
| **Security** | [↑ Mejora / → Sin cambios / ⚠️ Atención] | [descripción breve] |
|
|
85
|
+
| **Performance** | [↑ Mejora / → Sin cambios / ↓ Regresión] | [descripción breve] |
|
|
86
|
+
| **Maintainability** | [↑ +X%] | [reducción complejidad/líneas] |
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
### 🔧 Tech Debt
|
|
91
|
+
|
|
92
|
+
**[Si aplica]:**
|
|
93
|
+
|
|
94
|
+
- ✅ Resuelto: TECH-DEBT #[N] - [descripción]
|
|
95
|
+
- 💰 Ahorro estimado: ~[X] horas futuras
|
|
96
|
+
- 📈 Métricas mejoradas: [complejidad ciclomática, líneas de código, etc.]
|
|
97
|
+
|
|
98
|
+
**[Si no aplica]:** _No hay tech debt asociado a esta tarea_
|
|
99
|
+
|
|
100
|
+
---
|
|
101
|
+
|
|
102
|
+
### 🔗 Referencias
|
|
103
|
+
|
|
104
|
+
- **Branch**: `[branch-name]`
|
|
105
|
+
- **Commits**: `[hash1]`, `[hash2]`, `[hash3]` ([N] total)
|
|
106
|
+
- **PR/MR**: [#XXX] o _Pendiente de crear_
|
|
107
|
+
- **Related**: [HU-XXX-XXX] / [Feature X.X] / _N/A_
|
|
108
|
+
|
|
109
|
+
---
|
|
110
|
+
|
|
111
|
+
## 📋 Guía de Mapeo por Plataforma
|
|
112
|
+
|
|
113
|
+
### ClickUp
|
|
114
|
+
|
|
115
|
+
- **Título** → Task Name
|
|
116
|
+
- **Descripción** → Description (Markdown nativo)
|
|
117
|
+
- **Tags** → Custom Tags
|
|
118
|
+
- **Métricas** → Custom Fields (Time Tracked, Story Points)
|
|
119
|
+
- **Estado** → Status (Completado)
|
|
120
|
+
|
|
121
|
+
### Jira
|
|
122
|
+
|
|
123
|
+
- **Título** → Summary
|
|
124
|
+
- **Descripción** → Description (formato Markdown/Wiki)
|
|
125
|
+
- **Tags** → Labels (separados por coma)
|
|
126
|
+
- **Story Points** → Story Points field
|
|
127
|
+
- **Branch** → Development panel (auto-link)
|
|
128
|
+
|
|
129
|
+
### Linear
|
|
130
|
+
|
|
131
|
+
- **Título** → Issue Title
|
|
132
|
+
- **Descripción** → Full description
|
|
133
|
+
- **Tags** → Labels (auto-crear si no existen)
|
|
134
|
+
- **Métricas** → Custom fields o comentarios
|
|
135
|
+
- **Branch** → Git integration (auto-detect)
|
|
136
|
+
|
|
137
|
+
### GitHub Projects
|
|
138
|
+
|
|
139
|
+
- **Título** → Issue/PR Title
|
|
140
|
+
- **Descripción** → Body
|
|
141
|
+
- **Tags** → Labels del repositorio
|
|
142
|
+
- **Métricas** → Task lists en descripción
|
|
143
|
+
- **Branch** → Linked branches
|
|
144
|
+
|
|
145
|
+
### Azure DevOps
|
|
146
|
+
|
|
147
|
+
- **Título** → Work Item Title
|
|
148
|
+
- **Descripción** → Description (Rich Text)
|
|
149
|
+
- **Tags** → Tags field
|
|
150
|
+
- **Story Points** → Effort field
|
|
151
|
+
- **Branch** → Related Work Items
|
|
152
|
+
|
|
153
|
+
### Trello
|
|
154
|
+
|
|
155
|
+
- **Título** → Card Name
|
|
156
|
+
- **Descripción** → Card Description
|
|
157
|
+
- **Tags** → Labels (colores personalizables)
|
|
158
|
+
- **Métricas** → Checklists o comentarios
|
|
159
|
+
- **Branch** → Attachments o Power-Ups
|
|
160
|
+
|
|
161
|
+
### Asana
|
|
162
|
+
|
|
163
|
+
- **Título** → Task Name
|
|
164
|
+
- **Descripción** → Task Description
|
|
165
|
+
- **Tags** → Tags (auto-crear)
|
|
166
|
+
- **Métricas** → Custom Fields
|
|
167
|
+
- **Branch** → Comentarios o subtareas
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## 🤖 Instrucciones de Población Automática
|
|
172
|
+
|
|
173
|
+
**Datos a extraer (fuentes):**
|
|
174
|
+
|
|
175
|
+
1. **status.json**:
|
|
176
|
+
- `type` → Tipo de tarea (feature/refactor/fix)
|
|
177
|
+
- `timestamps.created` y `timestamps.completed` → Calcular duración
|
|
178
|
+
- `git.branchName` → Nombre de branch
|
|
179
|
+
- `git.commits[]` → Lista de commits
|
|
180
|
+
- `validation.*` → Resultados de tests, lint, typeCheck
|
|
181
|
+
- `progress.totalTasks` → Número de tareas
|
|
182
|
+
|
|
183
|
+
2. **work.md**:
|
|
184
|
+
- Sección "Objective" → Párrafos de descripción
|
|
185
|
+
- Sección "Tasks" → Extraer Story Points (regex: `• (\d+) SP`)
|
|
186
|
+
- Suma total de SP
|
|
187
|
+
|
|
188
|
+
3. **analytics.jsonl** (última línea):
|
|
189
|
+
- `dur` → Duración en minutos
|
|
190
|
+
- `sp` → Story Points
|
|
191
|
+
- `commits` → Número de commits
|
|
192
|
+
- `valid` → Validación exitosa
|
|
193
|
+
|
|
194
|
+
4. **TECH-DEBT.md** (si existe antes de eliminar carpeta):
|
|
195
|
+
- Buscar secciones marcadas con ✅
|
|
196
|
+
- Extraer títulos y métricas de mejora
|
|
197
|
+
|
|
198
|
+
5. **Git commands**:
|
|
199
|
+
- `git diff --stat [first-commit]~1..HEAD` → Archivos modificados (+/-líneas)
|
|
200
|
+
- `git log --oneline [branch]` → Hashes de commits
|
|
201
|
+
- `git log [branch] --grep="BREAKING CHANGE:"` → Detectar breaking changes
|
|
202
|
+
|
|
203
|
+
**Inferencia automática:**
|
|
204
|
+
|
|
205
|
+
### Tags/Labels
|
|
206
|
+
|
|
207
|
+
- **Backend**: Si toca `src/modules/`, `src/core/`, `.service.ts`, `.controller.ts`
|
|
208
|
+
- **Frontend**: Si toca `components/`, `pages/`, `.tsx`, `.vue`, `.svelte`
|
|
209
|
+
- **API**: Si toca `.controller.ts`, `dto/`, `docs/api.md`
|
|
210
|
+
- **Database**: Si toca `entities/`, `migrations/`, `docs/database.md`
|
|
211
|
+
- **Security**: Si toca `guards/`, `auth/`, JWT, validation, `docs/security.md`
|
|
212
|
+
- **Performance**: Si menciona "optimization", "cache", "query", "N+1", "lazy load"
|
|
213
|
+
- **Testing**: Si agrega/modifica `*.spec.ts`, `*.test.ts`, `.e2e-spec.ts`
|
|
214
|
+
- **Documentation**: Si modifica `docs/*.md`, `README.md`, JSDoc, comments
|
|
215
|
+
|
|
216
|
+
### Prioridad
|
|
217
|
+
|
|
218
|
+
- **Critical**: Si es fix de seguridad, vulnerabilidad, producción caída
|
|
219
|
+
- **High**: Si hay breaking changes, afecta usuarios finales, deadline cercano
|
|
220
|
+
- **Medium**: Features nuevos, mejoras significativas, refactors importantes
|
|
221
|
+
- **Low**: Refactors internos, documentación, tech debt menor
|
|
222
|
+
|
|
223
|
+
### Scope
|
|
224
|
+
|
|
225
|
+
- Extraer del path principal modificado (ej: `src/modules/tenants/deliveries/` → Scope: "Deliveries")
|
|
226
|
+
- Si múltiples módulos: listar los 2-3 principales
|
|
227
|
+
- Patrón común: `src/modules/[global|tenants]/[scope-name]/`
|
|
228
|
+
|
|
229
|
+
### Impacto
|
|
230
|
+
|
|
231
|
+
**UX ↑** (Mejora):
|
|
232
|
+
|
|
233
|
+
- Agrega/mejora endpoints públicos user-facing
|
|
234
|
+
- Reduce latencia/tiempo de respuesta
|
|
235
|
+
- Mejora mensajes de error/feedback
|
|
236
|
+
- Agrega features solicitadas por usuarios
|
|
237
|
+
|
|
238
|
+
**Security ↑** (Mejora):
|
|
239
|
+
|
|
240
|
+
- Agrega validaciones/constraints
|
|
241
|
+
- Implementa guards/middlewares
|
|
242
|
+
- Mejora JWT/auth handling
|
|
243
|
+
- Previene inyecciones SQL/XSS
|
|
244
|
+
- Agrega rate limiting/throttling
|
|
245
|
+
|
|
246
|
+
**Performance ↑** (Mejora):
|
|
247
|
+
|
|
248
|
+
- Reduce número de queries (N+1)
|
|
249
|
+
- Agrega cache/memoization
|
|
250
|
+
- Optimiza loops/algoritmos
|
|
251
|
+
- Implementa lazy loading/pagination
|
|
252
|
+
|
|
253
|
+
**Maintainability ↑** (Mejora):
|
|
254
|
+
|
|
255
|
+
- Refactoriza métodos largos (calcular % reducción líneas)
|
|
256
|
+
- Reduce complejidad ciclomática (antes vs después)
|
|
257
|
+
- Extrae responsabilidades (SRP)
|
|
258
|
+
- Mejora naming/estructura
|
|
259
|
+
- Agrega tests/documentación
|
|
260
|
+
|
|
261
|
+
**Cálculo de porcentaje de mejora**:
|
|
262
|
+
|
|
263
|
+
```
|
|
264
|
+
Maintainability = ((líneas_antes - líneas_después) / líneas_antes) * 100
|
|
265
|
+
Ejemplo: (110 - 50) / 110 = 54.5% ≈ +55%
|
|
266
|
+
```
|
|
267
|
+
|
|
268
|
+
---
|
|
269
|
+
|
|
270
|
+
## 📝 Notas de Implementación
|
|
271
|
+
|
|
272
|
+
- El template se llena automáticamente al ejecutar Phase 4 de `/flow-work`
|
|
273
|
+
- Campos opcionales: Si no hay datos, mostrar "_N/A_" o "_No aplica_"
|
|
274
|
+
- Breaking Changes: Solo mostrar si se detecta en commits
|
|
275
|
+
- Tech Debt: Solo mostrar sección si existe `TECH-DEBT.md`
|
|
276
|
+
- Todos los emojis son opcionales (quitar si la plataforma no los soporta)
|
|
277
|
+
- Formato Markdown es universal (todas las plataformas lo renderizan)
|