bmad-module-skill-forge 0.5.0 → 0.7.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.
- package/README.md +4 -3
- package/docs/agents.md +12 -5
- package/docs/concepts.md +37 -15
- package/docs/examples.md +49 -5
- package/docs/getting-started.md +43 -17
- package/docs/how-it-works.md +115 -90
- package/docs/index.md +2 -2
- package/docs/workflows.md +89 -41
- package/package.json +2 -2
- package/src/agents/forger.agent.yaml +18 -6
- package/src/forger/README.md +1 -1
- package/src/forger/forge-tier.yaml +18 -1
- package/src/forger/preferences.yaml +6 -8
- package/src/knowledge/agentskills-spec.md +1 -1
- package/src/knowledge/architecture-verification.md +102 -0
- package/src/knowledge/ccc-bridge.md +110 -0
- package/src/knowledge/confidence-tiers.md +14 -3
- package/src/knowledge/doc-fetcher.md +1 -1
- package/src/knowledge/manual-section-integrity.md +2 -2
- package/src/knowledge/overview.md +10 -6
- package/src/knowledge/progressive-capability.md +15 -6
- package/src/knowledge/qmd-registry.md +18 -1
- package/src/knowledge/skf-knowledge-index.csv +3 -1
- package/src/knowledge/skill-lifecycle.md +26 -2
- package/src/knowledge/split-body-strategy.md +16 -2
- package/src/knowledge/zero-hallucination.md +11 -8
- package/src/module-help.csv +9 -6
- package/src/module.yaml +4 -1
- package/src/workflows/README.md +36 -18
- package/src/workflows/analyze-source/data/skill-brief-schema.md +18 -5
- package/src/workflows/analyze-source/data/unit-detection-heuristics.md +1 -0
- package/src/workflows/analyze-source/steps-c/step-01-init.md +4 -4
- package/src/workflows/analyze-source/steps-c/step-01b-continue.md +1 -1
- package/src/workflows/analyze-source/steps-c/step-02-scan-project.md +1 -1
- package/src/workflows/analyze-source/steps-c/step-03-identify-units.md +1 -1
- package/src/workflows/analyze-source/steps-c/step-04-map-and-detect.md +8 -4
- package/src/workflows/analyze-source/steps-c/step-05-recommend.md +1 -1
- package/src/workflows/analyze-source/steps-c/step-06-generate-briefs.md +2 -2
- package/src/workflows/analyze-source/workflow.md +2 -2
- package/src/workflows/audit-skill/data/drift-report-template.md +6 -6
- package/src/workflows/audit-skill/data/severity-rules.md +1 -1
- package/src/workflows/audit-skill/steps-c/step-01-init.md +3 -2
- package/src/workflows/audit-skill/steps-c/step-02-re-index.md +23 -1
- package/src/workflows/audit-skill/steps-c/step-04-semantic-diff.md +6 -6
- package/src/workflows/audit-skill/workflow.md +3 -2
- package/src/workflows/brief-skill/data/scope-templates.md +10 -0
- package/src/workflows/brief-skill/data/skill-brief-schema.md +25 -23
- package/src/workflows/brief-skill/steps-c/step-01-gather-intent.md +4 -4
- package/src/workflows/brief-skill/steps-c/step-02-analyze-target.md +15 -0
- package/src/workflows/brief-skill/steps-c/step-05-write-brief.md +3 -0
- package/src/workflows/create-skill/data/extraction-patterns.md +37 -1
- package/src/workflows/create-skill/data/skill-sections.md +14 -13
- package/src/workflows/create-skill/data/source-resolution-protocols.md +1 -1
- package/src/workflows/create-skill/steps-c/step-01-load-brief.md +18 -12
- package/src/workflows/create-skill/steps-c/step-02-ecosystem-check.md +2 -2
- package/src/workflows/create-skill/steps-c/step-02b-ccc-discover.md +157 -0
- package/src/workflows/create-skill/steps-c/step-03-extract.md +25 -20
- package/src/workflows/create-skill/steps-c/step-03b-fetch-temporal.md +8 -8
- package/src/workflows/create-skill/steps-c/step-03c-fetch-docs.md +3 -1
- package/src/workflows/create-skill/steps-c/step-04-enrich.md +9 -9
- package/src/workflows/create-skill/steps-c/step-05-compile.md +4 -3
- package/src/workflows/create-skill/steps-c/step-06-validate.md +3 -3
- package/src/workflows/create-skill/steps-c/step-07-generate-artifacts.md +60 -39
- package/src/workflows/create-skill/steps-c/step-08-report.md +26 -11
- package/src/workflows/create-skill/workflow.md +3 -3
- package/src/workflows/create-stack-skill/data/compose-mode-rules.md +65 -0
- package/src/workflows/create-stack-skill/data/stack-skill-template.md +29 -7
- package/src/workflows/create-stack-skill/steps-c/step-01-init.md +25 -8
- package/src/workflows/create-stack-skill/steps-c/step-02-detect-manifests.md +35 -2
- package/src/workflows/create-stack-skill/steps-c/step-03-rank-and-confirm.md +26 -2
- package/src/workflows/create-stack-skill/steps-c/step-04-parallel-extract.md +24 -0
- package/src/workflows/create-stack-skill/steps-c/step-05-detect-integrations.md +40 -2
- package/src/workflows/create-stack-skill/steps-c/step-06-compile-stack.md +5 -1
- package/src/workflows/create-stack-skill/steps-c/step-07-generate-output.md +53 -5
- package/src/workflows/create-stack-skill/steps-c/step-08-validate.md +4 -4
- package/src/workflows/create-stack-skill/steps-c/step-09-report.md +8 -2
- package/src/workflows/create-stack-skill/workflow.md +3 -3
- package/src/workflows/export-skill/data/managed-section-format.md +8 -1
- package/src/workflows/export-skill/data/snippet-format.md +1 -1
- package/src/workflows/export-skill/steps-c/step-01-load-skill.md +1 -1
- package/src/workflows/export-skill/steps-c/step-02-package.md +1 -1
- package/src/workflows/export-skill/steps-c/step-04-update-context.md +7 -2
- package/src/workflows/export-skill/steps-c/step-05-token-report.md +1 -1
- package/src/workflows/export-skill/workflow.md +3 -1
- package/src/workflows/quick-skill/data/skill-template.md +24 -4
- package/src/workflows/quick-skill/steps-c/step-02-ecosystem-check.md +1 -3
- package/src/workflows/quick-skill/steps-c/step-04-compile.md +26 -6
- package/src/workflows/quick-skill/steps-c/step-05-validate.md +1 -1
- package/src/workflows/quick-skill/steps-c/step-06-write.md +3 -0
- package/src/workflows/quick-skill/workflow.md +1 -1
- package/src/workflows/refine-architecture/data/refinement-rules.md +102 -0
- package/src/workflows/refine-architecture/steps-c/step-01-init.md +188 -0
- package/src/workflows/refine-architecture/steps-c/step-02-gap-analysis.md +179 -0
- package/src/workflows/refine-architecture/steps-c/step-03-issue-detection.md +182 -0
- package/src/workflows/refine-architecture/steps-c/step-04-improvements.md +169 -0
- package/src/workflows/refine-architecture/steps-c/step-05-compile.md +200 -0
- package/src/workflows/refine-architecture/steps-c/step-06-report.md +147 -0
- package/src/workflows/refine-architecture/workflow.md +61 -0
- package/src/workflows/setup-forge/data/tier-rules.md +16 -6
- package/src/workflows/setup-forge/steps-c/step-01-detect-and-tier.md +33 -15
- package/src/workflows/setup-forge/steps-c/step-01b-ccc-index.md +148 -0
- package/src/workflows/setup-forge/steps-c/step-02-write-config.md +29 -12
- package/src/workflows/setup-forge/steps-c/step-03-auto-index.md +29 -6
- package/src/workflows/setup-forge/steps-c/step-04-report.md +16 -4
- package/src/workflows/setup-forge/workflow.md +4 -3
- package/src/workflows/test-skill/data/scoring-rules.md +8 -0
- package/src/workflows/test-skill/data/source-access-protocol.md +1 -1
- package/src/workflows/test-skill/steps-c/step-01-init.md +3 -2
- package/src/workflows/test-skill/steps-c/step-02-detect-mode.md +2 -0
- package/src/workflows/test-skill/templates/test-report-template.md +3 -0
- package/src/workflows/test-skill/workflow.md +2 -2
- package/src/workflows/update-skill/steps-c/step-01-init.md +3 -2
- package/src/workflows/update-skill/steps-c/step-02-detect-changes.md +2 -2
- package/src/workflows/update-skill/steps-c/step-03-re-extract.md +24 -4
- package/src/workflows/update-skill/steps-c/step-05-validate.md +7 -11
- package/src/workflows/update-skill/steps-c/step-06-write.md +7 -4
- package/src/workflows/update-skill/workflow.md +1 -1
- package/src/workflows/verify-stack/data/coverage-patterns.md +45 -0
- package/src/workflows/verify-stack/data/feasibility-report-template.md +63 -0
- package/src/workflows/verify-stack/data/integration-verification-rules.md +73 -0
- package/src/workflows/verify-stack/steps-c/step-01-init.md +174 -0
- package/src/workflows/verify-stack/steps-c/step-02-coverage.md +181 -0
- package/src/workflows/verify-stack/steps-c/step-03-integrations.md +195 -0
- package/src/workflows/verify-stack/steps-c/step-04-requirements.md +168 -0
- package/src/workflows/verify-stack/steps-c/step-05-synthesize.md +191 -0
- package/src/workflows/verify-stack/steps-c/step-06-report.md +197 -0
- package/src/workflows/verify-stack/workflow.md +61 -0
- package/tools/cli/commands/status.js +2 -1
- package/src/workflows/analyze-source/validation-report.md +0 -657
- package/src/workflows/analyze-source/workflow-plan-analyze-source.md +0 -385
- package/src/workflows/audit-skill/validation-report.md +0 -545
- package/src/workflows/audit-skill/workflow-plan-audit-skill.md +0 -318
- package/src/workflows/brief-skill/validation-report.md +0 -630
- package/src/workflows/brief-skill/workflow-plan-brief-skill.md +0 -360
- package/src/workflows/create-skill/validation-report.md +0 -189
- package/src/workflows/create-skill/workflow-plan-create-skill.md +0 -523
- package/src/workflows/create-stack-skill/validation-report.md +0 -401
- package/src/workflows/create-stack-skill/workflow-plan-create-stack-skill.md +0 -481
- package/src/workflows/export-skill/validation-report.md +0 -263
- package/src/workflows/export-skill/workflow-plan-export-skill.md +0 -369
- package/src/workflows/quick-skill/validation-report.md +0 -543
- package/src/workflows/quick-skill/workflow-plan-quick-skill.md +0 -405
- package/src/workflows/setup-forge/validation-report.md +0 -504
- package/src/workflows/setup-forge/workflow-plan-setup-forge.md +0 -428
- package/src/workflows/test-skill/validation-report.md +0 -390
- package/src/workflows/test-skill/workflow-plan-test-skill.md +0 -292
- package/src/workflows/update-skill/data/tier-degradation-rules.md +0 -46
- package/src/workflows/update-skill/validation-report.md +0 -559
- package/src/workflows/update-skill/workflow-plan-update-skill.md +0 -441
|
@@ -1,405 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
conversionFrom: 'src/workflows/quick-skill/quick-skill.spec.md'
|
|
3
|
-
originalFormat: 'Workflow Specification (spec.md)'
|
|
4
|
-
stepsCompleted: ['step-00-conversion', 'step-02-classification', 'step-03-requirements', 'step-04-tools', 'step-05-plan-review', 'step-06-design', 'step-07-foundation', 'step-08-build-step-01', 'step-09-build-steps-02-06']
|
|
5
|
-
created: 2026-02-26
|
|
6
|
-
status: VALIDATED
|
|
7
|
-
approvedDate: 2026-02-27
|
|
8
|
-
confirmationDate: 2026-02-27
|
|
9
|
-
confirmationType: conversion
|
|
10
|
-
coverageStatus: complete
|
|
11
|
-
validationDate: 2026-02-27
|
|
12
|
-
validationStatus: COMPLETE
|
|
13
|
-
validationReport: './validation-report.md'
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
# Workflow Creation Plan
|
|
17
|
-
|
|
18
|
-
## Conversion Source
|
|
19
|
-
|
|
20
|
-
**Original Path:** src/workflows/quick-skill/quick-skill.spec.md
|
|
21
|
-
**Original Format:** Workflow Specification (spec.md) — pre-designed blueprint with step table, inputs/outputs, and agent integration
|
|
22
|
-
**Detected Structure:** Single specification document defining a 6-step create-only workflow for brief-less skill generation from package names or GitHub URLs
|
|
23
|
-
|
|
24
|
-
---
|
|
25
|
-
|
|
26
|
-
## Original Workflow Analysis
|
|
27
|
-
|
|
28
|
-
### Goal (from source)
|
|
29
|
-
|
|
30
|
-
Brief-less fast skill with package-to-repo resolution. The fastest path to a skill — accepts a GitHub URL or package name, resolves to source, reads exports via source reading (no AST required), and produces a best-effort SKILL.md. No brief needed. Package-to-repo resolution handles npm/PyPI/crates.io names.
|
|
31
|
-
|
|
32
|
-
### Original Steps (Complete List)
|
|
33
|
-
|
|
34
|
-
**Step 1:** resolve-target - Resolve package name or URL to GitHub repo
|
|
35
|
-
**Step 2:** ecosystem-check - Search if official skill already exists
|
|
36
|
-
**Step 3:** quick-extract - Read source, extract public API surface
|
|
37
|
-
**Step 4:** compile - Assemble best-effort SKILL.md
|
|
38
|
-
**Step 5:** validate - Validate against spec
|
|
39
|
-
**Step 6:** write - Write skill files
|
|
40
|
-
|
|
41
|
-
### Output / Deliverable
|
|
42
|
-
|
|
43
|
-
Document-producing workflow generating three files:
|
|
44
|
-
- `{skills_output_folder}/{name}/SKILL.md` — Best-effort skill document
|
|
45
|
-
- `{skills_output_folder}/{name}/context-snippet.md` — Passive context for platform injection
|
|
46
|
-
- `{skills_output_folder}/{name}/metadata.json` — With `source_authority: community`
|
|
47
|
-
|
|
48
|
-
### Input Requirements
|
|
49
|
-
|
|
50
|
-
**Required:**
|
|
51
|
-
- GitHub URL or package name (npm/PyPI/crates.io)
|
|
52
|
-
|
|
53
|
-
**Optional:**
|
|
54
|
-
- Language hint
|
|
55
|
-
- Scope hint (specific directories)
|
|
56
|
-
|
|
57
|
-
### Key Instructions to LLM
|
|
58
|
-
|
|
59
|
-
- Uses Ferris agent persona (Architect mode) as primary agent
|
|
60
|
-
- No brief needed — this is a speed-first entry point
|
|
61
|
-
- Package-to-repo resolution via `manifest_reader` internal utility
|
|
62
|
-
- Source reading approach (no AST required) — reads exports directly
|
|
63
|
-
- Best-effort output quality — not full-depth skill analysis
|
|
64
|
-
- `source_authority: community` designation for all outputs
|
|
65
|
-
|
|
66
|
-
---
|
|
67
|
-
|
|
68
|
-
## Conversion Notes
|
|
69
|
-
|
|
70
|
-
**What works well in original:**
|
|
71
|
-
- Clear 6-step pipeline with well-defined boundaries between steps
|
|
72
|
-
- Smart input flexibility (URL or package name from multiple registries)
|
|
73
|
-
- Explicit output file list with metadata conventions
|
|
74
|
-
- Ecosystem-aware (checks for existing official skills before duplicating work)
|
|
75
|
-
|
|
76
|
-
**What needs improvement:**
|
|
77
|
-
- Spec only — no step-level implementation details exist yet
|
|
78
|
-
- No menu structures or user interaction points defined
|
|
79
|
-
- No data files or templates specified
|
|
80
|
-
- Step granularity may need adjustment during build (e.g., resolve-target could be complex)
|
|
81
|
-
|
|
82
|
-
**Compliance gaps identified:**
|
|
83
|
-
- No step files exist (need full creation, not conversion)
|
|
84
|
-
- No frontmatter definitions for steps
|
|
85
|
-
- No workflow.md entry point
|
|
86
|
-
- No data/ folder templates
|
|
87
|
-
- No validation mode steps defined (spec says create-only, which is valid)
|
|
88
|
-
- Need to define critical path and state tracking across steps
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
## Memory-Informed Discovery Notes
|
|
93
|
-
|
|
94
|
-
**Preserve:**
|
|
95
|
-
- 6-step linear pipeline matches proven create-skill pattern
|
|
96
|
-
- Ecosystem-check advisory gate pattern (5s timeout, graceful degradation, P/I/A menu only on match)
|
|
97
|
-
- `source_authority: community` correctly positions output in SKF authority hierarchy
|
|
98
|
-
- No-brief differentiator — alternative entry point to create-skill pipeline
|
|
99
|
-
|
|
100
|
-
**Address:**
|
|
101
|
-
- `manifest_reader` utility doesn't exist — need self-contained resolution logic or clear tool requirements
|
|
102
|
-
- No tier awareness needed — operates at fixed Quick-tier equivalent (best-effort)
|
|
103
|
-
- Need explicit error handling table (hard halt, graceful degradation, silent skip patterns)
|
|
104
|
-
- Step 03 "source reading" needs clear definition: README, manifest files, top-level exports
|
|
105
|
-
|
|
106
|
-
**Add:**
|
|
107
|
-
- Graceful fallback chain for resolution: GitHub URL direct > registry API lookup > web search > fail gracefully
|
|
108
|
-
- Advisory ecosystem-check following create-skill step-02 exact pattern
|
|
109
|
-
- Lighter validation for community source_authority tier
|
|
110
|
-
- Ferris Architect mode with tier-aware acknowledgment
|
|
111
|
-
|
|
112
|
-
**Audience:** Same SKF users — developers wanting fast community skill generation without full brief-skill > create-skill pipeline. Phase 1b (Entry Points) build priority.
|
|
113
|
-
|
|
114
|
-
---
|
|
115
|
-
|
|
116
|
-
## Classification Decisions
|
|
117
|
-
|
|
118
|
-
**Workflow Name:** quick-skill
|
|
119
|
-
**Target Path:** {project-root}/_bmad/skf/workflows/quick-skill/
|
|
120
|
-
**Build Path:** {bmb_creations_output_folder}/workflows/quick-skill/
|
|
121
|
-
|
|
122
|
-
**4 Key Decisions:**
|
|
123
|
-
1. **Document Output:** true — produces SKILL.md, context-snippet.md, metadata.json
|
|
124
|
-
2. **Module Affiliation:** skf — part of Skills Knowledge Framework module
|
|
125
|
-
3. **Session Type:** single-session — speed-first, 6 focused steps, best-effort output
|
|
126
|
-
4. **Lifecycle Support:** create-only — steps-c/ only, no edit/validate modes
|
|
127
|
-
|
|
128
|
-
**Structure Implications:**
|
|
129
|
-
- Needs `steps-c/` directory only (no steps-e/ or steps-v/)
|
|
130
|
-
- Standard `step-01` init (no continuation logic, no step-01b-continue)
|
|
131
|
-
- Document-producing: steps contribute progressively to output files
|
|
132
|
-
- Module-based: has access to SKF-specific variables (skills_output_folder, forge-tier, etc.)
|
|
133
|
-
- No stepsCompleted tracking needed in output document (single-session)
|
|
134
|
-
|
|
135
|
-
---
|
|
136
|
-
|
|
137
|
-
## Requirements
|
|
138
|
-
|
|
139
|
-
**Flow Structure:**
|
|
140
|
-
- Pattern: linear
|
|
141
|
-
- Phases: resolve input (01), dedup check (02), extraction (03), compilation (04), validation (05), output (06)
|
|
142
|
-
- Estimated steps: 6
|
|
143
|
-
- Conditional branch: step-02 ecosystem-check shows P/I/A menu only if match found, otherwise auto-proceeds
|
|
144
|
-
|
|
145
|
-
**User Interaction:**
|
|
146
|
-
- Style: mostly autonomous
|
|
147
|
-
- Decision points: step-01 (user provides input), step-02 (conditional — only if ecosystem match), step-04 (optional checkpoint to review compiled SKILL.md)
|
|
148
|
-
- Checkpoint frequency: minimal — speed-first design, most steps auto-proceed (P3)
|
|
149
|
-
|
|
150
|
-
**Inputs Required:**
|
|
151
|
-
- Required: GitHub URL or package name (npm/PyPI/crates.io)
|
|
152
|
-
- Optional: language hint, scope hint (specific directories)
|
|
153
|
-
- Prerequisites: none — this is the brief-less entry point, no setup-forge or brief-skill needed
|
|
154
|
-
|
|
155
|
-
**Output Specifications:**
|
|
156
|
-
- Type: multi-file document output
|
|
157
|
-
- Files:
|
|
158
|
-
- `{skills_output_folder}/{name}/SKILL.md` — structured template following agentskills.io spec sections
|
|
159
|
-
- `{skills_output_folder}/{name}/context-snippet.md` — ADR-L v2 format (~50-80 tokens)
|
|
160
|
-
- `{skills_output_folder}/{name}/metadata.json` — strict JSON with `source_authority: community`
|
|
161
|
-
- Format: structured (SKILL.md), strict (context-snippet.md, metadata.json)
|
|
162
|
-
- Frequency: single run per skill
|
|
163
|
-
|
|
164
|
-
**Success Criteria:**
|
|
165
|
-
- Package/URL successfully resolved to GitHub repo source
|
|
166
|
-
- Public exports documented (best-effort, may be incomplete)
|
|
167
|
-
- Valid SKILL.md with core sections populated
|
|
168
|
-
- context-snippet.md in correct ADR-L v2 format
|
|
169
|
-
- metadata.json with `source_authority: community` and required fields
|
|
170
|
-
- No ecosystem duplicate if official skill already exists (user chose to proceed)
|
|
171
|
-
|
|
172
|
-
**Instruction Style:**
|
|
173
|
-
- Overall: prescriptive
|
|
174
|
-
- Notes: mechanical pipeline with exact operations per step. Ferris Architect mode provides precision execution. Matches Tax Organizer / SOP Writer pattern — focused questions, specific operations, no creative facilitation.
|
|
175
|
-
|
|
176
|
-
---
|
|
177
|
-
|
|
178
|
-
## Tools Configuration
|
|
179
|
-
|
|
180
|
-
**Core BMAD Tools:**
|
|
181
|
-
- **Party Mode:** excluded — prescriptive pipeline, no creative facilitation needed
|
|
182
|
-
- **Advanced Elicitation:** excluded — mechanical steps, no deep exploration needed
|
|
183
|
-
- **Brainstorming:** excluded — no ideation phases
|
|
184
|
-
|
|
185
|
-
**LLM Features:**
|
|
186
|
-
- **Web-Browsing:** included — critical for step-01 (registry API lookups, package-to-repo resolution), step-02 (ecosystem search), step-03 (reading GitHub source)
|
|
187
|
-
- **File I/O:** included — step-03 reads source files, step-06 writes three output files
|
|
188
|
-
- **Sub-Agents:** excluded — linear pipeline, no parallelization needed
|
|
189
|
-
- **Sub-Processes:** excluded — linear pipeline, no parallelization needed
|
|
190
|
-
|
|
191
|
-
**Memory:**
|
|
192
|
-
- Type: single-session
|
|
193
|
-
- Tracking: none — no complex state management needed
|
|
194
|
-
|
|
195
|
-
**External Integrations:**
|
|
196
|
-
- None required — web-browsing handles registry lookups and GitHub access
|
|
197
|
-
|
|
198
|
-
**Installation Requirements:**
|
|
199
|
-
- None — all selected tools are built-in
|
|
200
|
-
|
|
201
|
-
**Workflow Structure Preview:**
|
|
202
|
-
|
|
203
|
-
| Phase | Step | Name | Purpose | Menu |
|
|
204
|
-
|-------|------|------|---------|------|
|
|
205
|
-
| 1 | 01 | resolve-target | Accept input, resolve package/URL to GitHub repo | Init — user provides input |
|
|
206
|
-
| 2 | 02 | ecosystem-check | Query agentskills.io for existing official skill | Conditional P/I/A (match only) |
|
|
207
|
-
| 3 | 03 | quick-extract | Read source, extract public API surface | P3 auto-proceed |
|
|
208
|
-
| 4 | 04 | compile | Assemble SKILL.md, context-snippet, metadata | P2 checkpoint (review output) |
|
|
209
|
-
| 5 | 05 | validate | Validate against agentskills.io spec (community tier) | P3 auto-proceed |
|
|
210
|
-
| 6 | 06 | write | Write files to output folder, display summary | Final step |
|
|
211
|
-
|
|
212
|
-
---
|
|
213
|
-
|
|
214
|
-
## Workflow Design
|
|
215
|
-
|
|
216
|
-
### File Structure
|
|
217
|
-
|
|
218
|
-
```
|
|
219
|
-
quick-skill/
|
|
220
|
-
├── workflow.md # Entry point
|
|
221
|
-
├── data/
|
|
222
|
-
│ ├── skill-template.md # SKILL.md section template
|
|
223
|
-
│ └── registry-resolution.md # Package-to-repo resolution patterns
|
|
224
|
-
└── steps-c/
|
|
225
|
-
├── step-01-resolve-target.md
|
|
226
|
-
├── step-02-ecosystem-check.md
|
|
227
|
-
├── step-03-quick-extract.md
|
|
228
|
-
├── step-04-compile.md
|
|
229
|
-
├── step-05-validate.md
|
|
230
|
-
└── step-06-write.md
|
|
231
|
-
```
|
|
232
|
-
|
|
233
|
-
### Step Sequence Table
|
|
234
|
-
|
|
235
|
-
| # | Name | Type | Menu | Frontmatter Refs |
|
|
236
|
-
|---|------|------|------|-----------------|
|
|
237
|
-
| 01 | resolve-target | Init (non-continuable) | User input → auto-proceed | nextStepFile, registryResolutionData |
|
|
238
|
-
| 02 | ecosystem-check | Middle (Simple) | Conditional P/I/A if match, else P3 | nextStepFile |
|
|
239
|
-
| 03 | quick-extract | Middle (Simple) | P3 auto-proceed | nextStepFile |
|
|
240
|
-
| 04 | compile | Middle (Simple) | P2 (C only) checkpoint | nextStepFile, skillTemplateData |
|
|
241
|
-
| 05 | validate | Middle (Simple) | P3 auto-proceed | nextStepFile |
|
|
242
|
-
| 06 | write | Final | No next step | — |
|
|
243
|
-
|
|
244
|
-
### Step Action Plans
|
|
245
|
-
|
|
246
|
-
**Step 01 — resolve-target (Init):**
|
|
247
|
-
- Accept user input: GitHub URL or package name
|
|
248
|
-
- If GitHub URL: validate URL format, extract org/repo
|
|
249
|
-
- If package name: resolution fallback chain (from registry-resolution.md data):
|
|
250
|
-
1. npm registry API → extract `repository.url`
|
|
251
|
-
2. PyPI API → extract `project_urls.Source`
|
|
252
|
-
3. crates.io API → extract `repository`
|
|
253
|
-
4. Web search fallback → find GitHub repo
|
|
254
|
-
- Accept optional: language hint, scope hint
|
|
255
|
-
- Set state: resolved_url, repo_name, language_hint, scope_hint
|
|
256
|
-
- Auto-proceed to step-02
|
|
257
|
-
|
|
258
|
-
**Step 02 — ecosystem-check (Conditional):**
|
|
259
|
-
- Query agentskills.io ecosystem for repo_name skill
|
|
260
|
-
- 5-second timeout, tool unavailability = silent skip
|
|
261
|
-
- No match: auto-proceed to step-03 (no user interaction)
|
|
262
|
-
- Match found: conditional menu P/I/A
|
|
263
|
-
- [P] Proceed — compile custom skill anyway
|
|
264
|
-
- [I] Install — install existing official skill (exit workflow)
|
|
265
|
-
- [A] Abort — cancel compilation
|
|
266
|
-
|
|
267
|
-
**Step 03 — quick-extract (Auto-proceed):**
|
|
268
|
-
- Read repo README.md for description, features, usage
|
|
269
|
-
- Read manifest file (package.json / pyproject.toml / Cargo.toml)
|
|
270
|
-
- Scan top-level exports (index.js/ts, __init__.py, lib.rs)
|
|
271
|
-
- If scope hint: focus on specified directories
|
|
272
|
-
- Extract: export names, function signatures, type definitions (surface-level)
|
|
273
|
-
- No AST — grep/pattern-based extraction
|
|
274
|
-
- Set state: extraction_inventory
|
|
275
|
-
- Auto-proceed to step-04
|
|
276
|
-
|
|
277
|
-
**Step 04 — compile (Checkpoint):**
|
|
278
|
-
- Load skill-template.md from data/
|
|
279
|
-
- Assemble SKILL.md from extraction_inventory
|
|
280
|
-
- Generate context-snippet.md in ADR-L v2 format (~50-80 tokens)
|
|
281
|
-
- Generate metadata.json with source_authority: community
|
|
282
|
-
- Present compiled SKILL.md for review
|
|
283
|
-
- [C] Continue to validation
|
|
284
|
-
|
|
285
|
-
**Step 05 — validate (Auto-proceed):**
|
|
286
|
-
- Check SKILL.md has required sections populated
|
|
287
|
-
- Check context-snippet.md format compliance (ADR-L v2)
|
|
288
|
-
- Check metadata.json has required fields
|
|
289
|
-
- Community-tier validation (lighter than official)
|
|
290
|
-
- Report any gaps/issues
|
|
291
|
-
- Auto-proceed to step-06
|
|
292
|
-
|
|
293
|
-
**Step 06 — write (Final):**
|
|
294
|
-
- Create output directory: {skills_output_folder}/{name}/
|
|
295
|
-
- Write SKILL.md, context-snippet.md, metadata.json
|
|
296
|
-
- Display summary: files written, paths, token estimate
|
|
297
|
-
- Recommend next: test-skill (advisory), export-skill
|
|
298
|
-
|
|
299
|
-
### Data Flow
|
|
300
|
-
|
|
301
|
-
```
|
|
302
|
-
step-01 → resolved_url, repo_name, language_hint, scope_hint
|
|
303
|
-
↓
|
|
304
|
-
step-02 → ecosystem_status (match/no-match/skip)
|
|
305
|
-
↓
|
|
306
|
-
step-03 → extraction_inventory (exports, description, manifest_data)
|
|
307
|
-
↓
|
|
308
|
-
step-04 → skill_content (SKILL.md), context_snippet, metadata_json
|
|
309
|
-
↓
|
|
310
|
-
step-05 → validation_result (pass/fail, issues_list)
|
|
311
|
-
↓
|
|
312
|
-
step-06 → writes files, displays summary
|
|
313
|
-
```
|
|
314
|
-
|
|
315
|
-
### Error Handling
|
|
316
|
-
|
|
317
|
-
| Error | Response |
|
|
318
|
-
|-------|----------|
|
|
319
|
-
| Unresolvable package name | Hard halt — cannot proceed without source |
|
|
320
|
-
| GitHub repo inaccessible | Hard halt — need source to extract |
|
|
321
|
-
| Ecosystem check tool unavailable | Silent skip — proceed as no-match |
|
|
322
|
-
| Ecosystem check timeout (>5s) | Silent skip — proceed as no-match |
|
|
323
|
-
| No exports found in source | Graceful — minimal SKILL.md from README |
|
|
324
|
-
| Validation failures | Advisory — report issues, allow proceed |
|
|
325
|
-
| File write failure | Hard halt — cannot complete without output |
|
|
326
|
-
|
|
327
|
-
### Workflow Chaining
|
|
328
|
-
|
|
329
|
-
- **Prerequisites:** none (brief-less entry point)
|
|
330
|
-
- **Alternative to:** brief-skill → create-skill pipeline
|
|
331
|
-
- **Recommended next:** test-skill (advisory), export-skill
|
|
332
|
-
- **Output contract:** {skills_output_folder}/{name}/ with SKILL.md, context-snippet.md, metadata.json
|
|
333
|
-
|
|
334
|
-
### Subprocess Optimization
|
|
335
|
-
|
|
336
|
-
No subprocess optimization needed — linear pipeline, no parallelization opportunities.
|
|
337
|
-
|
|
338
|
-
### Role and Persona
|
|
339
|
-
|
|
340
|
-
Ferris — Architect mode. Prescriptive precision execution, speed-first, no creative facilitation.
|
|
341
|
-
|
|
342
|
-
---
|
|
343
|
-
|
|
344
|
-
## Foundation Build Complete
|
|
345
|
-
|
|
346
|
-
**Created:**
|
|
347
|
-
- Folder structure at: {bmb_creations_output_folder}/workflows/quick-skill/
|
|
348
|
-
- workflow.md — entry point with SKF config loading, Ferris rapid compiler role
|
|
349
|
-
- data/skill-template.md — SKILL.md section structure, context-snippet format (ADR-L), metadata.json format
|
|
350
|
-
- data/registry-resolution.md — package-to-repo resolution fallback chain (npm/PyPI/crates.io/web search)
|
|
351
|
-
- steps-c/ directory — ready for step file creation
|
|
352
|
-
|
|
353
|
-
**Configuration:**
|
|
354
|
-
- Workflow name: quick-skill
|
|
355
|
-
- Continuable: no (single-session)
|
|
356
|
-
- Document output: yes — multi-file (SKILL.md, context-snippet.md, metadata.json)
|
|
357
|
-
- Mode: create-only (steps-c/ only)
|
|
358
|
-
- Module config: {project-root}/_bmad/skf/config.yaml
|
|
359
|
-
- Module variables: skills_output_folder, forge_data_folder
|
|
360
|
-
|
|
361
|
-
**Next Steps:**
|
|
362
|
-
- Step 8: Build step-01-resolve-target (Init)
|
|
363
|
-
- Step 9: Build remaining steps 02-06 (repeatable)
|
|
364
|
-
|
|
365
|
-
---
|
|
366
|
-
|
|
367
|
-
## Step 01 Build Complete
|
|
368
|
-
|
|
369
|
-
**Created:**
|
|
370
|
-
- steps-c/step-01-resolve-target.md
|
|
371
|
-
|
|
372
|
-
**Step Configuration:**
|
|
373
|
-
- Type: Init (non-continuable, no input discovery)
|
|
374
|
-
- Menu: Auto-proceed after successful resolution
|
|
375
|
-
- Next Step: step-02-ecosystem-check
|
|
376
|
-
- Data ref: registry-resolution.md for fallback chain
|
|
377
|
-
- No step-01b (single-session workflow)
|
|
378
|
-
|
|
379
|
-
**Supporting Files:**
|
|
380
|
-
- data/registry-resolution.md (created in foundation)
|
|
381
|
-
|
|
382
|
-
---
|
|
383
|
-
|
|
384
|
-
## Steps 02-06 Build Complete
|
|
385
|
-
|
|
386
|
-
**Created:**
|
|
387
|
-
- steps-c/step-02-ecosystem-check.md (143 lines) — Conditional advisory gate, P/I/A on match, auto-proceed on no-match/skip
|
|
388
|
-
- steps-c/step-03-quick-extract.md (177 lines) — Surface-level source reading, extraction inventory, auto-proceed
|
|
389
|
-
- steps-c/step-04-compile.md (180 lines) — Assembles SKILL.md/snippet/metadata from inventory, P2 checkpoint for review
|
|
390
|
-
- steps-c/step-05-validate.md (150 lines) — Community-tier advisory validation, auto-proceed
|
|
391
|
-
- steps-c/step-06-write.md (160 lines) — Final step, writes files, displays summary, recommends next workflows
|
|
392
|
-
|
|
393
|
-
**All step files within size limits except step-01 (165 vs 150 Init guideline — minor, 15 lines over)**
|
|
394
|
-
|
|
395
|
-
**Complete file manifest:**
|
|
396
|
-
- workflow.md (56 lines)
|
|
397
|
-
- data/skill-template.md (66 lines)
|
|
398
|
-
- data/registry-resolution.md (91 lines)
|
|
399
|
-
- steps-c/step-01-resolve-target.md (165 lines)
|
|
400
|
-
- steps-c/step-02-ecosystem-check.md (143 lines)
|
|
401
|
-
- steps-c/step-03-quick-extract.md (177 lines)
|
|
402
|
-
- steps-c/step-04-compile.md (180 lines)
|
|
403
|
-
- steps-c/step-05-validate.md (150 lines)
|
|
404
|
-
- steps-c/step-06-write.md (160 lines)
|
|
405
|
-
- Total: 10 files, 1188 lines
|