siesa-agents 2.1.42 → 2.1.44
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/bmad/bmm/workflows/3-solutioning/create-architecture/data/company-standards/architecture-patterns.md +5 -5
- package/bmad/bmm/workflows/3-solutioning/create-architecture/data/company-standards/backend-standards.md +1 -1
- package/bmad/bmm/workflows/3-solutioning/create-architecture/data/company-standards/technology-stack.md +3 -3
- package/bmad/bmm/workflows/5-documentation/README.md +234 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/data/audience-types.csv +5 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/data/diagram-types.csv +6 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/data/section-structure.csv +10 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-01-init.md +313 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-01b-continue.md +268 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-02-seleccion-epicas.md +212 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-03-analisis-fuentes.md +308 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-04-elicitacion.md +332 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-05-generacion-espanol.md +608 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-06-traduccion-ingles.md +607 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-07-validacion-guardado.md +549 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/templates/user-guide-template-en.md +50 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/templates/user-guide-template-es.md +50 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/workflow-plan-create-user-guide.md +949 -0
- package/bmad/bmm/workflows/5-documentation/create-user-guide/workflow.md +61 -0
- package/claude/commands/bmad/bmm/workflows/create-user-guide.md +5 -0
- package/gemini/commands/bmad-workflow-bmm-create-user-guide.toml +4 -0
- package/package.json +1 -1
package/bmad/bmm/workflows/5-documentation/create-user-guide/steps/step-03-analisis-fuentes.md
ADDED
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-03-analisis-fuentes'
|
|
3
|
+
description: 'Analyze source artifacts (PRDs, epics, architecture) to extract context for user guide'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/5-documentation/create-user-guide'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-03-analisis-fuentes.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-04-elicitacion.md'
|
|
11
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
+
outputFileSpanish: '{output_folder}/documentation-artifacts/user-guide/es/{audience}-guide.md'
|
|
13
|
+
|
|
14
|
+
# Task References
|
|
15
|
+
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
|
|
16
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
17
|
+
|
|
18
|
+
# Config
|
|
19
|
+
bmmConfig: '{project-root}/_bmad/bmm/config.yaml'
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Step 3: Análisis de Fuentes
|
|
23
|
+
|
|
24
|
+
## STEP GOAL:
|
|
25
|
+
|
|
26
|
+
Leer y analizar todos los artefactos de documentación del proyecto (PRDs, épicas seleccionadas, arquitectura, workflows) para extraer información clave que se utilizará en la generación de la guía de usuario. Este es un step autónomo donde el agente trabaja sin requerir input constante del usuario.
|
|
27
|
+
|
|
28
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
29
|
+
|
|
30
|
+
### Universal Rules:
|
|
31
|
+
|
|
32
|
+
- 🛑 NEVER generate content without user input
|
|
33
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
34
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
35
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
36
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
37
|
+
|
|
38
|
+
### Role Reinforcement:
|
|
39
|
+
|
|
40
|
+
- ✅ You are a technical writer and documentation analyst
|
|
41
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
42
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
43
|
+
- ✅ You bring analytical and synthesis skills, user brings project artifacts
|
|
44
|
+
- ✅ Maintain collaborative professional tone throughout
|
|
45
|
+
|
|
46
|
+
### Step-Specific Rules:
|
|
47
|
+
|
|
48
|
+
- 🎯 Focus ONLY on reading and analyzing artifacts (INTENT-BASED execution)
|
|
49
|
+
- 🚫 FORBIDDEN to generate user guide content yet (that happens in step-05)
|
|
50
|
+
- 💬 Work autonomously but provide progress updates
|
|
51
|
+
- 📊 Extract key information: features, user roles, workflows, concepts
|
|
52
|
+
|
|
53
|
+
## EXECUTION PROTOCOLS:
|
|
54
|
+
|
|
55
|
+
- 🎯 Read all selected artifacts completely
|
|
56
|
+
- 💾 Append "## Contexto del Proyecto" section to outputFile
|
|
57
|
+
- 📖 Set `stepsCompleted: [1, 2, 3]` before loading next step
|
|
58
|
+
- 🚫 FORBIDDEN to skip artifact reading
|
|
59
|
+
|
|
60
|
+
## CONTEXT BOUNDARIES:
|
|
61
|
+
|
|
62
|
+
- Epics selected in step-02 (from frontmatter.epics_selected)
|
|
63
|
+
- Target audience from frontmatter.target_audience
|
|
64
|
+
- This is autonomous work - minimal user interaction
|
|
65
|
+
- Information extracted here feeds into step-04 and step-05
|
|
66
|
+
|
|
67
|
+
## EXECUTION APPROACH (INTENT-BASED):
|
|
68
|
+
|
|
69
|
+
This step uses INTENT-BASED execution. You have flexibility in HOW you analyze, but must accomplish the GOAL of extracting comprehensive project context.
|
|
70
|
+
|
|
71
|
+
### Core Analysis Goals:
|
|
72
|
+
|
|
73
|
+
1. **Understand the Product:**
|
|
74
|
+
- What is the system/application about?
|
|
75
|
+
- What problem does it solve?
|
|
76
|
+
- Who are the users?
|
|
77
|
+
|
|
78
|
+
2. **Identify Key Features:**
|
|
79
|
+
- What are the main functionalities?
|
|
80
|
+
- Which features are documented in the selected epics?
|
|
81
|
+
- What acceptance criteria exist?
|
|
82
|
+
|
|
83
|
+
3. **Map User Workflows:**
|
|
84
|
+
- What are the common user journeys?
|
|
85
|
+
- What processes do users follow?
|
|
86
|
+
- What are the critical paths?
|
|
87
|
+
|
|
88
|
+
4. **Extract Technical Context:**
|
|
89
|
+
- What is the architecture?
|
|
90
|
+
- What are the key components?
|
|
91
|
+
- What technologies are used?
|
|
92
|
+
|
|
93
|
+
5. **Understand User Roles:**
|
|
94
|
+
- What types of users exist?
|
|
95
|
+
- What permissions/capabilities do they have?
|
|
96
|
+
- How do roles differ?
|
|
97
|
+
|
|
98
|
+
## EXECUTION SEQUENCE:
|
|
99
|
+
|
|
100
|
+
### 1. Announce Analysis Start
|
|
101
|
+
|
|
102
|
+
"🔍 **Iniciando Análisis de Documentación**
|
|
103
|
+
|
|
104
|
+
Voy a leer y analizar todos los artefactos del proyecto para extraer la información necesaria para tu guía de usuario.
|
|
105
|
+
|
|
106
|
+
**Artefactos a analizar:**
|
|
107
|
+
- PRD documents (goals, requirements, UI design)
|
|
108
|
+
- {count} épicas seleccionadas
|
|
109
|
+
- Architecture documentation
|
|
110
|
+
- Workflow documentation (si existe)
|
|
111
|
+
|
|
112
|
+
Esto puede tomar un momento. Te mantendré informado del progreso..."
|
|
113
|
+
|
|
114
|
+
### 2. Discover and Read PRD Documents
|
|
115
|
+
|
|
116
|
+
**Scan locations (in priority order):**
|
|
117
|
+
|
|
118
|
+
- `{planning_artifacts}/goals-and-background-context.md`
|
|
119
|
+
- `{planning_artifacts}/requirements.md`
|
|
120
|
+
- `{planning_artifacts}/user-interface-design-goals.md`
|
|
121
|
+
|
|
122
|
+
**For each PRD found:**
|
|
123
|
+
- Read complete file
|
|
124
|
+
- Extract: system purpose, goals, target users, key requirements
|
|
125
|
+
- Add to frontmatter.source_artifacts.prd_docs
|
|
126
|
+
|
|
127
|
+
**Progress update:**
|
|
128
|
+
"✓ PRD analysis completado - {count} documentos leídos"
|
|
129
|
+
|
|
130
|
+
### 3. Read Selected Epics from Consolidated File
|
|
131
|
+
|
|
132
|
+
**Load consolidated epics file:**
|
|
133
|
+
- Read complete epics.md file from frontmatter.source_artifacts.epics_file
|
|
134
|
+
- Parse file to locate each epic section (identified by H3 headers: `### Epic X:`)
|
|
135
|
+
- For each epic number in frontmatter.epics_selected:
|
|
136
|
+
- Extract the complete epic section (from its H3 header to the next epic's H3 header or end of file)
|
|
137
|
+
- Parse within that section:
|
|
138
|
+
- Epic title and description
|
|
139
|
+
- User stories with acceptance criteria
|
|
140
|
+
- Features described
|
|
141
|
+
- User workflows/journeys
|
|
142
|
+
- Technical requirements
|
|
143
|
+
- Compile comprehensive list of features and their sources
|
|
144
|
+
|
|
145
|
+
**Progress update:**
|
|
146
|
+
"✓ Epic analysis completado - {count} épicas procesadas desde archivo consolidado, {features_count} features identificadas"
|
|
147
|
+
|
|
148
|
+
### 4. Read Architecture Documentation
|
|
149
|
+
|
|
150
|
+
**Scan locations:**
|
|
151
|
+
|
|
152
|
+
- `{planning_artifacts}/core-workflows.md`
|
|
153
|
+
- `{planning_artifacts}/components.md`
|
|
154
|
+
- `{planning_artifacts}/architecture-*.md`
|
|
155
|
+
|
|
156
|
+
**For each architecture doc found:**
|
|
157
|
+
- Read complete file
|
|
158
|
+
- Extract: system workflows, component structure, technical stack
|
|
159
|
+
- Add to frontmatter.source_artifacts.architecture_docs
|
|
160
|
+
|
|
161
|
+
**Progress update:**
|
|
162
|
+
"✓ Architecture analysis completado"
|
|
163
|
+
|
|
164
|
+
### 5. Read Workflow Documentation (Optional)
|
|
165
|
+
|
|
166
|
+
**If core-workflows.md exists:**
|
|
167
|
+
- Read complete file
|
|
168
|
+
- Extract: detailed user workflows, step-by-step processes
|
|
169
|
+
- Add to frontmatter.source_artifacts.workflow_docs
|
|
170
|
+
|
|
171
|
+
### 6. Synthesize Project Context
|
|
172
|
+
|
|
173
|
+
Create a synthesis of analyzed information:
|
|
174
|
+
|
|
175
|
+
**Key Information Extracted:**
|
|
176
|
+
- System name and purpose
|
|
177
|
+
- Target users and roles
|
|
178
|
+
- Core features (with epic/story references)
|
|
179
|
+
- Main user workflows
|
|
180
|
+
- Technical architecture overview
|
|
181
|
+
- UI components (if documented)
|
|
182
|
+
|
|
183
|
+
### 7. Append Context Section to Output
|
|
184
|
+
|
|
185
|
+
Append to `{outputFileSpanish}` after the frontmatter:
|
|
186
|
+
|
|
187
|
+
```markdown
|
|
188
|
+
## Contexto del Proyecto
|
|
189
|
+
|
|
190
|
+
### Propósito del Sistema
|
|
191
|
+
|
|
192
|
+
[Brief description from PRD goals]
|
|
193
|
+
|
|
194
|
+
### Usuarios Objetivo
|
|
195
|
+
|
|
196
|
+
[User types and roles from PRD and epics]
|
|
197
|
+
|
|
198
|
+
### Funcionalidades Principales Identificadas
|
|
199
|
+
|
|
200
|
+
Las siguientes funcionalidades han sido identificadas desde la documentación del proyecto:
|
|
201
|
+
|
|
202
|
+
{for each feature}
|
|
203
|
+
- **{Feature Name}** [Source: Epic {number} Story {number}]
|
|
204
|
+
Brief description if available
|
|
205
|
+
{end for}
|
|
206
|
+
|
|
207
|
+
**Total:** {features_count} funcionalidades identificadas para documentar
|
|
208
|
+
|
|
209
|
+
### Workflows Identificados
|
|
210
|
+
|
|
211
|
+
{for each workflow}
|
|
212
|
+
- **{Workflow Name}** [Source: {source}]
|
|
213
|
+
Brief description
|
|
214
|
+
{end for}
|
|
215
|
+
|
|
216
|
+
**Nota:** Los detalles completos de cada funcionalidad y workflow se documentarán en las secciones siguientes de esta guía.
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### 8. Update Frontmatter
|
|
222
|
+
|
|
223
|
+
Update frontmatter with discovered information:
|
|
224
|
+
|
|
225
|
+
```yaml
|
|
226
|
+
source_artifacts:
|
|
227
|
+
prd_docs: [list of PRD files read]
|
|
228
|
+
epics_file: "path/to/epics.md" # Single consolidated epics file
|
|
229
|
+
architecture_docs: [list of architecture files read]
|
|
230
|
+
workflow_docs: [list of workflow files read]
|
|
231
|
+
|
|
232
|
+
# Preliminary counts (will be updated in step-05)
|
|
233
|
+
features_documented: 0 # Will be populated during generation
|
|
234
|
+
workflows_documented: 0 # Will be populated during generation
|
|
235
|
+
```
|
|
236
|
+
|
|
237
|
+
### 9. Analysis Complete Message
|
|
238
|
+
|
|
239
|
+
"✅ **Análisis de Documentación Completado**
|
|
240
|
+
|
|
241
|
+
**Resumen del Análisis:**
|
|
242
|
+
- PRD documents: {prd_count} leídos
|
|
243
|
+
- Épicas analizadas: {epic_count}
|
|
244
|
+
- Funcionalidades identificadas: {features_count}
|
|
245
|
+
- Workflows identificados: {workflow_count}
|
|
246
|
+
- Architecture docs: {arch_count} leídos
|
|
247
|
+
|
|
248
|
+
He agregado una sección de "Contexto del Proyecto" al documento de la guía con un resumen de toda la información encontrada.
|
|
249
|
+
|
|
250
|
+
**Siguiente paso:** Elicitación de información adicional con el usuario para refinar el alcance y estilo de la guía.
|
|
251
|
+
|
|
252
|
+
¿Listo para continuar?"
|
|
253
|
+
|
|
254
|
+
### 10. Update State Before Next Step
|
|
255
|
+
|
|
256
|
+
Before loading next step:
|
|
257
|
+
- Ensure frontmatter.stepsCompleted = [1, 2, 3]
|
|
258
|
+
- Ensure frontmatter.currentStep = "step-04-elicitacion"
|
|
259
|
+
- Save outputFileSpanish with new context section
|
|
260
|
+
|
|
261
|
+
### 11. Present MENU OPTIONS
|
|
262
|
+
|
|
263
|
+
Display: **Select an Option:** [R] Re-scan [C] Continue
|
|
264
|
+
|
|
265
|
+
#### EXECUTION RULES:
|
|
266
|
+
|
|
267
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
268
|
+
- ONLY proceed to next step when user selects 'C'
|
|
269
|
+
- After other menu items execution, return to this menu
|
|
270
|
+
|
|
271
|
+
#### Menu Handling Logic:
|
|
272
|
+
|
|
273
|
+
- IF R: Re-scan and re-analyze all artifacts, return to step 2
|
|
274
|
+
- IF C: Update frontmatter, then load, read entire file, then execute `{nextStepFile}`
|
|
275
|
+
- IF Any other: Respond and redisplay menu
|
|
276
|
+
|
|
277
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
278
|
+
|
|
279
|
+
ONLY WHEN C is selected and analysis is complete with context section appended, will you then load, read entire file, then execute `{nextStepFile}` to begin information elicitation.
|
|
280
|
+
|
|
281
|
+
---
|
|
282
|
+
|
|
283
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
284
|
+
|
|
285
|
+
### ✅ SUCCESS:
|
|
286
|
+
|
|
287
|
+
- All artifact locations scanned
|
|
288
|
+
- All selected epics read completely
|
|
289
|
+
- PRD documents read and analyzed
|
|
290
|
+
- Architecture docs read
|
|
291
|
+
- Features identified with source citations
|
|
292
|
+
- Workflows identified
|
|
293
|
+
- Context section appended to outputFile
|
|
294
|
+
- Frontmatter updated with source_artifacts
|
|
295
|
+
- frontmatter.stepsCompleted = [1, 2, 3]
|
|
296
|
+
- User informed of analysis results
|
|
297
|
+
- Ready to proceed to step 4
|
|
298
|
+
|
|
299
|
+
### ❌ SYSTEM FAILURE:
|
|
300
|
+
|
|
301
|
+
- Skipping artifact reading
|
|
302
|
+
- Not reading complete files
|
|
303
|
+
- Missing source locations
|
|
304
|
+
- Not extracting features comprehensively
|
|
305
|
+
- Not appending context section
|
|
306
|
+
- Not updating frontmatter
|
|
307
|
+
|
|
308
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 'step-04-elicitacion'
|
|
3
|
+
description: 'Elicit additional information from user to refine user guide scope and style'
|
|
4
|
+
|
|
5
|
+
# Path Definitions
|
|
6
|
+
workflow_path: '{project-root}/_bmad/bmm/workflows/5-documentation/create-user-guide'
|
|
7
|
+
|
|
8
|
+
# File References
|
|
9
|
+
thisStepFile: '{workflow_path}/steps/step-04-elicitacion.md'
|
|
10
|
+
nextStepFile: '{workflow_path}/steps/step-05-generacion-espanol.md'
|
|
11
|
+
workflowFile: '{workflow_path}/workflow.md'
|
|
12
|
+
outputFileSpanish: '{output_folder}/documentation-artifacts/user-guide/es/{audience}-guide.md'
|
|
13
|
+
|
|
14
|
+
# Task References
|
|
15
|
+
advancedElicitationTask: '{project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml'
|
|
16
|
+
partyModeWorkflow: '{project-root}/_bmad/core/workflows/party-mode/workflow.md'
|
|
17
|
+
|
|
18
|
+
# Config
|
|
19
|
+
bmmConfig: '{project-root}/_bmad/bmm/config.yaml'
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Step 4: Elicitación de Información
|
|
23
|
+
|
|
24
|
+
## STEP GOAL:
|
|
25
|
+
|
|
26
|
+
Realizar elicitación conversacional con el usuario para refinar el alcance de la guía, determinar nivel técnico de la audiencia, identificar escenarios críticos a documentar y decidir sobre secciones opcionales (ej: troubleshooting). Registrar todas las preferencias en frontmatter para uso en steps de generación.
|
|
27
|
+
|
|
28
|
+
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
29
|
+
|
|
30
|
+
### Universal Rules:
|
|
31
|
+
|
|
32
|
+
- 🛑 NEVER generate content without user input
|
|
33
|
+
- 📖 CRITICAL: Read the complete step file before taking any action
|
|
34
|
+
- 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
|
|
35
|
+
- 📋 YOU ARE A FACILITATOR, not a content generator
|
|
36
|
+
- ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
|
|
37
|
+
|
|
38
|
+
### Role Reinforcement:
|
|
39
|
+
|
|
40
|
+
- ✅ You are a technical writer and requirements elicitation specialist
|
|
41
|
+
- ✅ If you already have been given communication or persona patterns, continue to use those while playing this new role
|
|
42
|
+
- ✅ We engage in collaborative dialogue, not command-response
|
|
43
|
+
- ✅ You bring elicitation expertise and documentation best practices
|
|
44
|
+
- ✅ Maintain collaborative conversational tone throughout
|
|
45
|
+
|
|
46
|
+
### Step-Specific Rules:
|
|
47
|
+
|
|
48
|
+
- 🎯 Focus ONLY on elicitation and preference gathering (INTENT-BASED)
|
|
49
|
+
- 🚫 FORBIDDEN to generate guide content yet
|
|
50
|
+
- 💬 Engage conversationally, adapt questions to context
|
|
51
|
+
- 📊 Capture user preferences for generation steps
|
|
52
|
+
|
|
53
|
+
## EXECUTION PROTOCOLS:
|
|
54
|
+
|
|
55
|
+
- 🎯 Use conversational elicitation, not interrogation
|
|
56
|
+
- 💾 Update frontmatter with all user preferences
|
|
57
|
+
- 📖 Set `stepsCompleted: [1, 2, 3, 4]` before loading next step
|
|
58
|
+
- 🚫 FORBIDDEN to skip elicitation topics
|
|
59
|
+
|
|
60
|
+
## CONTEXT BOUNDARIES:
|
|
61
|
+
|
|
62
|
+
- Features identified in step-03 (from context section)
|
|
63
|
+
- Target audience from frontmatter
|
|
64
|
+
- This is collaborative - requires active user participation
|
|
65
|
+
- Preferences captured here directly influence content generation
|
|
66
|
+
|
|
67
|
+
## EXECUTION APPROACH (INTENT-BASED):
|
|
68
|
+
|
|
69
|
+
This step uses INTENT-BASED execution. Adapt your elicitation style to the user's responses. Be conversational, not mechanical. The goal is to understand the user's vision for the guide.
|
|
70
|
+
|
|
71
|
+
### Core Elicitation Goals:
|
|
72
|
+
|
|
73
|
+
1. **Feature Scope Refinement:**
|
|
74
|
+
- Which features should be prioritized?
|
|
75
|
+
- Any features to exclude or de-emphasize?
|
|
76
|
+
- Any features missing that should be added?
|
|
77
|
+
|
|
78
|
+
2. **Critical Use Cases:**
|
|
79
|
+
- What are the most important user scenarios?
|
|
80
|
+
- Which workflows are most frequently used?
|
|
81
|
+
- What pain points should be addressed?
|
|
82
|
+
|
|
83
|
+
3. **Technical Level:**
|
|
84
|
+
- How technically savvy is the target audience?
|
|
85
|
+
- What can we assume they know?
|
|
86
|
+
- What needs detailed explanation?
|
|
87
|
+
|
|
88
|
+
4. **Known Issues & Limitations:**
|
|
89
|
+
- Are there limitations users should know about?
|
|
90
|
+
- Common pitfalls or warnings?
|
|
91
|
+
- Workarounds for known issues?
|
|
92
|
+
|
|
93
|
+
5. **Optional Sections:**
|
|
94
|
+
- Should we include troubleshooting section?
|
|
95
|
+
- Need for advanced configuration section?
|
|
96
|
+
- API integration examples (if applicable)?
|
|
97
|
+
|
|
98
|
+
## EXECUTION SEQUENCE:
|
|
99
|
+
|
|
100
|
+
### 1. Present Features Summary
|
|
101
|
+
|
|
102
|
+
"📋 **Funcionalidades Identificadas para Documentar**
|
|
103
|
+
|
|
104
|
+
Basándome en el análisis de las {epic_count} épicas seleccionadas, he identificado las siguientes funcionalidades:
|
|
105
|
+
|
|
106
|
+
{List top 10-15 features with sources, grouped by category if possible}
|
|
107
|
+
|
|
108
|
+
Antes de comenzar a generar la guía, necesito tu input en algunas áreas clave para asegurar que la documentación sea exactamente lo que necesitas..."
|
|
109
|
+
|
|
110
|
+
### 2. Elicit Feature Scope Refinement
|
|
111
|
+
|
|
112
|
+
**Conversational Approach:**
|
|
113
|
+
|
|
114
|
+
"**Refinamiento del Alcance:**
|
|
115
|
+
|
|
116
|
+
De todas estas funcionalidades identificadas:
|
|
117
|
+
|
|
118
|
+
1. ¿Hay alguna que NO debería documentarse en esta guía de usuario? (Por ejemplo, features deprecadas, experimentales, o no relevantes para {audience_name})
|
|
119
|
+
|
|
120
|
+
2. ¿Hay alguna funcionalidad que debería tener prioridad o documentarse con mayor detalle?
|
|
121
|
+
|
|
122
|
+
3. ¿Falta alguna funcionalidad importante que no aparece en la lista pero que debería incluirse?
|
|
123
|
+
|
|
124
|
+
No hay respuestas incorrectas - estoy aquí para adaptar la guía a tus necesidades específicas."
|
|
125
|
+
|
|
126
|
+
**Wait for user response and discuss.**
|
|
127
|
+
|
|
128
|
+
**Capture:**
|
|
129
|
+
- features_to_exclude: [list]
|
|
130
|
+
- features_to_prioritize: [list]
|
|
131
|
+
- features_to_add_manually: [list with descriptions]
|
|
132
|
+
|
|
133
|
+
### 3. Elicit Critical Scenarios
|
|
134
|
+
|
|
135
|
+
**Conversational Approach:**
|
|
136
|
+
|
|
137
|
+
"**Escenarios de Uso Críticos:**
|
|
138
|
+
|
|
139
|
+
Para hacer la guía más útil, quiero enfocarme en los escenarios reales que tus usuarios enfrentan.
|
|
140
|
+
|
|
141
|
+
1. ¿Cuáles son los 3-5 casos de uso más comunes o importantes para documentar en detalle?
|
|
142
|
+
|
|
143
|
+
2. ¿Hay workflows específicos que causan confusión actualmente y necesitan documentación clara?
|
|
144
|
+
|
|
145
|
+
3. ¿Hay integraciones con otros sistemas o procesos externos que deberíamos explicar?
|
|
146
|
+
|
|
147
|
+
Puedes ser tan específico o general como desees."
|
|
148
|
+
|
|
149
|
+
**Wait for user response and discuss.**
|
|
150
|
+
|
|
151
|
+
**Capture:**
|
|
152
|
+
- additional_scenarios: [list of scenarios described by user]
|
|
153
|
+
|
|
154
|
+
### 4. Determine Technical Level
|
|
155
|
+
|
|
156
|
+
**Conversational Approach:**
|
|
157
|
+
|
|
158
|
+
"**Nivel Técnico de la Audiencia:**
|
|
159
|
+
|
|
160
|
+
Para ajustar el tono y profundidad de la guía, necesito entender mejor a tus usuarios finales.
|
|
161
|
+
|
|
162
|
+
La audiencia objetivo es: **{audience_name}**
|
|
163
|
+
|
|
164
|
+
¿Cómo describirías su nivel técnico?
|
|
165
|
+
|
|
166
|
+
- **Novato:** Usuarios sin experiencia técnica, necesitan explicaciones paso a paso muy detalladas
|
|
167
|
+
- **Intermedio:** Usuarios cómodos con tecnología, pueden seguir instrucciones técnicas con contexto adecuado
|
|
168
|
+
- **Avanzado:** Usuarios técnicamente expertos, prefieren información concisa y directa
|
|
169
|
+
- **Mixto:** Audiencia variada, necesitamos balancear explicaciones básicas con información avanzada
|
|
170
|
+
|
|
171
|
+
¿Qué nivel(es) aplica mejor?"
|
|
172
|
+
|
|
173
|
+
**Wait for user response.**
|
|
174
|
+
|
|
175
|
+
**Capture:**
|
|
176
|
+
- technical_level: "novice" | "intermediate" | "advanced" | "mixed"
|
|
177
|
+
|
|
178
|
+
### 5. Elicit Warnings and Limitations
|
|
179
|
+
|
|
180
|
+
**Conversational Approach:**
|
|
181
|
+
|
|
182
|
+
"**Limitaciones y Advertencias:**
|
|
183
|
+
|
|
184
|
+
1. ¿Hay limitaciones conocidas del sistema que los usuarios deberían conocer desde el principio?
|
|
185
|
+
|
|
186
|
+
2. ¿Hay configuraciones o acciones que podrían causar problemas si se hacen incorrectamente?
|
|
187
|
+
|
|
188
|
+
3. ¿Hay dependencias externas o requisitos especiales que impacten el uso?
|
|
189
|
+
|
|
190
|
+
Esta información nos ayudará a incluir advertencias y notas importantes en los lugares correctos."
|
|
191
|
+
|
|
192
|
+
**Wait for user response and discuss.**
|
|
193
|
+
|
|
194
|
+
**Capture:**
|
|
195
|
+
- known_limitations: [list]
|
|
196
|
+
- critical_warnings: [list]
|
|
197
|
+
|
|
198
|
+
### 6. Decide on Troubleshooting Section
|
|
199
|
+
|
|
200
|
+
**Direct Question:**
|
|
201
|
+
|
|
202
|
+
"**Sección de Troubleshooting:**
|
|
203
|
+
|
|
204
|
+
¿Deseas incluir una sección de "Solución de Problemas" (Troubleshooting) al final de la guía?
|
|
205
|
+
|
|
206
|
+
Esta sección incluiría:
|
|
207
|
+
- Problemas comunes y sus soluciones
|
|
208
|
+
- Mensajes de error típicos y cómo resolverlos
|
|
209
|
+
- Preguntas frecuentes relacionadas con issues
|
|
210
|
+
|
|
211
|
+
**[S]** Sí, incluir troubleshooting
|
|
212
|
+
**[N]** No, solo FAQ es suficiente
|
|
213
|
+
|
|
214
|
+
¿Qué prefieres?"
|
|
215
|
+
|
|
216
|
+
**Wait for user response.**
|
|
217
|
+
|
|
218
|
+
**Capture:**
|
|
219
|
+
- include_troubleshooting: true | false
|
|
220
|
+
|
|
221
|
+
### 7. Synthesis and Confirmation
|
|
222
|
+
|
|
223
|
+
"✅ **Resumen de Preferencias Capturadas:**
|
|
224
|
+
|
|
225
|
+
Voy a generar la guía de usuario con las siguientes configuraciones:
|
|
226
|
+
|
|
227
|
+
**Alcance:**
|
|
228
|
+
- Funcionalidades a documentar: {count} (excluyendo {excluded_count})
|
|
229
|
+
- Funcionalidades priorizadas: {prioritized_list if any}
|
|
230
|
+
- Escenarios adicionales: {scenario_count}
|
|
231
|
+
|
|
232
|
+
**Estilo:**
|
|
233
|
+
- Nivel técnico: **{technical_level_name}**
|
|
234
|
+
- Troubleshooting: **{yes/no}**
|
|
235
|
+
|
|
236
|
+
**Consideraciones especiales:**
|
|
237
|
+
- Limitaciones conocidas: {limitations_count}
|
|
238
|
+
- Advertencias críticas: {warnings_count}
|
|
239
|
+
|
|
240
|
+
¿Todo correcto o necesitas ajustar algo?"
|
|
241
|
+
|
|
242
|
+
**Wait for confirmation. If adjustments needed, revisit relevant sections.**
|
|
243
|
+
|
|
244
|
+
### 8. Update Frontmatter
|
|
245
|
+
|
|
246
|
+
Update `{outputFileSpanish}` frontmatter with all captured preferences:
|
|
247
|
+
|
|
248
|
+
```yaml
|
|
249
|
+
# User preferences (populated in step-04)
|
|
250
|
+
technical_level: "intermediate" # Example
|
|
251
|
+
include_troubleshooting: true
|
|
252
|
+
additional_scenarios:
|
|
253
|
+
- "Scenario 1 description"
|
|
254
|
+
- "Scenario 2 description"
|
|
255
|
+
features_to_exclude:
|
|
256
|
+
- "Feature X"
|
|
257
|
+
features_to_prioritize:
|
|
258
|
+
- "Feature Y"
|
|
259
|
+
- "Feature Z"
|
|
260
|
+
known_limitations:
|
|
261
|
+
- "Limitation 1"
|
|
262
|
+
critical_warnings:
|
|
263
|
+
- "Warning 1"
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### 9. Transition Message
|
|
267
|
+
|
|
268
|
+
"✅ **Elicitación Completada**
|
|
269
|
+
|
|
270
|
+
Tengo toda la información que necesito para generar una guía de usuario comprehensiva y adaptada a tus necesidades.
|
|
271
|
+
|
|
272
|
+
**Próximo paso:** Generación del contenido en español.
|
|
273
|
+
|
|
274
|
+
El agente trabajará de manera autónoma para crear todas las secciones de la guía, incluyendo:
|
|
275
|
+
- Diagramas Mermaid para cada feature y workflow
|
|
276
|
+
- Screenshot placeholders con índice
|
|
277
|
+
- Source citations para trazabilidad
|
|
278
|
+
- Estructura navegable
|
|
279
|
+
|
|
280
|
+
Esto puede tomar algunos minutos. ¿Listo para continuar?"
|
|
281
|
+
|
|
282
|
+
### 10. Update State Before Next Step
|
|
283
|
+
|
|
284
|
+
Before loading next step:
|
|
285
|
+
- Ensure frontmatter.stepsCompleted = [1, 2, 3, 4]
|
|
286
|
+
- Ensure frontmatter.currentStep = "step-05-generacion-espanol"
|
|
287
|
+
- Save outputFileSpanish
|
|
288
|
+
|
|
289
|
+
### 11. Present MENU OPTIONS
|
|
290
|
+
|
|
291
|
+
Display: **Select an Option:** [C] Continue
|
|
292
|
+
|
|
293
|
+
#### EXECUTION RULES:
|
|
294
|
+
|
|
295
|
+
- ALWAYS halt and wait for user input after presenting menu
|
|
296
|
+
- ONLY proceed to next step when user selects 'C'
|
|
297
|
+
|
|
298
|
+
#### Menu Handling Logic:
|
|
299
|
+
|
|
300
|
+
- IF C: Update frontmatter, then load, read entire file, then execute `{nextStepFile}`
|
|
301
|
+
- IF Any other: Respond and redisplay menu
|
|
302
|
+
|
|
303
|
+
## CRITICAL STEP COMPLETION NOTE
|
|
304
|
+
|
|
305
|
+
ONLY WHEN C is selected and all preferences are captured in frontmatter, will you then load, read entire file, then execute `{nextStepFile}` to begin Spanish content generation.
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
## 🚨 SYSTEM SUCCESS/FAILURE METRICS
|
|
310
|
+
|
|
311
|
+
### ✅ SUCCESS:
|
|
312
|
+
|
|
313
|
+
- Features summary presented to user
|
|
314
|
+
- Feature scope refined conversationally
|
|
315
|
+
- Critical scenarios identified
|
|
316
|
+
- Technical level determined
|
|
317
|
+
- Warnings and limitations captured
|
|
318
|
+
- Troubleshooting decision made
|
|
319
|
+
- All preferences stored in frontmatter
|
|
320
|
+
- frontmatter.stepsCompleted = [1, 2, 3, 4]
|
|
321
|
+
- User confirmed preferences
|
|
322
|
+
- Ready to proceed to step 5
|
|
323
|
+
|
|
324
|
+
### ❌ SYSTEM FAILURE:
|
|
325
|
+
|
|
326
|
+
- Using interrogation instead of conversation
|
|
327
|
+
- Skipping elicitation topics
|
|
328
|
+
- Not adapting to user responses
|
|
329
|
+
- Not capturing preferences in frontmatter
|
|
330
|
+
- Proceeding without user confirmation
|
|
331
|
+
|
|
332
|
+
**Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
|