@accelerationguy/accel 1.0.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/CLAUDE.md +19 -0
- package/LICENSE +33 -0
- package/README.md +275 -0
- package/bin/install.js +661 -0
- package/docs/getting-started.md +164 -0
- package/docs/module-guide.md +139 -0
- package/modules/drive/LICENSE +21 -0
- package/modules/drive/PAUL-VS-GSD.md +171 -0
- package/modules/drive/README.md +555 -0
- package/modules/drive/assets/terminal.svg +67 -0
- package/modules/drive/bin/install.js +210 -0
- package/modules/drive/integration.js +76 -0
- package/modules/drive/package.json +38 -0
- package/modules/drive/src/commands/add-phase.md +36 -0
- package/modules/drive/src/commands/apply.md +83 -0
- package/modules/drive/src/commands/assumptions.md +37 -0
- package/modules/drive/src/commands/audit.md +57 -0
- package/modules/drive/src/commands/complete-milestone.md +36 -0
- package/modules/drive/src/commands/config.md +175 -0
- package/modules/drive/src/commands/consider-issues.md +41 -0
- package/modules/drive/src/commands/discover.md +48 -0
- package/modules/drive/src/commands/discuss-milestone.md +33 -0
- package/modules/drive/src/commands/discuss.md +34 -0
- package/modules/drive/src/commands/flows.md +73 -0
- package/modules/drive/src/commands/handoff.md +201 -0
- package/modules/drive/src/commands/help.md +525 -0
- package/modules/drive/src/commands/init.md +54 -0
- package/modules/drive/src/commands/map-codebase.md +34 -0
- package/modules/drive/src/commands/milestone.md +34 -0
- package/modules/drive/src/commands/pause.md +44 -0
- package/modules/drive/src/commands/plan-fix.md +216 -0
- package/modules/drive/src/commands/plan.md +36 -0
- package/modules/drive/src/commands/progress.md +138 -0
- package/modules/drive/src/commands/register.md +29 -0
- package/modules/drive/src/commands/remove-phase.md +37 -0
- package/modules/drive/src/commands/research-phase.md +209 -0
- package/modules/drive/src/commands/research.md +47 -0
- package/modules/drive/src/commands/resume.md +49 -0
- package/modules/drive/src/commands/status.md +78 -0
- package/modules/drive/src/commands/unify.md +87 -0
- package/modules/drive/src/commands/verify.md +60 -0
- package/modules/drive/src/references/checkpoints.md +234 -0
- package/modules/drive/src/references/context-management.md +219 -0
- package/modules/drive/src/references/git-strategy.md +206 -0
- package/modules/drive/src/references/loop-phases.md +254 -0
- package/modules/drive/src/references/plan-format.md +263 -0
- package/modules/drive/src/references/quality-principles.md +152 -0
- package/modules/drive/src/references/research-quality-control.md +247 -0
- package/modules/drive/src/references/sonarqube-integration.md +244 -0
- package/modules/drive/src/references/specialized-workflow-integration.md +186 -0
- package/modules/drive/src/references/subagent-criteria.md +179 -0
- package/modules/drive/src/references/tdd.md +219 -0
- package/modules/drive/src/references/work-units.md +161 -0
- package/modules/drive/src/rules/commands.md +108 -0
- package/modules/drive/src/rules/references.md +107 -0
- package/modules/drive/src/rules/style.md +123 -0
- package/modules/drive/src/rules/templates.md +51 -0
- package/modules/drive/src/rules/workflows.md +133 -0
- package/modules/drive/src/templates/CONTEXT.md +88 -0
- package/modules/drive/src/templates/DEBUG.md +164 -0
- package/modules/drive/src/templates/DISCOVERY.md +148 -0
- package/modules/drive/src/templates/HANDOFF.md +77 -0
- package/modules/drive/src/templates/ISSUES.md +93 -0
- package/modules/drive/src/templates/MILESTONES.md +167 -0
- package/modules/drive/src/templates/PLAN.md +328 -0
- package/modules/drive/src/templates/PROJECT.md +219 -0
- package/modules/drive/src/templates/RESEARCH.md +130 -0
- package/modules/drive/src/templates/ROADMAP.md +328 -0
- package/modules/drive/src/templates/SPECIAL-FLOWS.md +70 -0
- package/modules/drive/src/templates/STATE.md +210 -0
- package/modules/drive/src/templates/SUMMARY.md +221 -0
- package/modules/drive/src/templates/UAT-ISSUES.md +139 -0
- package/modules/drive/src/templates/codebase/architecture.md +259 -0
- package/modules/drive/src/templates/codebase/concerns.md +329 -0
- package/modules/drive/src/templates/codebase/conventions.md +311 -0
- package/modules/drive/src/templates/codebase/integrations.md +284 -0
- package/modules/drive/src/templates/codebase/stack.md +190 -0
- package/modules/drive/src/templates/codebase/structure.md +287 -0
- package/modules/drive/src/templates/codebase/testing.md +484 -0
- package/modules/drive/src/templates/config.md +181 -0
- package/modules/drive/src/templates/milestone-archive.md +236 -0
- package/modules/drive/src/templates/milestone-context.md +190 -0
- package/modules/drive/src/templates/paul-json.md +147 -0
- package/modules/drive/src/vector-config/PAUL +26 -0
- package/modules/drive/src/vector-config/PAUL.manifest +11 -0
- package/modules/drive/src/workflows/apply-phase.md +393 -0
- package/modules/drive/src/workflows/audit-plan.md +344 -0
- package/modules/drive/src/workflows/complete-milestone.md +479 -0
- package/modules/drive/src/workflows/configure-special-flows.md +283 -0
- package/modules/drive/src/workflows/consider-issues.md +172 -0
- package/modules/drive/src/workflows/create-milestone.md +268 -0
- package/modules/drive/src/workflows/debug.md +292 -0
- package/modules/drive/src/workflows/discovery.md +187 -0
- package/modules/drive/src/workflows/discuss-milestone.md +245 -0
- package/modules/drive/src/workflows/discuss-phase.md +231 -0
- package/modules/drive/src/workflows/init-project.md +698 -0
- package/modules/drive/src/workflows/map-codebase.md +459 -0
- package/modules/drive/src/workflows/pause-work.md +259 -0
- package/modules/drive/src/workflows/phase-assumptions.md +181 -0
- package/modules/drive/src/workflows/plan-phase.md +385 -0
- package/modules/drive/src/workflows/quality-gate.md +263 -0
- package/modules/drive/src/workflows/register-manifest.md +107 -0
- package/modules/drive/src/workflows/research.md +241 -0
- package/modules/drive/src/workflows/resume-project.md +200 -0
- package/modules/drive/src/workflows/roadmap-management.md +334 -0
- package/modules/drive/src/workflows/transition-phase.md +368 -0
- package/modules/drive/src/workflows/unify-phase.md +290 -0
- package/modules/drive/src/workflows/verify-work.md +241 -0
- package/modules/forge/README.md +281 -0
- package/modules/forge/bin/install.js +200 -0
- package/modules/forge/package.json +32 -0
- package/modules/forge/skillsmith/rules/checklists-rules.md +42 -0
- package/modules/forge/skillsmith/rules/context-rules.md +43 -0
- package/modules/forge/skillsmith/rules/entry-point-rules.md +44 -0
- package/modules/forge/skillsmith/rules/frameworks-rules.md +43 -0
- package/modules/forge/skillsmith/rules/tasks-rules.md +52 -0
- package/modules/forge/skillsmith/rules/templates-rules.md +43 -0
- package/modules/forge/skillsmith/skillsmith.md +82 -0
- package/modules/forge/skillsmith/tasks/audit.md +277 -0
- package/modules/forge/skillsmith/tasks/discover.md +145 -0
- package/modules/forge/skillsmith/tasks/distill.md +276 -0
- package/modules/forge/skillsmith/tasks/scaffold.md +349 -0
- package/modules/forge/specs/checklists.md +193 -0
- package/modules/forge/specs/context.md +223 -0
- package/modules/forge/specs/entry-point.md +320 -0
- package/modules/forge/specs/frameworks.md +228 -0
- package/modules/forge/specs/rules.md +245 -0
- package/modules/forge/specs/tasks.md +344 -0
- package/modules/forge/specs/templates.md +335 -0
- package/modules/forge/terminal.svg +70 -0
- package/modules/ignition/README.md +245 -0
- package/modules/ignition/bin/install.js +184 -0
- package/modules/ignition/checklists/planning-quality.md +55 -0
- package/modules/ignition/data/application/config.md +21 -0
- package/modules/ignition/data/application/guide.md +51 -0
- package/modules/ignition/data/application/skill-loadout.md +11 -0
- package/modules/ignition/data/campaign/config.md +18 -0
- package/modules/ignition/data/campaign/guide.md +36 -0
- package/modules/ignition/data/campaign/skill-loadout.md +10 -0
- package/modules/ignition/data/client/config.md +18 -0
- package/modules/ignition/data/client/guide.md +36 -0
- package/modules/ignition/data/client/skill-loadout.md +11 -0
- package/modules/ignition/data/utility/config.md +18 -0
- package/modules/ignition/data/utility/guide.md +31 -0
- package/modules/ignition/data/utility/skill-loadout.md +8 -0
- package/modules/ignition/data/workflow/config.md +19 -0
- package/modules/ignition/data/workflow/guide.md +41 -0
- package/modules/ignition/data/workflow/skill-loadout.md +10 -0
- package/modules/ignition/integration.js +54 -0
- package/modules/ignition/package.json +35 -0
- package/modules/ignition/seed.md +81 -0
- package/modules/ignition/tasks/add-type.md +164 -0
- package/modules/ignition/tasks/graduate.md +182 -0
- package/modules/ignition/tasks/ideate.md +221 -0
- package/modules/ignition/tasks/launch.md +137 -0
- package/modules/ignition/tasks/status.md +71 -0
- package/modules/ignition/templates/planning-application.md +193 -0
- package/modules/ignition/templates/planning-campaign.md +138 -0
- package/modules/ignition/templates/planning-client.md +149 -0
- package/modules/ignition/templates/planning-utility.md +112 -0
- package/modules/ignition/templates/planning-workflow.md +125 -0
- package/modules/ignition/terminal.svg +74 -0
- package/modules/mission-control/CONTEXT-CONTINUITY-SPEC.md +293 -0
- package/modules/mission-control/CONTEXT-ENGINEERING-GUIDE.md +282 -0
- package/modules/mission-control/README.md +91 -0
- package/modules/mission-control/assets/terminal.svg +80 -0
- package/modules/mission-control/examples/entities.example.json +133 -0
- package/modules/mission-control/examples/projects.example.json +318 -0
- package/modules/mission-control/examples/state.example.json +183 -0
- package/modules/mission-control/examples/vector.example.json +245 -0
- package/modules/mission-control/mission-control/checklists/install-verification.md +46 -0
- package/modules/mission-control/mission-control/frameworks/framework-registry.md +83 -0
- package/modules/mission-control/mission-control/mission-control.md +83 -0
- package/modules/mission-control/mission-control/tasks/insights.md +73 -0
- package/modules/mission-control/mission-control/tasks/install.md +194 -0
- package/modules/mission-control/mission-control/tasks/status.md +125 -0
- package/modules/mission-control/schemas/entities.schema.json +89 -0
- package/modules/mission-control/schemas/projects.schema.json +221 -0
- package/modules/mission-control/schemas/state.schema.json +108 -0
- package/modules/mission-control/schemas/vector.schema.json +200 -0
- package/modules/momentum/README.md +678 -0
- package/modules/momentum/bin/install.js +563 -0
- package/modules/momentum/integration.js +131 -0
- package/modules/momentum/package.json +42 -0
- package/modules/momentum/schemas/entities.schema.json +89 -0
- package/modules/momentum/schemas/projects.schema.json +221 -0
- package/modules/momentum/schemas/state.schema.json +108 -0
- package/modules/momentum/src/commands/audit-claude-md.md +31 -0
- package/modules/momentum/src/commands/audit.md +33 -0
- package/modules/momentum/src/commands/groom.md +35 -0
- package/modules/momentum/src/commands/history.md +27 -0
- package/modules/momentum/src/commands/pulse.md +33 -0
- package/modules/momentum/src/commands/scaffold.md +33 -0
- package/modules/momentum/src/commands/status.md +28 -0
- package/modules/momentum/src/commands/surface-convert.md +35 -0
- package/modules/momentum/src/commands/surface-create.md +34 -0
- package/modules/momentum/src/commands/surface-list.md +27 -0
- package/modules/momentum/src/commands/vector-hygiene.md +33 -0
- package/modules/momentum/src/framework/context/momentum-principles.md +71 -0
- package/modules/momentum/src/framework/frameworks/audit-strategies.md +53 -0
- package/modules/momentum/src/framework/frameworks/satellite-registration.md +44 -0
- package/modules/momentum/src/framework/tasks/audit-claude-md.md +68 -0
- package/modules/momentum/src/framework/tasks/audit.md +64 -0
- package/modules/momentum/src/framework/tasks/groom.md +164 -0
- package/modules/momentum/src/framework/tasks/history.md +34 -0
- package/modules/momentum/src/framework/tasks/pulse.md +83 -0
- package/modules/momentum/src/framework/tasks/scaffold.md +202 -0
- package/modules/momentum/src/framework/tasks/status.md +35 -0
- package/modules/momentum/src/framework/tasks/surface-convert.md +143 -0
- package/modules/momentum/src/framework/tasks/surface-create.md +184 -0
- package/modules/momentum/src/framework/tasks/surface-list.md +42 -0
- package/modules/momentum/src/framework/tasks/vector-hygiene.md +160 -0
- package/modules/momentum/src/framework/templates/workspace-json.md +96 -0
- package/modules/momentum/src/hooks/_template.py +129 -0
- package/modules/momentum/src/hooks/active-hook.py +178 -0
- package/modules/momentum/src/hooks/backlog-hook.py +115 -0
- package/modules/momentum/src/hooks/mission-control-insights.py +169 -0
- package/modules/momentum/src/hooks/momentum-pulse-check.py +351 -0
- package/modules/momentum/src/hooks/operator.py +53 -0
- package/modules/momentum/src/hooks/psmm-injector.py +67 -0
- package/modules/momentum/src/hooks/satellite-detection.py +248 -0
- package/modules/momentum/src/packages/momentum-mcp/index.js +119 -0
- package/modules/momentum/src/packages/momentum-mcp/package.json +10 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/entities.js +226 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/operator.js +106 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/projects.js +322 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/psmm.js +206 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/state.js +199 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/surfaces.js +404 -0
- package/modules/momentum/src/skill/momentum.md +111 -0
- package/modules/momentum/src/tasks/groom.md +164 -0
- package/modules/momentum/src/templates/operator.json +66 -0
- package/modules/momentum/src/templates/workspace.json +111 -0
- package/modules/momentum/terminal.svg +77 -0
- package/modules/radar/README.md +1552 -0
- package/modules/radar/commands/audit.md +233 -0
- package/modules/radar/commands/guardrails.md +194 -0
- package/modules/radar/commands/init.md +207 -0
- package/modules/radar/commands/playbook.md +176 -0
- package/modules/radar/commands/remediate.md +156 -0
- package/modules/radar/commands/report.md +172 -0
- package/modules/radar/commands/resume.md +176 -0
- package/modules/radar/commands/status.md +148 -0
- package/modules/radar/commands/transform.md +205 -0
- package/modules/radar/commands/validate.md +177 -0
- package/modules/radar/docs/ARCHITECTURE.md +336 -0
- package/modules/radar/docs/GETTING-STARTED.md +287 -0
- package/modules/radar/docs/standards/agents.md +197 -0
- package/modules/radar/docs/standards/commands.md +250 -0
- package/modules/radar/docs/standards/domains.md +191 -0
- package/modules/radar/docs/standards/personas.md +211 -0
- package/modules/radar/docs/standards/rules.md +218 -0
- package/modules/radar/docs/standards/runtime.md +445 -0
- package/modules/radar/docs/standards/schemas.md +269 -0
- package/modules/radar/docs/standards/tools.md +273 -0
- package/modules/radar/docs/standards/workflows.md +254 -0
- package/modules/radar/docs/terminal.svg +72 -0
- package/modules/radar/docs/validation/convention-compliance-report.md +183 -0
- package/modules/radar/docs/validation/cross-reference-report.md +195 -0
- package/modules/radar/docs/validation/validation-summary.md +118 -0
- package/modules/radar/docs/validation/version-manifest.yaml +363 -0
- package/modules/radar/install.sh +711 -0
- package/modules/radar/integration.js +53 -0
- package/modules/radar/src/core/agents/architect.md +25 -0
- package/modules/radar/src/core/agents/compliance-officer.md +25 -0
- package/modules/radar/src/core/agents/data-engineer.md +25 -0
- package/modules/radar/src/core/agents/devils-advocate.md +22 -0
- package/modules/radar/src/core/agents/performance-engineer.md +25 -0
- package/modules/radar/src/core/agents/principal-engineer.md +23 -0
- package/modules/radar/src/core/agents/reality-gap-analyst.md +22 -0
- package/modules/radar/src/core/agents/security-engineer.md +25 -0
- package/modules/radar/src/core/agents/senior-app-engineer.md +25 -0
- package/modules/radar/src/core/agents/sre.md +25 -0
- package/modules/radar/src/core/agents/staff-engineer.md +23 -0
- package/modules/radar/src/core/agents/test-engineer.md +25 -0
- package/modules/radar/src/core/personas/architect.md +111 -0
- package/modules/radar/src/core/personas/compliance-officer.md +104 -0
- package/modules/radar/src/core/personas/data-engineer.md +113 -0
- package/modules/radar/src/core/personas/devils-advocate.md +105 -0
- package/modules/radar/src/core/personas/performance-engineer.md +119 -0
- package/modules/radar/src/core/personas/principal-engineer.md +119 -0
- package/modules/radar/src/core/personas/reality-gap-analyst.md +111 -0
- package/modules/radar/src/core/personas/security-engineer.md +108 -0
- package/modules/radar/src/core/personas/senior-app-engineer.md +111 -0
- package/modules/radar/src/core/personas/sre.md +117 -0
- package/modules/radar/src/core/personas/staff-engineer.md +109 -0
- package/modules/radar/src/core/personas/test-engineer.md +109 -0
- package/modules/radar/src/core/workflows/disagreement-resolution.md +183 -0
- package/modules/radar/src/core/workflows/phase-0-context.md +148 -0
- package/modules/radar/src/core/workflows/phase-1-reconnaissance.md +169 -0
- package/modules/radar/src/core/workflows/phase-2-domain-audits.md +190 -0
- package/modules/radar/src/core/workflows/phase-3-cross-domain.md +177 -0
- package/modules/radar/src/core/workflows/phase-4-adversarial-review.md +165 -0
- package/modules/radar/src/core/workflows/phase-5-report.md +189 -0
- package/modules/radar/src/core/workflows/phase-checkpoint.md +222 -0
- package/modules/radar/src/core/workflows/session-handoff.md +152 -0
- package/modules/radar/src/domains/00-context.md +201 -0
- package/modules/radar/src/domains/01-architecture.md +248 -0
- package/modules/radar/src/domains/02-data.md +224 -0
- package/modules/radar/src/domains/03-correctness.md +230 -0
- package/modules/radar/src/domains/04-security.md +274 -0
- package/modules/radar/src/domains/05-compliance.md +228 -0
- package/modules/radar/src/domains/06-testing.md +228 -0
- package/modules/radar/src/domains/07-reliability.md +246 -0
- package/modules/radar/src/domains/08-performance.md +247 -0
- package/modules/radar/src/domains/09-maintainability.md +271 -0
- package/modules/radar/src/domains/10-operability.md +250 -0
- package/modules/radar/src/domains/11-change-risk.md +246 -0
- package/modules/radar/src/domains/12-team-risk.md +221 -0
- package/modules/radar/src/domains/13-risk-synthesis.md +202 -0
- package/modules/radar/src/rules/agent-boundaries.md +78 -0
- package/modules/radar/src/rules/disagreement-protocol.md +76 -0
- package/modules/radar/src/rules/epistemic-hygiene.md +78 -0
- package/modules/radar/src/schemas/confidence.md +185 -0
- package/modules/radar/src/schemas/disagreement.md +238 -0
- package/modules/radar/src/schemas/finding.md +287 -0
- package/modules/radar/src/schemas/report-section.md +150 -0
- package/modules/radar/src/schemas/signal.md +108 -0
- package/modules/radar/src/tools/checkov.md +463 -0
- package/modules/radar/src/tools/git-history.md +581 -0
- package/modules/radar/src/tools/gitleaks.md +447 -0
- package/modules/radar/src/tools/grype.md +611 -0
- package/modules/radar/src/tools/semgrep.md +378 -0
- package/modules/radar/src/tools/sonarqube.md +550 -0
- package/modules/radar/src/tools/syft.md +539 -0
- package/modules/radar/src/tools/trivy.md +439 -0
- package/modules/radar/src/transform/agents/change-risk-modeler.md +24 -0
- package/modules/radar/src/transform/agents/execution-validator.md +24 -0
- package/modules/radar/src/transform/agents/guardrail-generator.md +24 -0
- package/modules/radar/src/transform/agents/pedagogy-agent.md +24 -0
- package/modules/radar/src/transform/agents/remediation-architect.md +24 -0
- package/modules/radar/src/transform/personas/change-risk-modeler.md +95 -0
- package/modules/radar/src/transform/personas/execution-validator.md +95 -0
- package/modules/radar/src/transform/personas/guardrail-generator.md +103 -0
- package/modules/radar/src/transform/personas/pedagogy-agent.md +105 -0
- package/modules/radar/src/transform/personas/remediation-architect.md +95 -0
- package/modules/radar/src/transform/rules/change-risk-rules.md +87 -0
- package/modules/radar/src/transform/rules/safety-governance.md +87 -0
- package/modules/radar/src/transform/schemas/change-risk.md +139 -0
- package/modules/radar/src/transform/schemas/intervention-level.md +207 -0
- package/modules/radar/src/transform/schemas/playbook.md +205 -0
- package/modules/radar/src/transform/schemas/verification-plan.md +134 -0
- package/modules/radar/src/transform/workflows/phase-6-remediation.md +148 -0
- package/modules/radar/src/transform/workflows/phase-7-risk-validation.md +161 -0
- package/modules/radar/src/transform/workflows/phase-8-execution-planning.md +159 -0
- package/modules/radar/src/transform/workflows/transform-safety.md +158 -0
- package/modules/vector/.vector-template/sessions/.gitkeep +0 -0
- package/modules/vector/.vector-template/vector.json +72 -0
- package/modules/vector/AUDIT-CLAUDEMD.md +154 -0
- package/modules/vector/INSTALL.md +185 -0
- package/modules/vector/LICENSE +21 -0
- package/modules/vector/README.md +409 -0
- package/modules/vector/VECTOR-BLOCK.md +57 -0
- package/modules/vector/assets/terminal.svg +68 -0
- package/modules/vector/bin/install.js +455 -0
- package/modules/vector/bin/migrate-v1-to-v2.sh +492 -0
- package/modules/vector/commands/help.md +46 -0
- package/modules/vector/hooks/vector-hook.py +775 -0
- package/modules/vector/mcp/index.js +118 -0
- package/modules/vector/mcp/package.json +10 -0
- package/modules/vector/mcp/tools/decisions.js +269 -0
- package/modules/vector/mcp/tools/domains.js +361 -0
- package/modules/vector/mcp/tools/staging.js +252 -0
- package/modules/vector/mcp/tools/vector-json.js +647 -0
- package/modules/vector/package.json +38 -0
- package/modules/vector/schemas/vector.schema.json +237 -0
- package/package.json +39 -0
- package/shared/branding/branding.js +70 -0
- package/shared/config/defaults.json +59 -0
- package/shared/events/README.md +175 -0
- package/shared/events/event-bus.js +134 -0
- package/shared/events/event_bus.py +255 -0
- package/shared/events/integrations.js +161 -0
- package/shared/events/schemas/audit-complete.schema.json +21 -0
- package/shared/events/schemas/phase-progress.schema.json +23 -0
- package/shared/events/schemas/plan-created.schema.json +21 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Assess existing skills against Forge syntax specs. Reads a skill's directory structure, checks each component against the corresponding spec, and produces a structured compliance report with violations and remediation priorities.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<user-story>
|
|
6
|
+
As a skill builder, I want to audit existing skills against the syntax standards so that I can identify compliance gaps and fix them before distribution or deployment.
|
|
7
|
+
</user-story>
|
|
8
|
+
|
|
9
|
+
<when-to-use>
|
|
10
|
+
- Checking a skill for compliance after building or modifying it
|
|
11
|
+
- Quality gate before distributing a skill via Skool, GitHub, or courses
|
|
12
|
+
- Auditing legacy skills that predate the Forge standards
|
|
13
|
+
- Entry point routes here via /forge audit
|
|
14
|
+
</when-to-use>
|
|
15
|
+
|
|
16
|
+
<context>
|
|
17
|
+
@rules/entry-point-rules.md
|
|
18
|
+
@rules/tasks-rules.md
|
|
19
|
+
</context>
|
|
20
|
+
|
|
21
|
+
<references>
|
|
22
|
+
@../specs/entry-point.md (when assessing entry point compliance)
|
|
23
|
+
@../specs/tasks.md (when assessing task files)
|
|
24
|
+
@../specs/templates.md (when assessing template files)
|
|
25
|
+
@../specs/frameworks.md (when assessing framework files)
|
|
26
|
+
@../specs/context.md (when assessing context files)
|
|
27
|
+
@../specs/checklists.md (when assessing checklist files)
|
|
28
|
+
@../specs/rules.md (when assessing rules files)
|
|
29
|
+
</references>
|
|
30
|
+
|
|
31
|
+
<steps>
|
|
32
|
+
|
|
33
|
+
<step name="identify_target" priority="first">
|
|
34
|
+
Determine what to audit.
|
|
35
|
+
|
|
36
|
+
**Ask:**
|
|
37
|
+
1. **Skill path** — Provide the path to a skill directory, or say "batch" to audit all skills in a parent directory.
|
|
38
|
+
|
|
39
|
+
**Wait for response.**
|
|
40
|
+
|
|
41
|
+
**Single skill mode:**
|
|
42
|
+
1. Validate the path exists
|
|
43
|
+
2. Locate the entry point file:
|
|
44
|
+
- Look for `{directory-name}.md` first (spec convention)
|
|
45
|
+
- Fall back to `SKILL.md`, `skill.md`, or any single `.md` at root
|
|
46
|
+
- If no entry point found: note as first violation
|
|
47
|
+
3. Confirm: "Auditing `{skill-name}` at `{path}`. Proceed?"
|
|
48
|
+
|
|
49
|
+
**Batch mode:**
|
|
50
|
+
1. Ask for the parent directory path (e.g., `~/.claude/skills/` or `~/.claude/commands/`)
|
|
51
|
+
2. Discover all subdirectories that appear to be skills (contain `.md` files)
|
|
52
|
+
3. List discovered skills and confirm: "Found {N} skills. Audit all?"
|
|
53
|
+
|
|
54
|
+
**Wait for confirmation before proceeding.**
|
|
55
|
+
</step>
|
|
56
|
+
|
|
57
|
+
<step name="inventory_structure">
|
|
58
|
+
Catalog what exists in the skill directory before checking compliance.
|
|
59
|
+
|
|
60
|
+
1. List all files and subdirectories
|
|
61
|
+
2. Classify each component:
|
|
62
|
+
|
|
63
|
+
| Component | Present? | Files | Maps to Spec |
|
|
64
|
+
|-----------|----------|-------|-------------|
|
|
65
|
+
| Entry point | Yes/No | {filename} | entry-point.md |
|
|
66
|
+
| tasks/ | Yes/No | {count} files | tasks.md |
|
|
67
|
+
| templates/ | Yes/No | {count} files | templates.md |
|
|
68
|
+
| frameworks/ | Yes/No | {count} files | frameworks.md |
|
|
69
|
+
| context/ | Yes/No | {count} files | context.md |
|
|
70
|
+
| checklists/ | Yes/No | {count} files | checklists.md |
|
|
71
|
+
| rules/ | Yes/No | {count} files | rules.md |
|
|
72
|
+
| {other}/ | Yes/No | {count} files | No spec coverage |
|
|
73
|
+
|
|
74
|
+
3. Identify the skill tier based on structure:
|
|
75
|
+
- Has sub-skill entry points at root → `suite`
|
|
76
|
+
- Has auxiliary folders → `standalone`
|
|
77
|
+
- Entry point only → `task-only`
|
|
78
|
+
|
|
79
|
+
4. Note non-standard directories (data/, scripts/, utils/, output/) — these are informational, not violations
|
|
80
|
+
|
|
81
|
+
5. Skip from audit: `node_modules/`, `output/`, `.git/`, any generated directories
|
|
82
|
+
|
|
83
|
+
Display the inventory table to establish what will be audited.
|
|
84
|
+
</step>
|
|
85
|
+
|
|
86
|
+
<step name="assess_entry_point">
|
|
87
|
+
Load @../specs/entry-point.md and check the entry point file against it.
|
|
88
|
+
|
|
89
|
+
**Check each requirement:**
|
|
90
|
+
|
|
91
|
+
**1. YAML Frontmatter:**
|
|
92
|
+
- [ ] Frontmatter present (delimited by `---`)
|
|
93
|
+
- [ ] `name` field present and kebab-case
|
|
94
|
+
- [ ] `type` field present and valid (`suite`, `standalone`, `task-only`)
|
|
95
|
+
- [ ] `version` field present and semver format
|
|
96
|
+
- [ ] `category` field present
|
|
97
|
+
- [ ] `description` field present and one-line
|
|
98
|
+
|
|
99
|
+
**2. XML Sections (check presence and order):**
|
|
100
|
+
- [ ] `<activation>` present with What, When to Use, Not For subsections
|
|
101
|
+
- [ ] `<persona>` present with Role, Style, Expertise subsections
|
|
102
|
+
- [ ] `<commands>` present (if not task-only) with table format
|
|
103
|
+
- [ ] `<routing>` present with Always Load / Load on Command / Load on Demand structure
|
|
104
|
+
- [ ] `<greeting>` present with available actions listed
|
|
105
|
+
|
|
106
|
+
**3. Conventions:**
|
|
107
|
+
- [ ] Entry point filename matches directory name
|
|
108
|
+
- [ ] Entry point is thin (routing, not process logic)
|
|
109
|
+
- [ ] Placeholders use correct convention ([square]=prose, {curly}=variable)
|
|
110
|
+
- [ ] @-references in routing point to existing files
|
|
111
|
+
|
|
112
|
+
**Score:** Count checks passed vs total applicable checks.
|
|
113
|
+
- All pass → **Compliant**
|
|
114
|
+
- 70%+ pass → **Partial**
|
|
115
|
+
- Below 70% → **Non-compliant**
|
|
116
|
+
|
|
117
|
+
Record each failed check with the specific line or section that violates the spec.
|
|
118
|
+
</step>
|
|
119
|
+
|
|
120
|
+
<step name="assess_folder_types">
|
|
121
|
+
For each folder that maps to a spec, load the corresponding spec and check files.
|
|
122
|
+
|
|
123
|
+
**For each folder present:**
|
|
124
|
+
|
|
125
|
+
1. Load the corresponding spec from `@../specs/{folder-type}.md`
|
|
126
|
+
2. Read all files in the folder (if 5 or fewer) or a representative sample (first 3 + last, if more)
|
|
127
|
+
3. Check each file against the spec's requirements
|
|
128
|
+
|
|
129
|
+
**tasks/ — Check against specs/tasks.md:**
|
|
130
|
+
- [ ] No YAML frontmatter (tasks are execution files)
|
|
131
|
+
- [ ] Has `<purpose>` section
|
|
132
|
+
- [ ] Has `<user-story>` in format: As a [role], I want [action], so that [outcome]
|
|
133
|
+
- [ ] Has `<when-to-use>` with trigger conditions
|
|
134
|
+
- [ ] Has `<steps>` with named steps (`<step name="snake_case">`)
|
|
135
|
+
- [ ] Steps use imperative voice
|
|
136
|
+
- [ ] Steps have explicit wait points where user input needed
|
|
137
|
+
- [ ] Has `<output>` section specifying artifacts
|
|
138
|
+
- [ ] Has `<acceptance-criteria>` as plain checklists (not BDD)
|
|
139
|
+
|
|
140
|
+
**templates/ — Check against specs/templates.md:**
|
|
141
|
+
- [ ] Has YAML frontmatter with `name` and `description`
|
|
142
|
+
- [ ] Uses placeholder convention consistently
|
|
143
|
+
- [ ] Template is fill-in-ready (not just documentation)
|
|
144
|
+
- [ ] Sections are clearly labeled
|
|
145
|
+
|
|
146
|
+
**frameworks/ — Check against specs/frameworks.md:**
|
|
147
|
+
- [ ] No YAML frontmatter (frameworks are read-only knowledge)
|
|
148
|
+
- [ ] Has teaching orientation (explains why, not just what)
|
|
149
|
+
- [ ] Has examples grounding the concepts
|
|
150
|
+
- [ ] Structured for on-demand loading (standalone, no cross-dependencies)
|
|
151
|
+
|
|
152
|
+
**context/ — Check against specs/context.md:**
|
|
153
|
+
- [ ] Has YAML frontmatter (context is the mutable file type)
|
|
154
|
+
- [ ] Clearly scoped to one domain of state
|
|
155
|
+
- [ ] Has default/empty state structure
|
|
156
|
+
- [ ] Designed for session-to-session persistence
|
|
157
|
+
|
|
158
|
+
**checklists/ — Check against specs/checklists.md:**
|
|
159
|
+
- [ ] Uses checkbox format (`- [ ]` items)
|
|
160
|
+
- [ ] Each item is independently verifiable
|
|
161
|
+
- [ ] Items have clear pass/fail criteria
|
|
162
|
+
- [ ] Organized by concern (not just a flat list)
|
|
163
|
+
|
|
164
|
+
**rules/ — Check against specs/rules.md:**
|
|
165
|
+
- [ ] Has Must Have section (positive requirements)
|
|
166
|
+
- [ ] Has Anti-Patterns section (what to avoid)
|
|
167
|
+
- [ ] Rules are compact enforcement, not spec copies
|
|
168
|
+
- [ ] Scoped to one consumer folder type
|
|
169
|
+
|
|
170
|
+
**Score each folder** using the same Compliant / Partial / Non-compliant scale.
|
|
171
|
+
Record specific violations with file:line references where possible.
|
|
172
|
+
</step>
|
|
173
|
+
|
|
174
|
+
<step name="generate_report">
|
|
175
|
+
Compile all findings into a structured compliance report.
|
|
176
|
+
|
|
177
|
+
**Report structure:**
|
|
178
|
+
|
|
179
|
+
```markdown
|
|
180
|
+
# Skill Audit Report: {skill-name}
|
|
181
|
+
|
|
182
|
+
**Path:** {skill-path}
|
|
183
|
+
**Tier:** {suite/standalone/task-only}
|
|
184
|
+
**Audit Date:** {date}
|
|
185
|
+
**Overall Score:** {N}% ({compliant-count}/{total-audited} components compliant)
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
## Summary
|
|
190
|
+
|
|
191
|
+
| Component | Spec | Status | Issues |
|
|
192
|
+
|-----------|------|--------|--------|
|
|
193
|
+
| Entry point | entry-point.md | {Compliant/Partial/Non-compliant} | {N} |
|
|
194
|
+
| tasks/ | tasks.md | {status} | {N} |
|
|
195
|
+
| templates/ | templates.md | {status} | {N} |
|
|
196
|
+
| frameworks/ | frameworks.md | {status} | {N} |
|
|
197
|
+
| context/ | context.md | {status} | {N} |
|
|
198
|
+
| checklists/ | checklists.md | {status} | {N} |
|
|
199
|
+
| rules/ | rules.md | {status} | {N} |
|
|
200
|
+
|
|
201
|
+
**Non-standard folders:** {list any unaudited folders}
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
## Violations Detail
|
|
206
|
+
|
|
207
|
+
### Entry Point
|
|
208
|
+
{For each failed check: what's wrong, where, and how to fix it}
|
|
209
|
+
|
|
210
|
+
### tasks/
|
|
211
|
+
{Per-file violations}
|
|
212
|
+
|
|
213
|
+
### {each folder with issues}
|
|
214
|
+
{Per-file violations}
|
|
215
|
+
|
|
216
|
+
---
|
|
217
|
+
|
|
218
|
+
## Remediation Priorities
|
|
219
|
+
|
|
220
|
+
Priority order (fix these first):
|
|
221
|
+
1. {Highest impact — entry point structural issues}
|
|
222
|
+
2. {Next highest — missing required sections in tasks}
|
|
223
|
+
3. {Lower priority — convention violations}
|
|
224
|
+
|
|
225
|
+
---
|
|
226
|
+
|
|
227
|
+
*Generated by /forge audit*
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
**Ask:** "Where should I save this report?"
|
|
231
|
+
- Default: `{skill-path}/{skill-name}-AUDIT.md`
|
|
232
|
+
- User can specify alternate location
|
|
233
|
+
|
|
234
|
+
**Wait for response, then write the report.**
|
|
235
|
+
|
|
236
|
+
**For batch mode:**
|
|
237
|
+
After all individual reports, generate a rollup:
|
|
238
|
+
|
|
239
|
+
```markdown
|
|
240
|
+
# Batch Audit Summary
|
|
241
|
+
|
|
242
|
+
**Directory:** {parent-path}
|
|
243
|
+
**Skills Audited:** {N}
|
|
244
|
+
**Date:** {date}
|
|
245
|
+
|
|
246
|
+
| Skill | Tier | Score | Top Issue |
|
|
247
|
+
|-------|------|-------|-----------|
|
|
248
|
+
| {name} | {tier} | {N}% | {brief description} |
|
|
249
|
+
|
|
250
|
+
**Cross-cutting issues:** {patterns that appear in multiple skills}
|
|
251
|
+
**Highest priority:** {which skill needs the most work}
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
Save rollup to `{parent-path}/AUDIT-SUMMARY.md`.
|
|
255
|
+
</step>
|
|
256
|
+
|
|
257
|
+
</steps>
|
|
258
|
+
|
|
259
|
+
<output>
|
|
260
|
+
## Artifacts
|
|
261
|
+
- Individual audit report: `{skill-name}-AUDIT.md` (per skill)
|
|
262
|
+
- Batch summary: `AUDIT-SUMMARY.md` (batch mode only)
|
|
263
|
+
|
|
264
|
+
## Format
|
|
265
|
+
Markdown report with summary table, per-component violations, and prioritized remediation list.
|
|
266
|
+
</output>
|
|
267
|
+
|
|
268
|
+
<acceptance-criteria>
|
|
269
|
+
- [ ] Target skill path validated and entry point located
|
|
270
|
+
- [ ] Skill structure inventoried with folder-to-spec mapping
|
|
271
|
+
- [ ] Entry point assessed against entry-point.md spec
|
|
272
|
+
- [ ] Each present folder assessed against its corresponding spec
|
|
273
|
+
- [ ] Compliance scored per component (Compliant / Partial / Non-compliant)
|
|
274
|
+
- [ ] Violations recorded with specific details and file references
|
|
275
|
+
- [ ] Report generated with summary table and remediation priorities
|
|
276
|
+
- [ ] User confirmed report location
|
|
277
|
+
</acceptance-criteria>
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Guided conversational interview that captures all design decisions needed to scaffold a new Claude Code skill. Produces a structured skill spec as output.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<user-story>
|
|
6
|
+
As a skill builder, I want a structured interview that walks me through every design decision so that I get a complete skill spec without missing anything or guessing at conventions.
|
|
7
|
+
</user-story>
|
|
8
|
+
|
|
9
|
+
<when-to-use>
|
|
10
|
+
- Creating a new skill from scratch
|
|
11
|
+
- Documenting an existing skill's design for future scaffolding
|
|
12
|
+
- Exploring what a skill should look like before building it
|
|
13
|
+
</when-to-use>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
@specs/entry-point.md
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<references>
|
|
20
|
+
@specs/tasks.md (when discussing task structure)
|
|
21
|
+
@specs/templates.md (when discussing template structure)
|
|
22
|
+
@specs/frameworks.md (when discussing framework structure)
|
|
23
|
+
@specs/context.md (when discussing context structure)
|
|
24
|
+
@specs/checklists.md (when discussing checklist structure)
|
|
25
|
+
@specs/rules.md (when discussing rules — meta-skill only)
|
|
26
|
+
</references>
|
|
27
|
+
|
|
28
|
+
<steps>
|
|
29
|
+
|
|
30
|
+
<step name="phase-1-identity" label="Identity">
|
|
31
|
+
Capture the skill's core identity. Ask as a group, wait for responses.
|
|
32
|
+
|
|
33
|
+
**Ask:**
|
|
34
|
+
1. **Skill name** — What should this skill be called? (kebab-case, e.g., `revops-expert`)
|
|
35
|
+
2. **Type** — What tier?
|
|
36
|
+
- `suite` — Orchestrator with sub-skills (e.g., forge itself)
|
|
37
|
+
- `standalone` — Single skill with auxiliary folders (most common)
|
|
38
|
+
- `task-only` — Lightweight single-purpose, no auxiliary folders
|
|
39
|
+
3. **Category** — What domain? (common: operations, content, development, design, analysis)
|
|
40
|
+
4. **Description** — One sentence: what does this skill do?
|
|
41
|
+
|
|
42
|
+
**Validate:**
|
|
43
|
+
- Name must be kebab-case (lowercase, hyphens only)
|
|
44
|
+
- Type must be one of: suite, standalone, task-only
|
|
45
|
+
- Description should be one line, action-oriented
|
|
46
|
+
|
|
47
|
+
**After responses:** Confirm back: "Got it — `{name}` is a `{type}` skill in `{category}`: {description}. Correct?"
|
|
48
|
+
</step>
|
|
49
|
+
|
|
50
|
+
<step name="phase-2-persona" label="Persona">
|
|
51
|
+
Define who this skill acts as. Ask as a group, wait for responses.
|
|
52
|
+
|
|
53
|
+
**Ask:**
|
|
54
|
+
1. **Role** — Who does this skill act as? (e.g., "Senior revenue operations strategist", "Content pipeline manager")
|
|
55
|
+
2. **Style** — How does it communicate? Pick or describe:
|
|
56
|
+
- Structured / casual / opinionated / minimal / technical / conversational
|
|
57
|
+
- Any specific behaviors (e.g., "uses frameworks by name", "challenges weak inputs")
|
|
58
|
+
3. **Expertise** — What domains does it know deeply? List 2-5 areas.
|
|
59
|
+
|
|
60
|
+
**After responses:** Summarize persona in 3 bullets (role, style, expertise) and confirm.
|
|
61
|
+
</step>
|
|
62
|
+
|
|
63
|
+
<step name="phase-3-scope" label="Scope & Commands">
|
|
64
|
+
Define what the skill does and doesn't do, plus its command structure.
|
|
65
|
+
|
|
66
|
+
**Ask:**
|
|
67
|
+
1. **What** — What does this skill do? (1-2 sentences for the activation section)
|
|
68
|
+
2. **When to Use** — When should someone reach for this skill? (list 2-4 triggers)
|
|
69
|
+
3. **Not For** — What is explicitly NOT this skill's job? (list 1-3 boundaries, reference other skills if applicable)
|
|
70
|
+
4. **Commands** (skip for task-only):
|
|
71
|
+
- What actions/workflows does this skill offer?
|
|
72
|
+
- For each: command name, brief description, what it routes to
|
|
73
|
+
|
|
74
|
+
**After responses:** Display activation scope and command table for confirmation.
|
|
75
|
+
</step>
|
|
76
|
+
|
|
77
|
+
<step name="phase-4-content-architecture" label="Content Architecture">
|
|
78
|
+
Walk through each auxiliary folder type to determine what the skill needs.
|
|
79
|
+
|
|
80
|
+
**For each folder type below, ask:** "Does this skill need [type]? If yes, what files?"
|
|
81
|
+
|
|
82
|
+
**Tasks** (`tasks/*.md`):
|
|
83
|
+
- What guided workflows does this skill perform?
|
|
84
|
+
- For each: file name (kebab-case), purpose, loading condition (on-command)
|
|
85
|
+
|
|
86
|
+
**Frameworks** (`frameworks/*.md`):
|
|
87
|
+
- What domain knowledge does this skill carry?
|
|
88
|
+
- For each: file name, what it teaches, loading condition (on-demand typical)
|
|
89
|
+
|
|
90
|
+
**Templates** (`templates/*.md`):
|
|
91
|
+
- What structured outputs does this skill produce?
|
|
92
|
+
- For each: file name, what it generates
|
|
93
|
+
|
|
94
|
+
**Context** (`context/*.md`):
|
|
95
|
+
- What user or business state does this skill need to remember between sessions?
|
|
96
|
+
- For each: file name, what it stores, loading condition (always typical for context)
|
|
97
|
+
|
|
98
|
+
**Checklists** (`checklists/*.md`):
|
|
99
|
+
- What quality gates does this skill enforce?
|
|
100
|
+
- For each: file name, what it validates
|
|
101
|
+
|
|
102
|
+
**Note:** Rules folder is meta-skill only (Forge carries rules, individual skills don't).
|
|
103
|
+
|
|
104
|
+
**After each "yes":** Capture file name, purpose, and loading condition.
|
|
105
|
+
**After all types reviewed:** Display content architecture summary table and confirm.
|
|
106
|
+
</step>
|
|
107
|
+
|
|
108
|
+
<step name="phase-5-review" label="Review & Confirm">
|
|
109
|
+
Present the complete skill spec for final review.
|
|
110
|
+
|
|
111
|
+
1. Generate the full skill spec using @templates/skill-spec.md format
|
|
112
|
+
2. Display it to the user with all captured decisions filled in
|
|
113
|
+
3. Ask: "Does this look right? Say **confirm** to finalize, or tell me what to change."
|
|
114
|
+
|
|
115
|
+
**On confirm:**
|
|
116
|
+
- Output the finalized skill spec
|
|
117
|
+
- Report: "Skill spec complete. Run `/forge scaffold` to generate the directory. (Phase 3)"
|
|
118
|
+
|
|
119
|
+
**On edit requests:**
|
|
120
|
+
- Apply changes to the spec
|
|
121
|
+
- Re-display affected sections
|
|
122
|
+
- Re-confirm
|
|
123
|
+
</step>
|
|
124
|
+
|
|
125
|
+
</steps>
|
|
126
|
+
|
|
127
|
+
<output>
|
|
128
|
+
Filled skill spec following templates/skill-spec.md format, containing:
|
|
129
|
+
- Identity (name, type, category, description)
|
|
130
|
+
- Persona (role, style, expertise)
|
|
131
|
+
- Activation scope (what, when, not for)
|
|
132
|
+
- Commands table
|
|
133
|
+
- Content architecture (tasks, frameworks, templates, context, checklists with file names and loading conditions)
|
|
134
|
+
</output>
|
|
135
|
+
|
|
136
|
+
<acceptance-criteria>
|
|
137
|
+
- [ ] All 5 phases completed in order
|
|
138
|
+
- [ ] Skill name validated as kebab-case
|
|
139
|
+
- [ ] Skill type is one of: suite, standalone, task-only
|
|
140
|
+
- [ ] Persona captured with role, style, expertise
|
|
141
|
+
- [ ] Activation scope has What, When to Use, and Not For
|
|
142
|
+
- [ ] Each auxiliary folder type explicitly addressed (yes with details, or no)
|
|
143
|
+
- [ ] Skill spec output generated with all fields populated
|
|
144
|
+
- [ ] User confirmed the final spec
|
|
145
|
+
</acceptance-criteria>
|
|
@@ -0,0 +1,276 @@
|
|
|
1
|
+
<purpose>
|
|
2
|
+
Transform raw source material (books, courses, transcripts, notes) into structured framework chunks ready for skill consumption. Reads source content, designs a chunking architecture, extracts discrete framework chunks, and validates output against framework syntax rules.
|
|
3
|
+
</purpose>
|
|
4
|
+
|
|
5
|
+
<user-story>
|
|
6
|
+
As a skill builder, I want to turn raw knowledge sources into structured, skill-ready framework chunks so that my skills can reference clean domain knowledge instead of wading through raw text.
|
|
7
|
+
</user-story>
|
|
8
|
+
|
|
9
|
+
<when-to-use>
|
|
10
|
+
- You have a book, course transcript, or raw notes that need to become framework files
|
|
11
|
+
- Building the knowledge layer for a new or existing skill
|
|
12
|
+
- Entry point routes here via /forge distill
|
|
13
|
+
</when-to-use>
|
|
14
|
+
|
|
15
|
+
<context>
|
|
16
|
+
@rules/frameworks-rules.md
|
|
17
|
+
</context>
|
|
18
|
+
|
|
19
|
+
<references>
|
|
20
|
+
@../specs/frameworks.md (framework syntax spec — output format rules)
|
|
21
|
+
</references>
|
|
22
|
+
|
|
23
|
+
<steps>
|
|
24
|
+
|
|
25
|
+
<step name="assess_source" priority="first">
|
|
26
|
+
Understand the raw material before planning how to chunk it.
|
|
27
|
+
|
|
28
|
+
**Ask:**
|
|
29
|
+
1. **Source material** — Provide the file path(s) or paste the content. What is this? (book, course, transcript, notes, article collection)
|
|
30
|
+
2. **Target skill** — Which skill will consume these frameworks? (existing skill name, or "new skill — not yet built")
|
|
31
|
+
3. **Output location** — Where should chunks land? (default: `{skill-name}/frameworks/chunks/`)
|
|
32
|
+
|
|
33
|
+
**Wait for response.**
|
|
34
|
+
|
|
35
|
+
Once source is provided:
|
|
36
|
+
|
|
37
|
+
1. Read the source material fully
|
|
38
|
+
2. Assess structure:
|
|
39
|
+
- How is it organized? (chapters, sections, modules, flat)
|
|
40
|
+
- Approximate size (lines, pages, word count)
|
|
41
|
+
- How many distinct concepts/frameworks are present?
|
|
42
|
+
3. Identify the natural seams — where does one concept end and another begin?
|
|
43
|
+
4. Check for existing chunking:
|
|
44
|
+
- Does a chunking plan already exist for this source?
|
|
45
|
+
- Are there partial chunks already extracted?
|
|
46
|
+
|
|
47
|
+
**Report:**
|
|
48
|
+
```
|
|
49
|
+
Source: {title/description}
|
|
50
|
+
Type: {book/course/transcript/notes}
|
|
51
|
+
Size: ~{N} lines / ~{N} pages
|
|
52
|
+
Structure: {chapters/sections/modules/flat}
|
|
53
|
+
Estimated concepts: {N}
|
|
54
|
+
Existing work: {none / partial — describe}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
**Confirm:** "Ready to design the chunking plan?"
|
|
58
|
+
</step>
|
|
59
|
+
|
|
60
|
+
<step name="create_chunking_plan">
|
|
61
|
+
Design the chunk architecture — how to break the source into discrete, skill-ready pieces.
|
|
62
|
+
|
|
63
|
+
**Principles:**
|
|
64
|
+
- Group by **functional outcome** (what the chunk helps you DO), not by source structure (chapters)
|
|
65
|
+
- Each chunk should be independently useful — loadable without needing other chunks
|
|
66
|
+
- Target 5-15 chunks per source (fewer than 5 = too coarse, more than 15 = too granular)
|
|
67
|
+
- Name chunks by concept, not by source chapter number
|
|
68
|
+
|
|
69
|
+
**For each proposed chunk, define:**
|
|
70
|
+
|
|
71
|
+
| Field | Description |
|
|
72
|
+
|-------|-------------|
|
|
73
|
+
| **Number** | Sequential ID (01, 02, ...) |
|
|
74
|
+
| **Name** | Concept-based name (kebab-case for filename, title case for display) |
|
|
75
|
+
| **Source range** | Which sections/chapters/lines this covers |
|
|
76
|
+
| **Frameworks to extract** | List of specific frameworks, models, or templates in this chunk |
|
|
77
|
+
| **Skill output** | What this chunk enables — one sentence describing the actionable outcome |
|
|
78
|
+
|
|
79
|
+
**Present the chunking plan as a table:**
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
| # | Chunk Name | Source Range | Core Frameworks | Skill Output |
|
|
83
|
+
|---|-----------|-------------|-----------------|--------------|
|
|
84
|
+
| 1 | {name} | {range} | {frameworks} | {output} |
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Write the chunking plan** to `{output-location}/../{source-name}-chunks.md` following the proven format from the Expert Secrets chunking plan.
|
|
88
|
+
|
|
89
|
+
**Ask:** "Does this chunking architecture look right? Any chunks to merge, split, or rename?"
|
|
90
|
+
|
|
91
|
+
**Wait for approval before extracting.**
|
|
92
|
+
</step>
|
|
93
|
+
|
|
94
|
+
<step name="extract_chunks">
|
|
95
|
+
Extract each chunk from the source into a standalone framework file.
|
|
96
|
+
|
|
97
|
+
**For each chunk in the approved plan:**
|
|
98
|
+
|
|
99
|
+
1. Read the relevant source range
|
|
100
|
+
2. Distill into the standard chunk format:
|
|
101
|
+
|
|
102
|
+
```markdown
|
|
103
|
+
# Chunk {N}: {Display Name}
|
|
104
|
+
## Source: {Source Title} — {Section/Chapter Reference}
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Core Concept
|
|
109
|
+
|
|
110
|
+
[2-4 sentence synthesis of the central idea. Not a summary — a distillation
|
|
111
|
+
that captures the essence someone needs to understand before diving into
|
|
112
|
+
frameworks. Written in teaching voice.]
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## Frameworks
|
|
117
|
+
|
|
118
|
+
### Framework: {Framework Name}
|
|
119
|
+
|
|
120
|
+
**When to use:** [Specific trigger condition — when should this framework be applied?]
|
|
121
|
+
|
|
122
|
+
**Steps/Template:**
|
|
123
|
+
|
|
124
|
+
[The actual framework content — steps, tables, templates, fill-ins.
|
|
125
|
+
Structured for immediate application, not academic understanding.
|
|
126
|
+
Include tables for comparisons, code blocks for fill-in templates,
|
|
127
|
+
numbered steps for processes.]
|
|
128
|
+
|
|
129
|
+
**Example from source:** [Concrete example that illustrates the framework in action]
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
[Repeat ### Framework for each framework in this chunk]
|
|
134
|
+
|
|
135
|
+
## Key Principles
|
|
136
|
+
|
|
137
|
+
- [Distilled principle 1 — actionable, not abstract]
|
|
138
|
+
- [Distilled principle 2]
|
|
139
|
+
- [Distilled principle 3]
|
|
140
|
+
|
|
141
|
+
---
|
|
142
|
+
|
|
143
|
+
## Templates and Fill-Ins
|
|
144
|
+
|
|
145
|
+
[Consolidated fill-in templates from this chunk's frameworks.
|
|
146
|
+
Use fenced code blocks with bracket placeholders for user input.]
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Decision Tools
|
|
151
|
+
|
|
152
|
+
[IF/THEN decision logic extracted from the source.
|
|
153
|
+
Help the user make choices without re-reading the full framework.]
|
|
154
|
+
|
|
155
|
+
---
|
|
156
|
+
|
|
157
|
+
*Chunk {N} of {total} — {Source Title} Framework Reference*
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
**Chunk quality rules:**
|
|
161
|
+
- Core Concept is a synthesis, not a copy-paste summary
|
|
162
|
+
- Frameworks have **When to use** triggers (not just what they are)
|
|
163
|
+
- Templates use `[_______________]` fill-in blanks for user input
|
|
164
|
+
- Decision Tools use `IF/THEN` logic for quick application
|
|
165
|
+
- Each chunk stands alone — no "see Chunk 3 for details" cross-references
|
|
166
|
+
- Key Principles are actionable statements, not vague platitudes
|
|
167
|
+
- Include source examples where they illustrate the framework
|
|
168
|
+
|
|
169
|
+
3. Write each chunk to `{output-location}/{NN}-{chunk-name}.md`
|
|
170
|
+
4. After each chunk, briefly report: "Chunk {N}/{total}: {name} — {frameworks extracted} frameworks"
|
|
171
|
+
|
|
172
|
+
**Do NOT rush.** Each chunk is a knowledge artifact that will be referenced many times. Quality over speed.
|
|
173
|
+
</step>
|
|
174
|
+
|
|
175
|
+
<step name="build_consolidated_framework">
|
|
176
|
+
Create a single consolidated framework file that ties all chunks together.
|
|
177
|
+
|
|
178
|
+
**This is optional but recommended for sources with 5+ chunks.**
|
|
179
|
+
|
|
180
|
+
Create `{output-location}/../{source-name}.md` (the parent framework file):
|
|
181
|
+
|
|
182
|
+
```markdown
|
|
183
|
+
# {Source Title} — Framework Reference
|
|
184
|
+
|
|
185
|
+
## Purpose
|
|
186
|
+
[What this framework collection teaches and when to reference it]
|
|
187
|
+
|
|
188
|
+
## Chunk Index
|
|
189
|
+
|
|
190
|
+
| # | Chunk | Key Frameworks | Load When |
|
|
191
|
+
|---|-------|---------------|-----------|
|
|
192
|
+
| 1 | {name} | {frameworks} | {trigger condition} |
|
|
193
|
+
| 2 | {name} | {frameworks} | {trigger condition} |
|
|
194
|
+
|
|
195
|
+
## Quick Reference
|
|
196
|
+
|
|
197
|
+
### Decision Tree
|
|
198
|
+
[High-level decision tree that routes to the right chunk based on what the user needs]
|
|
199
|
+
|
|
200
|
+
### Framework Inventory
|
|
201
|
+
[Complete list of all frameworks across all chunks with chunk reference]
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
**Ask:** "Consolidated framework created. Want to review it, or proceed to validation?"
|
|
205
|
+
</step>
|
|
206
|
+
|
|
207
|
+
<step name="validate_output">
|
|
208
|
+
Validate all generated files against framework rules.
|
|
209
|
+
|
|
210
|
+
1. Load @rules/frameworks-rules.md
|
|
211
|
+
2. For each chunk file, verify:
|
|
212
|
+
- [ ] No YAML frontmatter (frameworks are read-only knowledge)
|
|
213
|
+
- [ ] Has Core Concept section (purpose/synthesis)
|
|
214
|
+
- [ ] Has at least one Framework with "When to use" trigger
|
|
215
|
+
- [ ] Frameworks teach (not prescribe) — teaching orientation
|
|
216
|
+
- [ ] Has examples (not abstract-only)
|
|
217
|
+
- [ ] File named kebab-case: `{NN}-{chunk-name}.md`
|
|
218
|
+
- [ ] Stands alone without cross-chunk dependencies
|
|
219
|
+
3. If consolidated framework exists, verify:
|
|
220
|
+
- [ ] Has Purpose section
|
|
221
|
+
- [ ] Has Chunk Index with load triggers
|
|
222
|
+
- [ ] Has Quick Reference / Decision Tree
|
|
223
|
+
|
|
224
|
+
**Report:**
|
|
225
|
+
```
|
|
226
|
+
Distillation Complete: {source-title}
|
|
227
|
+
|
|
228
|
+
Chunks: {N} extracted
|
|
229
|
+
Location: {output-location}/
|
|
230
|
+
Consolidated: {yes/no} at {path}
|
|
231
|
+
|
|
232
|
+
Validation: {N}/{N} chunks pass rules
|
|
233
|
+
|
|
234
|
+
Files:
|
|
235
|
+
- {NN}-{chunk-name}.md ({N} frameworks)
|
|
236
|
+
- {NN}-{chunk-name}.md ({N} frameworks)
|
|
237
|
+
- ...
|
|
238
|
+
- {source-name}.md (consolidated index)
|
|
239
|
+
|
|
240
|
+
Next steps:
|
|
241
|
+
1. Review chunks for domain accuracy (you know the source better than I do)
|
|
242
|
+
2. Add chunks to your skill's routing as on-demand framework references
|
|
243
|
+
3. Test by asking the skill to apply a specific framework
|
|
244
|
+
```
|
|
245
|
+
</step>
|
|
246
|
+
|
|
247
|
+
</steps>
|
|
248
|
+
|
|
249
|
+
<output>
|
|
250
|
+
## Artifacts
|
|
251
|
+
- Chunking plan: `{source-name}-chunks.md`
|
|
252
|
+
- Individual chunks: `chunks/{NN}-{chunk-name}.md` (one per chunk)
|
|
253
|
+
- Consolidated framework: `{source-name}.md` (optional, for 5+ chunks)
|
|
254
|
+
|
|
255
|
+
## Structure
|
|
256
|
+
```
|
|
257
|
+
{skill-name}/frameworks/
|
|
258
|
+
├── {source-name}.md (consolidated index)
|
|
259
|
+
├── {source-name}-chunks.md (chunking plan)
|
|
260
|
+
└── chunks/
|
|
261
|
+
├── 01-{chunk-name}.md
|
|
262
|
+
├── 02-{chunk-name}.md
|
|
263
|
+
└── ...
|
|
264
|
+
```
|
|
265
|
+
</output>
|
|
266
|
+
|
|
267
|
+
<acceptance-criteria>
|
|
268
|
+
- [ ] Source material fully read and assessed
|
|
269
|
+
- [ ] Chunking plan created with concept-based groupings (not chapter-based)
|
|
270
|
+
- [ ] Each chunk follows the standard format (Core Concept, Frameworks with triggers, Templates, Decision Tools)
|
|
271
|
+
- [ ] All chunks stand alone without cross-chunk dependencies
|
|
272
|
+
- [ ] Chunk files named kebab-case with sequential numbering
|
|
273
|
+
- [ ] Consolidated framework created (if 5+ chunks)
|
|
274
|
+
- [ ] All files pass frameworks-rules.md validation
|
|
275
|
+
- [ ] User reviewed and approved chunking plan before extraction
|
|
276
|
+
</acceptance-criteria>
|