siesa-agents 2.1.2 → 2.1.4

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 (111) hide show
  1. package/README.md +83 -83
  2. package/bin/install.js +400 -400
  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/backend.md +187 -187
  94. package/claude/commands/BMad/agents/frontend.md +150 -150
  95. package/github/b-mad-expert.md +742 -742
  96. package/github/chatmodes/analyst.chatmode.md +89 -89
  97. package/github/chatmodes/architect.chatmode.md +97 -97
  98. package/github/chatmodes/backend.chatmode.md +194 -194
  99. package/github/chatmodes/bmad-master.chatmode.md +115 -115
  100. package/github/chatmodes/bmad-orchestrator.chatmode.md +152 -152
  101. package/github/chatmodes/dev.chatmode.md +86 -86
  102. package/github/chatmodes/frontend.chatmode.md +157 -157
  103. package/github/chatmodes/pm.chatmode.md +89 -89
  104. package/github/chatmodes/po.chatmode.md +84 -84
  105. package/github/chatmodes/qa.chatmode.md +96 -96
  106. package/github/chatmodes/sm.chatmode.md +70 -70
  107. package/github/chatmodes/ux-expert.chatmode.md +74 -74
  108. package/index.js +9 -9
  109. package/package.json +37 -37
  110. package/vscode/mcp.json +11 -11
  111. package/vscode/settings.json +12 -12
@@ -1,187 +1,187 @@
1
- <!-- Powered by BMAD™ Core -->
2
-
3
- # Document Sharding Task
4
-
5
- ## Purpose
6
-
7
- - Split a large document into multiple smaller documents based on level 2 sections
8
- - Create a folder structure to organize the sharded documents
9
- - Maintain all content integrity including code blocks, diagrams, and markdown formatting
10
-
11
- ## Primary Method: Automatic with markdown-tree
12
-
13
- [[LLM: First, check if markdownExploder is set to true in .bmad-core/core-config.yaml. If it is, attempt to run the command: `md-tree explode {input file} {output path}`.
14
-
15
- If the command succeeds, inform the user that the document has been sharded successfully and STOP - do not proceed further.
16
-
17
- If the command fails (especially with an error indicating the command is not found or not available), inform the user: "The markdownExploder setting is enabled but the md-tree command is not available. Please either:
18
-
19
- 1. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
20
- 2. Or set markdownExploder to false in .bmad-core/core-config.yaml
21
-
22
- **IMPORTANT: STOP HERE - do not proceed with manual sharding until one of the above actions is taken.**"
23
-
24
- If markdownExploder is set to false, inform the user: "The markdownExploder setting is currently false. For better performance and reliability, you should:
25
-
26
- 1. Set markdownExploder to true in .bmad-core/core-config.yaml
27
- 2. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
28
-
29
- I will now proceed with the manual sharding process."
30
-
31
- Then proceed with the manual method below ONLY if markdownExploder is false.]]
32
-
33
- ### Installation and Usage
34
-
35
- 1. **Install globally**:
36
-
37
- ```bash
38
- npm install -g @kayvan/markdown-tree-parser
39
- ```
40
-
41
- 2. **Use the explode command**:
42
-
43
- ```bash
44
- # For PRD
45
- md-tree explode docs/prd.md docs/prd
46
-
47
- # For Architecture
48
- md-tree explode docs/architecture.md docs/architecture
49
-
50
- # For any document
51
- md-tree explode [source-document] [destination-folder]
52
- ```
53
-
54
- 3. **What it does**:
55
- - Automatically splits the document by level 2 sections
56
- - Creates properly named files
57
- - Adjusts heading levels appropriately
58
- - Handles all edge cases with code blocks and special markdown
59
-
60
- If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
61
-
62
- ---
63
-
64
- ## Manual Method (if @kayvan/markdown-tree-parser is not available or user indicated manual method)
65
-
66
- ### Task Instructions
67
-
68
- 1. Identify Document and Target Location
69
-
70
- - Determine which document to shard (user-provided path)
71
- - Create a new folder under `docs/` with the same name as the document (without extension)
72
- - Example: `docs/prd.md` → create folder `docs/prd/`
73
-
74
- 2. Parse and Extract Sections
75
-
76
- CRITICAL AEGNT SHARDING RULES:
77
-
78
- 1. Read the entire document content
79
- 2. Identify all level 2 sections (## headings)
80
- 3. For each level 2 section:
81
- - Extract the section heading and ALL content until the next level 2 section
82
- - Include all subsections, code blocks, diagrams, lists, tables, etc.
83
- - Be extremely careful with:
84
- - Fenced code blocks (```) - ensure you capture the full block including closing backticks and account for potential misleading level 2's that are actually part of a fenced section example
85
- - Mermaid diagrams - preserve the complete diagram syntax
86
- - Nested markdown elements
87
- - Multi-line content that might contain ## inside code blocks
88
-
89
- CRITICAL: Use proper parsing that understands markdown context. A ## inside a code block is NOT a section header.]]
90
-
91
- ### 3. Create Individual Files
92
-
93
- For each extracted section:
94
-
95
- 1. **Generate filename**: Convert the section heading to lowercase-dash-case
96
- - Remove special characters
97
- - Replace spaces with dashes
98
- - Example: "## Tech Stack" → `tech-stack.md`
99
-
100
- 2. **Adjust heading levels**:
101
- - The level 2 heading becomes level 1 (# instead of ##) in the sharded new document
102
- - All subsection levels decrease by 1:
103
-
104
- ```txt
105
- - ### → ##
106
- - #### → ###
107
- - ##### → ####
108
- - etc.
109
- ```
110
-
111
- 3. **Write content**: Save the adjusted content to the new file
112
-
113
- ### 4. Create Index File
114
-
115
- Create an `index.md` file in the sharded folder that:
116
-
117
- 1. Contains the original level 1 heading and any content before the first level 2 section
118
- 2. Lists all the sharded files with links:
119
-
120
- ```markdown
121
- # Original Document Title
122
-
123
- [Original introduction content if any]
124
-
125
- ## Sections
126
-
127
- - [Section Name 1](./section-name-1.md)
128
- - [Section Name 2](./section-name-2.md)
129
- - [Section Name 3](./section-name-3.md)
130
- ...
131
- ```
132
-
133
- ### 5. Preserve Special Content
134
-
135
- 1. **Code blocks**: Must capture complete blocks including:
136
-
137
- ```language
138
- content
139
- ```
140
-
141
- 2. **Mermaid diagrams**: Preserve complete syntax:
142
-
143
- ```mermaid
144
- graph TD
145
- ...
146
- ```
147
-
148
- 3. **Tables**: Maintain proper markdown table formatting
149
-
150
- 4. **Lists**: Preserve indentation and nesting
151
-
152
- 5. **Inline code**: Preserve backticks
153
-
154
- 6. **Links and references**: Keep all markdown links intact
155
-
156
- 7. **Template markup**: If documents contain {{placeholders}} ,preserve exactly
157
-
158
- ### 6. Validation
159
-
160
- After sharding:
161
-
162
- 1. Verify all sections were extracted
163
- 2. Check that no content was lost
164
- 3. Ensure heading levels were properly adjusted
165
- 4. Confirm all files were created successfully
166
-
167
- ### 7. Report Results
168
-
169
- Provide a summary:
170
-
171
- ```text
172
- Document sharded successfully:
173
- - Source: [original document path]
174
- - Destination: docs/[folder-name]/
175
- - Files created: [count]
176
- - Sections:
177
- - section-name-1.md: "Section Title 1"
178
- - section-name-2.md: "Section Title 2"
179
- ...
180
- ```
181
-
182
- ## Important Notes
183
-
184
- - Never modify the actual content, only adjust heading levels
185
- - Preserve ALL formatting, including whitespace where significant
186
- - Handle edge cases like sections with code blocks containing ## symbols
187
- - Ensure the sharding is reversible (could reconstruct the original from shards)
1
+ <!-- Powered by BMAD™ Core -->
2
+
3
+ # Document Sharding Task
4
+
5
+ ## Purpose
6
+
7
+ - Split a large document into multiple smaller documents based on level 2 sections
8
+ - Create a folder structure to organize the sharded documents
9
+ - Maintain all content integrity including code blocks, diagrams, and markdown formatting
10
+
11
+ ## Primary Method: Automatic with markdown-tree
12
+
13
+ [[LLM: First, check if markdownExploder is set to true in .bmad-core/core-config.yaml. If it is, attempt to run the command: `md-tree explode {input file} {output path}`.
14
+
15
+ If the command succeeds, inform the user that the document has been sharded successfully and STOP - do not proceed further.
16
+
17
+ If the command fails (especially with an error indicating the command is not found or not available), inform the user: "The markdownExploder setting is enabled but the md-tree command is not available. Please either:
18
+
19
+ 1. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
20
+ 2. Or set markdownExploder to false in .bmad-core/core-config.yaml
21
+
22
+ **IMPORTANT: STOP HERE - do not proceed with manual sharding until one of the above actions is taken.**"
23
+
24
+ If markdownExploder is set to false, inform the user: "The markdownExploder setting is currently false. For better performance and reliability, you should:
25
+
26
+ 1. Set markdownExploder to true in .bmad-core/core-config.yaml
27
+ 2. Install @kayvan/markdown-tree-parser globally with: `npm install -g @kayvan/markdown-tree-parser`
28
+
29
+ I will now proceed with the manual sharding process."
30
+
31
+ Then proceed with the manual method below ONLY if markdownExploder is false.]]
32
+
33
+ ### Installation and Usage
34
+
35
+ 1. **Install globally**:
36
+
37
+ ```bash
38
+ npm install -g @kayvan/markdown-tree-parser
39
+ ```
40
+
41
+ 2. **Use the explode command**:
42
+
43
+ ```bash
44
+ # For PRD
45
+ md-tree explode docs/prd.md docs/prd
46
+
47
+ # For Architecture
48
+ md-tree explode docs/architecture.md docs/architecture
49
+
50
+ # For any document
51
+ md-tree explode [source-document] [destination-folder]
52
+ ```
53
+
54
+ 3. **What it does**:
55
+ - Automatically splits the document by level 2 sections
56
+ - Creates properly named files
57
+ - Adjusts heading levels appropriately
58
+ - Handles all edge cases with code blocks and special markdown
59
+
60
+ If the user has @kayvan/markdown-tree-parser installed, use it and skip the manual process below.
61
+
62
+ ---
63
+
64
+ ## Manual Method (if @kayvan/markdown-tree-parser is not available or user indicated manual method)
65
+
66
+ ### Task Instructions
67
+
68
+ 1. Identify Document and Target Location
69
+
70
+ - Determine which document to shard (user-provided path)
71
+ - Create a new folder under `docs/` with the same name as the document (without extension)
72
+ - Example: `docs/prd.md` → create folder `docs/prd/`
73
+
74
+ 2. Parse and Extract Sections
75
+
76
+ CRITICAL AEGNT SHARDING RULES:
77
+
78
+ 1. Read the entire document content
79
+ 2. Identify all level 2 sections (## headings)
80
+ 3. For each level 2 section:
81
+ - Extract the section heading and ALL content until the next level 2 section
82
+ - Include all subsections, code blocks, diagrams, lists, tables, etc.
83
+ - Be extremely careful with:
84
+ - Fenced code blocks (```) - ensure you capture the full block including closing backticks and account for potential misleading level 2's that are actually part of a fenced section example
85
+ - Mermaid diagrams - preserve the complete diagram syntax
86
+ - Nested markdown elements
87
+ - Multi-line content that might contain ## inside code blocks
88
+
89
+ CRITICAL: Use proper parsing that understands markdown context. A ## inside a code block is NOT a section header.]]
90
+
91
+ ### 3. Create Individual Files
92
+
93
+ For each extracted section:
94
+
95
+ 1. **Generate filename**: Convert the section heading to lowercase-dash-case
96
+ - Remove special characters
97
+ - Replace spaces with dashes
98
+ - Example: "## Tech Stack" → `tech-stack.md`
99
+
100
+ 2. **Adjust heading levels**:
101
+ - The level 2 heading becomes level 1 (# instead of ##) in the sharded new document
102
+ - All subsection levels decrease by 1:
103
+
104
+ ```txt
105
+ - ### → ##
106
+ - #### → ###
107
+ - ##### → ####
108
+ - etc.
109
+ ```
110
+
111
+ 3. **Write content**: Save the adjusted content to the new file
112
+
113
+ ### 4. Create Index File
114
+
115
+ Create an `index.md` file in the sharded folder that:
116
+
117
+ 1. Contains the original level 1 heading and any content before the first level 2 section
118
+ 2. Lists all the sharded files with links:
119
+
120
+ ```markdown
121
+ # Original Document Title
122
+
123
+ [Original introduction content if any]
124
+
125
+ ## Sections
126
+
127
+ - [Section Name 1](./section-name-1.md)
128
+ - [Section Name 2](./section-name-2.md)
129
+ - [Section Name 3](./section-name-3.md)
130
+ ...
131
+ ```
132
+
133
+ ### 5. Preserve Special Content
134
+
135
+ 1. **Code blocks**: Must capture complete blocks including:
136
+
137
+ ```language
138
+ content
139
+ ```
140
+
141
+ 2. **Mermaid diagrams**: Preserve complete syntax:
142
+
143
+ ```mermaid
144
+ graph TD
145
+ ...
146
+ ```
147
+
148
+ 3. **Tables**: Maintain proper markdown table formatting
149
+
150
+ 4. **Lists**: Preserve indentation and nesting
151
+
152
+ 5. **Inline code**: Preserve backticks
153
+
154
+ 6. **Links and references**: Keep all markdown links intact
155
+
156
+ 7. **Template markup**: If documents contain {{placeholders}} ,preserve exactly
157
+
158
+ ### 6. Validation
159
+
160
+ After sharding:
161
+
162
+ 1. Verify all sections were extracted
163
+ 2. Check that no content was lost
164
+ 3. Ensure heading levels were properly adjusted
165
+ 4. Confirm all files were created successfully
166
+
167
+ ### 7. Report Results
168
+
169
+ Provide a summary:
170
+
171
+ ```text
172
+ Document sharded successfully:
173
+ - Source: [original document path]
174
+ - Destination: docs/[folder-name]/
175
+ - Files created: [count]
176
+ - Sections:
177
+ - section-name-1.md: "Section Title 1"
178
+ - section-name-2.md: "Section Title 2"
179
+ ...
180
+ ```
181
+
182
+ ## Important Notes
183
+
184
+ - Never modify the actual content, only adjust heading levels
185
+ - Preserve ALL formatting, including whitespace where significant
186
+ - Handle edge cases like sections with code blocks containing ## symbols
187
+ - Ensure the sharding is reversible (could reconstruct the original from shards)