context-first-cli 2.1.6 → 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.
Files changed (76) hide show
  1. package/dist/commands/feature.d.ts.map +1 -1
  2. package/dist/commands/feature.js +21 -2
  3. package/dist/commands/feature.js.map +1 -1
  4. package/dist/templates/commands/en/engineer/plan.md +48 -10
  5. package/dist/templates/commands/en/engineer/pr.md +46 -8
  6. package/dist/templates/commands/en/engineer/pre-pr.md +49 -11
  7. package/dist/templates/commands/en/engineer/start.md +60 -23
  8. package/dist/templates/commands/en/engineer/work.md +45 -7
  9. package/dist/templates/commands/en/products/check.md +48 -11
  10. package/dist/templates/commands/en/products/collect.md +51 -14
  11. package/dist/templates/commands/en/products/refine.md +64 -26
  12. package/dist/templates/commands/en/products/spec.md +42 -5
  13. package/dist/templates/commands/en/quality/metrics.md +51 -14
  14. package/dist/templates/commands/en/quality/observe.md +44 -6
  15. package/dist/templates/commands/en/warm-up.md +56 -19
  16. package/dist/templates/commands/es/engineer/plan.md +60 -22
  17. package/dist/templates/commands/es/engineer/pr.md +47 -9
  18. package/dist/templates/commands/es/engineer/pre-pr.md +59 -21
  19. package/dist/templates/commands/es/engineer/start.md +52 -15
  20. package/dist/templates/commands/es/engineer/work.md +91 -53
  21. package/dist/templates/commands/es/products/check.md +48 -10
  22. package/dist/templates/commands/es/products/collect.md +55 -18
  23. package/dist/templates/commands/es/products/refine.md +100 -62
  24. package/dist/templates/commands/es/products/spec.md +63 -26
  25. package/dist/templates/commands/es/quality/metrics.md +43 -5
  26. package/dist/templates/commands/es/quality/observe.md +42 -5
  27. package/dist/templates/commands/es/warm-up.md +45 -7
  28. package/dist/templates/commands/pt-BR/engineer/plan.md +38 -0
  29. package/dist/templates/commands/pt-BR/engineer/pr.md +38 -0
  30. package/dist/templates/commands/pt-BR/engineer/pre-pr.md +38 -0
  31. package/dist/templates/commands/pt-BR/engineer/start.md +38 -0
  32. package/dist/templates/commands/pt-BR/engineer/work.md +38 -0
  33. package/dist/templates/commands/pt-BR/products/check.md +38 -0
  34. package/dist/templates/commands/pt-BR/products/collect.md +38 -0
  35. package/dist/templates/commands/pt-BR/products/refine.md +38 -0
  36. package/dist/templates/commands/pt-BR/products/spec.md +38 -0
  37. package/dist/templates/commands/pt-BR/quality/metrics.md +38 -0
  38. package/dist/templates/commands/pt-BR/quality/observe.md +38 -0
  39. package/dist/templates/commands/pt-BR/warm-up.md +38 -0
  40. package/package.json +1 -1
  41. package/templates/commands/en/engineer/plan.md +48 -10
  42. package/templates/commands/en/engineer/pr.md +46 -8
  43. package/templates/commands/en/engineer/pre-pr.md +49 -11
  44. package/templates/commands/en/engineer/start.md +60 -23
  45. package/templates/commands/en/engineer/work.md +45 -7
  46. package/templates/commands/en/products/check.md +48 -11
  47. package/templates/commands/en/products/collect.md +51 -14
  48. package/templates/commands/en/products/refine.md +64 -26
  49. package/templates/commands/en/products/spec.md +42 -5
  50. package/templates/commands/en/quality/metrics.md +51 -14
  51. package/templates/commands/en/quality/observe.md +44 -6
  52. package/templates/commands/en/warm-up.md +56 -19
  53. package/templates/commands/es/engineer/plan.md +60 -22
  54. package/templates/commands/es/engineer/pr.md +47 -9
  55. package/templates/commands/es/engineer/pre-pr.md +59 -21
  56. package/templates/commands/es/engineer/start.md +52 -15
  57. package/templates/commands/es/engineer/work.md +91 -53
  58. package/templates/commands/es/products/check.md +48 -10
  59. package/templates/commands/es/products/collect.md +55 -18
  60. package/templates/commands/es/products/refine.md +100 -62
  61. package/templates/commands/es/products/spec.md +63 -26
  62. package/templates/commands/es/quality/metrics.md +43 -5
  63. package/templates/commands/es/quality/observe.md +42 -5
  64. package/templates/commands/es/warm-up.md +45 -7
  65. package/templates/commands/pt-BR/engineer/plan.md +38 -0
  66. package/templates/commands/pt-BR/engineer/pr.md +38 -0
  67. package/templates/commands/pt-BR/engineer/pre-pr.md +38 -0
  68. package/templates/commands/pt-BR/engineer/start.md +38 -0
  69. package/templates/commands/pt-BR/engineer/work.md +38 -0
  70. package/templates/commands/pt-BR/products/check.md +38 -0
  71. package/templates/commands/pt-BR/products/collect.md +38 -0
  72. package/templates/commands/pt-BR/products/refine.md +38 -0
  73. package/templates/commands/pt-BR/products/spec.md +38 -0
  74. package/templates/commands/pt-BR/quality/metrics.md +38 -0
  75. package/templates/commands/pt-BR/quality/observe.md +38 -0
  76. package/templates/commands/pt-BR/warm-up.md +38 -0
@@ -11,6 +11,43 @@ Measure and document the quality of the implementation through objective metrics
11
11
  - Performance
12
12
  - Compliance with standards
13
13
 
14
+ ## 📋 Project Configuration
15
+
16
+ **⚠️ IMPORTANT: Always read the project configuration files BEFORE running this command!**
17
+
18
+ ### Required Files
19
+
20
+ 1. **`context-manifest.json`** (orchestrator root)
21
+ - List of project repositories
22
+ - Roles of each repository (metaspecs, application, etc.)
23
+ - URLs and dependencies between repositories
24
+
25
+ 2. **`ai.properties.md`** (orchestrator root)
26
+ - Project settings (`project_name`, `base_path`)
27
+ - Task management system (`task_management_system`)
28
+ - Credentials and specific configurations
29
+
30
+ ### How to Read
31
+
32
+ ```bash
33
+ # 1. Read context-manifest.json
34
+ cat context-manifest.json
35
+
36
+ # 2. Read ai.properties.md
37
+ cat ai.properties.md
38
+ ```
39
+
40
+ ### Essential Information
41
+
42
+ After reading the files, you will have:
43
+ - ✅ Complete list of project repositories
44
+ - ✅ Location of the metaspecs repository
45
+ - ✅ Base path to locate repositories
46
+ - ✅ Configured task management system
47
+ - ✅ Project-specific configurations
48
+
49
+ **🛑 DO NOT proceed without reading these files!** They contain critical information for the correct execution of the command.
50
+
14
51
  ## 📋 Prerequisites
15
52
 
16
53
  - Implementation completed (after `/work`)
@@ -57,14 +94,14 @@ Document:
57
94
 
58
95
  ### 2. Code Complexity
59
96
 
60
- Analyze the cyclomatic complexity of the modified files:
97
+ Analyze the cyclomatic complexity of modified files:
61
98
 
62
99
  ```markdown
63
100
  ## Code Complexity
64
101
 
65
102
  ### Files with High Complexity
66
- - **arquivo1.ts**: Complexity 15 (recommended: < 10)
67
- - **arquivo2.ts**: Complexity 12
103
+ - **file1.ts**: Complexity 15 (recommended: < 10)
104
+ - **file2.ts**: Complexity 12
68
105
 
69
106
  ### Recommendations
70
107
  - [Refactoring suggestion 1]
@@ -163,12 +200,12 @@ Identify technical debt introduced or resolved:
163
200
  ```markdown
164
201
  ## Technical Debt
165
202
 
166
- ### Introduced Debt
203
+ ### Debt Introduced
167
204
  - **Item 1**: [Description and justification]
168
205
  - Severity: High / Medium / Low
169
206
  - Resolution plan: [when and how to resolve]
170
207
 
171
- ### Resolved Debt
208
+ ### Debt Resolved
172
209
  - **Item 1**: [What was resolved]
173
210
  - Impact: [improvement achieved]
174
211
  ```
@@ -185,7 +222,7 @@ Create `./.sessions/<ISSUE-ID>/metrics.md`:
185
222
 
186
223
  ## Executive Summary
187
224
 
188
- - **Test Coverage**: X% (target: Y%)
225
+ - **Test Coverage**: X% (goal: Y%)
189
226
  - **Code Quality**: ✅ / ⚠️ / ❌
190
227
  - **Performance**: ✅ / ⚠️ / ❌
191
228
  - **Technical Debt**: Low / Medium / High
@@ -210,7 +247,7 @@ Create `./.sessions/<ISSUE-ID>/metrics.md`:
210
247
 
211
248
  ## Approval for Merge
212
249
 
213
- - [ ] Test coverage >= target
250
+ - [ ] Test coverage >= goal
214
251
  - [ ] No critical quality issues
215
252
  - [ ] Performance within requirements
216
253
  - [ ] Technical debt documented and approved
@@ -229,18 +266,18 @@ If the project has goals defined in metaspecs, validate:
229
266
  - **Performance**: < 100ms
230
267
 
231
268
  ### Status
232
- - Coverage: ✅ 85% (target: 80%)
233
- - Complexity: ⚠️ 12 (target: 10) - Justified
234
- - Performance: ✅ 85ms (target: 100ms)
269
+ - Coverage: ✅ 85% (goal: 80%)
270
+ - Complexity: ⚠️ 12 (goal: 10) - Justified
271
+ - Performance: ✅ 85ms (goal: 100ms)
235
272
  ```
236
273
 
237
274
  ## 🚨 Alerts
238
275
 
239
276
  If any metric is out of acceptable range:
240
- 1. 🛑 **DOCUMENT** the problem
277
+ 1. 🛑 **DOCUMENT** the issue
241
278
  2. 💬 **ALERT** the user
242
279
  3. 🔧 **PROPOSE** corrective actions
243
- 4. ⏸️ **CONSIDER** blocking the merge until resolved
280
+ 4. ⏸️ **CONSIDER** blocking the merge until resolution
244
281
 
245
282
  ---
246
283
 
@@ -252,11 +289,11 @@ If any metric is out of acceptable range:
252
289
 
253
290
  ---
254
291
 
255
- ## 🎯 Result
292
+ ## 🎯 Outcome
256
293
 
257
294
  After running this command, you will have:
258
295
  - Complete metrics report
259
296
  - Comparison with baseline and goals
260
297
  - Identification of quality issues
261
- - Recommended actions
298
+ - Recommendations for actions
262
299
  - Objective basis for merge approval
@@ -10,11 +10,49 @@ Create a structured record of technical and product decisions, ensuring:
10
10
  - **Audit**: Complete history of choices for future review
11
11
  - **Learning**: Documentation of trade-offs and alternatives considered
12
12
 
13
- **IMPORTANT**: This command does NOT generate new decisions. It only RECORDS decisions that have already been made during the development process.
13
+ **IMPORTANT**: This command DOES NOT generate new decisions. It only RECORDS decisions that have already been made during the development process.
14
+
15
+ ## 📋 Project Configuration
16
+
17
+ **⚠️ IMPORTANT: Always read the project configuration files BEFORE running this command!**
18
+
19
+ ### Required Files
20
+
21
+ 1. **`context-manifest.json`** (orchestrator root)
22
+ - List of project repositories
23
+ - Roles of each repository (metaspecs, application, etc.)
24
+ - URLs and dependencies between repositories
25
+
26
+ 2. **`ai.properties.md`** (orchestrator root)
27
+ - Project settings (`project_name`, `base_path`)
28
+ - Task management system (`task_management_system`)
29
+ - Credentials and specific configurations
30
+
31
+ ### How to Read
32
+
33
+ ```bash
34
+ # 1. Read context-manifest.json
35
+ cat context-manifest.json
36
+
37
+ # 2. Read ai.properties.md
38
+ cat ai.properties.md
39
+ ```
40
+
41
+ ### Essential Information
42
+
43
+ After reading the files, you will have:
44
+ - ✅ Complete list of project repositories
45
+ - ✅ Location of the metaspecs repository
46
+ - ✅ Base path to locate repositories
47
+ - ✅ Configured task management system
48
+ - ✅ Project-specific configurations
49
+
50
+ **🛑 DO NOT proceed without reading these files!** They contain critical information for the correct execution of the command.
51
+
14
52
 
15
53
  ## 📋 Prerequisites
16
54
 
17
- - You have run at least one of the commands that generate decisions:
55
+ - Have executed at least one of the commands that generate decisions:
18
56
  - `/spec` - generates PRD with product decisions
19
57
  - `/plan` - generates plan.md with technical decisions
20
58
  - `/work` - implementation generates decisions during development
@@ -47,9 +85,9 @@ Analyze the session files (`./.sessions/<ISSUE-ID>/`) to identify decisions:
47
85
  - Read `./.sessions/<ISSUE-ID>/work.md`
48
86
  - Identify decisions in:
49
87
  - Refactorings performed
50
- - Changes in approach
51
- - Optimizations applied
52
- - Handling of edge cases
88
+ - Approach changes
89
+ - Applied optimizations
90
+ - Edge case handling
53
91
 
54
92
  ### 2. Document Each Decision
55
93
 
@@ -145,7 +183,7 @@ For critical decisions, document the impact:
145
183
 
146
184
  Periodically review the decisions made:
147
185
  - Do they still make sense?
148
- - Were the trade-offs proven correct?
186
+ - Have the trade-offs proven correct?
149
187
  - Are there learnings to document?
150
188
  - Does any decision need to be reversed?
151
189
 
@@ -1,34 +1,71 @@
1
1
  # Warm-up - Context Loading
2
2
 
3
- This command prepares the environment by loading the complete context of the project and current workspace.
3
+ This command prepares the environment by loading the full context of the current project and workspace.
4
4
 
5
5
  ## 1. Identify Current Workspace
6
6
 
7
7
  Check if you are inside a workspace created by `context-cli`:
8
8
 
9
9
  ```bash
10
- # Check if you're in a workspace directory
10
+ # Check if you are in a workspace directory
11
11
  pwd
12
- # The workspace is usually at ~/workspaces/<ISSUE-ID>/
12
+ # The workspace is usually located at ~/workspaces/<ISSUE-ID>/
13
13
  ```
14
14
 
15
- If you're not in a workspace, ask the user which workspace to use or if you should create a new one with `feature:start`.
15
+ If you are not in a workspace, ask the user which workspace to use or if a new one should be created with `feature:start`.
16
+
17
+ ## 📋 Project Configuration
18
+
19
+ **⚠️ IMPORTANT: Always read the project configuration files BEFORE running this command!**
20
+
21
+ ### Required Files
22
+
23
+ 1. **`context-manifest.json`** (root of the orchestrator)
24
+ - List of project repositories
25
+ - Roles of each repository (metaspecs, application, etc.)
26
+ - URLs and dependencies between repositories
27
+
28
+ 2. **`ai.properties.md`** (root of the orchestrator)
29
+ - Project settings (`project_name`, `base_path`)
30
+ - Task management system (`task_management_system`)
31
+ - Credentials and specific configurations
32
+
33
+ ### How to Read
34
+
35
+ ```bash
36
+ # 1. Read context-manifest.json
37
+ cat context-manifest.json
38
+
39
+ # 2. Read ai.properties.md
40
+ cat ai.properties.md
41
+ ```
42
+
43
+ ### Essential Information
44
+
45
+ After reading the files, you will have:
46
+ - ✅ Complete list of project repositories
47
+ - ✅ Location of the metaspecs repository
48
+ - ✅ Base path to locate repositories
49
+ - ✅ Configured task management system
50
+ - ✅ Project-specific configurations
51
+
52
+ **🛑 DO NOT proceed without reading these files!** They contain critical information for the correct execution of the command.
16
53
 
17
54
  ## 2. Load Project Configuration
18
55
 
19
- You are already in the project's orchestrator (current repository root).
56
+ You are already in the project orchestrator (root of the current repository).
20
57
 
21
- 1. **Verify you're at the orchestrator root**: `pwd` should show the orchestrator directory
58
+ 1. **Verify you are at the orchestrator root**: `pwd` should show the orchestrator directory
22
59
  2. **Read the `context-manifest.json` file** at the orchestrator root
23
- 3. **Read the `ai.properties.md` file** to get local configurations (base_path, etc.)
60
+ 3. **Read the `ai.properties.md` file** to obtain local configurations (base_path, etc.)
24
61
 
25
62
  ## 3. Load Project Manifest
26
63
 
27
64
  Read the `context-manifest.json` from the orchestrator to understand:
28
65
  - Complete list of ecosystem repositories
29
- - MetaSpecs repository URL
66
+ - URL of the MetaSpecs repository
30
67
  - Dependencies between repositories
31
- - Role of each repository (application, library, service, specs-provider)
68
+ - Roles of each repository (application, library, service, specs-provider)
32
69
 
33
70
  ## 4. Load MetaSpecs
34
71
 
@@ -37,32 +74,32 @@ The MetaSpecs repository is **separate** and defined in `context-manifest.json`
37
74
  **Locate the metaspecs repository:**
38
75
 
39
76
  1. Read `context-manifest.json` and find the repository with `role: "metaspecs"`
40
- 2. Get the `id` of that repository (e.g., "my-project-metaspecs")
77
+ 2. Obtain the `id` of that repository (e.g., "my-project-metaspecs")
41
78
  3. Read `ai.properties.md` to get the `base_path`
42
- 4. The metaspecs repository is at: `{base_path}/{metaspecs-id}/`
79
+ 4. The metaspecs repository is located at: `{base_path}/{metaspecs-id}/`
43
80
 
44
81
  **Always read the index files first:**
45
82
 
46
83
  1. **`README.md`** - Project overview and documentation structure
47
84
  2. **`index.md`** (in root or subfolders) - Index of available specifications
48
85
 
49
- **Use the indexes as reference** to navigate to the specific specifications you need. Don't assume specific files exist - always consult the indexes first.
86
+ **Use the indexes as a reference** to navigate to the specific specifications you need. Do not assume specific files exist always consult the indexes first.
50
87
 
51
- ## 5. Load Current Session (if exists)
88
+ ## 5. Load Current Session (if any)
52
89
 
53
- Check if there's a saved session for this workspace:
90
+ Check if there is a saved session for this workspace:
54
91
 
55
92
  ```bash
56
- # Look for session in orchestrator
93
+ # Look for session in the orchestrator
57
94
  ls -la .sessions/<ISSUE-ID>/ 2>/dev/null
58
95
  ```
59
96
 
60
- If it exists, read the session files to recover the context from the last execution.
97
+ If it exists, read the session files to recover the context of the last execution.
61
98
 
62
99
  ## 6. Repository Context
63
100
 
64
101
  For each repository present in the workspace, read:
65
- - `README.md` - Repository purpose and overview
102
+ - `README.md` - Purpose and overview of the repository
66
103
  - Main configuration file (`package.json`, `pom.xml`, `requirements.txt`, etc.)
67
104
 
68
105
  ## 7. Smart Navigation
@@ -71,7 +108,7 @@ For each repository present in the workspace, read:
71
108
  - **Documentation**: Use MetaSpecs indexes as reference
72
109
  - **Wait for Instructions**: DO NOT read other files now. Wait for the next command.
73
110
 
74
- ## 8. Jidoka Principle (Stop When Detecting Problems)
111
+ ## 8. Jidoka Principle (Stop Upon Detecting Problems)
75
112
 
76
113
  If you detect misalignment, conflicts, or problems:
77
114
  1. 🛑 **STOP** immediately
@@ -82,4 +119,4 @@ If you detect misalignment, conflicts, or problems:
82
119
 
83
120
  **Provided arguments**: #$ARGUMENTS
84
121
 
85
- **Status**: Context loaded. Waiting for next command.
122
+ **Status**: Context loaded. Awaiting next command.
@@ -1,20 +1,58 @@
1
1
  # Planificación Técnica
2
2
 
3
- Este comando crea el plan técnico detallado para la implementación de la feature.
3
+ Este comando crea el plan técnico detallado para la implementación de la funcionalidad.
4
4
 
5
- ## 📋 Prerrequisitos
5
+ ## 📋 Requisitos Previos
6
6
 
7
7
  - PRD creado vía `/spec`
8
- - Análisis inicial hecho vía `/start`
8
+ - Análisis inicial realizado vía `/start`
9
9
  - Archivos `context.md` y `architecture.md` creados y aprobados
10
10
 
11
+ ## 📋 Configuración del Proyecto
12
+
13
+ **⚠️ IMPORTANTE: ¡Siempre lea los archivos de configuración del proyecto ANTES de ejecutar este comando!**
14
+
15
+ ### Archivos Obligatorios
16
+
17
+ 1. **`context-manifest.json`** (raíz del orquestador)
18
+ - Lista de repositorios del proyecto
19
+ - Roles de cada repositorio (metaspecs, application, etc.)
20
+ - URLs y dependencias entre repositorios
21
+
22
+ 2. **`ai.properties.md`** (raíz del orquestador)
23
+ - Configuraciones del proyecto (`project_name`, `base_path`)
24
+ - Sistema de gestión de tareas (`task_management_system`)
25
+ - Credenciales y configuraciones específicas
26
+
27
+ ### Cómo Leer
28
+
29
+ ```bash
30
+ # 1. Leer context-manifest.json
31
+ cat context-manifest.json
32
+
33
+ # 2. Leer ai.properties.md
34
+ cat ai.properties.md
35
+ ```
36
+
37
+ ### Información Esencial
38
+
39
+ Después de leer los archivos, tendrás:
40
+ - ✅ Lista completa de repositorios del proyecto
41
+ - ✅ Ubicación del repositorio de metaspecs
42
+ - ✅ Base path para localizar repositorios
43
+ - ✅ Sistema de gestión de tareas configurado
44
+ - ✅ Configuraciones específicas del proyecto
45
+
46
+ **🛑 NO continúe sin leer estos archivos!** Contienen información crítica para la correcta ejecución del comando.
47
+
48
+
11
49
  ## 📍 IMPORTANTE: Entienda la Estructura
12
50
 
13
51
  **Workspace**:
14
52
  ```
15
53
  <orchestrator>/.sessions/<ISSUE-ID>/
16
- ├── repo-1/ # worktree (será usado no /work)
17
- ├── repo-2/ # worktree (será usado no /work)
54
+ ├── repo-1/ # worktree (se usará en /work)
55
+ ├── repo-2/ # worktree (se usará en /work)
18
56
  ├── context.md # contexto (inmutable - LEER)
19
57
  ├── architecture.md # arquitectura (inmutable - LEER)
20
58
  └── plan.md # plan (mutable - CREAR)
@@ -29,7 +67,7 @@ Este comando crea el plan técnico detallado para la implementación de la featu
29
67
  **REGLA DE ORO**:
30
68
  - ✅ Lea `context.md` y `architecture.md` (inmutables)
31
69
  - ✅ Cree `plan.md` en `.sessions/<ISSUE-ID>/`
32
- - ✅ Lea código de los repositorios principales (read-only)
70
+ - ✅ Lea código de los repositorios principales (solo lectura)
33
71
  - ❌ NUNCA haga checkout en los repositorios principales
34
72
  - ❌ NUNCA modifique `context.md` o `architecture.md`
35
73
 
@@ -38,17 +76,17 @@ Este comando crea el plan técnico detallado para la implementación de la featu
38
76
  **Este comando debe LEER pero NO MODIFICAR:**
39
77
  - ✅ **LEER** `.sessions/<ISSUE-ID>/context.md` (inmutable)
40
78
  - ✅ **LEER** `.sessions/<ISSUE-ID>/architecture.md` (inmutable)
41
- - ✅ **CREAR** `.sessions/<ISSUE-ID>/plan.md` (mutable - será actualizado durante `/work`)
79
+ - ✅ **CREAR** `.sessions/<ISSUE-ID>/plan.md` (mutable - se actualizará durante `/work`)
42
80
  - ❌ **NO modificar `context.md` o `architecture.md`**
43
81
 
44
82
  ## 📚 Cargar MetaSpecs
45
83
 
46
84
  **Localizar MetaSpecs automáticamente**:
47
- 1. Lea `context-manifest.json` del orchestrator
85
+ 1. Lea `context-manifest.json` del orquestador
48
86
  2. Encuentre el repositorio con `"role": "metaspecs"`
49
87
  3. Lea `ai.properties.md` para obtener el `base_path`
50
88
  4. El metaspecs está en: `{base_path}/{metaspecs-repo-id}/`
51
- 5. Lea los archivos `index.md` relevantes para garantizar conformidad con:
89
+ 5. Lea los archivos `index.md` relevantes para asegurar conformidad con:
52
90
  - Arquitectura del sistema
53
91
  - Patrones de diseño y código
54
92
  - Estructura de carpetas y archivos
@@ -63,14 +101,14 @@ Crear un plan técnico detallado que guiará la implementación, dividiendo el t
63
101
  ### 1. Visión General Técnica
64
102
 
65
103
  ```markdown
66
- # Plan Técnico - [Título de la Feature]
104
+ # Plan Técnico - [Título de la Funcionalidad]
67
105
 
68
106
  ## Resumen
69
107
  [Breve descripción técnica de lo que se implementará]
70
108
 
71
109
  ## Repositorios Involucrados
72
- - **<repo-1>**: [Papel en esta feature]
73
- - **<repo-2>**: [Papel en esta feature]
110
+ - **<repo-1>**: [Rol en esta funcionalidad]
111
+ - **<repo-2>**: [Rol en esta funcionalidad]
74
112
 
75
113
  ## Enfoque Técnico
76
114
  [Estrategia general de implementación]
@@ -82,7 +120,7 @@ Crear un plan técnico detallado que guiará la implementación, dividiendo el t
82
120
  ## Arquitectura
83
121
 
84
122
  ### Diagrama de Componentes
85
- [Descripción textual o ASCII art de los componentes y sus relaciones]
123
+ [Descripción textual o arte ASCII de los componentes y sus relaciones]
86
124
 
87
125
  ### Flujo de Datos
88
126
  1. [Paso 1 del flujo]
@@ -91,7 +129,7 @@ Crear un plan técnico detallado que guiará la implementación, dividiendo el t
91
129
 
92
130
  ### Integraciones
93
131
  - **<repo-1> → <repo-2>**: [Cómo se comunican]
94
- - **Sistema → API Externa**: [Si hay]
132
+ - **Sistema → API Externa**: [Si aplica]
95
133
  ```
96
134
 
97
135
  ### 3. Decisiones Técnicas
@@ -108,7 +146,7 @@ Crear un plan técnico detallado que guiará la implementación, dividiendo el t
108
146
  **Justificación**: [Por qué elegimos esta opción]
109
147
 
110
148
  ### Decisión 2: [Título]
111
- [Mismo formato arriba]
149
+ [Mismo formato anterior]
112
150
  ```
113
151
 
114
152
  ### 4. Plan de Implementación
@@ -137,10 +175,10 @@ Divida el trabajo en unidades pequeñas y secuenciales:
137
175
  - **Estimación**: [tiempo estimado]
138
176
 
139
177
  ### Fase 2: [Nombre de la Fase]
140
- [Mismo formato arriba]
178
+ [Mismo formato anterior]
141
179
 
142
180
  ### Fase 3: [Nombre de la Fase]
143
- [Mismo formato arriba]
181
+ [Mismo formato anterior]
144
182
  ```
145
183
 
146
184
  ### 5. Estructura de Archivos
@@ -233,7 +271,7 @@ src/
233
271
  - **Plan B**: [Alternativa si ocurre]
234
272
 
235
273
  ### Riesgo 2: [Descripción]
236
- [Mismo formato arriba]
274
+ [Mismo formato anterior]
237
275
  ```
238
276
 
239
277
  ### 9. Checklist de Implementación
@@ -272,9 +310,9 @@ Guarde en `./.sessions/<ISSUE-ID>/plan.md`
272
310
  Revise el plan verificando:
273
311
  - Todas las tareas están claras y ejecutables
274
312
  - Dependencias entre tareas están identificadas
275
- - Estimaciones son realistas
276
- - Riesgos fueron considerados
277
- - Estrategia de pruebas es adecuada
313
+ - Las estimaciones son realistas
314
+ - Los riesgos fueron considerados
315
+ - La estrategia de pruebas es adecuada
278
316
 
279
317
  ---
280
318
 
@@ -288,7 +326,7 @@ Revise el plan verificando:
288
326
 
289
327
  ## 🎯 Próximo Paso
290
328
 
291
- Tras la aprobación del plan:
329
+ Después de la aprobación del plan:
292
330
 
293
331
  ```bash
294
332
  /work
@@ -2,7 +2,7 @@
2
2
 
3
3
  Este comando crea Pull Requests para todos los repositorios modificados en el workspace.
4
4
 
5
- ## 📋 Requisitos previos
5
+ ## 📋 Requisitos Previos
6
6
 
7
7
  Antes de crear PRs, asegúrate de que:
8
8
  - Ejecutaste `/pre-pr` y todas las validaciones pasaron
@@ -10,9 +10,47 @@ Antes de crear PRs, asegúrate de que:
10
10
  - Todas las pruebas están pasando
11
11
  - La documentación está actualizada
12
12
 
13
+ ## 📋 Configuración del Proyecto
14
+
15
+ **⚠️ IMPORTANTE: ¡Siempre lee los archivos de configuración del proyecto ANTES de ejecutar este comando!**
16
+
17
+ ### Archivos Obligatorios
18
+
19
+ 1. **`context-manifest.json`** (raíz del orchestrator)
20
+ - Lista de repositorios del proyecto
21
+ - Roles de cada repositorio (metaspecs, application, etc.)
22
+ - URLs y dependencias entre repositorios
23
+
24
+ 2. **`ai.properties.md`** (raíz del orchestrator)
25
+ - Configuraciones del proyecto (`project_name`, `base_path`)
26
+ - Sistema de gestión de tareas (`task_management_system`)
27
+ - Credenciales y configuraciones específicas
28
+
29
+ ### Cómo Leer
30
+
31
+ ```bash
32
+ # 1. Leer context-manifest.json
33
+ cat context-manifest.json
34
+
35
+ # 2. Leer ai.properties.md
36
+ cat ai.properties.md
37
+ ```
38
+
39
+ ### Información Esencial
40
+
41
+ Después de leer los archivos, tendrás:
42
+ - ✅ Lista completa de repositorios del proyecto
43
+ - ✅ Ubicación del repositorio de metaspecs
44
+ - ✅ Base path para localizar repositorios
45
+ - ✅ Sistema de gestión de tareas configurado
46
+ - ✅ Configuraciones específicas del proyecto
47
+
48
+ **🛑 NO continúes sin leer estos archivos!** ¡Contienen información crítica para la correcta ejecución del comando!
49
+
50
+
13
51
  ## 🛑 CRÍTICO: DÓNDE TRABAJAR
14
52
 
15
- **⚠️ ATENCIÓN: Si necesitas hacer ajustes de última hora, ¡TODO EL CÓDIGO DEBE SER CREADO DENTRO DEL WORKTREE!**
53
+ **⚠️ ATENCIÓN: Si necesitas hacer ajustes de última hora, TODO EL CÓDIGO DEBE SER CREADO DENTRO DEL WORKTREE!**
16
54
 
17
55
  **✅ CORRECTO** - Trabajar dentro del worktree:
18
56
  ```
@@ -41,7 +79,7 @@ Para cada repositorio en el workspace, verifica:
41
79
  ```bash
42
80
  cd <repositorio>
43
81
  git status
44
- git log origin/main..HEAD # Ver commits no pushados
82
+ git log origin/main..HEAD # Ver commits no pusheados
45
83
  ```
46
84
 
47
85
  ### 2. Push de las Branches
@@ -54,7 +92,7 @@ git push origin <branch-name>
54
92
 
55
93
  ### 3. Crear Pull Requests
56
94
 
57
- Para cada repositorio, crea un PR usando el GitHub CLI o la interfaz web:
95
+ Para cada repositorio, crea un PR usando GitHub CLI o interfaz web:
58
96
 
59
97
  **Usando GitHub CLI**:
60
98
  ```bash
@@ -93,7 +131,7 @@ gh pr create --title "[ISSUE-ID] Título de la Feature" \
93
131
  - [ ] Pruebas de integración pasando
94
132
  - [ ] Documentación actualizada
95
133
  - [ ] Sin breaking changes (o documentados)
96
- - [ ] Revisado por pares (tras creación del PR)
134
+ - [ ] Revisado por pares (después de crear el PR)
97
135
 
98
136
  ## 🧪 Cómo Probar
99
137
 
@@ -101,9 +139,9 @@ gh pr create --title "[ISSUE-ID] Título de la Feature" \
101
139
  2. [Paso 2]
102
140
  3. [Resultado esperado]
103
141
 
104
- ## 📸 Capturas/Demos
142
+ ## 📸 Screenshots/Demos
105
143
 
106
- [Si aplica, añade capturas o enlaces a demos]
144
+ [Si aplica, añade capturas de pantalla o enlaces a demos]
107
145
 
108
146
  ## 🔍 Notas para Revisores
109
147
 
@@ -135,12 +173,12 @@ Actualiza `./.sessions/<ISSUE-ID>/pr.md`:
135
173
  ## PRs Creados
136
174
 
137
175
  ### <repo-1>
138
- - **Enlace**: <URL del PR>
176
+ - **Link**: <URL del PR>
139
177
  - **Estado**: Abierto
140
178
  - **Commits**: X commits
141
179
 
142
180
  ### <repo-2>
143
- - **Enlace**: <URL del PR>
181
+ - **Link**: <URL del PR>
144
182
  - **Estado**: Abierto
145
183
  - **Commits**: Y commits
146
184