bmad-module-skill-forge 0.6.0 → 0.7.1
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 +2 -2
- package/docs/agents.md +9 -5
- package/docs/concepts.md +17 -13
- package/docs/examples.md +19 -4
- package/docs/getting-started.md +34 -19
- package/docs/how-it-works.md +87 -84
- package/docs/index.md +1 -1
- package/docs/workflows.md +88 -40
- package/package.json +1 -1
- package/src/agents/forger.agent.yaml +17 -5
- package/src/forger/README.md +1 -1
- package/src/forger/forge-tier.yaml +2 -1
- package/src/forger/preferences.yaml +5 -7
- package/src/knowledge/agentskills-spec.md +1 -1
- package/src/knowledge/architecture-verification.md +102 -0
- package/src/knowledge/ccc-bridge.md +3 -2
- package/src/knowledge/confidence-tiers.md +12 -1
- package/src/knowledge/doc-fetcher.md +1 -1
- package/src/knowledge/manual-section-integrity.md +2 -2
- package/src/knowledge/overview.md +11 -7
- package/src/knowledge/progressive-capability.md +5 -2
- package/src/knowledge/qmd-registry.md +5 -2
- package/src/knowledge/skf-knowledge-index.csv +2 -0
- package/src/knowledge/skill-lifecycle.md +26 -2
- package/src/knowledge/split-body-strategy.md +16 -2
- package/src/knowledge/tool-resolution.md +55 -0
- package/src/knowledge/zero-hallucination.md +11 -8
- package/src/module-help.csv +9 -6
- package/src/module.yaml +3 -0
- package/src/workflows/README.md +35 -17
- package/src/workflows/analyze-source/data/skill-brief-schema.md +18 -5
- package/src/workflows/analyze-source/steps-c/step-01-init.md +2 -2
- 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 +3 -3
- 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/severity-rules.md +1 -1
- package/src/workflows/audit-skill/steps-c/step-01-init.md +2 -1
- package/src/workflows/audit-skill/steps-c/step-02-re-index.md +8 -1
- package/src/workflows/audit-skill/steps-c/step-03-structural-diff.md +2 -2
- package/src/workflows/audit-skill/steps-c/step-04-semantic-diff.md +2 -2
- package/src/workflows/audit-skill/steps-c/step-05-severity-classify.md +1 -1
- package/src/workflows/audit-skill/workflow.md +2 -1
- 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 +1 -1
- package/src/workflows/brief-skill/steps-c/step-02-analyze-target.md +1 -1
- package/src/workflows/brief-skill/steps-c/step-05-write-brief.md +3 -0
- package/src/workflows/create-skill/data/extraction-patterns.md +7 -1
- package/src/workflows/create-skill/data/skill-sections.md +12 -11
- package/src/workflows/create-skill/data/source-resolution-protocols.md +2 -2
- package/src/workflows/create-skill/data/tier-degradation-rules.md +1 -1
- package/src/workflows/create-skill/steps-c/step-01-load-brief.md +14 -10
- package/src/workflows/create-skill/steps-c/step-02b-ccc-discover.md +4 -0
- package/src/workflows/create-skill/steps-c/step-03-extract.md +19 -19
- package/src/workflows/create-skill/steps-c/step-03b-fetch-temporal.md +3 -3
- 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 +3 -1
- package/src/workflows/create-skill/steps-c/step-05-compile.md +4 -3
- package/src/workflows/create-skill/steps-c/step-06-validate.md +2 -2
- package/src/workflows/create-skill/steps-c/step-07-generate-artifacts.md +33 -44
- package/src/workflows/create-skill/steps-c/step-08-report.md +25 -11
- package/src/workflows/create-skill/workflow.md +2 -2
- package/src/workflows/create-stack-skill/data/compose-mode-rules.md +65 -0
- package/src/workflows/create-stack-skill/data/manifest-patterns.md +23 -1
- package/src/workflows/create-stack-skill/data/stack-skill-template.md +28 -6
- package/src/workflows/create-stack-skill/steps-c/step-01-init.md +25 -7
- package/src/workflows/create-stack-skill/steps-c/step-02-detect-manifests.md +37 -3
- package/src/workflows/create-stack-skill/steps-c/step-03-rank-and-confirm.md +29 -3
- package/src/workflows/create-stack-skill/steps-c/step-04-parallel-extract.md +50 -7
- package/src/workflows/create-stack-skill/steps-c/step-05-detect-integrations.md +35 -3
- 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 +3 -3
- package/src/workflows/create-stack-skill/steps-c/step-09-report.md +8 -2
- package/src/workflows/create-stack-skill/workflow.md +2 -2
- 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-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 +18 -6
- 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/steps-c/step-01-detect-and-tier.md +2 -1
- package/src/workflows/setup-forge/steps-c/step-01b-ccc-index.md +5 -3
- package/src/workflows/setup-forge/steps-c/step-02-write-config.md +15 -16
- package/src/workflows/setup-forge/steps-c/step-03-auto-index.md +1 -1
- package/src/workflows/setup-forge/steps-c/step-04-report.md +2 -2
- package/src/workflows/setup-forge/workflow.md +3 -2
- package/src/workflows/test-skill/data/scoring-rules.md +3 -0
- package/src/workflows/test-skill/data/source-access-protocol.md +1 -1
- package/src/workflows/test-skill/steps-c/step-01-init.md +1 -0
- package/src/workflows/test-skill/steps-c/step-02-detect-mode.md +2 -0
- package/src/workflows/test-skill/workflow.md +2 -2
- package/src/workflows/update-skill/steps-c/step-02-detect-changes.md +3 -3
- package/src/workflows/update-skill/steps-c/step-03-re-extract.md +8 -3
- package/src/workflows/update-skill/steps-c/step-05-validate.md +8 -12
- package/src/workflows/update-skill/steps-c/step-06-write.md +5 -2
- 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/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 -525
- 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 -430
- 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
package/README.md
CHANGED
|
@@ -76,7 +76,7 @@ You'll be prompted for project name, output folders, and IDE configuration. See
|
|
|
76
76
|
2. **Generate your first skill:** `@Ferris QS <package-name>` — creates a verified skill in under a minute
|
|
77
77
|
3. **Full quality path:** `@Ferris BS` then `@Ferris CS` — brief first, then compile for maximum accuracy
|
|
78
78
|
|
|
79
|
-
See the [workflows docs](https://armelhbobdad.github.io/bmad-module-skill-forge/workflows/) for all
|
|
79
|
+
See the [workflows docs](https://armelhbobdad.github.io/bmad-module-skill-forge/workflows/) for all 12 available workflows.
|
|
80
80
|
|
|
81
81
|
## Who Is This For?
|
|
82
82
|
|
|
@@ -90,7 +90,7 @@ See the [workflows docs](https://armelhbobdad.github.io/bmad-module-skill-forge/
|
|
|
90
90
|
- **[Getting Started](https://armelhbobdad.github.io/bmad-module-skill-forge/getting-started/)** — Installation, prerequisites, and your first skill
|
|
91
91
|
- **[Concepts](https://armelhbobdad.github.io/bmad-module-skill-forge/concepts/)** — Plain-English definitions of all key terms
|
|
92
92
|
- **[How It Works](https://armelhbobdad.github.io/bmad-module-skill-forge/how-it-works/)** — Architecture, capability tiers, output format, and design decisions
|
|
93
|
-
- **[Workflows](https://armelhbobdad.github.io/bmad-module-skill-forge/workflows/)** — All
|
|
93
|
+
- **[Workflows](https://armelhbobdad.github.io/bmad-module-skill-forge/workflows/)** — All 12 workflows with commands and connection diagrams
|
|
94
94
|
- **[Agents](https://armelhbobdad.github.io/bmad-module-skill-forge/agents/)** — Ferris: the AI agent that runs all SKF workflows
|
|
95
95
|
- **[Examples](https://armelhbobdad.github.io/bmad-module-skill-forge/examples/)** — Real-world scenarios, tips, and troubleshooting
|
|
96
96
|
|
package/docs/agents.md
CHANGED
|
@@ -34,9 +34,9 @@ Ferris handles all SKF workflows. You always interact with Ferris — he switche
|
|
|
34
34
|
|
|
35
35
|
| Mode | Behavior | Workflows |
|
|
36
36
|
|------|----------|-----------|
|
|
37
|
-
| **Architect** | Exploratory, structural, assembling | SF, AN, BS, CS, QS, SS |
|
|
37
|
+
| **Architect** | Exploratory, structural, assembling | SF, AN, BS, CS, QS, SS, RA |
|
|
38
38
|
| **Surgeon** | Precise, semantic diffing, preserves [MANUAL] | US |
|
|
39
|
-
| **Audit** | Judgmental, drift reports, completeness scoring | AS, TS |
|
|
39
|
+
| **Audit** | Judgmental, drift reports, completeness scoring | AS, TS, VS |
|
|
40
40
|
| **Delivery** | Packaging, platform-aware, ecosystem-ready | EX |
|
|
41
41
|
|
|
42
42
|
**Communication Style:**
|
|
@@ -58,7 +58,11 @@ CREATE:
|
|
|
58
58
|
[BS] Brief Skill — Design a skill scope
|
|
59
59
|
[CS] Create Skill — Compile a skill from brief
|
|
60
60
|
[QS] Quick Skill — Fast skill, no brief needed
|
|
61
|
-
[SS] Stack Skill — Consolidated project stack skill
|
|
61
|
+
[SS] Stack Skill — Consolidated project stack skill (code-mode or compose-mode)
|
|
62
|
+
|
|
63
|
+
VERIFY:
|
|
64
|
+
[VS] Verify Stack — Pre-code architecture feasibility check
|
|
65
|
+
[RA] Refine Architecture — Improve architecture with skill evidence
|
|
62
66
|
|
|
63
67
|
MAINTAIN:
|
|
64
68
|
[US] Update Skill — Regenerate after changes
|
|
@@ -68,8 +72,8 @@ MAINTAIN:
|
|
|
68
72
|
DELIVER:
|
|
69
73
|
[EX] Export Skill — Package for distribution
|
|
70
74
|
|
|
71
|
-
[WS] Workflow Status
|
|
72
|
-
[
|
|
75
|
+
[WS] Workflow Status — Show current lifecycle position
|
|
76
|
+
[KI] Knowledge Index — List available knowledge fragments
|
|
73
77
|
```
|
|
74
78
|
|
|
75
79
|
**Memory:**
|
package/docs/concepts.md
CHANGED
|
@@ -5,7 +5,7 @@ description: Plain-English definitions of key Skill Forge terms — agent skills
|
|
|
5
5
|
|
|
6
6
|
# Concepts
|
|
7
7
|
|
|
8
|
-
This page defines the key terms you'll encounter in Skill Forge
|
|
8
|
+
This page defines the key terms you'll encounter in Skill Forge, with concrete examples.
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -15,7 +15,7 @@ An agent skill is an instruction file that tells an AI agent how to use your cod
|
|
|
15
15
|
|
|
16
16
|
Skills follow the [agentskills.io](https://agentskills.io) open standard, so they work across Claude, Cursor, Copilot, and other AI tools.
|
|
17
17
|
|
|
18
|
-
**Example:** A skill for
|
|
18
|
+
**Example:** A skill for [cognee](https://github.com/armelhbobdad/oh-my-skills) tells your agent: "The function is `cognee.search()`, it takes `query_text`, `query_type`, `top_k`, and `session_id`, and it's defined at `cognee/api/v1/search/search.py:L26`." Every parameter and location is AST-verified from the actual source code.
|
|
19
19
|
|
|
20
20
|
---
|
|
21
21
|
|
|
@@ -24,10 +24,10 @@ Skills follow the [agentskills.io](https://agentskills.io) open standard, so the
|
|
|
24
24
|
Provenance means every instruction in a skill traces back to where it came from. For code, that's a file and line number. For documentation, it's a URL. For developer discourse, it's an issue or PR reference. If SKF can't point to a source, it doesn't include the instruction.
|
|
25
25
|
|
|
26
26
|
**Examples** (from a [real generated skill](https://github.com/armelhbobdad/oh-my-skills)):
|
|
27
|
-
- `[AST:cognee/api/v1/search/search.py:L26]` — extracted from source code via AST parsing
|
|
28
|
-
- `[SRC:cognee/api/v1/session/__init__.py:L8]` — read from source code without AST verification
|
|
29
|
-
- `[
|
|
30
|
-
- `[
|
|
27
|
+
- `[AST:cognee/api/v1/search/search.py:L26]` — extracted from source code via AST parsing (T1)
|
|
28
|
+
- `[SRC:cognee/api/v1/session/__init__.py:L8]` — read from source code without AST verification (T1-low)
|
|
29
|
+
- `[QMD:cognee-temporal:issues.md]` — surfaced from indexed developer discourse (T2)
|
|
30
|
+
- `[EXT:docs.cognee.ai/getting-started/quickstart]` — sourced from external documentation (T3)
|
|
31
31
|
|
|
32
32
|
---
|
|
33
33
|
|
|
@@ -35,12 +35,16 @@ Provenance means every instruction in a skill traces back to where it came from.
|
|
|
35
35
|
|
|
36
36
|
Each piece of information in a skill carries a confidence level based on where it came from:
|
|
37
37
|
|
|
38
|
-
- **T1 — AST extraction:** Pulled directly from source code via AST parsing. This is structural truth — the function signature actually exists in the code right now.
|
|
39
|
-
- **T1-low — Source reading:** Found by reading source files directly without AST parsing. The location is correct but the type signature may be inferred. Produced by Quick tier and by Forge/Deep when ast-grep cannot parse a specific file.
|
|
40
|
-
- **T2 — Evidence:**
|
|
41
|
-
- **
|
|
38
|
+
- **T1 — AST extraction:** Pulled directly from source code via AST parsing. This is structural truth — the function signature actually exists in the code right now. Cited as `[AST:file:Lnn]`.
|
|
39
|
+
- **T1-low — Source reading:** Found by reading source files directly without AST parsing. The location is correct but the type signature may be inferred. Produced by Quick tier and by Forge/Forge+/Deep when ast-grep cannot parse a specific file. Cited as `[SRC:file:Lnn]`.
|
|
40
|
+
- **T2 — Evidence (Deep tier only):** Surfaced by QMD knowledge search from issues, PRs, changelogs, or documentation within the repository. Available only when QMD is installed (Deep tier). Reliable context, but not as definitive as code. Cited as `[QMD:collection:document]`. T2 has two temporal subtypes:
|
|
41
|
+
- **T2-past** — Historical context (closed issues, merged PRs, changelogs) explaining API design decisions. Surfaces in the skill's `references/` directory.
|
|
42
|
+
- **T2-future** — Forward-looking context (open PRs, deprecation warnings, RFCs) about upcoming changes. Surfaces in SKILL.md Section 4b (Migration & Deprecation Warnings) and `references/`.
|
|
43
|
+
- **T3 — External:** Pulled from external documentation or websites. Treated with caution and clearly marked. Cited as `[EXT:url]`.
|
|
42
44
|
|
|
43
|
-
|
|
45
|
+
Forge+ semantic discovery (via cocoindex-code) does not introduce a new confidence tier — it influences *which* files are extracted, not *how* they're cited. Discovered files are verified by ast-grep (T1) or source reading (T1-low).
|
|
46
|
+
|
|
47
|
+
See the [Provenance](#provenance) examples above for real citations at each tier.
|
|
44
48
|
|
|
45
49
|
---
|
|
46
50
|
|
|
@@ -51,9 +55,9 @@ Your capability tier depends on which tools you have installed. Each tier builds
|
|
|
51
55
|
- **Quick** — No tools required. SKF reads source files and builds best-effort skills. Works in under a minute. GitHub CLI used when available.
|
|
52
56
|
- **Forge** — Adds [ast-grep](https://ast-grep.github.io). SKF uses AST parsing for structural truth. Instructions are verified against the actual code structure.
|
|
53
57
|
- **Forge+** — Adds [cocoindex-code](https://github.com/cocoindex-io/cocoindex-code). SKF uses semantic code search to discover relevant source regions before AST extraction, improving coverage on large codebases.
|
|
54
|
-
- **Deep** —
|
|
58
|
+
- **Deep** — Full pipeline: requires [ast-grep](https://ast-grep.github.io) + [GitHub CLI](https://cli.github.com) + [QMD](https://github.com/tobi/qmd) (all three). SKF indexes knowledge for semantic search and performs GitHub repository exploration. Skills get enriched with historical context, deprecation warnings, and cross-reference intelligence. CCC (cocoindex-code) enhances Deep tier when installed — ast-grep + gh + qmd + ccc gives maximum capability.
|
|
55
59
|
|
|
56
|
-
You don't need all tools to start. SKF detects what you have and sets your tier automatically. See [How It Works](../how-it-works
|
|
60
|
+
You don't need all tools to start. SKF detects what you have and sets your tier automatically. See [How It Works](../how-it-works/) for the full technical treatment.
|
|
57
61
|
|
|
58
62
|
---
|
|
59
63
|
|
package/docs/examples.md
CHANGED
|
@@ -44,7 +44,7 @@ Provenance tags trace each instruction to its source:
|
|
|
44
44
|
- `[EXT:url]` — sourced from external documentation
|
|
45
45
|
- `[QMD:collection:doc]` — surfaced from indexed developer discourse (issues, PRs, changelogs)
|
|
46
46
|
|
|
47
|
-
See [How It Works](../how-it-works
|
|
47
|
+
See [How It Works](../how-it-works/) for the full output structure.
|
|
48
48
|
|
|
49
49
|
**Full skill directory structure:**
|
|
50
50
|
|
|
@@ -113,6 +113,21 @@ Armel's full-stack project: Next.js + Serwist + SpacetimeDB + better-auth.
|
|
|
113
113
|
|
|
114
114
|
Ferris detects 8 significant dependencies, finds 5 co-import integration points. Generates a consolidated stack skill. The agent now knows: "When you modify the auth flow, update the Serwist cache exclusion at `src/sw.ts:L23`." Integration intelligence no other tool provides.
|
|
115
115
|
|
|
116
|
+
### Pre-Code Architecture Verification — Greenfield Confidence
|
|
117
|
+
|
|
118
|
+
Jordan is designing a new TypeScript backend with Hono + Drizzle + SpacetimeDB. Architecture doc written, but no code yet. Wants to verify the stack works before building.
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
@Ferris QS hono # Quick Skill per library
|
|
122
|
+
@Ferris QS drizzle-orm
|
|
123
|
+
@Ferris QS spacetimedb-sdk
|
|
124
|
+
@Ferris VS # Verify Stack — feasibility report
|
|
125
|
+
@Ferris RA # Refine Architecture — enrich with API evidence
|
|
126
|
+
@Ferris SS # Stack Skill — compose-mode (no codebase needed)
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
VS finds a Risky integration between Drizzle and SpacetimeDB (incompatible query models) and returns CONDITIONALLY FEASIBLE. Jordan adds a bridge layer to the architecture, re-runs VS → FEASIBLE. RA fills in verified API signatures. SS compose-mode synthesizes the stack skill from existing skills + refined architecture. The agent now has integration intelligence for a project that doesn't have code yet.
|
|
130
|
+
|
|
116
131
|
---
|
|
117
132
|
|
|
118
133
|
## Common Scenarios
|
|
@@ -172,7 +187,7 @@ Start with Quick mode (no setup required), upgrade to Forge (install ast-grep),
|
|
|
172
187
|
|
|
173
188
|
### Batch Operations
|
|
174
189
|
|
|
175
|
-
Use `--batch` with `create-skill`
|
|
190
|
+
Use `--batch` with `create-skill` to process multiple briefs at once. Progress is checkpointed — if interrupted, re-run `@Ferris CS --batch` and Ferris will resume automatically from where it left off.
|
|
176
191
|
|
|
177
192
|
### Stack Skills + Individual Skills
|
|
178
193
|
|
|
@@ -196,8 +211,8 @@ If your source repo includes executable scripts (`scripts/`, `bin/`) or static a
|
|
|
196
211
|
|
|
197
212
|
### Common Issues
|
|
198
213
|
|
|
199
|
-
**
|
|
200
|
-
|
|
214
|
+
**Forge reports ast-grep is unavailable**
|
|
215
|
+
If setup-forge reports that ast-grep was not detected, install it to unlock Forge mode: <https://ast-grep.github.io>
|
|
201
216
|
|
|
202
217
|
**"No brief found"**
|
|
203
218
|
Run `@Ferris BS` first to create a skill brief, or use `@Ferris QS` for brief-less generation.
|
package/docs/getting-started.md
CHANGED
|
@@ -11,7 +11,7 @@ Welcome to Skill Forge! This guide will help you get up and running.
|
|
|
11
11
|
|
|
12
12
|
## What This Module Does
|
|
13
13
|
|
|
14
|
-
Skill Forge analyzes code repositories, documentation websites, and developer discourse to build verified instruction files ("skills") for AI agents. Instead of your agent guessing API calls from training data, it follows instructions where every function, type, and pattern traces back to its source — a file and line for code, a URL for documentation, an issue or PR for discourse. Skills comply with the [agentskills.io](https://agentskills.io) open standard and work across Claude, Cursor, Copilot, and other AI tools. See the [Concepts](../concepts
|
|
14
|
+
Skill Forge analyzes code repositories, documentation websites, and developer discourse to build verified instruction files ("skills") for AI agents. Instead of your agent guessing API calls from training data, it follows instructions where every function, type, and pattern traces back to its source — a file and line for code, a URL for documentation, an issue or PR for discourse. Skills comply with the [agentskills.io](https://agentskills.io) open standard and work across Claude, Cursor, Copilot, and other AI tools. See the [Concepts](../concepts/) page for definitions of key terms.
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
|
@@ -55,14 +55,15 @@ The installer detects the existing `_bmad/` directory and installs SKF alongside
|
|
|
55
55
|
|
|
56
56
|
## Prerequisites
|
|
57
57
|
|
|
58
|
-
| Tool | Required For
|
|
59
|
-
|
|
60
|
-
| [Node.js](https://nodejs.org/) >= 22 | Installation, npx commands
|
|
61
|
-
| `gh` (GitHub CLI) |
|
|
62
|
-
| `ast-grep` (CLI tool for code structural search, lint, and rewriting) | Forge + Deep modes
|
|
63
|
-
| `ast-grep` MCP server (recommended alongside CLI) | Forge + Deep modes
|
|
64
|
-
| `
|
|
65
|
-
| `
|
|
58
|
+
| Tool | Required For | Install |
|
|
59
|
+
|------------------------------------------------------------------------|--------------------------------------------------|--------------------------------------------------------|
|
|
60
|
+
| [Node.js](https://nodejs.org/) >= 22 | Installation, npx commands | <https://nodejs.org> |
|
|
61
|
+
| `gh` (GitHub CLI) | Required for Deep mode. Optional convenience in Quick/Forge/Forge+ for source access. | <https://cli.github.com> |
|
|
62
|
+
| `ast-grep` (CLI tool for code structural search, lint, and rewriting) | Forge + Deep modes | <https://ast-grep.github.io> |
|
|
63
|
+
| `ast-grep` MCP server (recommended alongside CLI) | Forge + Deep modes | <https://github.com/ast-grep/ast-grep-mcp> |
|
|
64
|
+
| `ccc` (cocoindex-code semantic code search) | Forge+ mode | <https://github.com/cocoindex-io/cocoindex-code> |
|
|
65
|
+
| `qmd` (local hybrid search engine for project files) | Deep mode | <https://github.com/tobi/qmd> |
|
|
66
|
+
| `SNYK_TOKEN` (Snyk API token — **Enterprise plan required**) | Optional security scan | <https://docs.snyk.io/snyk-api/authentication-for-api> |
|
|
66
67
|
|
|
67
68
|
Don't worry if you don't have all tools — SKF detects what's available and sets your tier automatically. Security scanning via Snyk is optional and requires an Enterprise plan; it does not affect your tier level.
|
|
68
69
|
|
|
@@ -70,15 +71,16 @@ Don't worry if you don't have all tools — SKF detects what's available and set
|
|
|
70
71
|
|
|
71
72
|
## Configuration
|
|
72
73
|
|
|
73
|
-
SKF has two install-time variables (defined in `src/module.yaml`) and one runtime preference:
|
|
74
|
+
SKF has two install-time variables (defined in `src/module.yaml`), one Core Config variable inherited from BMad, and one runtime preference:
|
|
74
75
|
|
|
75
76
|
| Variable | Purpose | Default |
|
|
76
77
|
|------------------------|------------------------------------------------------------------------------------------------------|-----------------------------|
|
|
77
78
|
| `skills_output_folder` | Where generated skills are saved | `{project-root}/skills` |
|
|
78
|
-
| `forge_data_folder` | Where workspace artifacts are stored
|
|
79
|
+
| `forge_data_folder` | Where workspace artifacts are stored (VS reports, evidence) | `{project-root}/forge-data` |
|
|
80
|
+
| `output_folder` | Where refined architecture documents are saved (used by RA workflow). *Inherited from BMad Core Config.* | Defined by BMad Core Config |
|
|
79
81
|
| `tier_override` | Force a specific tier for comparison or testing (in `_bmad/_memory/forger-sidecar/preferences.yaml`) | `~` (auto-detect) |
|
|
80
82
|
|
|
81
|
-
Runtime configuration (tool detection, tier,
|
|
83
|
+
Runtime configuration (tool detection, tier, and collection state) is managed by the `setup-forge` workflow and persisted in `forge-tier.yaml`.
|
|
82
84
|
|
|
83
85
|
---
|
|
84
86
|
|
|
@@ -163,13 +165,13 @@ Analyze Source scans the project, identifies skillable units, maps exports, and
|
|
|
163
165
|
|
|
164
166
|
### I want the highest accuracy possible
|
|
165
167
|
|
|
166
|
-
Quick mode reads source files. Forge
|
|
168
|
+
Each tier builds on the previous one. Quick mode reads source files directly. Forge adds `ast-grep` for AST-verified structural truth. Forge+ adds `ccc` (cocoindex-code) to semantically rank source regions before AST extraction — on large codebases, this ensures the most relevant exports are discovered first. Deep adds `gh` + `qmd` for GitHub exploration and QMD knowledge search with historical context enrichment.
|
|
167
169
|
|
|
168
170
|
```
|
|
169
171
|
@Ferris SF # Setup detects your tools and sets tier automatically
|
|
170
172
|
```
|
|
171
173
|
|
|
172
|
-
|
|
174
|
+
Ferris detects your tools and sets the highest tier where all required tools pass verification. With `ast-grep` + `gh` + `qmd`, you get Deep mode — every skill gets AST-verified signatures (T1) enriched with temporal context from issues, PRs, and changelogs (T2). Add `ccc` alongside those three for maximum capability: semantic discovery plus full knowledge search.
|
|
173
175
|
|
|
174
176
|
### I maintain an OSS library and want official skills
|
|
175
177
|
|
|
@@ -184,6 +186,19 @@ You want maximum quality with full provenance for distribution. Use the full pip
|
|
|
184
186
|
|
|
185
187
|
Export with `source_authority: official`. Consumers get verified skills that update with each release.
|
|
186
188
|
|
|
189
|
+
### I'm planning a new project and want to verify my tech stack works together
|
|
190
|
+
|
|
191
|
+
You have an architecture document and want to verify feasibility before writing code. Generate skills for each library, run Verify Stack to check compatibility, refine the architecture with skill evidence, then compose a stack skill.
|
|
192
|
+
|
|
193
|
+
```
|
|
194
|
+
@Ferris CS # or QS — generate a skill per library
|
|
195
|
+
@Ferris VS # Verify Stack — feasibility check against architecture
|
|
196
|
+
@Ferris RA # Refine Architecture — fill gaps with API evidence
|
|
197
|
+
@Ferris SS # Stack Skill — compose-mode activates automatically
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
VS produces a feasibility report (FEASIBLE / CONDITIONALLY FEASIBLE / NOT FEASIBLE). RA enriches your architecture doc with verified API details. SS compose-mode synthesizes a stack skill from existing skills + architecture — no codebase needed.
|
|
201
|
+
|
|
187
202
|
### A dependency shipped breaking changes
|
|
188
203
|
|
|
189
204
|
Your existing skill is now out of date. Audit detects the drift, Update regenerates while preserving your manual additions.
|
|
@@ -199,19 +214,19 @@ Your existing skill is now out of date. Audit detects the drift, Update regenera
|
|
|
199
214
|
Your source repo has CLI tools, setup scripts, or config templates that agents should use. SKF detects and packages them automatically.
|
|
200
215
|
|
|
201
216
|
```
|
|
202
|
-
@Ferris BS # Brief —
|
|
217
|
+
@Ferris BS # Brief — scripts/assets auto-detected by default
|
|
203
218
|
@Ferris CS # Create — scripts/ and assets/ auto-detected
|
|
204
219
|
```
|
|
205
220
|
|
|
206
|
-
Scripts from `scripts/`, `bin/`, and `
|
|
221
|
+
Scripts from `scripts/`, `bin/`, `tools/`, and `cli/` directories are copied with provenance. Config templates and schemas from `assets/`, `templates/`, `schemas/`, `configs/`, and `examples/` are included. Custom files you add to `scripts/[MANUAL]/` survive updates.
|
|
207
222
|
|
|
208
223
|
---
|
|
209
224
|
|
|
210
225
|
## What's Next?
|
|
211
226
|
|
|
212
|
-
- Check out the [Agents Reference](../agents
|
|
213
|
-
- Browse the [Workflows Reference](../workflows
|
|
214
|
-
- See [Examples](../examples
|
|
227
|
+
- Check out the [Agents Reference](../agents/) to learn about Ferris
|
|
228
|
+
- Browse the [Workflows Reference](../workflows/) to see all available commands
|
|
229
|
+
- See [Examples](../examples/) for real-world usage scenarios
|
|
215
230
|
|
|
216
231
|
---
|
|
217
232
|
|
package/docs/how-it-works.md
CHANGED
|
@@ -5,7 +5,7 @@ description: How Skill Forge works — the BMad framework, architecture, output
|
|
|
5
5
|
|
|
6
6
|
# How It Works
|
|
7
7
|
|
|
8
|
-
This page is for people who want to understand how SKF works under the hood. It covers the BMad framework, workflow architecture, capability tiers, output format, tool ecosystem, and key design decisions. For
|
|
8
|
+
This page is for people who want to understand how SKF works under the hood. It covers the BMad framework, workflow architecture, capability tiers, output format, tool ecosystem, and key design decisions. For definitions of key terms, see [Concepts](../concepts/).
|
|
9
9
|
|
|
10
10
|
---
|
|
11
11
|
|
|
@@ -29,13 +29,18 @@ Each workflow directory contains these files, and each has a specific job:
|
|
|
29
29
|
|
|
30
30
|
| File | What it does | When it loads |
|
|
31
31
|
|---------------------------|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
34
|
-
| `steps-c/*.md` | **Create** steps — primary execution, 4-9 sequential files | One at a time (just-in-time) |
|
|
32
|
+
| `workflow.md` | Human-readable entry point — goals, role definition, initialization sequence, routes to first step | Entry point per workflow |
|
|
33
|
+
| `steps-c/*.md` | **Create** steps — primary execution, 5–11 sequential files per workflow | One at a time (just-in-time) |
|
|
35
34
|
| `data/*.md` | Workflow-specific reference data — schemas, heuristics, rules, patterns | Read by steps on demand |
|
|
36
35
|
| `templates/*.md` | Output skeletons with placeholder vars — steps fill these in to produce the final artifact | Read by steps when generating output |
|
|
36
|
+
|
|
37
|
+
**Module-level shared files** (not per-workflow — loaded by the agent or referenced across workflows):
|
|
38
|
+
|
|
39
|
+
| File | What it does | When it loads |
|
|
40
|
+
|---------------------------|---------------------------------------------------------------------------------------------------------------------|---------------------------------------------------|
|
|
41
|
+
| `forger.agent.yaml` | Expert persona — identity, principles, critical actions, menu of triggers | First — always in context |
|
|
37
42
|
| `skf-knowledge-index.csv` | Knowledge fragment index — id, name, tags, tier, file path | Read by steps to decide which fragments to load |
|
|
38
|
-
| `knowledge/*.md` | 12 reusable fragments — cross-cutting principles and patterns (e.g., `zero-hallucination.md`, `confidence-tiers.md`, `ccc-bridge.md`) | Selectively read into context when a step directs |
|
|
43
|
+
| `knowledge/*.md` | 12 reusable fragments + overview.md index — cross-cutting principles and patterns (e.g., `zero-hallucination.md`, `confidence-tiers.md`, `ccc-bridge.md`) | Selectively read into context when a step directs |
|
|
39
44
|
|
|
40
45
|
```mermaid
|
|
41
46
|
flowchart LR
|
|
@@ -44,7 +49,7 @@ flowchart LR
|
|
|
44
49
|
W --> S[Step Files: steps-c/]
|
|
45
50
|
S --> K[Knowledge Fragments<br/>skf-knowledge-index.csv → knowledge/*.md]
|
|
46
51
|
S --> D[Data & Templates<br/>data/*.md, templates/*.md]
|
|
47
|
-
S --> O[Outputs: skills
|
|
52
|
+
S --> O[Outputs: skills/, forge-data/, sidecar<br/>when a step writes output]
|
|
48
53
|
```
|
|
49
54
|
|
|
50
55
|
### How It Works at Runtime
|
|
@@ -64,40 +69,41 @@ Ferris operates in four workflow-driven modes (mode is determined by which workf
|
|
|
64
69
|
|
|
65
70
|
| Mode | Workflows | Behavior |
|
|
66
71
|
|---------------|--------------------|-------------------------------------------------------------|
|
|
67
|
-
| **Architect** | SF, AN, BS, CS, QS, SS | Exploratory, assembling — discovers structure and
|
|
68
|
-
| **Surgeon** | US | Precise,
|
|
69
|
-
| **Audit** | AS, TS
|
|
70
|
-
| **Delivery** | EX |
|
|
72
|
+
| **Architect** | SF, AN, BS, CS, QS, SS, RA | Exploratory, assembling, refining — discovers structure, scopes skills, and improves architecture |
|
|
73
|
+
| **Surgeon** | US | Precise, semantic diffing — preserves [MANUAL] sections during regeneration |
|
|
74
|
+
| **Audit** | AS, TS, VS | Judgmental, scoring — evaluates quality and detects drift |
|
|
75
|
+
| **Delivery** | EX | Validates package, generates snippets, injects into context files |
|
|
71
76
|
|
|
72
77
|
---
|
|
73
78
|
|
|
74
79
|
## Why Another Tool?
|
|
75
80
|
|
|
76
|
-
AI agents
|
|
81
|
+
AI agents guess API calls from training data. When the training data is wrong, outdated, or incomplete, they hallucinate — inventing function names, guessing parameter types, producing code that fails at runtime.
|
|
82
|
+
|
|
83
|
+
Several approaches exist to address this, but each has a gap:
|
|
77
84
|
|
|
78
|
-
| Approach |
|
|
79
|
-
|
|
80
|
-
| `npx skills init` |
|
|
81
|
-
| LLM
|
|
82
|
-
| RAG /
|
|
83
|
-
| Manual
|
|
84
|
-
|
|
|
85
|
-
| **Skill Forge** | **Structural truth + automation** | **Rigid. (Feature, not bug.)** |
|
|
85
|
+
| Approach | What it does well | Where it falls short |
|
|
86
|
+
|----------|-------------------|----------------------|
|
|
87
|
+
| Skill scaffolding (`npx skills init`) | Generates a spec-compliant skill file | The file is empty — you still have to write every instruction by hand |
|
|
88
|
+
| LLM summarization | Understands context and intent | Generates plausible-sounding content that may not match the actual API |
|
|
89
|
+
| RAG / context stuffing | Retrieves relevant code snippets | Returns fragments without synthesis — no coherent skill output |
|
|
90
|
+
| Manual authoring | High initial accuracy | Drifts as the source code changes, doesn't scale across dependencies |
|
|
91
|
+
| IDE built-in context (Copilot, Cursor) | Convenient, zero setup | Uses generic training data, not your project's specific integration patterns |
|
|
86
92
|
|
|
87
|
-
SKF
|
|
93
|
+
SKF takes a different approach: it mechanically extracts function signatures, type definitions, and usage patterns from source code via AST parsing, enriches them with documentation and developer discourse, then compiles everything into version-pinned skills that comply with the [agentskills.io specification](https://agentskills.io/specification). Every instruction traces to its source — nothing is generated from training data.
|
|
88
94
|
|
|
89
95
|
---
|
|
90
96
|
|
|
91
97
|
## Progressive Capability Model
|
|
92
98
|
|
|
93
|
-
SKF uses an additive tier model.
|
|
99
|
+
SKF uses an additive tier model. You never lose capability by adding a tool.
|
|
94
100
|
|
|
95
|
-
| Tier | Tools | What You Get |
|
|
96
|
-
|
|
97
|
-
| **Quick** | `gh_bridge
|
|
98
|
-
| **Forge** | + `ast_bridge` | Structural truth. AST-verified signatures. Co-import detection. T1 confidence. |
|
|
99
|
-
| **Forge+** | + `ccc_bridge` | Semantic discovery. CCC pre-ranks files by meaning before AST extraction. Better coverage on large codebases. |
|
|
100
|
-
| **Deep** | + `gh_bridge` + `qmd_bridge`
|
|
101
|
+
| Tier | Required Tools | What You Get |
|
|
102
|
+
|------|---------------|-------------|
|
|
103
|
+
| **Quick** | None (`gh_bridge`, `skill-check`, `tessl` used when available) | Source reading + spec validation + content quality review. Best-effort skills in under a minute. **Note:** Quick Skill (QS) is tier-unaware by design — it always runs at community tier regardless of installed tools. |
|
|
104
|
+
| **Forge** | + `ast_bridge` (ast-grep) | Structural truth. AST-verified signatures. Co-import detection. T1 confidence. |
|
|
105
|
+
| **Forge+** | + `ccc_bridge` (cocoindex-code) | Semantic discovery. CCC pre-ranks files by meaning before AST extraction. Better coverage on large codebases. |
|
|
106
|
+
| **Deep** | `ast_bridge` + `gh_bridge` (gh) + `qmd_bridge` (QMD). CCC optional — enhances when installed. | Knowledge search. Temporal provenance. Drift detection. Full intelligence. |
|
|
101
107
|
|
|
102
108
|
Setup detects your installed tools and sets your tier automatically:
|
|
103
109
|
|
|
@@ -109,7 +115,7 @@ Setup detects your installed tools and sets your tier automatically:
|
|
|
109
115
|
Forge initialized. Tools: gh, ast-grep, ccc, QMD. Tier: Deep. Ready.
|
|
110
116
|
```
|
|
111
117
|
|
|
112
|
-
Don't have ast-grep, cocoindex-code, or QMD yet? No problem — Quick mode works with
|
|
118
|
+
Don't have ast-grep, cocoindex-code, or QMD yet? No problem — Quick mode works with no additional tools. Optional GitHub CLI improves source access. Install tools later; your tier upgrades automatically.
|
|
113
119
|
|
|
114
120
|
### Tier Override — Comparing Output Across Tiers
|
|
115
121
|
|
|
@@ -162,7 +168,7 @@ Progressive disclosure controls how much context surfaces at each level:
|
|
|
162
168
|
|
|
163
169
|
| Output | Content |
|
|
164
170
|
|--------|---------|
|
|
165
|
-
| `context-snippet.md` | T1-now
|
|
171
|
+
| `context-snippet.md` | T1-now + T2-future gotchas (breaking changes, deprecation warnings) — compressed, always-on |
|
|
166
172
|
| `SKILL.md` | T1-now + lightweight T2 annotations |
|
|
167
173
|
| `references/` | Full temporal context with all tiers |
|
|
168
174
|
|
|
@@ -207,19 +213,25 @@ Skills follow the [agentskills.io specification](https://agentskills.io/specific
|
|
|
207
213
|
|
|
208
214
|
```yaml
|
|
209
215
|
---
|
|
210
|
-
name:
|
|
216
|
+
name: cognee
|
|
211
217
|
description: >
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
218
|
+
Use when cognee is a Python AI memory engine that transforms documents into
|
|
219
|
+
knowledge graphs with vector and graph storage for semantic search and
|
|
220
|
+
reasoning. Use this skill when writing code that calls cognee's Python API
|
|
221
|
+
(add, cognify, search, memify, config, datasets, prune, session) or
|
|
222
|
+
integrating cognee-mcp. Covers the full public API, SearchType modes,
|
|
223
|
+
DataPoint custom models, pipeline tasks, and configuration for
|
|
224
|
+
LLM/embedding/vector/graph providers. Do NOT use for general knowledge graph
|
|
225
|
+
theory or unrelated Python libraries.
|
|
215
226
|
---
|
|
216
227
|
```
|
|
217
228
|
|
|
218
229
|
Every instruction in the body traces to source:
|
|
219
230
|
|
|
220
|
-
```
|
|
221
|
-
|
|
222
|
-
|
|
231
|
+
```python
|
|
232
|
+
await cognee.search( # [AST:cognee/api/v1/search/search.py:L26]
|
|
233
|
+
query_text="What does Cognee do?"
|
|
234
|
+
)
|
|
223
235
|
```
|
|
224
236
|
|
|
225
237
|
### metadata.json — The Birth Certificate
|
|
@@ -228,31 +240,27 @@ Machine-readable provenance for every skill:
|
|
|
228
240
|
|
|
229
241
|
```json
|
|
230
242
|
{
|
|
231
|
-
"name": "
|
|
232
|
-
"version": "
|
|
233
|
-
"skill_type": "
|
|
234
|
-
"source_authority": "
|
|
235
|
-
"source_repo": "github.com/
|
|
236
|
-
"
|
|
237
|
-
"
|
|
243
|
+
"name": "cognee",
|
|
244
|
+
"version": "0.5.5",
|
|
245
|
+
"skill_type": "single",
|
|
246
|
+
"source_authority": "community",
|
|
247
|
+
"source_repo": "https://github.com/topoteretes/cognee",
|
|
248
|
+
"source_root": "cognee/",
|
|
249
|
+
"source_commit": null,
|
|
250
|
+
"confidence_tier": "Deep",
|
|
238
251
|
"spec_version": "1.3",
|
|
239
|
-
"
|
|
252
|
+
"generation_date": "2026-03-20T16:55:00+04:00",
|
|
240
253
|
"stats": {
|
|
241
|
-
"exports_documented":
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
"
|
|
245
|
-
"
|
|
246
|
-
"
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
{ "file": "scripts/validate.sh", "purpose": "Validates config schema", "confidence": "T1-low" }
|
|
252
|
-
],
|
|
253
|
-
"assets": [
|
|
254
|
-
{ "file": "assets/config-schema.json", "purpose": "Configuration JSON schema", "confidence": "T1-low" }
|
|
255
|
-
]
|
|
254
|
+
"exports_documented": 22,
|
|
255
|
+
"exports_public_api": 22,
|
|
256
|
+
"exports_internal": 815,
|
|
257
|
+
"exports_total": 837,
|
|
258
|
+
"public_api_coverage": 1.0,
|
|
259
|
+
"total_coverage": 0.026,
|
|
260
|
+
"confidence_t1": 837,
|
|
261
|
+
"confidence_t2": 14,
|
|
262
|
+
"confidence_t3": 10
|
|
263
|
+
}
|
|
256
264
|
}
|
|
257
265
|
```
|
|
258
266
|
|
|
@@ -281,37 +289,28 @@ The primary source is your project repo. Component references trace to library r
|
|
|
281
289
|
|
|
282
290
|
## Dual-Output Strategy
|
|
283
291
|
|
|
284
|
-
Based on [Vercel research](https://vercel.com/blog/agents-md-outperforms-skills-in-our-agent-evals): passive context (AGENTS.md/CLAUDE.md) achieves 100% pass rate vs
|
|
292
|
+
Based on [Vercel research](https://vercel.com/blog/agents-md-outperforms-skills-in-our-agent-evals): passive context (AGENTS.md/CLAUDE.md) achieves 100% pass rate vs 79% for active skills alone.
|
|
285
293
|
|
|
286
294
|
Every skill generates both:
|
|
287
295
|
|
|
288
296
|
1. **SKILL.md** — Active skill loaded on trigger with full instructions
|
|
289
|
-
2. **context-snippet.md** — Passive context, compressed index injected into CLAUDE.md
|
|
297
|
+
2. **context-snippet.md** — Passive context, compressed index; injected into CLAUDE.md/AGENTS.md only when `export-skill` is run
|
|
290
298
|
|
|
291
299
|
### Managed CLAUDE.md Section
|
|
292
300
|
|
|
293
301
|
Export injects a managed section between markers:
|
|
294
302
|
|
|
295
303
|
```markdown
|
|
296
|
-
<!-- SKF:BEGIN updated:2026-
|
|
297
|
-
[
|
|
298
|
-
|IMPORTANT:
|
|
299
|
-
|
|
|
300
|
-
|
|
|
301
|
-
|
|
|
302
|
-
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
|
306
|
-
|quick-start:{SKILL.md#quick-start}
|
|
307
|
-
|api: getSession(), validateToken(), revokeSession(), createUser()
|
|
308
|
-
|gotchas: RBAC requires middleware setup, validateToken returns null not throw
|
|
309
|
-
|
|
310
|
-
[my-project-stack v1.0.0]|root: skills/my-project-stack/
|
|
311
|
-
|IMPORTANT: my-project-stack — read SKILL.md before writing integration code. Do NOT rely on training data.
|
|
312
|
-
|stack: next@15, better-auth@3, spacetimedb@1, serwist@9
|
|
313
|
-
|integrations: auth↔db, pwa↔auth
|
|
314
|
-
|gotchas: auth session type must match DB schema, update Serwist cache on auth flow changes
|
|
304
|
+
<!-- SKF:BEGIN updated:2026-03-20 -->
|
|
305
|
+
[SKF Skills]|1 skill
|
|
306
|
+
|IMPORTANT: Prefer documented APIs over training data.
|
|
307
|
+
|
|
|
308
|
+
[cognee v0.5.5]|root: skills/cognee/
|
|
309
|
+
|IMPORTANT: cognee v0.5.5 — read SKILL.md before writing cognee code. Do NOT rely on training data.
|
|
310
|
+
|quick-start:{SKILL.md#quick-start} — add → cognify → search async workflow
|
|
311
|
+
|api: add(), cognify(), search(), memify(), config, datasets, prune, update(), session, SearchType, run_custom_pipeline(), visualize_graph()
|
|
312
|
+
|key-types:{SKILL.md#key-types} — SearchType(14 modes: GRAPH_COMPLETION default, RAG_COMPLETION, CHUNKS, CYPHER, TEMPORAL...), Task, DataPoint
|
|
313
|
+
|gotchas: all core functions are async (must await); delete() deprecated since v0.3.9 — use datasets.delete_data(); memify default pipeline changed to triplet embedding (Mar 2026)
|
|
315
314
|
<!-- SKF:END -->
|
|
316
315
|
```
|
|
317
316
|
|
|
@@ -333,6 +332,8 @@ Export injects a managed section between markers:
|
|
|
333
332
|
| **`qmd_bridge`** | QMD (local search) | BM25 keyword search, vector semantic search, collection indexing |
|
|
334
333
|
| **`doc_fetcher`** | Environment web tools | Remote documentation fetching for T3-confidence content. Tool-agnostic — uses whatever web fetching is available (Firecrawl, WebFetch, curl, etc.). Output quarantined as T3. |
|
|
335
334
|
|
|
335
|
+
Bridge names are **conceptual interfaces** used throughout workflow steps. Each bridge resolves to concrete MCP tools, CLI commands, or fallback behavior depending on the IDE environment. See [`src/knowledge/tool-resolution.md`](https://github.com/armelhbobdad/bmad-module-skill-forge/blob/main/src/knowledge/tool-resolution.md) for the complete resolution table.
|
|
336
|
+
|
|
336
337
|
### Conflict Resolution
|
|
337
338
|
|
|
338
339
|
When tools disagree, higher priority wins for instructions. Lower priority is preserved as annotations:
|
|
@@ -390,10 +391,10 @@ Provenance maps enable verification: an `official` skill's provenance must trace
|
|
|
390
391
|
|----------|-----------|
|
|
391
392
|
| **Solo agent (Ferris), not multi-agent** | One domain (skill compilation) doesn't benefit from handoffs. Shared knowledge base (AST patterns, provenance maps) is the core asset. |
|
|
392
393
|
| **Workflows drive modes, not conversation** | Ferris doesn't auto-switch based on question content. Invoke a workflow to change mode. Predictable behavior. |
|
|
393
|
-
| **Hub-and-spoke cross-knowledge** | Each skill
|
|
394
|
+
| **Hub-and-spoke cross-knowledge** | Each skill covers one source repository. Stack skills compose cross-library integration patterns in `references/integrations/`, citing each library's own skill. |
|
|
394
395
|
| **Stack skill = compositional** | SKILL.md is the integration layer. references/ contains per-library + integration pairs. Partial regeneration on dependency updates. |
|
|
395
|
-
| **Snippet updates only at export** | Create/update
|
|
396
|
-
| **Bundle spec with opt-in update** | Offline-capable.
|
|
396
|
+
| **Snippet updates only at export** | Create/update write a draft `context-snippet.md` to `skills/`. Export regenerates the final `context-snippet.md` and publishes it to the platform context file (CLAUDE.md/AGENTS.md/.cursorrules). No managed-section updates in draft workflows. |
|
|
397
|
+
| **Bundle spec with opt-in update** | Offline-capable. Run `@Ferris SF --update-spec` to fetch the latest agentskills.io spec on demand. |
|
|
397
398
|
|
|
398
399
|
---
|
|
399
400
|
|
|
@@ -420,7 +421,7 @@ src/
|
|
|
420
421
|
│ └── README.md
|
|
421
422
|
├── knowledge/
|
|
422
423
|
│ ├── skf-knowledge-index.csv
|
|
423
|
-
│ └── *.md (12 fragments)
|
|
424
|
+
│ └── *.md (12 knowledge fragments + overview.md index)
|
|
424
425
|
└── workflows/
|
|
425
426
|
├── setup-forge/
|
|
426
427
|
├── analyze-source/
|
|
@@ -428,6 +429,8 @@ src/
|
|
|
428
429
|
├── create-skill/
|
|
429
430
|
├── quick-skill/
|
|
430
431
|
├── create-stack-skill/
|
|
432
|
+
├── verify-stack/
|
|
433
|
+
├── refine-architecture/
|
|
431
434
|
├── update-skill/
|
|
432
435
|
├── audit-skill/
|
|
433
436
|
├── test-skill/
|
package/docs/index.md
CHANGED
|
@@ -41,7 +41,7 @@ See the [Getting Started](./getting-started/) guide for full installation and us
|
|
|
41
41
|
- **[Getting Started](./getting-started/)** — Installation, prerequisites, and your first skill
|
|
42
42
|
- **[Concepts](./concepts/)** — Plain-English definitions of key terms (provenance, tiers, drift, and more)
|
|
43
43
|
- **[How It Works](./how-it-works/)** — Architecture, capability model, output format, and design decisions
|
|
44
|
-
- **[Workflows](./workflows/)** — All
|
|
44
|
+
- **[Workflows](./workflows/)** — All 12 workflows with commands and connection diagrams
|
|
45
45
|
- **[Agents](./agents/)** — Ferris: the AI agent that runs all SKF workflows
|
|
46
46
|
- **[Examples](./examples/)** — Real-world scenarios, tips, and troubleshooting
|
|
47
47
|
|