bmad-module-skill-forge 0.2.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 (154) hide show
  1. package/.nvmrc +1 -0
  2. package/LICENSE +26 -0
  3. package/README.md +213 -0
  4. package/docs/404.md +20 -0
  5. package/docs/agents.md +73 -0
  6. package/docs/architecture.md +301 -0
  7. package/docs/examples.md +144 -0
  8. package/docs/getting-started.md +198 -0
  9. package/docs/index.md +75 -0
  10. package/docs/workflows.md +190 -0
  11. package/package.json +109 -0
  12. package/src/agents/forger.agent.yaml +93 -0
  13. package/src/forger/README.md +17 -0
  14. package/src/forger/forge-tier.yaml +13 -0
  15. package/src/forger/preferences.yaml +10 -0
  16. package/src/knowledge/agentskills-spec.md +158 -0
  17. package/src/knowledge/confidence-tiers.md +153 -0
  18. package/src/knowledge/manual-section-integrity.md +156 -0
  19. package/src/knowledge/overview.md +56 -0
  20. package/src/knowledge/progressive-capability.md +120 -0
  21. package/src/knowledge/provenance-tracking.md +163 -0
  22. package/src/knowledge/skf-knowledge-index.csv +9 -0
  23. package/src/knowledge/skill-lifecycle.md +150 -0
  24. package/src/knowledge/zero-hallucination.md +101 -0
  25. package/src/module-help.csv +12 -0
  26. package/src/module.yaml +22 -0
  27. package/src/workflows/README.md +148 -0
  28. package/src/workflows/analyze-source/data/skill-brief-schema.md +75 -0
  29. package/src/workflows/analyze-source/data/unit-detection-heuristics.md +88 -0
  30. package/src/workflows/analyze-source/steps-c/step-01-init.md +191 -0
  31. package/src/workflows/analyze-source/steps-c/step-01b-continue.md +144 -0
  32. package/src/workflows/analyze-source/steps-c/step-02-scan-project.md +208 -0
  33. package/src/workflows/analyze-source/steps-c/step-03-identify-units.md +199 -0
  34. package/src/workflows/analyze-source/steps-c/step-04-map-and-detect.md +222 -0
  35. package/src/workflows/analyze-source/steps-c/step-05-recommend.md +236 -0
  36. package/src/workflows/analyze-source/steps-c/step-06-generate-briefs.md +239 -0
  37. package/src/workflows/analyze-source/templates/analysis-report-template.md +41 -0
  38. package/src/workflows/analyze-source/validation-report.md +657 -0
  39. package/src/workflows/analyze-source/workflow-plan-analyze-source.md +385 -0
  40. package/src/workflows/analyze-source/workflow.md +61 -0
  41. package/src/workflows/audit-skill/data/drift-report-template.md +62 -0
  42. package/src/workflows/audit-skill/data/severity-rules.md +52 -0
  43. package/src/workflows/audit-skill/steps-c/step-01-init.md +195 -0
  44. package/src/workflows/audit-skill/steps-c/step-02-re-index.md +191 -0
  45. package/src/workflows/audit-skill/steps-c/step-03-structural-diff.md +194 -0
  46. package/src/workflows/audit-skill/steps-c/step-04-semantic-diff.md +199 -0
  47. package/src/workflows/audit-skill/steps-c/step-05-severity-classify.md +210 -0
  48. package/src/workflows/audit-skill/steps-c/step-06-report.md +217 -0
  49. package/src/workflows/audit-skill/validation-report.md +545 -0
  50. package/src/workflows/audit-skill/workflow-plan-audit-skill.md +318 -0
  51. package/src/workflows/audit-skill/workflow.md +63 -0
  52. package/src/workflows/brief-skill/data/skill-brief-schema.md +82 -0
  53. package/src/workflows/brief-skill/steps-c/step-01-gather-intent.md +184 -0
  54. package/src/workflows/brief-skill/steps-c/step-02-analyze-target.md +203 -0
  55. package/src/workflows/brief-skill/steps-c/step-03-scope-definition.md +225 -0
  56. package/src/workflows/brief-skill/steps-c/step-04-confirm-brief.md +185 -0
  57. package/src/workflows/brief-skill/steps-c/step-05-write-brief.md +156 -0
  58. package/src/workflows/brief-skill/validation-report.md +630 -0
  59. package/src/workflows/brief-skill/workflow-plan-brief-skill.md +360 -0
  60. package/src/workflows/brief-skill/workflow.md +57 -0
  61. package/src/workflows/create-skill/data/extraction-patterns.md +63 -0
  62. package/src/workflows/create-skill/data/skill-sections.md +166 -0
  63. package/src/workflows/create-skill/steps-c/step-01-load-brief.md +176 -0
  64. package/src/workflows/create-skill/steps-c/step-02-ecosystem-check.md +143 -0
  65. package/src/workflows/create-skill/steps-c/step-03-extract.md +184 -0
  66. package/src/workflows/create-skill/steps-c/step-04-enrich.md +152 -0
  67. package/src/workflows/create-skill/steps-c/step-05-compile.md +198 -0
  68. package/src/workflows/create-skill/steps-c/step-06-validate.md +162 -0
  69. package/src/workflows/create-skill/steps-c/step-07-generate-artifacts.md +165 -0
  70. package/src/workflows/create-skill/steps-c/step-08-report.md +160 -0
  71. package/src/workflows/create-skill/validation-report.md +189 -0
  72. package/src/workflows/create-skill/workflow-plan-create-skill.md +491 -0
  73. package/src/workflows/create-skill/workflow.md +52 -0
  74. package/src/workflows/create-stack-skill/data/integration-patterns.md +61 -0
  75. package/src/workflows/create-stack-skill/data/manifest-patterns.md +35 -0
  76. package/src/workflows/create-stack-skill/data/stack-skill-template.md +110 -0
  77. package/src/workflows/create-stack-skill/steps-c/step-01-init.md +142 -0
  78. package/src/workflows/create-stack-skill/steps-c/step-02-detect-manifests.md +145 -0
  79. package/src/workflows/create-stack-skill/steps-c/step-03-rank-and-confirm.md +161 -0
  80. package/src/workflows/create-stack-skill/steps-c/step-04-parallel-extract.md +155 -0
  81. package/src/workflows/create-stack-skill/steps-c/step-05-detect-integrations.md +154 -0
  82. package/src/workflows/create-stack-skill/steps-c/step-06-compile-stack.md +160 -0
  83. package/src/workflows/create-stack-skill/steps-c/step-07-generate-output.md +202 -0
  84. package/src/workflows/create-stack-skill/steps-c/step-08-validate.md +193 -0
  85. package/src/workflows/create-stack-skill/steps-c/step-09-report.md +137 -0
  86. package/src/workflows/create-stack-skill/validation-report.md +401 -0
  87. package/src/workflows/create-stack-skill/workflow-plan-create-stack-skill.md +481 -0
  88. package/src/workflows/create-stack-skill/workflow.md +59 -0
  89. package/src/workflows/export-skill/data/managed-section-format.md +70 -0
  90. package/src/workflows/export-skill/data/snippet-format.md +32 -0
  91. package/src/workflows/export-skill/steps-c/step-01-load-skill.md +184 -0
  92. package/src/workflows/export-skill/steps-c/step-02-package.md +153 -0
  93. package/src/workflows/export-skill/steps-c/step-03-generate-snippet.md +166 -0
  94. package/src/workflows/export-skill/steps-c/step-04-update-context.md +222 -0
  95. package/src/workflows/export-skill/steps-c/step-05-token-report.md +126 -0
  96. package/src/workflows/export-skill/steps-c/step-06-summary.md +167 -0
  97. package/src/workflows/export-skill/validation-report.md +263 -0
  98. package/src/workflows/export-skill/workflow-plan-export-skill.md +369 -0
  99. package/src/workflows/export-skill/workflow.md +56 -0
  100. package/src/workflows/quick-skill/data/registry-resolution.md +91 -0
  101. package/src/workflows/quick-skill/data/skill-template.md +66 -0
  102. package/src/workflows/quick-skill/steps-c/step-01-resolve-target.md +165 -0
  103. package/src/workflows/quick-skill/steps-c/step-02-ecosystem-check.md +143 -0
  104. package/src/workflows/quick-skill/steps-c/step-03-quick-extract.md +177 -0
  105. package/src/workflows/quick-skill/steps-c/step-04-compile.md +180 -0
  106. package/src/workflows/quick-skill/steps-c/step-05-validate.md +150 -0
  107. package/src/workflows/quick-skill/steps-c/step-06-write.md +160 -0
  108. package/src/workflows/quick-skill/validation-report.md +543 -0
  109. package/src/workflows/quick-skill/workflow-plan-quick-skill.md +405 -0
  110. package/src/workflows/quick-skill/workflow.md +56 -0
  111. package/src/workflows/setup-forge/data/tier-rules.md +50 -0
  112. package/src/workflows/setup-forge/steps-c/step-01-detect-and-tier.md +140 -0
  113. package/src/workflows/setup-forge/steps-c/step-02-write-config.md +141 -0
  114. package/src/workflows/setup-forge/steps-c/step-03-auto-index.md +116 -0
  115. package/src/workflows/setup-forge/steps-c/step-04-report.md +131 -0
  116. package/src/workflows/setup-forge/validation-report.md +504 -0
  117. package/src/workflows/setup-forge/workflow-plan-setup-forge.md +428 -0
  118. package/src/workflows/setup-forge/workflow.md +49 -0
  119. package/src/workflows/test-skill/data/output-section-formats.md +96 -0
  120. package/src/workflows/test-skill/data/scoring-rules.md +74 -0
  121. package/src/workflows/test-skill/steps-c/step-01-init.md +185 -0
  122. package/src/workflows/test-skill/steps-c/step-02-detect-mode.md +162 -0
  123. package/src/workflows/test-skill/steps-c/step-03-coverage-check.md +222 -0
  124. package/src/workflows/test-skill/steps-c/step-04-coherence-check.md +249 -0
  125. package/src/workflows/test-skill/steps-c/step-05-score.md +222 -0
  126. package/src/workflows/test-skill/steps-c/step-06-report.md +175 -0
  127. package/src/workflows/test-skill/templates/test-report-template.md +24 -0
  128. package/src/workflows/test-skill/validation-report.md +390 -0
  129. package/src/workflows/test-skill/workflow-plan-test-skill.md +288 -0
  130. package/src/workflows/test-skill/workflow.md +57 -0
  131. package/src/workflows/update-skill/data/manual-section-rules.md +44 -0
  132. package/src/workflows/update-skill/data/merge-conflict-rules.md +62 -0
  133. package/src/workflows/update-skill/steps-c/step-01-init.md +208 -0
  134. package/src/workflows/update-skill/steps-c/step-02-detect-changes.md +184 -0
  135. package/src/workflows/update-skill/steps-c/step-03-re-extract.md +187 -0
  136. package/src/workflows/update-skill/steps-c/step-04-merge.md +230 -0
  137. package/src/workflows/update-skill/steps-c/step-05-validate.md +187 -0
  138. package/src/workflows/update-skill/steps-c/step-06-write.md +204 -0
  139. package/src/workflows/update-skill/steps-c/step-07-report.md +201 -0
  140. package/src/workflows/update-skill/validation-report.md +559 -0
  141. package/src/workflows/update-skill/workflow-plan-update-skill.md +441 -0
  142. package/src/workflows/update-skill/workflow.md +56 -0
  143. package/tools/cli/commands/install.js +33 -0
  144. package/tools/cli/commands/status.js +195 -0
  145. package/tools/cli/commands/uninstall.js +226 -0
  146. package/tools/cli/commands/update.js +63 -0
  147. package/tools/cli/lib/compiler.js +306 -0
  148. package/tools/cli/lib/ide-commands.js +244 -0
  149. package/tools/cli/lib/installer.js +307 -0
  150. package/tools/cli/lib/manifest.js +109 -0
  151. package/tools/cli/lib/ui.js +277 -0
  152. package/tools/cli/lib/version-check.js +86 -0
  153. package/tools/cli/skf-cli.js +45 -0
  154. package/tools/skf-npx-wrapper.js +36 -0
@@ -0,0 +1,630 @@
1
+ ---
2
+ validationDate: 2026-02-27
3
+ workflowName: brief-skill
4
+ workflowPath: _bmad-output/bmb-creations/workflows/brief-skill/
5
+ validationStatus: COMPLETE
6
+ completionDate: 2026-02-27
7
+ ---
8
+
9
+ # Validation Report: brief-skill
10
+
11
+ **Validation Started:** 2026-02-27
12
+ **Validator:** BMAD Workflow Validation System
13
+ **Standards Version:** BMAD Workflow Standards
14
+
15
+ ---
16
+
17
+ ## File Structure & Size
18
+
19
+ ### Folder Structure
20
+
21
+ ```
22
+ brief-skill/
23
+ ├── workflow.md (57 lines)
24
+ ├── workflow-plan-brief-skill.md (plan document)
25
+ ├── validation-report.md (this file)
26
+ ├── data/
27
+ │ └── skill-brief-schema.md (82 lines)
28
+ └── steps-c/
29
+ ├── step-01-gather-intent.md (184 lines)
30
+ ├── step-02-analyze-target.md (203 lines)
31
+ ├── step-03-scope-definition.md (225 lines)
32
+ ├── step-04-confirm-brief.md (185 lines)
33
+ └── step-05-write-brief.md (156 lines)
34
+ ```
35
+
36
+ ### Structure Checks
37
+
38
+ - ✅ workflow.md exists
39
+ - ✅ steps-c/ folder exists with 5 step files
40
+ - ✅ data/ folder exists with reference file (skill-brief-schema.md)
41
+ - ✅ Step files sequentially numbered 01-05 with no gaps
42
+ - ✅ Final step (05) exists
43
+ - ✅ Folder names make sense
44
+
45
+ ### File Size Analysis
46
+
47
+ | File | Lines | Status |
48
+ |------|-------|--------|
49
+ | workflow.md | 57 | ✅ Good |
50
+ | data/skill-brief-schema.md | 82 | ✅ Good |
51
+ | steps-c/step-01-gather-intent.md | 184 | ✅ Good |
52
+ | steps-c/step-02-analyze-target.md | 203 | ⚠️ Approaching limit |
53
+ | steps-c/step-03-scope-definition.md | 225 | ⚠️ Approaching limit |
54
+ | steps-c/step-04-confirm-brief.md | 185 | ✅ Good |
55
+ | steps-c/step-05-write-brief.md | 156 | ✅ Good |
56
+
57
+ ### Notes
58
+
59
+ - step-02 at 203 lines — marginally over 200 recommendation but within 250 max. Acceptable given the multi-language detection logic and structured analysis instructions.
60
+ - step-03 at 225 lines — approaching 250 max. Contains three scope template paths (Full/Modules/Public API) with detailed guidance for each. Could extract scope templates to data/ file if further growth needed, but currently within limits.
61
+
62
+ **Status:** ✅ PASS (2 warnings — within acceptable range)
63
+
64
+ ---
65
+
66
+ ## Frontmatter Validation
67
+
68
+ ### File-by-File Analysis
69
+
70
+ **step-01-gather-intent.md:**
71
+ | Variable | Used in Body | Path Format | Status |
72
+ |----------|-------------|-------------|--------|
73
+ | nextStepFile | ✅ line 151 | `./step-02-analyze-target.md` (relative) | ✅ |
74
+ | forgeTierFile | ✅ line 61 | `{project-root}/_bmad/_memory/...` (external file) | ✅ |
75
+ - Forbidden patterns: None detected
76
+ - **Status:** ✅ PASS
77
+
78
+ **step-02-analyze-target.md:**
79
+ | Variable | Used in Body | Path Format | Status |
80
+ |----------|-------------|-------------|--------|
81
+ | nextStepFile | ✅ lines 171, 180 | `./step-03-scope-definition.md` (relative) | ✅ |
82
+ - Forbidden patterns: None detected
83
+ - **Status:** ✅ PASS
84
+
85
+ **step-03-scope-definition.md:**
86
+ | Variable | Used in Body | Path Format | Status |
87
+ |----------|-------------|-------------|--------|
88
+ | nextStepFile | ✅ line 190 | `./step-04-confirm-brief.md` (relative) | ✅ |
89
+ | advancedElicitationTask | ✅ line 188 | `{project-root}/_bmad/core/...` (external workflow) | ✅ |
90
+ | partyModeWorkflow | ✅ line 189 | `{project-root}/_bmad/core/...` (external workflow) | ✅ |
91
+ - Forbidden patterns: None detected
92
+ - **Status:** ✅ PASS
93
+
94
+ **step-04-confirm-brief.md:**
95
+ | Variable | Used in Body | Path Format | Status |
96
+ |----------|-------------|-------------|--------|
97
+ | nextStepFile | ✅ line 150 | `./step-05-write-brief.md` (relative) | ✅ |
98
+ | reviseStepFile | ✅ line 147 | `./step-03-scope-definition.md` (relative) | ✅ |
99
+ | briefSchemaFile | ✅ line 63 | `../data/skill-brief-schema.md` (relative) | ✅ |
100
+ | advancedElicitationTask | ✅ line 148 | `{project-root}/_bmad/core/...` (external workflow) | ✅ |
101
+ | partyModeWorkflow | ✅ line 149 | `{project-root}/_bmad/core/...` (external workflow) | ✅ |
102
+ - Forbidden patterns: None detected
103
+ - **Status:** ✅ PASS
104
+
105
+ **step-05-write-brief.md:**
106
+ | Variable | Used in Body | Path Format | Status |
107
+ |----------|-------------|-------------|--------|
108
+ | briefSchemaFile | ✅ line 58 | `../data/skill-brief-schema.md` (relative) | ✅ |
109
+ - Forbidden patterns: None detected
110
+ - **Status:** ✅ PASS
111
+
112
+ ### Summary
113
+
114
+ - 5/5 files validated
115
+ - 0 unused variables
116
+ - 0 path violations
117
+ - 0 forbidden patterns
118
+ - All internal paths use relative format
119
+ - All external references use `{project-root}` or `{variable}` format correctly
120
+
121
+ **Status:** ✅ PASS — Zero violations
122
+
123
+ ---
124
+
125
+ ## Critical Path Violations
126
+
127
+ ### Config Variables (Exceptions)
128
+
129
+ From workflow.md Configuration Loading section:
130
+ - `project_name`, `output_folder`, `user_name`, `communication_language`, `document_output_language`, `forge_data_folder`
131
+
132
+ Paths using these variables are valid even if not relative.
133
+
134
+ ### Content Path Violations
135
+
136
+ All 5 step files scanned for hardcoded `{project-root}/` paths in body content (after frontmatter).
137
+
138
+ **Result:** No content path violations found. All `{project-root}/` references are properly in frontmatter variables, and the body uses `{variableName}` references exclusively.
139
+
140
+ ### Dead Links
141
+
142
+ | Reference | Source File | Target | Exists |
143
+ |-----------|-----------|--------|--------|
144
+ | nextStepFile | step-01 | ./step-02-analyze-target.md | ✅ |
145
+ | nextStepFile | step-02 | ./step-03-scope-definition.md | ✅ |
146
+ | nextStepFile | step-03 | ./step-04-confirm-brief.md | ✅ |
147
+ | nextStepFile | step-04 | ./step-05-write-brief.md | ✅ |
148
+ | reviseStepFile | step-04 | ./step-03-scope-definition.md | ✅ |
149
+ | briefSchemaFile | step-04, step-05 | ../data/skill-brief-schema.md | ✅ |
150
+ | advancedElicitationTask | step-03, step-04 | {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml | ✅ |
151
+ | partyModeWorkflow | step-03, step-04 | {project-root}/_bmad/core/workflows/party-mode/workflow.md | ✅ |
152
+ | forgeTierFile | step-01 | {project-root}/_bmad/_memory/forger-sidecar/forge-tier.yaml | ⚠️ Runtime — may not exist if setup-forge not run (handled gracefully with default) |
153
+
154
+ ### Module Awareness
155
+
156
+ Workflow targets SKF module (`_bmad/skf/`). No bmb-specific path assumptions found. Module-appropriate.
157
+
158
+ ### Summary
159
+
160
+ - **CRITICAL:** 0 violations
161
+ - **HIGH:** 0 violations
162
+ - **MEDIUM:** 0 violations
163
+
164
+ **Status:** ✅ PASS — No violations
165
+
166
+ ---
167
+
168
+ ## Menu Handling Validation
169
+
170
+ ### File-by-File Analysis
171
+
172
+ **step-01-gather-intent.md** — C-only menu (P2 pattern)
173
+ - ✅ Display section present (line 147)
174
+ - ✅ Handler section follows display (lines 149-152)
175
+ - ✅ Execution Rules section present (lines 154-157)
176
+ - ✅ "halt and wait" instruction present
177
+ - ✅ No A/P options (appropriate for init step)
178
+ - ✅ C loads {nextStepFile}
179
+ - **Status:** ✅ PASS
180
+
181
+ **step-02-analyze-target.md** — Auto-proceed (P3 pattern)
182
+ - ✅ Auto-proceed pattern — no user menu
183
+ - ✅ Handler section present (lines 169-171)
184
+ - ✅ Execution Rules section present (lines 173-176)
185
+ - ✅ Immediately loads next step after analysis
186
+ - **Status:** ✅ PASS
187
+
188
+ **step-03-scope-definition.md** — A/P/C menu (P1 pattern)
189
+ - ✅ Display section present (line 184)
190
+ - ✅ Handler section follows display (lines 186-191)
191
+ - ✅ Execution Rules section present (lines 193-198)
192
+ - ✅ "halt and wait" instruction present
193
+ - ✅ A/P options redisplay menu
194
+ - ✅ C loads {nextStepFile}
195
+ - ✅ A/P appropriate for collaborative scope definition
196
+ - **Status:** ✅ PASS
197
+
198
+ **step-04-confirm-brief.md** — Custom R/A/P/C menu
199
+ - ✅ Display section present (line 143)
200
+ - ✅ Handler section follows display (lines 145-151)
201
+ - ✅ Execution Rules section present (lines 153-158)
202
+ - ✅ "halt and wait" instruction present
203
+ - ✅ R loads {reviseStepFile} (scope revision loop)
204
+ - ✅ A/P options redisplay menu
205
+ - ✅ C loads {nextStepFile}
206
+ - ✅ Custom R appropriate for confirmation gate
207
+ - **Status:** ✅ PASS
208
+
209
+ **step-05-write-brief.md** — No menu (Final step)
210
+ - ✅ No menu — final step pattern
211
+ - ✅ Completion message present
212
+ - ✅ No next step to load
213
+ - **Status:** ✅ PASS
214
+
215
+ ### Summary
216
+
217
+ - 5/5 files validated
218
+ - 0 menu handling violations
219
+ - All handler sections follow displays
220
+ - All execution rules include "halt and wait" where applicable
221
+ - A/P options appropriately placed (steps 03, 04 — collaborative/gate steps)
222
+ - A/P correctly excluded from init (step 01) and auto-proceed (step 02)
223
+
224
+ **Status:** ✅ PASS — Zero violations
225
+
226
+ ---
227
+
228
+ ## Step Type Validation
229
+
230
+ ### Expected vs Actual
231
+
232
+ | Step | Expected Type | Actual Type | Pattern Match | Status |
233
+ |------|--------------|-------------|--------------|--------|
234
+ | step-01-gather-intent | Init (with Input Discovery) | Init (with Input Discovery) | ✅ Discovers forge-tier.yaml, C-only menu | ✅ PASS |
235
+ | step-02-analyze-target | Middle (Simple) | Middle (Simple) | ✅ Auto-proceed, no A/P, factual reporting | ✅ PASS |
236
+ | step-03-scope-definition | Middle (Standard) | Middle (Standard) | ✅ A/P/C menu, collaborative content | ✅ PASS |
237
+ | step-04-confirm-brief | Middle (Standard/Custom) | Middle (Standard/Custom) | ✅ Custom R/A/P/C, confirmation gate | ✅ PASS |
238
+ | step-05-write-brief | Final | Final | ✅ No nextStepFile, completion message | ✅ PASS |
239
+
240
+ ### Detailed Checks
241
+
242
+ - ✅ step-01: Has forgeTierFile input discovery, no A/P, welcomes user
243
+ - ✅ step-02: Auto-proceeds after factual analysis, zero-hallucination mandate
244
+ - ✅ step-03: Collaborative with A/P/C, scope template options, confirms boundaries
245
+ - ✅ step-04: Loads briefSchemaFile for reference, custom R option for revision loop, P2 confirmation gate
246
+ - ✅ step-05: No nextStepFile in frontmatter, writes output, completion message with pipeline recommendation
247
+
248
+ **Status:** ✅ PASS — All steps match their expected type patterns
249
+
250
+ ---
251
+
252
+ ## Output Format Validation
253
+
254
+ ### Document Production
255
+
256
+ - **Produces document:** Yes — skill-brief.yaml
257
+ - **Template type:** Strict (exact YAML format from schema)
258
+ - **Output pattern:** Direct-to-final (compile-then-write)
259
+
260
+ ### Template Assessment
261
+
262
+ This workflow does NOT use a progressive-append template. Instead:
263
+ - Steps 01-04 gather data conversationally (no template file needed)
264
+ - Step 05 generates the complete YAML atomically from gathered data
265
+ - Schema reference file (`data/skill-brief-schema.md`) serves as the output specification
266
+
267
+ This is appropriate for structured YAML output — a progressive-append template would not make sense for atomic YAML generation.
268
+
269
+ ### Final Polish Step
270
+
271
+ - Not needed — YAML is generated atomically in one shot (step 05)
272
+ - No progressive content to polish
273
+ - Schema ensures correct format
274
+
275
+ ### Step-to-Output Mapping
276
+
277
+ | Step | Contribution to Output |
278
+ |------|----------------------|
279
+ | step-01 | Gathers: target_repo, user_intent, scope_hints, skill_name, forge_tier |
280
+ | step-02 | Gathers: detected_language, repo_structure, export_list, module_list |
281
+ | step-03 | Gathers: scope_type, include_patterns, exclude_patterns |
282
+ | step-04 | Confirms: all fields approved by user before write |
283
+ | step-05 | Writes: complete skill-brief.yaml from all accumulated data |
284
+
285
+ - ✅ Clear data accumulation across steps
286
+ - ✅ Confirmation gate before write
287
+ - ✅ Single output file written in final step
288
+
289
+ **Status:** ✅ PASS — Compile-then-write pattern appropriate for structured YAML output
290
+
291
+ ---
292
+
293
+ ## Validation Design Check
294
+
295
+ ### Validation Requirement Assessment
296
+
297
+ - **Workflow domain:** Interactive discovery / skill scoping
298
+ - **Compliance/safety:** Not applicable
299
+ - **Quality gates:** User confirmation at step 04 serves as quality gate
300
+
301
+ **Validation is NOT critical for this workflow:**
302
+ - Creative/exploratory discovery workflow
303
+ - User-driven scoping — user validates through confirmation gate
304
+ - Output (skill-brief.yaml) is validated downstream by create-skill's step-01-load-brief
305
+ - No compliance, legal, or safety concerns
306
+
307
+ ### Downstream Validation
308
+
309
+ - ✅ create-skill's step-01-load-brief validates all required fields in skill-brief.yaml
310
+ - ✅ User confirms the brief at step 04 before writing
311
+ - ✅ Dual validation: user gate + downstream machine validation
312
+
313
+ **Status:** ✅ PASS (N/A — validation not required; appropriate user and downstream validation exists)
314
+
315
+ ---
316
+
317
+ ## Instruction Style Check
318
+
319
+ ### Domain Assessment
320
+
321
+ - **Domain:** Interactive discovery / collaborative skill scoping
322
+ - **Appropriate style:** Mixed — intent-based for discovery, prescriptive for analysis and output
323
+ - **Plan specification:** Steps 01, 03 intent-based; Steps 02, 04, 05 prescriptive
324
+
325
+ ### Step-by-Step Analysis
326
+
327
+ **step-01-gather-intent** — Intent-based ✅
328
+ - "What do you want to skill?" — open-ended discovery
329
+ - "What's your intent?" — facilitative exploration
330
+ - "Take your time — the more context you share, the better the brief" — encouraging
331
+ - Progressive questioning: target first, then intent, then hints
332
+ - Appropriate for discovery step
333
+
334
+ **step-02-analyze-target** — Prescriptive ✅
335
+ - Exact analysis sequence: resolve → structure → language → modules → report
336
+ - Detection signals in specific order (package.json → tsconfig.json → Cargo.toml...)
337
+ - Zero-hallucination tolerance mandate
338
+ - Appropriate for automated analysis
339
+
340
+ **step-03-scope-definition** — Intent-based ✅
341
+ - "Which parts are most relevant to your use case?" — collaborative discovery
342
+ - Template options for guided choices ([F]/[M]/[P])
343
+ - "Any additional exclusions you'd like to add?" — open-ended refinement
344
+ - Appropriate for collaborative scoping
345
+
346
+ **step-04-confirm-brief** — Prescriptive ✅
347
+ - Exact presentation format from schema
348
+ - Structured brief display with all fields
349
+ - Precise highlighting of low-confidence values
350
+ - Appropriate for confirmation gate
351
+
352
+ **step-05-write-brief** — Prescriptive ✅
353
+ - Exact YAML generation from schema template
354
+ - Precise file write instructions with error handling
355
+ - Structured success message format
356
+ - Appropriate for output generation
357
+
358
+ ### Assessment
359
+
360
+ - ✅ Mixed style matches the plan specification exactly
361
+ - ✅ Discovery steps (01, 03) use intent-based facilitation
362
+ - ✅ Mechanical steps (02, 04, 05) use prescriptive instructions
363
+ - ✅ Style is appropriate for each step's purpose
364
+ - ✅ No inappropriate prescriptive language in discovery steps
365
+ - ✅ No inappropriate open-endedness in mechanical steps
366
+
367
+ **Status:** ✅ PASS — Instruction style appropriate for domain and well-differentiated across steps
368
+
369
+ ---
370
+
371
+ ## Collaborative Experience Check
372
+
373
+ ### Step-by-Step Facilitation Quality
374
+
375
+ **step-01-gather-intent:**
376
+ - Question style: Progressive ✅ (target → intent → hints → name, one topic at a time)
377
+ - Conversation flow: Natural ✅ (wait for response, ask follow-up if unclear)
378
+ - Role clarity: ✅ "skill scoping architect in Ferris Architect mode (exploratory, collaborative)"
379
+ - Facilitation: ✅ Encourages depth — "Take your time"
380
+
381
+ **step-02-analyze-target:**
382
+ - Mostly autonomous ✅ — factual reporting, not interrogation
383
+ - Clean handoff: presents findings, auto-proceeds
384
+ - Zero-hallucination mandate prevents confabulation
385
+
386
+ **step-03-scope-definition:**
387
+ - Question style: Progressive ✅ (template selection → refinement → confirmation)
388
+ - Conversation flow: Natural ✅ (wait for selection, then guide based on choice)
389
+ - Template options: Clear, visual [F]/[M]/[P] choices with descriptions
390
+ - Follow-up: "Any additional exclusions you'd like to add?" — invites input without demanding
391
+
392
+ **step-04-confirm-brief:**
393
+ - Presentation: Clean, structured brief display
394
+ - Highlights: Low-confidence fields flagged for attention
395
+ - Empowerment: "This is your last chance to make changes" — clear checkpoint
396
+ - Flexibility: Inline adjustments supported, [R] revise loops back
397
+
398
+ **step-05-write-brief:**
399
+ - Minimal interaction — appropriate for output step
400
+ - Clear success summary with next steps recommendation
401
+ - Satisfying completion: pipeline context (create-skill → test-skill → export-skill)
402
+
403
+ ### Progression and Arc
404
+
405
+ - ✅ Clear 5-phase progression: Discover → Analyze → Scope → Confirm → Write
406
+ - ✅ Each step builds on previous data
407
+ - ✅ User knows their position (step numbers, phase descriptions in step-01 welcome)
408
+ - ✅ Satisfying completion with forward momentum (suggests create-skill)
409
+
410
+ ### Error Handling
411
+
412
+ - ✅ Inaccessible repo: Hard halt with actionable error (step 02)
413
+ - ✅ Missing forge tier: Graceful default to Quick with warning (step 01)
414
+ - ✅ Low language confidence: Flagged for override (steps 02→03)
415
+ - ✅ Write failure: Hard halt with error (step 05)
416
+ - ✅ User rejects brief: [R] loops back to scope definition (step 04)
417
+
418
+ ### User Experience Assessment
419
+
420
+ This workflow feels like:
421
+ - [x] A collaborative partner working WITH the user
422
+ - [ ] A form collecting data FROM the user
423
+ - [ ] An interrogation extracting information
424
+
425
+ **Overall Collaborative Rating:** 5/5
426
+
427
+ **Status:** ✅ EXCELLENT — Strong facilitation quality with progressive questioning, natural conversation flow, and clear progression arc
428
+
429
+ ---
430
+
431
+ ## Subprocess Optimization Opportunities
432
+
433
+ **Total Opportunities:** 0 high-priority | **Estimated Context Savings:** N/A
434
+
435
+ ### Analysis
436
+
437
+ The workflow plan correctly identifies: "No high-priority subprocess opportunities. Linear interactive workflow against a single repo — main thread execution appropriate for all steps."
438
+
439
+ Verification:
440
+ - **step-01:** Gathers intent conversationally — interactive, no parallelizable work
441
+ - **step-02:** Analyzes a single target repo — sequential analysis of one repo
442
+ - **step-03:** Interactive scoping with user — collaborative, no parallelizable work
443
+ - **step-04:** Presents brief for review — single presentation step
444
+ - **step-05:** Writes one file — atomic operation
445
+
446
+ ### Verdict
447
+
448
+ No subprocess optimization opportunities applicable. This is a linear, interactive workflow where each step depends on user input from previous steps. Main thread execution is the correct approach.
449
+
450
+ **Status:** ✅ PASS — No optimization opportunities missed
451
+
452
+ ---
453
+
454
+ ## Cohesive Review
455
+
456
+ ### End-to-End Walkthrough
457
+
458
+ 1. **workflow.md** → Clear goal statement, warm Ferris Architect persona, SKF module context, pipeline positioning
459
+ 2. **step-01** → Discovers forge tier, welcomes user with pipeline overview, gathers target/intent/name progressively
460
+ 3. **step-02** → Factual repo analysis with language detection, auto-proceeds with momentum
461
+ 4. **step-03** → Presents scope templates, guides selection collaboratively, confirms boundaries
462
+ 5. **step-04** → Shows complete brief with highlights, offers revise or approve
463
+ 6. **step-05** → Writes YAML, shows success, recommends create-skill as next step
464
+
465
+ ### Cohesiveness Assessment
466
+
467
+ - ✅ Each step builds clearly on previous — data flows logically
468
+ - ✅ Consistent Ferris Architect voice: warm, collaborative, expert
469
+ - ✅ User always knows where they are: step numbers, phase descriptions, clear progression
470
+ - ✅ Natural momentum: discovery → analysis → scoping → confirmation → output
471
+ - ✅ Confirm-before-write gate ensures quality and user agency
472
+ - ✅ Error handling at key points prevents confusion
473
+ - ✅ Pipeline awareness throughout — user understands where brief-skill fits
474
+
475
+ ### Strengths
476
+
477
+ - Clean 5-step pipeline with clear separation of concerns
478
+ - Step 02 auto-proceed maintains flow while step 03 provides depth
479
+ - Confirmation gate with inline adjustment and full revise loop
480
+ - Graceful fallback patterns (forge tier default, output folder fallback)
481
+ - Downstream pipeline context (brief-skill → create-skill → test-skill)
482
+ - Zero-hallucination mandate for analysis ensures trust
483
+ - Scope templates make the abstract concrete ([F]/[M]/[P])
484
+
485
+ ### Weaknesses
486
+
487
+ - step-02 (203 lines) and step-03 (225 lines) approaching size limits — monitor if growth needed
488
+ - No explicit handling for monorepos with multiple language roots (edge case)
489
+
490
+ ### Critical Issues
491
+
492
+ None identified.
493
+
494
+ ### Recommendation
495
+
496
+ **EXCELLENT** — Ready to use. This workflow exemplifies best practices for interactive discovery:
497
+ - Progressive questioning over interrogation
498
+ - Collaborative scoping with visual templates
499
+ - Mandatory confirmation gate before output
500
+ - Clean pipeline integration with downstream workflows
501
+
502
+ ---
503
+
504
+ ## Plan Quality Validation
505
+
506
+ ### Plan Information
507
+
508
+ - **Plan file:** workflow-plan-brief-skill.md
509
+ - **Plan status:** CONFIRMED
510
+ - **Total requirements areas:** 5 (Discovery, Classification, Requirements, Design, Tools)
511
+
512
+ ### Implementation Coverage
513
+
514
+ **Discovery/Vision:**
515
+ | Requirement | Implemented | Quality |
516
+ |------------|-------------|---------|
517
+ | 5-step interactive discovery pipeline | ✅ | High |
518
+ | Input: GitHub URL or local path + user intent | ✅ | High |
519
+ | Output: skill-brief.yaml | ✅ | High |
520
+ | Confirm-before-write gate | ✅ | High |
521
+ | Pipeline positioning (Phase 1b entry point) | ✅ | High |
522
+
523
+ **Classification:**
524
+ | Attribute | Specified | Implemented | Status |
525
+ |-----------|----------|-------------|--------|
526
+ | Document output | true | ✅ skill-brief.yaml | ✅ |
527
+ | Module affiliation | SKF | ✅ SKF config loading | ✅ |
528
+ | Session type | single-session | ✅ No continuation logic | ✅ |
529
+ | Lifecycle support | create-only | ✅ steps-c/ only | ✅ |
530
+
531
+ **Requirements:**
532
+ | Requirement | Specified | Implemented | Status |
533
+ |------------|----------|-------------|--------|
534
+ | Flow: Linear 5-step | ✅ | ✅ | ✅ |
535
+ | Confirmation gate at step 04 | ✅ | ✅ P2 gate with R/A/P/C | ✅ |
536
+ | Mixed interaction style | ✅ | ✅ Intent + Prescriptive | ✅ |
537
+ | Required inputs | ✅ | ✅ Target repo + intent | ✅ |
538
+ | Optional inputs | ✅ | ✅ Scope hints, lang override | ✅ |
539
+ | Output: structured YAML | ✅ | ✅ Schema-driven generation | ✅ |
540
+ | Required fields in YAML | ✅ | ✅ All 9 fields present | ✅ |
541
+
542
+ **Design:**
543
+ | Element | Specified | Implemented | Status |
544
+ |---------|----------|-------------|--------|
545
+ | step-01 gather-intent (Init+Discovery) | ✅ | ✅ | ✅ |
546
+ | step-02 analyze-target (Middle Simple) | ✅ | ✅ | ✅ |
547
+ | step-03 scope-definition (Middle Standard) | ✅ | ✅ | ✅ |
548
+ | step-04 confirm-brief (Custom R/A/P/C) | ✅ | ✅ | ✅ |
549
+ | step-05 write-brief (Final) | ✅ | ✅ | ✅ |
550
+ | data/skill-brief-schema.md | ✅ | ✅ | ✅ |
551
+ | Data flow (accumulative) | ✅ | ✅ | ✅ |
552
+ | Error handling patterns | ✅ | ✅ All 6 scenarios | ✅ |
553
+
554
+ **Tools:**
555
+ | Tool | Specified | Implemented | Status |
556
+ |------|----------|-------------|--------|
557
+ | Advanced Elicitation | steps 03, 04 | ✅ Both steps | ✅ |
558
+ | Party Mode | steps 03, 04 | ✅ Both steps | ✅ |
559
+ | Web-Browsing (gh CLI) | step 02 | ✅ gh api usage | ✅ |
560
+ | File I/O | step 05 | ✅ YAML write | ✅ |
561
+ | Schema reference data | steps 04, 05 | ✅ briefSchemaFile | ✅ |
562
+
563
+ **Memory-Informed Additions:**
564
+ | Addition | Specified | Implemented | Status |
565
+ |---------|----------|-------------|--------|
566
+ | Forge tier awareness | ✅ | ✅ step-01 discovery | ✅ |
567
+ | Multi-language detection | ✅ | ✅ step-02 with confidence | ✅ |
568
+ | Scope templates | ✅ | ✅ step-03 F/M/P options | ✅ |
569
+ | Ecosystem check | Suggested | Not implemented | ⚠️ Optional |
570
+
571
+ ### Implementation Gaps
572
+
573
+ - Ecosystem check (verify if official skill already exists) was suggested but not implemented — this is optional and can be added later or handled in create-skill
574
+
575
+ ### Overall Assessment
576
+
577
+ - **Plan implementation score:** 97% (all required items implemented, 1 optional suggestion deferred)
578
+ - **Status:** Fully Implemented
579
+ - **Quality:** High across all areas
580
+
581
+ ---
582
+
583
+ ## Summary
584
+
585
+ ### Validation Results
586
+
587
+ | Check | Status | Notes |
588
+ |-------|--------|-------|
589
+ | File Structure & Size | ✅ PASS | 2 files approaching limit (203, 225 lines) |
590
+ | Frontmatter Validation | ✅ PASS | Zero violations across 5 files |
591
+ | Critical Path Violations | ✅ PASS | No content violations, dead links, or module issues |
592
+ | Menu Handling Validation | ✅ PASS | All menus compliant with standards |
593
+ | Step Type Validation | ✅ PASS | All 5 steps match expected type patterns |
594
+ | Output Format Validation | ✅ PASS | Compile-then-write appropriate for YAML |
595
+ | Validation Design Check | ✅ PASS | N/A — appropriate user and downstream validation |
596
+ | Instruction Style Check | ✅ PASS | Mixed style appropriate for domain |
597
+ | Collaborative Experience | ✅ EXCELLENT | 5/5 rating — strong facilitation quality |
598
+ | Subprocess Optimization | ✅ PASS | No opportunities missed |
599
+ | Cohesive Review | ✅ EXCELLENT | Ready to use — exemplifies best practices |
600
+ | Plan Quality Validation | ✅ PASS | 97% implementation — fully delivered |
601
+
602
+ ### Critical Issues: 0
603
+
604
+ ### Warnings: 2
605
+
606
+ 1. step-02-analyze-target.md at 203 lines (within 250 max but over 200 recommendation)
607
+ 2. step-03-scope-definition.md at 225 lines (within 250 max but approaching limit)
608
+
609
+ ### Key Strengths
610
+
611
+ - Clean 5-step pipeline with clear separation of concerns
612
+ - Progressive questioning over interrogation
613
+ - Mandatory confirmation gate with revise loop
614
+ - Graceful error handling and fallback patterns
615
+ - Strong pipeline integration (brief-skill → create-skill)
616
+ - Zero-hallucination mandate for analysis
617
+ - Appropriate mixed instruction style
618
+
619
+ ### Overall Assessment
620
+
621
+ **EXCELLENT** — Workflow is ready to use. All validation checks pass with no critical issues. Two minor size warnings do not impact functionality. The workflow exemplifies BMAD best practices for interactive discovery workflows.
622
+
623
+ ### Recommendation
624
+
625
+ **Ready for installation to `_bmad/skf/workflows/brief-skill/`**
626
+
627
+ Suggested next steps:
628
+ 1. Install the workflow to its target SKF module location
629
+ 2. Ensure SKF config.yaml exists with `forge_data_folder` defined
630
+ 3. Test the workflow with a real repository target