elsabro 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/README.md +268 -0
- package/agents/elsabro-analyst.md +176 -0
- package/agents/elsabro-debugger.md +293 -0
- package/agents/elsabro-executor.md +477 -0
- package/agents/elsabro-orchestrator.md +426 -0
- package/agents/elsabro-planner.md +278 -0
- package/agents/elsabro-qa.md +273 -0
- package/agents/elsabro-quick-dev.md +309 -0
- package/agents/elsabro-scrum-master.md +217 -0
- package/agents/elsabro-tech-writer.md +347 -0
- package/agents/elsabro-ux-designer.md +278 -0
- package/agents/elsabro-verifier.md +295 -0
- package/agents/elsabro-yolo-dev.md +322 -0
- package/bin/install.js +497 -0
- package/commands/elsabro/add-phase.md +114 -0
- package/commands/elsabro/add-todo.md +158 -0
- package/commands/elsabro/audit-milestone.md +147 -0
- package/commands/elsabro/check-todos.md +192 -0
- package/commands/elsabro/complete-milestone.md +138 -0
- package/commands/elsabro/debug.md +153 -0
- package/commands/elsabro/discuss-phase.md +160 -0
- package/commands/elsabro/execute.md +299 -0
- package/commands/elsabro/help.md +102 -0
- package/commands/elsabro/insert-phase.md +117 -0
- package/commands/elsabro/list-phase-assumptions.md +129 -0
- package/commands/elsabro/map-codebase.md +108 -0
- package/commands/elsabro/new-milestone.md +128 -0
- package/commands/elsabro/new.md +230 -0
- package/commands/elsabro/pause-work.md +261 -0
- package/commands/elsabro/plan-milestone-gaps.md +129 -0
- package/commands/elsabro/plan.md +272 -0
- package/commands/elsabro/progress.md +187 -0
- package/commands/elsabro/quick.md +99 -0
- package/commands/elsabro/remove-phase.md +136 -0
- package/commands/elsabro/research-phase.md +174 -0
- package/commands/elsabro/resume-work.md +288 -0
- package/commands/elsabro/set-profile.md +216 -0
- package/commands/elsabro/settings.md +185 -0
- package/commands/elsabro/start.md +204 -0
- package/commands/elsabro/update.md +71 -0
- package/commands/elsabro/verify-work.md +269 -0
- package/commands/elsabro/verify.md +207 -0
- package/hooks/dist/.gitkeep +2 -0
- package/package.json +45 -0
- package/references/error-handling-instructions.md +312 -0
- package/references/source-hierarchy.md +150 -0
- package/references/token-optimization.md +225 -0
- package/skills/api-setup.md +315 -0
- package/skills/auth-setup.md +180 -0
- package/skills/database-setup.md +238 -0
- package/skills/expo-app.md +261 -0
- package/skills/nextjs-app.md +206 -0
- package/skills/payments-setup.md +421 -0
- package/skills/sentry-setup.md +295 -0
- package/templates/error-handling-config.json +138 -0
- package/templates/session-state.json +69 -0
- package/templates/starters/.gitkeep +2 -0
- package/workflows/.gitkeep +2 -0
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: resume-work
|
|
3
|
+
description: Retomar trabajo en un proyecto/milestone después de una pausa
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Write
|
|
7
|
+
- Bash
|
|
8
|
+
- Glob
|
|
9
|
+
- Grep
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# /elsabro:resume-work
|
|
13
|
+
|
|
14
|
+
<command-name>resume-work</command-name>
|
|
15
|
+
|
|
16
|
+
## Propósito
|
|
17
|
+
|
|
18
|
+
Retomar trabajo en un proyecto después de una interrupción. Reconstruye contexto, muestra estado actual y sugiere siguiente paso.
|
|
19
|
+
|
|
20
|
+
## Uso
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Retomar último proyecto activo
|
|
24
|
+
/elsabro:resume-work
|
|
25
|
+
|
|
26
|
+
# Retomar milestone específico
|
|
27
|
+
/elsabro:resume-work M001
|
|
28
|
+
|
|
29
|
+
# Retomar con contexto detallado
|
|
30
|
+
/elsabro:resume-work --verbose
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## Proceso de Resumption
|
|
34
|
+
|
|
35
|
+
### Paso 1: Context Recovery
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
┌──────────────────────────────────────────────────┐
|
|
39
|
+
│ CONTEXT RECOVERY │
|
|
40
|
+
├──────────────────────────────────────────────────┤
|
|
41
|
+
│ │
|
|
42
|
+
│ 📁 Project: my-app │
|
|
43
|
+
│ 🎯 Active Milestone: M001 - MVP Launch │
|
|
44
|
+
│ 📍 Current Phase: P3 - Frontend (65%) │
|
|
45
|
+
│ ⏰ Last Activity: 2 days ago │
|
|
46
|
+
│ │
|
|
47
|
+
└──────────────────────────────────────────────────┘
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
### Paso 2: Estado Actual
|
|
51
|
+
|
|
52
|
+
```markdown
|
|
53
|
+
## Where You Left Off
|
|
54
|
+
|
|
55
|
+
### Last Completed
|
|
56
|
+
- ✅ Dashboard layout component
|
|
57
|
+
- ✅ Navigation menu
|
|
58
|
+
- ✅ API integration for users
|
|
59
|
+
|
|
60
|
+
### In Progress
|
|
61
|
+
- 🟡 User profile page (started)
|
|
62
|
+
- 🟡 Settings modal (scaffolded)
|
|
63
|
+
|
|
64
|
+
### Next Up
|
|
65
|
+
- ⬜ Dashboard charts
|
|
66
|
+
- ⬜ Notification system
|
|
67
|
+
|
|
68
|
+
### Blockers (if any)
|
|
69
|
+
- None currently
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Paso 3: Git Status
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
Git Status:
|
|
76
|
+
- Branch: feature/frontend-dashboard
|
|
77
|
+
- Uncommitted: 3 files
|
|
78
|
+
- Behind main: 2 commits (consider rebasing)
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
### Paso 4: Sugerencia
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
Suggested Next Action:
|
|
85
|
+
|
|
86
|
+
1. Complete "User profile page"
|
|
87
|
+
- Remaining: Form validation, avatar upload
|
|
88
|
+
- Estimated: 2-3 hours
|
|
89
|
+
|
|
90
|
+
Or choose:
|
|
91
|
+
- [p] Start from progress overview
|
|
92
|
+
- [d] Run debug check first
|
|
93
|
+
- [s] Sync with main branch first
|
|
94
|
+
- [c] Custom action
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
## Recuperación de Sesión
|
|
98
|
+
|
|
99
|
+
Si existe `.planning/SESSION.md`:
|
|
100
|
+
|
|
101
|
+
```markdown
|
|
102
|
+
# Session State (Auto-saved)
|
|
103
|
+
|
|
104
|
+
## Saved: 2024-01-18 15:30
|
|
105
|
+
|
|
106
|
+
### Active Task
|
|
107
|
+
Implementing user profile validation
|
|
108
|
+
|
|
109
|
+
### Notes
|
|
110
|
+
- Using Zod for validation
|
|
111
|
+
- Need to handle avatar upload
|
|
112
|
+
- Check email uniqueness on server
|
|
113
|
+
|
|
114
|
+
### Open Questions
|
|
115
|
+
- [ ] Max avatar size?
|
|
116
|
+
- [ ] Allowed file types?
|
|
117
|
+
|
|
118
|
+
### Temporary Files
|
|
119
|
+
- /tmp/profile-draft.tsx (WIP)
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Opciones
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
--verbose, -v # Show detailed context
|
|
126
|
+
--quick, -q # Skip details, show action only
|
|
127
|
+
--sync # Sync with main before resuming
|
|
128
|
+
--check # Run tests/lint before resuming
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Output
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
╔══════════════════════════════════════════════════╗
|
|
135
|
+
║ RESUMING: M001 - MVP Launch ║
|
|
136
|
+
╠══════════════════════════════════════════════════╣
|
|
137
|
+
║ ║
|
|
138
|
+
║ Last activity: 2 days ago ║
|
|
139
|
+
║ Current phase: P3 - Frontend (65%) ║
|
|
140
|
+
║ In progress: User profile page ║
|
|
141
|
+
║ ║
|
|
142
|
+
║ Git: feature/frontend-dashboard ║
|
|
143
|
+
║ 3 uncommitted files ║
|
|
144
|
+
║ ║
|
|
145
|
+
╠══════════════════════════════════════════════════╣
|
|
146
|
+
║ SUGGESTED: Continue user profile validation ║
|
|
147
|
+
║ /elsabro:execute ║
|
|
148
|
+
╚══════════════════════════════════════════════════╝
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
## Integración
|
|
152
|
+
|
|
153
|
+
- Paired con `/elsabro:pause-work`
|
|
154
|
+
- Uses session data from `.planning/SESSION.md`
|
|
155
|
+
- Can trigger `/elsabro:progress` for overview
|
|
156
|
+
|
|
157
|
+
<session_validation>
|
|
158
|
+
## Validación de Sesión
|
|
159
|
+
|
|
160
|
+
### Proceso de Validación
|
|
161
|
+
|
|
162
|
+
Al ejecutar `/elsabro:resume-work`, validar:
|
|
163
|
+
|
|
164
|
+
```
|
|
165
|
+
1. VERIFICAR ARCHIVOS
|
|
166
|
+
├─ ¿Existe SESSION.md? → Si no, buscar SESSION-STATE.json
|
|
167
|
+
├─ ¿Existe SESSION-STATE.json? → Validar schema
|
|
168
|
+
└─ ¿Ninguno existe? → CRITICAL: No hay sesión para reanudar
|
|
169
|
+
|
|
170
|
+
2. VALIDAR INTEGRIDAD
|
|
171
|
+
├─ ¿JSON es válido? → Parseable sin errores
|
|
172
|
+
├─ ¿Campos requeridos presentes? → version, createdAt, context.milestone
|
|
173
|
+
└─ ¿Status es válido? → active|paused|completed
|
|
174
|
+
|
|
175
|
+
3. DETECTAR STALENESS
|
|
176
|
+
├─ Calcular días desde lastUpdated
|
|
177
|
+
├─ < 7 días → OK
|
|
178
|
+
├─ 7-30 días → WARNING
|
|
179
|
+
└─ > 30 días → Sugerir revisión
|
|
180
|
+
```
|
|
181
|
+
|
|
182
|
+
### Display de Validación
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
╔══════════════════════════════════════════════════╗
|
|
186
|
+
║ SESSION VALIDATION ║
|
|
187
|
+
╠══════════════════════════════════════════════════╣
|
|
188
|
+
║ ║
|
|
189
|
+
║ ✓ SESSION.md found ║
|
|
190
|
+
║ ✓ SESSION-STATE.json valid ║
|
|
191
|
+
║ ✓ Required fields present ║
|
|
192
|
+
║ 🟡 Staleness: 9 days (warning) ║
|
|
193
|
+
║ ║
|
|
194
|
+
║ Last context: ║
|
|
195
|
+
║ - Milestone: M001 - MVP Launch ║
|
|
196
|
+
║ - Phase: P3 - Frontend (65%) ║
|
|
197
|
+
║ - Task: User profile page ║
|
|
198
|
+
║ ║
|
|
199
|
+
╠══════════════════════════════════════════════════╣
|
|
200
|
+
║ ¿Este contexto sigue siendo correcto? [y/n] ║
|
|
201
|
+
╚══════════════════════════════════════════════════╝
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
### Errores de Validación
|
|
205
|
+
|
|
206
|
+
**SESSION_MISSING (CRITICAL)**
|
|
207
|
+
```
|
|
208
|
+
╔══════════════════════════════════════════════════╗
|
|
209
|
+
║ 🔴 ERROR: SESSION_MISSING ║
|
|
210
|
+
║ Severity: CRITICAL ║
|
|
211
|
+
╠══════════════════════════════════════════════════╣
|
|
212
|
+
║ ║
|
|
213
|
+
║ No se encontró archivo de sesión en: ║
|
|
214
|
+
║ - .planning/SESSION.md ║
|
|
215
|
+
║ - .planning/SESSION-STATE.json ║
|
|
216
|
+
║ ║
|
|
217
|
+
╠══════════════════════════════════════════════════╣
|
|
218
|
+
║ ACCIÓN REQUERIDA: ║
|
|
219
|
+
║ → /elsabro:start para iniciar nueva sesión ║
|
|
220
|
+
╚══════════════════════════════════════════════════╝
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
**SESSION_CORRUPT (CRITICAL)**
|
|
224
|
+
```
|
|
225
|
+
╔══════════════════════════════════════════════════╗
|
|
226
|
+
║ 🔴 ERROR: SESSION_CORRUPT ║
|
|
227
|
+
║ Severity: CRITICAL ║
|
|
228
|
+
╠══════════════════════════════════════════════════╣
|
|
229
|
+
║ ║
|
|
230
|
+
║ El archivo SESSION-STATE.json está corrupto: ║
|
|
231
|
+
║ - Error: Unexpected token at position 234 ║
|
|
232
|
+
║ ║
|
|
233
|
+
╠══════════════════════════════════════════════════╣
|
|
234
|
+
║ Opciones: ║
|
|
235
|
+
║ [r] Reconstruir desde SESSION.md ║
|
|
236
|
+
║ [b] Usar backup si existe ║
|
|
237
|
+
║ [s] Start fresh ║
|
|
238
|
+
╚══════════════════════════════════════════════════╝
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
**SESSION_STALE (MEDIUM)**
|
|
242
|
+
```
|
|
243
|
+
┌──────────────────────────────────────────────────┐
|
|
244
|
+
│ 🟡 WARNING: SESSION_STALE │
|
|
245
|
+
├──────────────────────────────────────────────────┤
|
|
246
|
+
│ Última actividad: hace 15 días │
|
|
247
|
+
│ │
|
|
248
|
+
│ El proyecto puede haber cambiado. │
|
|
249
|
+
│ Recomendación: Verificar estado actual. │
|
|
250
|
+
│ │
|
|
251
|
+
│ Continuando automáticamente... │
|
|
252
|
+
└──────────────────────────────────────────────────┘
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
### Recuperación Automática
|
|
256
|
+
|
|
257
|
+
Si SESSION-STATE.json está corrupto pero SESSION.md existe:
|
|
258
|
+
|
|
259
|
+
```
|
|
260
|
+
1. Leer SESSION.md
|
|
261
|
+
2. Extraer información estructurada
|
|
262
|
+
3. Reconstruir SESSION-STATE.json
|
|
263
|
+
4. Mostrar: "Sesión reconstruida desde SESSION.md"
|
|
264
|
+
5. Continuar normalmente
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Actualización al Reanudar
|
|
268
|
+
|
|
269
|
+
Al reanudar exitosamente, **MERGE** (no reemplazar) los campos:
|
|
270
|
+
|
|
271
|
+
```json
|
|
272
|
+
{
|
|
273
|
+
"lastUpdated": "[nuevo timestamp]",
|
|
274
|
+
"status": "active",
|
|
275
|
+
"recovery": {
|
|
276
|
+
// Mantener campos existentes
|
|
277
|
+
"lastSuccessfulStep": "[preservar del pause]",
|
|
278
|
+
"resumeFrom": "[preservar del pause]",
|
|
279
|
+
"notes": "[preservar del pause]",
|
|
280
|
+
// Agregar nuevos campos
|
|
281
|
+
"resumedFrom": "pause",
|
|
282
|
+
"resumedAt": "[timestamp]"
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
**IMPORTANTE:** No sobrescribir `recovery` completo, solo agregar `resumedFrom` y `resumedAt`.
|
|
288
|
+
</session_validation>
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: set-profile
|
|
3
|
+
description: Cambiar el perfil de comportamiento de ELSABRO
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /elsabro:set-profile
|
|
7
|
+
|
|
8
|
+
<command-name>set-profile</command-name>
|
|
9
|
+
|
|
10
|
+
## Propósito
|
|
11
|
+
|
|
12
|
+
Cambiar rápidamente el perfil de comportamiento de ELSABRO. Los perfiles son presets que ajustan múltiples settings a la vez.
|
|
13
|
+
|
|
14
|
+
## Cuándo Usar
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
✅ Usar YOLO cuando:
|
|
18
|
+
- Prototipo rápido
|
|
19
|
+
- Fix urgente
|
|
20
|
+
- Solo tú trabajas en el código
|
|
21
|
+
- Explorando ideas
|
|
22
|
+
|
|
23
|
+
✅ Usar CAREFUL cuando:
|
|
24
|
+
- Código de producción
|
|
25
|
+
- Trabajo en equipo
|
|
26
|
+
- Código crítico (pagos, auth)
|
|
27
|
+
- Open source
|
|
28
|
+
|
|
29
|
+
✅ Usar DEFAULT cuando:
|
|
30
|
+
- Desarrollo normal
|
|
31
|
+
- No estás seguro cuál usar
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Uso
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
# Ver perfiles disponibles
|
|
38
|
+
/elsabro:set-profile
|
|
39
|
+
|
|
40
|
+
# Cambiar a perfil específico
|
|
41
|
+
/elsabro:set-profile yolo
|
|
42
|
+
/elsabro:set-profile careful
|
|
43
|
+
/elsabro:set-profile default
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Perfiles Disponibles
|
|
47
|
+
|
|
48
|
+
### 🏃 Default (Balanced)
|
|
49
|
+
|
|
50
|
+
Equilibrio entre velocidad y calidad.
|
|
51
|
+
|
|
52
|
+
```
|
|
53
|
+
Settings:
|
|
54
|
+
- auto-commit: false
|
|
55
|
+
- auto-tests: true
|
|
56
|
+
- require-tests: true
|
|
57
|
+
- parallel-agents: true
|
|
58
|
+
- verbosity: normal
|
|
59
|
+
- default-flow: standard
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Ideal para:
|
|
63
|
+
- Desarrollo día a día
|
|
64
|
+
- Trabajo en equipo
|
|
65
|
+
- Proyectos medianos
|
|
66
|
+
|
|
67
|
+
---
|
|
68
|
+
|
|
69
|
+
### ⚡ YOLO (Speed)
|
|
70
|
+
|
|
71
|
+
Máxima velocidad, mínima fricción.
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
Settings:
|
|
75
|
+
- auto-commit: true
|
|
76
|
+
- auto-tests: true
|
|
77
|
+
- require-tests: false
|
|
78
|
+
- parallel-agents: true
|
|
79
|
+
- verbosity: quiet
|
|
80
|
+
- default-flow: yolo
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
Ideal para:
|
|
84
|
+
- Prototipos rápidos
|
|
85
|
+
- Fixes urgentes
|
|
86
|
+
- Solo developers
|
|
87
|
+
- Exploraciones
|
|
88
|
+
|
|
89
|
+
⚠️ **Warning:** Menos validación, más riesgo
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
### 🛡️ Careful (Quality)
|
|
94
|
+
|
|
95
|
+
Máxima calidad, validación exhaustiva.
|
|
96
|
+
|
|
97
|
+
```
|
|
98
|
+
Settings:
|
|
99
|
+
- auto-commit: false
|
|
100
|
+
- auto-tests: true
|
|
101
|
+
- require-tests: true
|
|
102
|
+
- parallel-agents: true
|
|
103
|
+
- verbosity: verbose
|
|
104
|
+
- default-flow: standard
|
|
105
|
+
- extra: require-review, lint-before-commit
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
Ideal para:
|
|
109
|
+
- Producción crítica
|
|
110
|
+
- Proyectos con equipo
|
|
111
|
+
- Código financiero/médico
|
|
112
|
+
- Open source
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
### 🎓 Beginner (Learning)
|
|
117
|
+
|
|
118
|
+
Explicaciones detalladas, guía paso a paso.
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
Settings:
|
|
122
|
+
- auto-commit: false
|
|
123
|
+
- auto-tests: true
|
|
124
|
+
- require-tests: true
|
|
125
|
+
- parallel-agents: false (sequential for clarity)
|
|
126
|
+
- verbosity: verbose
|
|
127
|
+
- explanations: detailed
|
|
128
|
+
- default-flow: guided
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Ideal para:
|
|
132
|
+
- Aprender desarrollo
|
|
133
|
+
- Nuevos en el stack
|
|
134
|
+
- Training
|
|
135
|
+
|
|
136
|
+
## Cambio de Perfil
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
/elsabro:set-profile yolo
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
```
|
|
143
|
+
╔══════════════════════════════════════════════════╗
|
|
144
|
+
║ PROFILE CHANGED ║
|
|
145
|
+
╠══════════════════════════════════════════════════╣
|
|
146
|
+
║ ║
|
|
147
|
+
║ From: default ║
|
|
148
|
+
║ To: yolo ⚡ ║
|
|
149
|
+
║ ║
|
|
150
|
+
║ Changes applied: ║
|
|
151
|
+
║ - auto-commit: false → true ║
|
|
152
|
+
║ - require-tests: true → false ║
|
|
153
|
+
║ - verbosity: normal → quiet ║
|
|
154
|
+
║ - default-flow: standard → yolo ║
|
|
155
|
+
║ ║
|
|
156
|
+
║ ⚠️ YOLO mode enabled ║
|
|
157
|
+
║ Less validation, more speed ║
|
|
158
|
+
║ ║
|
|
159
|
+
╚══════════════════════════════════════════════════╝
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## Perfil Temporal
|
|
163
|
+
|
|
164
|
+
Para usar un perfil solo en esta sesión:
|
|
165
|
+
|
|
166
|
+
```bash
|
|
167
|
+
/elsabro:set-profile yolo --temporary
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
```
|
|
171
|
+
Profile 'yolo' active for this session only.
|
|
172
|
+
Will revert to 'default' on restart.
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
## Crear Perfil Custom
|
|
176
|
+
|
|
177
|
+
```bash
|
|
178
|
+
/elsabro:set-profile --create=my-team
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
Creating custom profile: my-team
|
|
183
|
+
|
|
184
|
+
Base on (default/yolo/careful): default
|
|
185
|
+
|
|
186
|
+
Customize settings:
|
|
187
|
+
- auto-commit [false]: true
|
|
188
|
+
- require-tests [true]: true
|
|
189
|
+
- verbosity [normal]: normal
|
|
190
|
+
|
|
191
|
+
Profile 'my-team' created and activated.
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
## Ver Perfil Actual
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
/elsabro:set-profile --current
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
```
|
|
201
|
+
Current profile: default
|
|
202
|
+
|
|
203
|
+
Active settings:
|
|
204
|
+
- auto-commit: false
|
|
205
|
+
- auto-tests: true
|
|
206
|
+
- require-tests: true
|
|
207
|
+
- parallel-agents: true
|
|
208
|
+
- verbosity: normal
|
|
209
|
+
- default-flow: standard
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
## Integración
|
|
213
|
+
|
|
214
|
+
- Stored en `.elsabro/config.json`
|
|
215
|
+
- Full settings con `/elsabro:settings`
|
|
216
|
+
- Affects all ELSABRO behavior
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: settings
|
|
3
|
+
description: Ver y modificar configuración de ELSABRO
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /elsabro:settings
|
|
7
|
+
|
|
8
|
+
<command-name>settings</command-name>
|
|
9
|
+
|
|
10
|
+
## Propósito
|
|
11
|
+
|
|
12
|
+
Gestionar la configuración de ELSABRO - perfiles, preferencias, integraciones y comportamientos.
|
|
13
|
+
|
|
14
|
+
## Cuándo Usar
|
|
15
|
+
|
|
16
|
+
```
|
|
17
|
+
✅ Ideal para:
|
|
18
|
+
- Configurar ELSABRO por primera vez
|
|
19
|
+
- Ajustar comportamiento (auto-commit, verbosidad)
|
|
20
|
+
- Habilitar/deshabilitar integraciones
|
|
21
|
+
- Ver configuración actual
|
|
22
|
+
- Troubleshooting de comportamiento
|
|
23
|
+
|
|
24
|
+
❌ NO usar para:
|
|
25
|
+
- Cambiar perfil rápido (/elsabro:set-profile)
|
|
26
|
+
- Configuración de proyecto (usa CLAUDE.md)
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Uso
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
# Ver configuración actual
|
|
33
|
+
/elsabro:settings
|
|
34
|
+
|
|
35
|
+
# Ver setting específico
|
|
36
|
+
/elsabro:settings --get=profile
|
|
37
|
+
|
|
38
|
+
# Cambiar setting
|
|
39
|
+
/elsabro:settings --set=auto-commit=true
|
|
40
|
+
|
|
41
|
+
# Reset a defaults
|
|
42
|
+
/elsabro:settings --reset
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Vista de Configuración
|
|
46
|
+
|
|
47
|
+
```
|
|
48
|
+
╔══════════════════════════════════════════════════╗
|
|
49
|
+
║ ELSABRO SETTINGS ║
|
|
50
|
+
╠══════════════════════════════════════════════════╣
|
|
51
|
+
║ ║
|
|
52
|
+
║ PROFILE ║
|
|
53
|
+
║ ├─ Active: default ║
|
|
54
|
+
║ ├─ Language: es ║
|
|
55
|
+
║ └─ Experience: intermediate ║
|
|
56
|
+
║ ║
|
|
57
|
+
║ WORKFLOW ║
|
|
58
|
+
║ ├─ Auto-commit: false ║
|
|
59
|
+
║ ├─ Auto-tests: true ║
|
|
60
|
+
║ ├─ Parallel agents: true ║
|
|
61
|
+
║ └─ Default flow: standard ║
|
|
62
|
+
║ ║
|
|
63
|
+
║ INTEGRATIONS ║
|
|
64
|
+
║ ├─ Context7: enabled ║
|
|
65
|
+
║ ├─ 21st.dev: enabled ║
|
|
66
|
+
║ └─ Git hooks: disabled ║
|
|
67
|
+
║ ║
|
|
68
|
+
║ OUTPUT ║
|
|
69
|
+
║ ├─ Verbosity: normal ║
|
|
70
|
+
║ ├─ Colors: true ║
|
|
71
|
+
║ └─ Diagrams: mermaid ║
|
|
72
|
+
║ ║
|
|
73
|
+
╚══════════════════════════════════════════════════╝
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
## Settings Disponibles
|
|
77
|
+
|
|
78
|
+
### Profile Settings
|
|
79
|
+
|
|
80
|
+
| Setting | Values | Default | Description |
|
|
81
|
+
|---------|--------|---------|-------------|
|
|
82
|
+
| `profile` | default/yolo/careful | default | Preset de comportamiento |
|
|
83
|
+
| `language` | en/es | en | Idioma de output |
|
|
84
|
+
| `experience` | beginner/intermediate/expert | intermediate | Nivel de detalle |
|
|
85
|
+
|
|
86
|
+
### Workflow Settings
|
|
87
|
+
|
|
88
|
+
| Setting | Values | Default | Description |
|
|
89
|
+
|---------|--------|---------|-------------|
|
|
90
|
+
| `auto-commit` | true/false | false | Commit automático |
|
|
91
|
+
| `auto-tests` | true/false | true | Correr tests automáticamente |
|
|
92
|
+
| `parallel-agents` | true/false | true | Usar agentes en paralelo |
|
|
93
|
+
| `default-flow` | standard/quick/yolo | standard | Flujo por defecto |
|
|
94
|
+
| `require-tests` | true/false | true | Requerir tests para features |
|
|
95
|
+
|
|
96
|
+
### Integration Settings
|
|
97
|
+
|
|
98
|
+
| Setting | Values | Default | Description |
|
|
99
|
+
|---------|--------|---------|-------------|
|
|
100
|
+
| `context7` | true/false | true | Usar Context7 para docs |
|
|
101
|
+
| `21st-dev` | true/false | true | Usar 21st.dev para componentes |
|
|
102
|
+
| `git-hooks` | true/false | false | Integrar con git hooks |
|
|
103
|
+
|
|
104
|
+
### Output Settings
|
|
105
|
+
|
|
106
|
+
| Setting | Values | Default | Description |
|
|
107
|
+
|---------|--------|---------|-------------|
|
|
108
|
+
| `verbosity` | quiet/normal/verbose | normal | Nivel de output |
|
|
109
|
+
| `colors` | true/false | true | Output con colores |
|
|
110
|
+
| `diagrams` | mermaid/ascii/none | mermaid | Formato de diagramas |
|
|
111
|
+
|
|
112
|
+
## Modificar Settings
|
|
113
|
+
|
|
114
|
+
### Individual
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
/elsabro:settings --set=auto-commit=true
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Múltiples
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
/elsabro:settings --set="auto-commit=true,verbosity=verbose"
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Interactivo
|
|
127
|
+
|
|
128
|
+
```bash
|
|
129
|
+
/elsabro:settings --interactive
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
ELSABRO Settings Editor
|
|
134
|
+
|
|
135
|
+
Profile:
|
|
136
|
+
[1] default (current)
|
|
137
|
+
[2] yolo
|
|
138
|
+
[3] careful
|
|
139
|
+
|
|
140
|
+
Select (1-3): 2
|
|
141
|
+
|
|
142
|
+
Workflow - Auto-commit:
|
|
143
|
+
[ ] false (current)
|
|
144
|
+
[x] true
|
|
145
|
+
|
|
146
|
+
Enable auto-commit? (y/n): y
|
|
147
|
+
|
|
148
|
+
...
|
|
149
|
+
|
|
150
|
+
Settings updated!
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
## Almacenamiento
|
|
154
|
+
|
|
155
|
+
Settings guardados en `.elsabro/config.json`:
|
|
156
|
+
|
|
157
|
+
```json
|
|
158
|
+
{
|
|
159
|
+
"profile": "default",
|
|
160
|
+
"language": "es",
|
|
161
|
+
"experience": "intermediate",
|
|
162
|
+
"workflow": {
|
|
163
|
+
"auto-commit": false,
|
|
164
|
+
"auto-tests": true,
|
|
165
|
+
"parallel-agents": true,
|
|
166
|
+
"default-flow": "standard"
|
|
167
|
+
},
|
|
168
|
+
"integrations": {
|
|
169
|
+
"context7": true,
|
|
170
|
+
"21st-dev": true,
|
|
171
|
+
"git-hooks": false
|
|
172
|
+
},
|
|
173
|
+
"output": {
|
|
174
|
+
"verbosity": "normal",
|
|
175
|
+
"colors": true,
|
|
176
|
+
"diagrams": "mermaid"
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Integración
|
|
182
|
+
|
|
183
|
+
- Profiles con `/elsabro:set-profile`
|
|
184
|
+
- Affects all ELSABRO commands
|
|
185
|
+
- Project-level config in `.elsabro/`
|