oden-forge 2.0.2 → 2.2.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/.claude/CLAUDE.md +1 -1
- package/.claude/commands/oden/architect.md +63 -8
- package/.claude/commands/oden/debug.md +502 -133
- package/.claude/commands/oden/epic.md +52 -0
- package/.claude/commands/oden/init.md +51 -0
- package/.claude/commands/oden/work.md +154 -0
- package/README.md +12 -42
- package/bin/oden-forge.js +2 -1
- package/package.json +1 -1
- package/.claude/commands/oden/checklist.md +0 -199
- package/.claude/commands/oden/daily.md +0 -223
- package/.claude/commands/oden/git.md +0 -259
- package/.claude/commands/oden/init-agents.md +0 -268
- package/.claude/commands/oden/init-mcp.md +0 -460
- package/.claude/commands/oden/research.md +0 -207
- package/.claude/commands/oden/review.md +0 -146
- package/.claude/commands/oden/spec.md +0 -539
- package/.claude/commands/oden/tasks.md +0 -156
- package/.claude/commands/oden/test.md +0 -200
|
@@ -1,223 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Bash, Read, Write, LS, Glob, Grep, TodoWrite
|
|
3
|
-
description: Registrar progreso diario (DAY_X_COMPLETED.md)
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Oden Forge - Daily Logger
|
|
7
|
-
|
|
8
|
-
Actúa como **Daily Logger** para documentar el progreso del día.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
/oden:daily
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Cuándo Usar
|
|
17
|
-
|
|
18
|
-
Ejecutar al final de cada día de desarrollo para:
|
|
19
|
-
- Documentar lo completado
|
|
20
|
-
- Registrar métricas
|
|
21
|
-
- Identificar bloqueantes
|
|
22
|
-
- Planificar mañana
|
|
23
|
-
|
|
24
|
-
## Proceso
|
|
25
|
-
|
|
26
|
-
### Paso 1: Identificar Feature Actual
|
|
27
|
-
|
|
28
|
-
Detectar en qué feature se está trabajando:
|
|
29
|
-
```bash
|
|
30
|
-
# Ver si hay carpeta de desarrollo activa
|
|
31
|
-
ls docs/development/current/
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### Paso 2: Determinar Número de Día
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
# Contar DAY_X existentes
|
|
38
|
-
ls docs/development/current/{feature}/DAY_*.md 2>/dev/null | wc -l
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
El nuevo archivo será `DAY_{N+1}_COMPLETED.md`
|
|
42
|
-
|
|
43
|
-
### Paso 3: Recopilar Información
|
|
44
|
-
|
|
45
|
-
Preguntar o detectar:
|
|
46
|
-
|
|
47
|
-
1. **Tareas completadas**
|
|
48
|
-
- ¿Qué terminaste hoy?
|
|
49
|
-
- ¿Qué commits hiciste?
|
|
50
|
-
|
|
51
|
-
2. **Archivos modificados**
|
|
52
|
-
```bash
|
|
53
|
-
git diff --stat HEAD~{commits_hoy}
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
3. **Métricas**
|
|
57
|
-
```bash
|
|
58
|
-
# Líneas agregadas/eliminadas
|
|
59
|
-
git diff --shortstat HEAD~{commits_hoy}
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
4. **Aprendizajes**
|
|
63
|
-
- ¿Decisiones importantes?
|
|
64
|
-
- ¿Problemas resueltos?
|
|
65
|
-
- ¿Tips para el futuro?
|
|
66
|
-
|
|
67
|
-
5. **Issues**
|
|
68
|
-
- ¿Bugs encontrados?
|
|
69
|
-
- ¿Bloqueantes activos?
|
|
70
|
-
|
|
71
|
-
6. **Próximos pasos**
|
|
72
|
-
- ¿Qué harás mañana?
|
|
73
|
-
- ¿Qué depende de otros?
|
|
74
|
-
|
|
75
|
-
### Paso 4: Crear DAY_X_COMPLETED.md
|
|
76
|
-
|
|
77
|
-
```markdown
|
|
78
|
-
# Day {X} - {YYYY-MM-DD}
|
|
79
|
-
|
|
80
|
-
**Feature:** {nombre}
|
|
81
|
-
**Autor:** {nombre}
|
|
82
|
-
|
|
83
|
-
---
|
|
84
|
-
|
|
85
|
-
## ✅ Completado
|
|
86
|
-
|
|
87
|
-
### Tareas Finalizadas
|
|
88
|
-
- [x] {Tarea 1}
|
|
89
|
-
- [x] {Tarea 2}
|
|
90
|
-
- [x] {Tarea 3}
|
|
91
|
-
|
|
92
|
-
### Archivos Creados/Modificados
|
|
93
|
-
```
|
|
94
|
-
{output de git diff --stat}
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
### Commits del Día
|
|
98
|
-
```
|
|
99
|
-
{output de git log --oneline --since="00:00"}
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
|
|
104
|
-
## 📊 Métricas
|
|
105
|
-
|
|
106
|
-
| Métrica | Valor |
|
|
107
|
-
|---------|-------|
|
|
108
|
-
| Líneas agregadas | +{X} |
|
|
109
|
-
| Líneas eliminadas | -{Y} |
|
|
110
|
-
| Archivos nuevos | {N} |
|
|
111
|
-
| Archivos modificados | {M} |
|
|
112
|
-
| Tests nuevos | {T} |
|
|
113
|
-
| Tiempo de trabajo | {H}h |
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## 💡 Aprendizajes
|
|
118
|
-
|
|
119
|
-
### Decisiones Tomadas
|
|
120
|
-
{Si hubo decisiones importantes}
|
|
121
|
-
|
|
122
|
-
### Tips Descubiertos
|
|
123
|
-
{Patrones útiles, shortcuts, etc.}
|
|
124
|
-
|
|
125
|
-
---
|
|
126
|
-
|
|
127
|
-
## 🐛 Issues
|
|
128
|
-
|
|
129
|
-
### Resueltos
|
|
130
|
-
| Issue | Solución |
|
|
131
|
-
|-------|----------|
|
|
132
|
-
| {desc} | {cómo se resolvió} |
|
|
133
|
-
|
|
134
|
-
### Pendientes
|
|
135
|
-
| Issue | Severidad | Workaround |
|
|
136
|
-
|-------|-----------|------------|
|
|
137
|
-
| {desc} | {alta/media/baja} | {si existe} |
|
|
138
|
-
|
|
139
|
-
---
|
|
140
|
-
|
|
141
|
-
## 🚧 Bloqueantes
|
|
142
|
-
|
|
143
|
-
{Si hay bloqueantes activos}
|
|
144
|
-
|
|
145
|
-
---
|
|
146
|
-
|
|
147
|
-
## ⏭️ Próximos Pasos
|
|
148
|
-
|
|
149
|
-
### Mañana
|
|
150
|
-
1. [ ] {Tarea 1}
|
|
151
|
-
2. [ ] {Tarea 2}
|
|
152
|
-
3. [ ] {Tarea 3}
|
|
153
|
-
|
|
154
|
-
### Dependencias
|
|
155
|
-
- {Esperando X de Y}
|
|
156
|
-
|
|
157
|
-
---
|
|
158
|
-
|
|
159
|
-
**Actualizado:** {timestamp}
|
|
160
|
-
```
|
|
161
|
-
|
|
162
|
-
### Paso 5: Actualizar Índices
|
|
163
|
-
|
|
164
|
-
1. Actualizar `docs/development/current/{feature}/README.md`:
|
|
165
|
-
```markdown
|
|
166
|
-
## Daily Logs
|
|
167
|
-
- [Day 1](./DAY_1_COMPLETED.md) - {resumen}
|
|
168
|
-
- [Day 2](./DAY_2_COMPLETED.md) - {resumen}
|
|
169
|
-
...
|
|
170
|
-
```
|
|
171
|
-
|
|
172
|
-
2. Actualizar implementation-plan.md si hay cambios de timeline
|
|
173
|
-
|
|
174
|
-
## Automatización
|
|
175
|
-
|
|
176
|
-
### Script de Ayuda
|
|
177
|
-
|
|
178
|
-
El comando puede usar este script para recopilar métricas:
|
|
179
|
-
|
|
180
|
-
```bash
|
|
181
|
-
#!/bin/bash
|
|
182
|
-
# .claude/scripts/oden/daily-metrics.sh
|
|
183
|
-
|
|
184
|
-
echo "=== MÉTRICAS DEL DÍA ==="
|
|
185
|
-
echo ""
|
|
186
|
-
|
|
187
|
-
# Commits de hoy
|
|
188
|
-
echo "📝 Commits:"
|
|
189
|
-
git log --oneline --since="00:00" 2>/dev/null || echo "No commits hoy"
|
|
190
|
-
echo ""
|
|
191
|
-
|
|
192
|
-
# Archivos modificados
|
|
193
|
-
echo "📁 Archivos modificados:"
|
|
194
|
-
git diff --stat HEAD~$(git log --oneline --since="00:00" | wc -l) 2>/dev/null || echo "Sin cambios"
|
|
195
|
-
echo ""
|
|
196
|
-
|
|
197
|
-
# Líneas de código
|
|
198
|
-
echo "📊 Líneas:"
|
|
199
|
-
git diff --shortstat HEAD~$(git log --oneline --since="00:00" | wc -l) 2>/dev/null || echo "Sin cambios"
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
## Checklist
|
|
203
|
-
|
|
204
|
-
Antes de terminar el día:
|
|
205
|
-
|
|
206
|
-
- [ ] DAY_X_COMPLETED.md creado
|
|
207
|
-
- [ ] Todas las tareas listadas
|
|
208
|
-
- [ ] Métricas registradas
|
|
209
|
-
- [ ] Issues documentados
|
|
210
|
-
- [ ] Próximos pasos definidos
|
|
211
|
-
- [ ] Archivo commiteado
|
|
212
|
-
|
|
213
|
-
## Tips
|
|
214
|
-
|
|
215
|
-
1. **Hazlo diario** - No acumules varios días
|
|
216
|
-
2. **Sé específico** - "Implementé login" > "Trabajé en auth"
|
|
217
|
-
3. **Incluye contexto** - Por qué se tomaron decisiones
|
|
218
|
-
4. **Registra problemas** - Ayuda al futuro tú
|
|
219
|
-
5. **Planifica mañana** - Termina el día con claridad
|
|
220
|
-
|
|
221
|
-
## Referencia
|
|
222
|
-
|
|
223
|
-
Ver agente completo en: `.claude/agents/daily-logger.md`
|
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
allowed-tools: Bash, Read, Write, LS, Glob, Grep, Task
|
|
3
|
-
description: Git workflow - branches, PRs, y gestión de código
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Oden Forge - Git Workflow
|
|
7
|
-
|
|
8
|
-
Comandos para gestión de Git siguiendo mejores prácticas.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
/oden:git [subcommand]
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Subcomandos
|
|
17
|
-
|
|
18
|
-
### `/oden:git start [feature-name]`
|
|
19
|
-
|
|
20
|
-
Inicia trabajo en una nueva feature.
|
|
21
|
-
|
|
22
|
-
**Usa:** `git-flow-manager` agent
|
|
23
|
-
|
|
24
|
-
**Proceso:**
|
|
25
|
-
1. Asegura que main está actualizado
|
|
26
|
-
2. Crea branch `feature/{name}`
|
|
27
|
-
3. Crea carpeta en `docs/development/current/{name}/`
|
|
28
|
-
4. Inicializa README.md del feature
|
|
29
|
-
|
|
30
|
-
```bash
|
|
31
|
-
# Equivalente a:
|
|
32
|
-
git checkout main
|
|
33
|
-
git pull origin main
|
|
34
|
-
git checkout -b feature/{name}
|
|
35
|
-
mkdir -p docs/development/current/{name}
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
### `/oden:git sync`
|
|
39
|
-
|
|
40
|
-
Sincroniza branch actual con main.
|
|
41
|
-
|
|
42
|
-
**Proceso:**
|
|
43
|
-
1. Fetch de origin
|
|
44
|
-
2. Rebase sobre main
|
|
45
|
-
3. Resuelve conflictos si los hay
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
git fetch origin
|
|
49
|
-
git rebase origin/main
|
|
50
|
-
```
|
|
51
|
-
|
|
52
|
-
### `/oden:git pr`
|
|
53
|
-
|
|
54
|
-
Prepara y crea Pull Request.
|
|
55
|
-
|
|
56
|
-
**Usa:** `git-flow-manager` + `code-reviewer` agents
|
|
57
|
-
|
|
58
|
-
**Proceso:**
|
|
59
|
-
1. Ejecuta `/oden:review` automáticamente
|
|
60
|
-
2. Genera descripción de PR basada en:
|
|
61
|
-
- Commits del branch
|
|
62
|
-
- DAY_X_COMPLETED.md files
|
|
63
|
-
- Spec del módulo
|
|
64
|
-
3. Crea PR en GitHub
|
|
65
|
-
|
|
66
|
-
**Template de PR:**
|
|
67
|
-
```markdown
|
|
68
|
-
## Summary
|
|
69
|
-
{Resumen de cambios basado en commits}
|
|
70
|
-
|
|
71
|
-
## Changes
|
|
72
|
-
- {Lista de cambios principales}
|
|
73
|
-
|
|
74
|
-
## Spec Reference
|
|
75
|
-
- `docs/reference/modules/{module}-spec.md`
|
|
76
|
-
|
|
77
|
-
## Testing
|
|
78
|
-
- [ ] Unit tests added/updated
|
|
79
|
-
- [ ] Integration tests passing
|
|
80
|
-
- [ ] Manual testing completed
|
|
81
|
-
|
|
82
|
-
## Screenshots
|
|
83
|
-
{Si hay cambios de UI}
|
|
84
|
-
|
|
85
|
-
## Checklist
|
|
86
|
-
- [ ] Code follows project conventions
|
|
87
|
-
- [ ] Self-review completed
|
|
88
|
-
- [ ] Documentation updated
|
|
89
|
-
```
|
|
90
|
-
|
|
91
|
-
### `/oden:git status`
|
|
92
|
-
|
|
93
|
-
Muestra estado detallado del proyecto.
|
|
94
|
-
|
|
95
|
-
**Output:**
|
|
96
|
-
```
|
|
97
|
-
╔══════════════════════════════════════════════════════════════╗
|
|
98
|
-
║ GIT STATUS ║
|
|
99
|
-
╠══════════════════════════════════════════════════════════════╣
|
|
100
|
-
║ ║
|
|
101
|
-
║ BRANCH: feature/payments ║
|
|
102
|
-
║ BASE: main (3 commits behind) ║
|
|
103
|
-
║ ║
|
|
104
|
-
║ COMMITS EN BRANCH: 8 ║
|
|
105
|
-
║ ├─ abc1234 feat: Add payment form ║
|
|
106
|
-
║ ├─ def5678 feat: Integrate Stripe ║
|
|
107
|
-
║ ├─ ghi9012 fix: Handle declined cards ║
|
|
108
|
-
║ └─ ... (5 more) ║
|
|
109
|
-
║ ║
|
|
110
|
-
║ ARCHIVOS MODIFICADOS: 12 ║
|
|
111
|
-
║ ├─ src/components/PaymentForm.tsx ║
|
|
112
|
-
║ ├─ src/services/stripeService.ts ║
|
|
113
|
-
║ └─ ... (10 more) ║
|
|
114
|
-
║ ║
|
|
115
|
-
║ ESTADO: ║
|
|
116
|
-
║ ├─ Staged: 2 files ║
|
|
117
|
-
║ ├─ Modified: 3 files ║
|
|
118
|
-
║ └─ Untracked: 1 file ║
|
|
119
|
-
║ ║
|
|
120
|
-
║ DAILY LOGS: 3 (DAY_1 → DAY_3) ║
|
|
121
|
-
║ ║
|
|
122
|
-
╚══════════════════════════════════════════════════════════════╝
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
### `/oden:git log`
|
|
126
|
-
|
|
127
|
-
Muestra historial con contexto de proyecto.
|
|
128
|
-
|
|
129
|
-
**Output:**
|
|
130
|
-
```
|
|
131
|
-
HISTORIAL DE FEATURE: payments
|
|
132
|
-
|
|
133
|
-
Semana 1:
|
|
134
|
-
├─ DAY_1 (2024-01-15)
|
|
135
|
-
│ ├─ abc1234 feat: Add payment form
|
|
136
|
-
│ └─ def5678 feat: Integrate Stripe
|
|
137
|
-
│
|
|
138
|
-
├─ DAY_2 (2024-01-16)
|
|
139
|
-
│ ├─ ghi9012 fix: Handle declined cards
|
|
140
|
-
│ └─ jkl3456 test: Add payment tests
|
|
141
|
-
│
|
|
142
|
-
└─ DAY_3 (2024-01-17)
|
|
143
|
-
└─ mno7890 refactor: Extract payment utils
|
|
144
|
-
|
|
145
|
-
Total: 5 commits, 12 files changed
|
|
146
|
-
Progress: 60% of spec completed
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
### `/oden:git finish`
|
|
150
|
-
|
|
151
|
-
Finaliza feature y limpia.
|
|
152
|
-
|
|
153
|
-
**Proceso:**
|
|
154
|
-
1. Verifica PR merged
|
|
155
|
-
2. Mueve docs a `completed/`
|
|
156
|
-
3. Elimina branch local
|
|
157
|
-
4. Actualiza main
|
|
158
|
-
|
|
159
|
-
```bash
|
|
160
|
-
git checkout main
|
|
161
|
-
git pull origin main
|
|
162
|
-
git branch -d feature/{name}
|
|
163
|
-
mv docs/development/current/{name} docs/development/completed/
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
---
|
|
167
|
-
|
|
168
|
-
## Convenciones de Commits
|
|
169
|
-
|
|
170
|
-
### Formato
|
|
171
|
-
```
|
|
172
|
-
{type}: {description}
|
|
173
|
-
|
|
174
|
-
{body opcional}
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
### Types
|
|
178
|
-
- `feat`: Nueva funcionalidad
|
|
179
|
-
- `fix`: Bug fix
|
|
180
|
-
- `refactor`: Refactoring sin cambio de funcionalidad
|
|
181
|
-
- `test`: Tests
|
|
182
|
-
- `docs`: Documentación
|
|
183
|
-
- `style`: Formato, sin cambio de código
|
|
184
|
-
- `chore`: Tareas de mantenimiento
|
|
185
|
-
|
|
186
|
-
### Ejemplos
|
|
187
|
-
```
|
|
188
|
-
feat: Add payment processing with Stripe
|
|
189
|
-
fix: Handle edge case when order is empty
|
|
190
|
-
refactor: Extract validation logic to separate module
|
|
191
|
-
test: Add unit tests for payment service
|
|
192
|
-
docs: Update API documentation for payments
|
|
193
|
-
```
|
|
194
|
-
|
|
195
|
-
---
|
|
196
|
-
|
|
197
|
-
## Branch Naming
|
|
198
|
-
|
|
199
|
-
### Features
|
|
200
|
-
```
|
|
201
|
-
feature/{module}-{description}
|
|
202
|
-
```
|
|
203
|
-
Ejemplos:
|
|
204
|
-
- `feature/auth-social-login`
|
|
205
|
-
- `feature/orders-bulk-actions`
|
|
206
|
-
- `feature/payments-stripe`
|
|
207
|
-
|
|
208
|
-
### Fixes
|
|
209
|
-
```
|
|
210
|
-
fix/{issue-number}-{description}
|
|
211
|
-
```
|
|
212
|
-
Ejemplos:
|
|
213
|
-
- `fix/123-login-redirect`
|
|
214
|
-
- `fix/456-payment-timeout`
|
|
215
|
-
|
|
216
|
-
### Hotfixes
|
|
217
|
-
```
|
|
218
|
-
hotfix/{description}
|
|
219
|
-
```
|
|
220
|
-
Para fixes urgentes en producción.
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
## Integración con Daily Log
|
|
225
|
-
|
|
226
|
-
Los commits del día se documentan en `/oden:daily`:
|
|
227
|
-
|
|
228
|
-
```markdown
|
|
229
|
-
### Commits del Día
|
|
230
|
-
```
|
|
231
|
-
abc1234 feat: Add payment form
|
|
232
|
-
def5678 feat: Integrate Stripe
|
|
233
|
-
ghi9012 fix: Handle declined cards
|
|
234
|
-
```
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
---
|
|
238
|
-
|
|
239
|
-
## Flujo Típico
|
|
240
|
-
|
|
241
|
-
```bash
|
|
242
|
-
# 1. Iniciar feature
|
|
243
|
-
/oden:git start payments
|
|
244
|
-
|
|
245
|
-
# 2. Durante desarrollo (cada día)
|
|
246
|
-
git add .
|
|
247
|
-
git commit -m "feat: Add payment form"
|
|
248
|
-
/oden:daily
|
|
249
|
-
|
|
250
|
-
# 3. Sincronizar periódicamente
|
|
251
|
-
/oden:git sync
|
|
252
|
-
|
|
253
|
-
# 4. Antes de PR
|
|
254
|
-
/oden:review
|
|
255
|
-
/oden:git pr
|
|
256
|
-
|
|
257
|
-
# 5. Después de merge
|
|
258
|
-
/oden:git finish
|
|
259
|
-
```
|