siesa-agents 2.1.1 → 2.1.3-dev.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.
Files changed (147) hide show
  1. package/README.md +83 -83
  2. package/bin/install.js +400 -399
  3. package/bin/prepare-publish.js +26 -26
  4. package/bin/restore-folders.js +26 -26
  5. package/bmad-core/agent-teams/team-all.yaml +15 -15
  6. package/bmad-core/agent-teams/team-fullstack.yaml +19 -19
  7. package/bmad-core/agent-teams/team-ide-minimal.yaml +11 -11
  8. package/bmad-core/agent-teams/team-no-ui.yaml +14 -14
  9. package/bmad-core/agents/analyst.md +84 -84
  10. package/bmad-core/agents/architect.md +94 -94
  11. package/bmad-core/agents/backend-agent.md +189 -189
  12. package/bmad-core/agents/bmad-master.md +110 -110
  13. package/bmad-core/agents/bmad-orchestrator.md +147 -147
  14. package/bmad-core/agents/dev.md +81 -81
  15. package/bmad-core/agents/frontend-agent.md +168 -168
  16. package/bmad-core/agents/pm.md +84 -84
  17. package/bmad-core/agents/po.md +79 -79
  18. package/bmad-core/agents/qa.md +91 -91
  19. package/bmad-core/agents/sm.md +65 -65
  20. package/bmad-core/agents/ux-expert.md +69 -69
  21. package/bmad-core/checklists/architect-checklist.md +440 -440
  22. package/bmad-core/checklists/backend-checklist.md +142 -142
  23. package/bmad-core/checklists/change-checklist.md +184 -184
  24. package/bmad-core/checklists/frontend-checklist.md +105 -105
  25. package/bmad-core/checklists/pm-checklist.md +372 -372
  26. package/bmad-core/checklists/po-master-checklist.md +434 -434
  27. package/bmad-core/checklists/story-dod-checklist.md +96 -96
  28. package/bmad-core/checklists/story-draft-checklist.md +155 -155
  29. package/bmad-core/core-config.yaml +22 -22
  30. package/bmad-core/data/backend-standards.md +439 -439
  31. package/bmad-core/data/bmad-kb.md +809 -809
  32. package/bmad-core/data/brainstorming-techniques.md +38 -38
  33. package/bmad-core/data/elicitation-methods.md +156 -156
  34. package/bmad-core/data/frontend-standards.md +323 -323
  35. package/bmad-core/data/technical-preferences.md +5 -5
  36. package/bmad-core/data/test-levels-framework.md +148 -148
  37. package/bmad-core/data/test-priorities-matrix.md +174 -174
  38. package/bmad-core/enhanced-ide-development-workflow.md +248 -248
  39. package/bmad-core/install-manifest.yaml +230 -230
  40. package/bmad-core/tasks/advanced-elicitation.md +119 -119
  41. package/bmad-core/tasks/apply-qa-fixes.md +150 -150
  42. package/bmad-core/tasks/brownfield-create-epic.md +162 -162
  43. package/bmad-core/tasks/brownfield-create-story.md +149 -149
  44. package/bmad-core/tasks/correct-course.md +72 -72
  45. package/bmad-core/tasks/create-brownfield-story.md +314 -314
  46. package/bmad-core/tasks/create-component.md +102 -102
  47. package/bmad-core/tasks/create-deep-research-prompt.md +280 -280
  48. package/bmad-core/tasks/create-doc.md +103 -103
  49. package/bmad-core/tasks/create-entity.md +132 -132
  50. package/bmad-core/tasks/create-feature.md +90 -90
  51. package/bmad-core/tasks/create-next-story.md +114 -114
  52. package/bmad-core/tasks/create-service.md +117 -117
  53. package/bmad-core/tasks/create-use-case.md +140 -140
  54. package/bmad-core/tasks/document-project.md +345 -345
  55. package/bmad-core/tasks/execute-checklist.md +88 -88
  56. package/bmad-core/tasks/facilitate-brainstorming-session.md +138 -138
  57. package/bmad-core/tasks/generate-ai-frontend-prompt.md +53 -53
  58. package/bmad-core/tasks/index-docs.md +175 -175
  59. package/bmad-core/tasks/kb-mode-interaction.md +77 -77
  60. package/bmad-core/tasks/nfr-assess.md +345 -345
  61. package/bmad-core/tasks/qa-gate.md +163 -163
  62. package/bmad-core/tasks/review-story.md +316 -316
  63. package/bmad-core/tasks/risk-profile.md +355 -355
  64. package/bmad-core/tasks/scaffold-backend.md +110 -110
  65. package/bmad-core/tasks/scaffold-frontend.md +78 -78
  66. package/bmad-core/tasks/shard-doc.md +187 -187
  67. package/bmad-core/tasks/test-design.md +176 -176
  68. package/bmad-core/tasks/trace-requirements.md +266 -266
  69. package/bmad-core/tasks/validate-next-story.md +136 -136
  70. package/bmad-core/templates/architecture-tmpl.yaml +662 -662
  71. package/bmad-core/templates/brainstorming-output-tmpl.yaml +156 -156
  72. package/bmad-core/templates/brownfield-architecture-tmpl.yaml +477 -477
  73. package/bmad-core/templates/brownfield-prd-tmpl.yaml +281 -281
  74. package/bmad-core/templates/competitor-analysis-tmpl.yaml +307 -307
  75. package/bmad-core/templates/front-end-architecture-tmpl.yaml +258 -258
  76. package/bmad-core/templates/front-end-spec-tmpl.yaml +350 -350
  77. package/bmad-core/templates/fullstack-architecture-tmpl.yaml +824 -824
  78. package/bmad-core/templates/market-research-tmpl.yaml +253 -253
  79. package/bmad-core/templates/prd-tmpl.yaml +203 -203
  80. package/bmad-core/templates/project-brief-tmpl.yaml +222 -222
  81. package/bmad-core/templates/qa-gate-tmpl.yaml +103 -103
  82. package/bmad-core/templates/story-tmpl.yaml +138 -138
  83. package/bmad-core/user-guide.md +530 -530
  84. package/bmad-core/utils/bmad-doc-template.md +327 -327
  85. package/bmad-core/utils/workflow-management.md +71 -71
  86. package/bmad-core/workflows/brownfield-fullstack.yaml +298 -298
  87. package/bmad-core/workflows/brownfield-service.yaml +188 -188
  88. package/bmad-core/workflows/brownfield-ui.yaml +198 -198
  89. package/bmad-core/workflows/greenfield-fullstack.yaml +241 -241
  90. package/bmad-core/workflows/greenfield-service.yaml +207 -207
  91. package/bmad-core/workflows/greenfield-ui.yaml +236 -236
  92. package/bmad-core/working-in-the-brownfield.md +606 -606
  93. package/claude/commands/BMad/agents/analyst.md +88 -0
  94. package/claude/commands/BMad/agents/architect.md +89 -0
  95. package/claude/commands/BMad/agents/backend.md +188 -0
  96. package/claude/commands/BMad/agents/bmad-master.md +114 -0
  97. package/claude/commands/BMad/agents/bmad-orchestrator.md +151 -0
  98. package/claude/commands/BMad/agents/dev.md +85 -0
  99. package/claude/commands/BMad/agents/frontend.md +151 -0
  100. package/claude/commands/BMad/agents/pm.md +88 -0
  101. package/claude/commands/BMad/agents/po.md +83 -0
  102. package/claude/commands/BMad/agents/qa.md +95 -0
  103. package/claude/commands/BMad/agents/sm.md +69 -0
  104. package/claude/commands/BMad/agents/ux-expert.md +73 -0
  105. package/claude/commands/BMad/tasks/advanced-elicitation.md +123 -0
  106. package/claude/commands/BMad/tasks/apply-qa-fixes.md +154 -0
  107. package/claude/commands/BMad/tasks/brownfield-create-epic.md +166 -0
  108. package/claude/commands/BMad/tasks/brownfield-create-story.md +153 -0
  109. package/claude/commands/BMad/tasks/correct-course.md +76 -0
  110. package/claude/commands/BMad/tasks/create-brownfield-story.md +318 -0
  111. package/claude/commands/BMad/tasks/create-deep-research-prompt.md +284 -0
  112. package/claude/commands/BMad/tasks/create-doc.md +107 -0
  113. package/claude/commands/BMad/tasks/create-next-story.md +118 -0
  114. package/claude/commands/BMad/tasks/document-project.md +349 -0
  115. package/claude/commands/BMad/tasks/execute-checklist.md +92 -0
  116. package/claude/commands/BMad/tasks/facilitate-brainstorming-session.md +142 -0
  117. package/claude/commands/BMad/tasks/generate-ai-frontend-prompt.md +57 -0
  118. package/claude/commands/BMad/tasks/index-docs.md +179 -0
  119. package/claude/commands/BMad/tasks/kb-mode-interaction.md +81 -0
  120. package/claude/commands/BMad/tasks/nfr-assess.md +349 -0
  121. package/claude/commands/BMad/tasks/qa-gate.md +167 -0
  122. package/claude/commands/BMad/tasks/review-story.md +320 -0
  123. package/claude/commands/BMad/tasks/risk-profile.md +359 -0
  124. package/claude/commands/BMad/tasks/shard-doc.md +191 -0
  125. package/claude/commands/BMad/tasks/test-design.md +180 -0
  126. package/claude/commands/BMad/tasks/trace-requirements.md +270 -0
  127. package/claude/commands/BMad/tasks/validate-next-story.md +140 -0
  128. package/claude/hooks/file-restriction-hook.py +51 -0
  129. package/claude/hooks/track-agent.py +67 -0
  130. package/claude/settings.local.json +56 -0
  131. package/github/b-mad-expert.md +742 -742
  132. package/github/chatmodes/analyst.chatmode.md +89 -89
  133. package/github/chatmodes/architect.chatmode.md +97 -97
  134. package/github/chatmodes/backend.chatmode.md +194 -194
  135. package/github/chatmodes/bmad-master.chatmode.md +115 -115
  136. package/github/chatmodes/bmad-orchestrator.chatmode.md +152 -152
  137. package/github/chatmodes/dev.chatmode.md +86 -86
  138. package/github/chatmodes/frontend.chatmode.md +157 -157
  139. package/github/chatmodes/pm.chatmode.md +89 -89
  140. package/github/chatmodes/po.chatmode.md +84 -84
  141. package/github/chatmodes/qa.chatmode.md +96 -96
  142. package/github/chatmodes/sm.chatmode.md +70 -70
  143. package/github/chatmodes/ux-expert.chatmode.md +74 -74
  144. package/index.js +9 -9
  145. package/package.json +37 -36
  146. package/vscode/mcp.json +11 -11
  147. package/vscode/settings.json +12 -12
@@ -0,0 +1,142 @@
1
+ # /facilitate-brainstorming-session Task
2
+
3
+ When this command is used, execute the following task:
4
+
5
+ ## <!-- Powered by BMAD™ Core -->
6
+
7
+ docOutputLocation: docs/brainstorming-session-results.md
8
+ template: '.bmad-core/templates/brainstorming-output-tmpl.yaml'
9
+
10
+ ---
11
+
12
+ # Facilitate Brainstorming Session Task
13
+
14
+ Facilitate interactive brainstorming sessions with users. Be creative and adaptive in applying techniques.
15
+
16
+ ## Process
17
+
18
+ ### Step 1: Session Setup
19
+
20
+ Ask 4 context questions (don't preview what happens next):
21
+
22
+ 1. What are we brainstorming about?
23
+ 2. Any constraints or parameters?
24
+ 3. Goal: broad exploration or focused ideation?
25
+ 4. Do you want a structured document output to reference later? (Default Yes)
26
+
27
+ ### Step 2: Present Approach Options
28
+
29
+ After getting answers to Step 1, present 4 approach options (numbered):
30
+
31
+ 1. User selects specific techniques
32
+ 2. Analyst recommends techniques based on context
33
+ 3. Random technique selection for creative variety
34
+ 4. Progressive technique flow (start broad, narrow down)
35
+
36
+ ### Step 3: Execute Techniques Interactively
37
+
38
+ **KEY PRINCIPLES:**
39
+
40
+ - **FACILITATOR ROLE**: Guide user to generate their own ideas through questions, prompts, and examples
41
+ - **CONTINUOUS ENGAGEMENT**: Keep user engaged with chosen technique until they want to switch or are satisfied
42
+ - **CAPTURE OUTPUT**: If (default) document output requested, capture all ideas generated in each technique section to the document from the beginning.
43
+
44
+ **Technique Selection:**
45
+ If user selects Option 1, present numbered list of techniques from the brainstorming-techniques data file. User can select by number..
46
+
47
+ **Technique Execution:**
48
+
49
+ 1. Apply selected technique according to data file description
50
+ 2. Keep engaging with technique until user indicates they want to:
51
+ - Choose a different technique
52
+ - Apply current ideas to a new technique
53
+ - Move to convergent phase
54
+ - End session
55
+
56
+ **Output Capture (if requested):**
57
+ For each technique used, capture:
58
+
59
+ - Technique name and duration
60
+ - Key ideas generated by user
61
+ - Insights and patterns identified
62
+ - User's reflections on the process
63
+
64
+ ### Step 4: Session Flow
65
+
66
+ 1. **Warm-up** (5-10 min) - Build creative confidence
67
+ 2. **Divergent** (20-30 min) - Generate quantity over quality
68
+ 3. **Convergent** (15-20 min) - Group and categorize ideas
69
+ 4. **Synthesis** (10-15 min) - Refine and develop concepts
70
+
71
+ ### Step 5: Document Output (if requested)
72
+
73
+ Generate structured document with these sections:
74
+
75
+ **Executive Summary**
76
+
77
+ - Session topic and goals
78
+ - Techniques used and duration
79
+ - Total ideas generated
80
+ - Key themes and patterns identified
81
+
82
+ **Technique Sections** (for each technique used)
83
+
84
+ - Technique name and description
85
+ - Ideas generated (user's own words)
86
+ - Insights discovered
87
+ - Notable connections or patterns
88
+
89
+ **Idea Categorization**
90
+
91
+ - **Immediate Opportunities** - Ready to implement now
92
+ - **Future Innovations** - Requires development/research
93
+ - **Moonshots** - Ambitious, transformative concepts
94
+ - **Insights & Learnings** - Key realizations from session
95
+
96
+ **Action Planning**
97
+
98
+ - Top 3 priority ideas with rationale
99
+ - Next steps for each priority
100
+ - Resources/research needed
101
+ - Timeline considerations
102
+
103
+ **Reflection & Follow-up**
104
+
105
+ - What worked well in this session
106
+ - Areas for further exploration
107
+ - Recommended follow-up techniques
108
+ - Questions that emerged for future sessions
109
+
110
+ ## Key Principles
111
+
112
+ - **YOU ARE A FACILITATOR**: Guide the user to brainstorm, don't brainstorm for them (unless they request it persistently)
113
+ - **INTERACTIVE DIALOGUE**: Ask questions, wait for responses, build on their ideas
114
+ - **ONE TECHNIQUE AT A TIME**: Don't mix multiple techniques in one response
115
+ - **CONTINUOUS ENGAGEMENT**: Stay with one technique until user wants to switch
116
+ - **DRAW IDEAS OUT**: Use prompts and examples to help them generate their own ideas
117
+ - **REAL-TIME ADAPTATION**: Monitor engagement and adjust approach as needed
118
+ - Maintain energy and momentum
119
+ - Defer judgment during generation
120
+ - Quantity leads to quality (aim for 100 ideas in 60 minutes)
121
+ - Build on ideas collaboratively
122
+ - Document everything in output document
123
+
124
+ ## Advanced Engagement Strategies
125
+
126
+ **Energy Management**
127
+
128
+ - Check engagement levels: "How are you feeling about this direction?"
129
+ - Offer breaks or technique switches if energy flags
130
+ - Use encouraging language and celebrate idea generation
131
+
132
+ **Depth vs. Breadth**
133
+
134
+ - Ask follow-up questions to deepen ideas: "Tell me more about that..."
135
+ - Use "Yes, and..." to build on their ideas
136
+ - Help them make connections: "How does this relate to your earlier idea about...?"
137
+
138
+ **Transition Management**
139
+
140
+ - Always ask before switching techniques: "Ready to try a different approach?"
141
+ - Offer options: "Should we explore this idea deeper or generate more alternatives?"
142
+ - Respect their process and timing
@@ -0,0 +1,57 @@
1
+ # /generate-ai-frontend-prompt Task
2
+
3
+ When this command is used, execute the following task:
4
+
5
+ <!-- Powered by BMAD™ Core -->
6
+
7
+ # Create AI Frontend Prompt Task
8
+
9
+ ## Purpose
10
+
11
+ To generate a masterful, comprehensive, and optimized prompt that can be used with any AI-driven frontend development tool (e.g., Vercel v0, Lovable.ai, or similar) to scaffold or generate significant portions of a frontend application.
12
+
13
+ ## Inputs
14
+
15
+ - Completed UI/UX Specification (`front-end-spec.md`)
16
+ - Completed Frontend Architecture Document (`front-end-architecture`) or a full stack combined architecture such as `architecture.md`
17
+ - Main System Architecture Document (`architecture` - for API contracts and tech stack to give further context)
18
+
19
+ ## Key Activities & Instructions
20
+
21
+ ### 1. Core Prompting Principles
22
+
23
+ Before generating the prompt, you must understand these core principles for interacting with a generative AI for code.
24
+
25
+ - **Be Explicit and Detailed**: The AI cannot read your mind. Provide as much detail and context as possible. Vague requests lead to generic or incorrect outputs.
26
+ - **Iterate, Don't Expect Perfection**: Generating an entire complex application in one go is rare. The most effective method is to prompt for one component or one section at a time, then build upon the results.
27
+ - **Provide Context First**: Always start by providing the AI with the necessary context, such as the tech stack, existing code snippets, and overall project goals.
28
+ - **Mobile-First Approach**: Frame all UI generation requests with a mobile-first design mindset. Describe the mobile layout first, then provide separate instructions for how it should adapt for tablet and desktop.
29
+
30
+ ### 2. The Structured Prompting Framework
31
+
32
+ To ensure the highest quality output, you MUST structure every prompt using the following four-part framework.
33
+
34
+ 1. **High-Level Goal**: Start with a clear, concise summary of the overall objective. This orients the AI on the primary task.
35
+ - _Example: "Create a responsive user registration form with client-side validation and API integration."_
36
+ 2. **Detailed, Step-by-Step Instructions**: Provide a granular, numbered list of actions the AI should take. Break down complex tasks into smaller, sequential steps. This is the most critical part of the prompt.
37
+ - _Example: "1. Create a new file named `RegistrationForm.js`. 2. Use React hooks for state management. 3. Add styled input fields for 'Name', 'Email', and 'Password'. 4. For the email field, ensure it is a valid email format. 5. On submission, call the API endpoint defined below."_
38
+ 3. **Code Examples, Data Structures & Constraints**: Include any relevant snippets of existing code, data structures, or API contracts. This gives the AI concrete examples to work with. Crucially, you must also state what _not_ to do.
39
+ - _Example: "Use this API endpoint: `POST /api/register`. The expected JSON payload is `{ "name": "string", "email": "string", "password": "string" }`. Do NOT include a 'confirm password' field. Use Tailwind CSS for all styling."_
40
+ 4. **Define a Strict Scope**: Explicitly define the boundaries of the task. Tell the AI which files it can modify and, more importantly, which files to leave untouched to prevent unintended changes across the codebase.
41
+ - _Example: "You should only create the `RegistrationForm.js` component and add it to the `pages/register.js` file. Do NOT alter the `Navbar.js` component or any other existing page or component."_
42
+
43
+ ### 3. Assembling the Master Prompt
44
+
45
+ You will now synthesize the inputs and the above principles into a final, comprehensive prompt.
46
+
47
+ 1. **Gather Foundational Context**:
48
+ - Start the prompt with a preamble describing the overall project purpose, the full tech stack (e.g., Next.js, TypeScript, Tailwind CSS), and the primary UI component library being used.
49
+ 2. **Describe the Visuals**:
50
+ - If the user has design files (Figma, etc.), instruct them to provide links or screenshots.
51
+ - If not, describe the visual style: color palette, typography, spacing, and overall aesthetic (e.g., "minimalist", "corporate", "playful").
52
+ 3. **Build the Prompt using the Structured Framework**:
53
+ - Follow the four-part framework from Section 2 to build out the core request, whether it's for a single component or a full page.
54
+ 4. **Present and Refine**:
55
+ - Output the complete, generated prompt in a clear, copy-pasteable format (e.g., a large code block).
56
+ - Explain the structure of the prompt and why certain information was included, referencing the principles above.
57
+ - <important_note>Conclude by reminding the user that all AI-generated code will require careful human review, testing, and refinement to be considered production-ready.</important_note>
@@ -0,0 +1,179 @@
1
+ # /index-docs Task
2
+
3
+ When this command is used, execute the following task:
4
+
5
+ <!-- Powered by BMAD™ Core -->
6
+
7
+ # Index Documentation Task
8
+
9
+ ## Purpose
10
+
11
+ This task maintains the integrity and completeness of the `docs/index.md` file by scanning all documentation files and ensuring they are properly indexed with descriptions. It handles both root-level documents and documents within subfolders, organizing them hierarchically.
12
+
13
+ ## Task Instructions
14
+
15
+ You are now operating as a Documentation Indexer. Your goal is to ensure all documentation files are properly cataloged in the central index with proper organization for subfolders.
16
+
17
+ ### Required Steps
18
+
19
+ 1. First, locate and scan:
20
+ - The `docs/` directory and all subdirectories
21
+ - The existing `docs/index.md` file (create if absent)
22
+ - All markdown (`.md`) and text (`.txt`) files in the documentation structure
23
+ - Note the folder structure for hierarchical organization
24
+
25
+ 2. For the existing `docs/index.md`:
26
+ - Parse current entries
27
+ - Note existing file references and descriptions
28
+ - Identify any broken links or missing files
29
+ - Keep track of already-indexed content
30
+ - Preserve existing folder sections
31
+
32
+ 3. For each documentation file found:
33
+ - Extract the title (from first heading or filename)
34
+ - Generate a brief description by analyzing the content
35
+ - Create a relative markdown link to the file
36
+ - Check if it's already in the index
37
+ - Note which folder it belongs to (if in a subfolder)
38
+ - If missing or outdated, prepare an update
39
+
40
+ 4. For any missing or non-existent files found in index:
41
+ - Present a list of all entries that reference non-existent files
42
+ - For each entry:
43
+ - Show the full entry details (title, path, description)
44
+ - Ask for explicit confirmation before removal
45
+ - Provide option to update the path if file was moved
46
+ - Log the decision (remove/update/keep) for final report
47
+
48
+ 5. Update `docs/index.md`:
49
+ - Maintain existing structure and organization
50
+ - Create level 2 sections (`##`) for each subfolder
51
+ - List root-level documents first
52
+ - Add missing entries with descriptions
53
+ - Update outdated entries
54
+ - Remove only entries that were confirmed for removal
55
+ - Ensure consistent formatting throughout
56
+
57
+ ### Index Structure Format
58
+
59
+ The index should be organized as follows:
60
+
61
+ ```markdown
62
+ # Documentation Index
63
+
64
+ ## Root Documents
65
+
66
+ ### [Document Title](./document.md)
67
+
68
+ Brief description of the document's purpose and contents.
69
+
70
+ ### [Another Document](./another.md)
71
+
72
+ Description here.
73
+
74
+ ## Folder Name
75
+
76
+ Documents within the `folder-name/` directory:
77
+
78
+ ### [Document in Folder](./folder-name/document.md)
79
+
80
+ Description of this document.
81
+
82
+ ### [Another in Folder](./folder-name/another.md)
83
+
84
+ Description here.
85
+
86
+ ## Another Folder
87
+
88
+ Documents within the `another-folder/` directory:
89
+
90
+ ### [Nested Document](./another-folder/document.md)
91
+
92
+ Description of nested document.
93
+ ```
94
+
95
+ ### Index Entry Format
96
+
97
+ Each entry should follow this format:
98
+
99
+ ```markdown
100
+ ### [Document Title](relative/path/to/file.md)
101
+
102
+ Brief description of the document's purpose and contents.
103
+ ```
104
+
105
+ ### Rules of Operation
106
+
107
+ 1. NEVER modify the content of indexed files
108
+ 2. Preserve existing descriptions in index.md when they are adequate
109
+ 3. Maintain any existing categorization or grouping in the index
110
+ 4. Use relative paths for all links (starting with `./`)
111
+ 5. Ensure descriptions are concise but informative
112
+ 6. NEVER remove entries without explicit confirmation
113
+ 7. Report any broken links or inconsistencies found
114
+ 8. Allow path updates for moved files before considering removal
115
+ 9. Create folder sections using level 2 headings (`##`)
116
+ 10. Sort folders alphabetically, with root documents listed first
117
+ 11. Within each section, sort documents alphabetically by title
118
+
119
+ ### Process Output
120
+
121
+ The task will provide:
122
+
123
+ 1. A summary of changes made to index.md
124
+ 2. List of newly indexed files (organized by folder)
125
+ 3. List of updated entries
126
+ 4. List of entries presented for removal and their status:
127
+ - Confirmed removals
128
+ - Updated paths
129
+ - Kept despite missing file
130
+ 5. Any new folders discovered
131
+ 6. Any other issues or inconsistencies found
132
+
133
+ ### Handling Missing Files
134
+
135
+ For each file referenced in the index but not found in the filesystem:
136
+
137
+ 1. Present the entry:
138
+
139
+ ```markdown
140
+ Missing file detected:
141
+ Title: [Document Title]
142
+ Path: relative/path/to/file.md
143
+ Description: Existing description
144
+ Section: [Root Documents | Folder Name]
145
+
146
+ Options:
147
+
148
+ 1. Remove this entry
149
+ 2. Update the file path
150
+ 3. Keep entry (mark as temporarily unavailable)
151
+
152
+ Please choose an option (1/2/3):
153
+ ```
154
+
155
+ 2. Wait for user confirmation before taking any action
156
+ 3. Log the decision for the final report
157
+
158
+ ### Special Cases
159
+
160
+ 1. **Sharded Documents**: If a folder contains an `index.md` file, treat it as a sharded document:
161
+ - Use the folder's `index.md` title as the section title
162
+ - List the folder's documents as subsections
163
+ - Note in the description that this is a multi-part document
164
+
165
+ 2. **README files**: Convert `README.md` to more descriptive titles based on content
166
+
167
+ 3. **Nested Subfolders**: For deeply nested folders, maintain the hierarchy but limit to 2 levels in the main index. Deeper structures should have their own index files.
168
+
169
+ ## Required Input
170
+
171
+ Please provide:
172
+
173
+ 1. Location of the `docs/` directory (default: `./docs`)
174
+ 2. Confirmation of write access to `docs/index.md`
175
+ 3. Any specific categorization preferences
176
+ 4. Any files or directories to exclude from indexing (e.g., `.git`, `node_modules`)
177
+ 5. Whether to include hidden files/folders (starting with `.`)
178
+
179
+ Would you like to proceed with documentation indexing? Please provide the required input above.
@@ -0,0 +1,81 @@
1
+ # /kb-mode-interaction Task
2
+
3
+ When this command is used, execute the following task:
4
+
5
+ <!-- Powered by BMAD™ Core -->
6
+
7
+ # KB Mode Interaction Task
8
+
9
+ ## Purpose
10
+
11
+ Provide a user-friendly interface to the BMad knowledge base without overwhelming users with information upfront.
12
+
13
+ ## Instructions
14
+
15
+ When entering KB mode (\*kb-mode), follow these steps:
16
+
17
+ ### 1. Welcome and Guide
18
+
19
+ Announce entering KB mode with a brief, friendly introduction.
20
+
21
+ ### 2. Present Topic Areas
22
+
23
+ Offer a concise list of main topic areas the user might want to explore:
24
+
25
+ **What would you like to know more about?**
26
+
27
+ 1. **Setup & Installation** - Getting started with BMad
28
+ 2. **Workflows** - Choosing the right workflow for your project
29
+ 3. **Web vs IDE** - When to use each environment
30
+ 4. **Agents** - Understanding specialized agents and their roles
31
+ 5. **Documents** - PRDs, Architecture, Stories, and more
32
+ 6. **Agile Process** - How BMad implements Agile methodologies
33
+ 7. **Configuration** - Customizing BMad for your needs
34
+ 8. **Best Practices** - Tips for effective BMad usage
35
+
36
+ Or ask me about anything else related to BMad-Method!
37
+
38
+ ### 3. Respond Contextually
39
+
40
+ - Wait for user's specific question or topic selection
41
+ - Provide focused, relevant information from the knowledge base
42
+ - Offer to dive deeper or explore related topics
43
+ - Keep responses concise unless user asks for detailed explanations
44
+
45
+ ### 4. Interactive Exploration
46
+
47
+ - After answering, suggest related topics they might find helpful
48
+ - Maintain conversational flow rather than data dumping
49
+ - Use examples when appropriate
50
+ - Reference specific documentation sections when relevant
51
+
52
+ ### 5. Exit Gracefully
53
+
54
+ When user is done or wants to exit KB mode:
55
+
56
+ - Summarize key points discussed if helpful
57
+ - Remind them they can return to KB mode anytime with \*kb-mode
58
+ - Suggest next steps based on what was discussed
59
+
60
+ ## Example Interaction
61
+
62
+ **User**: \*kb-mode
63
+
64
+ **Assistant**: I've entered KB mode and have access to the full BMad knowledge base. I can help you with detailed information about any aspect of BMad-Method.
65
+
66
+ **What would you like to know more about?**
67
+
68
+ 1. **Setup & Installation** - Getting started with BMad
69
+ 2. **Workflows** - Choosing the right workflow for your project
70
+ 3. **Web vs IDE** - When to use each environment
71
+ 4. **Agents** - Understanding specialized agents and their roles
72
+ 5. **Documents** - PRDs, Architecture, Stories, and more
73
+ 6. **Agile Process** - How BMad implements Agile methodologies
74
+ 7. **Configuration** - Customizing BMad for your needs
75
+ 8. **Best Practices** - Tips for effective BMad usage
76
+
77
+ Or ask me about anything else related to BMad-Method!
78
+
79
+ **User**: Tell me about workflows
80
+
81
+ **Assistant**: [Provides focused information about workflows from the KB, then offers to explore specific workflow types or related topics]