@zigrivers/scaffold 2.28.1 → 2.38.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +309 -136
- package/dist/cli/commands/build.d.ts.map +1 -1
- package/dist/cli/commands/build.js +94 -14
- package/dist/cli/commands/build.js.map +1 -1
- package/dist/cli/commands/build.test.js +30 -5
- package/dist/cli/commands/build.test.js.map +1 -1
- package/dist/cli/commands/check.d.ts +12 -0
- package/dist/cli/commands/check.d.ts.map +1 -0
- package/dist/cli/commands/check.js +311 -0
- package/dist/cli/commands/check.js.map +1 -0
- package/dist/cli/commands/check.test.d.ts +2 -0
- package/dist/cli/commands/check.test.d.ts.map +1 -0
- package/dist/cli/commands/check.test.js +412 -0
- package/dist/cli/commands/check.test.js.map +1 -0
- package/dist/cli/commands/complete.d.ts +12 -0
- package/dist/cli/commands/complete.d.ts.map +1 -0
- package/dist/cli/commands/complete.js +101 -0
- package/dist/cli/commands/complete.js.map +1 -0
- package/dist/cli/commands/complete.test.d.ts +2 -0
- package/dist/cli/commands/complete.test.d.ts.map +1 -0
- package/dist/cli/commands/complete.test.js +133 -0
- package/dist/cli/commands/complete.test.js.map +1 -0
- package/dist/cli/commands/dashboard.d.ts.map +1 -1
- package/dist/cli/commands/dashboard.js +12 -8
- package/dist/cli/commands/dashboard.js.map +1 -1
- package/dist/cli/commands/info.d.ts.map +1 -1
- package/dist/cli/commands/info.js +4 -0
- package/dist/cli/commands/info.js.map +1 -1
- package/dist/cli/commands/knowledge.d.ts.map +1 -1
- package/dist/cli/commands/knowledge.js +6 -2
- package/dist/cli/commands/knowledge.js.map +1 -1
- package/dist/cli/commands/knowledge.test.js +16 -11
- package/dist/cli/commands/knowledge.test.js.map +1 -1
- package/dist/cli/commands/next.d.ts.map +1 -1
- package/dist/cli/commands/next.js +41 -13
- package/dist/cli/commands/next.js.map +1 -1
- package/dist/cli/commands/next.test.js +3 -0
- package/dist/cli/commands/next.test.js.map +1 -1
- package/dist/cli/commands/reset.d.ts +1 -0
- package/dist/cli/commands/reset.d.ts.map +1 -1
- package/dist/cli/commands/reset.js +179 -67
- package/dist/cli/commands/reset.js.map +1 -1
- package/dist/cli/commands/reset.test.js +360 -0
- package/dist/cli/commands/reset.test.js.map +1 -1
- package/dist/cli/commands/rework.d.ts +20 -0
- package/dist/cli/commands/rework.d.ts.map +1 -0
- package/dist/cli/commands/rework.js +332 -0
- package/dist/cli/commands/rework.js.map +1 -0
- package/dist/cli/commands/rework.test.d.ts +2 -0
- package/dist/cli/commands/rework.test.d.ts.map +1 -0
- package/dist/cli/commands/rework.test.js +297 -0
- package/dist/cli/commands/rework.test.js.map +1 -0
- package/dist/cli/commands/run.d.ts.map +1 -1
- package/dist/cli/commands/run.js +59 -31
- package/dist/cli/commands/run.js.map +1 -1
- package/dist/cli/commands/run.test.js +288 -6
- package/dist/cli/commands/run.test.js.map +1 -1
- package/dist/cli/commands/skill.d.ts +12 -0
- package/dist/cli/commands/skill.d.ts.map +1 -0
- package/dist/cli/commands/skill.js +123 -0
- package/dist/cli/commands/skill.js.map +1 -0
- package/dist/cli/commands/skill.test.d.ts +2 -0
- package/dist/cli/commands/skill.test.d.ts.map +1 -0
- package/dist/cli/commands/skill.test.js +297 -0
- package/dist/cli/commands/skill.test.js.map +1 -0
- package/dist/cli/commands/skip.d.ts +1 -1
- package/dist/cli/commands/skip.d.ts.map +1 -1
- package/dist/cli/commands/skip.js +123 -57
- package/dist/cli/commands/skip.js.map +1 -1
- package/dist/cli/commands/skip.test.js +91 -0
- package/dist/cli/commands/skip.test.js.map +1 -1
- package/dist/cli/commands/status.d.ts +1 -0
- package/dist/cli/commands/status.d.ts.map +1 -1
- package/dist/cli/commands/status.js +57 -10
- package/dist/cli/commands/status.js.map +1 -1
- package/dist/cli/commands/status.test.js +81 -0
- package/dist/cli/commands/status.test.js.map +1 -1
- package/dist/cli/commands/update.test.js +252 -0
- package/dist/cli/commands/update.test.js.map +1 -1
- package/dist/cli/commands/version.test.js +171 -1
- package/dist/cli/commands/version.test.js.map +1 -1
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +8 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/core/adapters/adapter.d.ts +14 -0
- package/dist/core/adapters/adapter.d.ts.map +1 -1
- package/dist/core/adapters/adapter.js.map +1 -1
- package/dist/core/adapters/adapter.test.js +10 -0
- package/dist/core/adapters/adapter.test.js.map +1 -1
- package/dist/core/adapters/claude-code.d.ts.map +1 -1
- package/dist/core/adapters/claude-code.js +47 -10
- package/dist/core/adapters/claude-code.js.map +1 -1
- package/dist/core/adapters/claude-code.test.js +41 -20
- package/dist/core/adapters/claude-code.test.js.map +1 -1
- package/dist/core/adapters/codex.d.ts.map +1 -1
- package/dist/core/adapters/codex.js +5 -1
- package/dist/core/adapters/codex.js.map +1 -1
- package/dist/core/adapters/codex.test.js +5 -0
- package/dist/core/adapters/codex.test.js.map +1 -1
- package/dist/core/adapters/universal.d.ts.map +1 -1
- package/dist/core/adapters/universal.js +0 -1
- package/dist/core/adapters/universal.js.map +1 -1
- package/dist/core/adapters/universal.test.js +5 -0
- package/dist/core/adapters/universal.test.js.map +1 -1
- package/dist/core/assembly/context-gatherer.d.ts.map +1 -1
- package/dist/core/assembly/context-gatherer.js +5 -2
- package/dist/core/assembly/context-gatherer.js.map +1 -1
- package/dist/core/assembly/engine.d.ts.map +1 -1
- package/dist/core/assembly/engine.js +10 -2
- package/dist/core/assembly/engine.js.map +1 -1
- package/dist/core/assembly/engine.test.js +19 -0
- package/dist/core/assembly/engine.test.js.map +1 -1
- package/dist/core/assembly/knowledge-loader.d.ts +25 -0
- package/dist/core/assembly/knowledge-loader.d.ts.map +1 -1
- package/dist/core/assembly/knowledge-loader.js +75 -2
- package/dist/core/assembly/knowledge-loader.js.map +1 -1
- package/dist/core/assembly/knowledge-loader.test.js +388 -1
- package/dist/core/assembly/knowledge-loader.test.js.map +1 -1
- package/dist/core/assembly/meta-prompt-loader.d.ts +6 -0
- package/dist/core/assembly/meta-prompt-loader.d.ts.map +1 -1
- package/dist/core/assembly/meta-prompt-loader.js +41 -25
- package/dist/core/assembly/meta-prompt-loader.js.map +1 -1
- package/dist/core/assembly/preset-loader.d.ts +10 -0
- package/dist/core/assembly/preset-loader.d.ts.map +1 -1
- package/dist/core/assembly/preset-loader.js +26 -1
- package/dist/core/assembly/preset-loader.js.map +1 -1
- package/dist/core/assembly/preset-loader.test.js +65 -1
- package/dist/core/assembly/preset-loader.test.js.map +1 -1
- package/dist/core/assembly/update-mode.d.ts.map +1 -1
- package/dist/core/assembly/update-mode.js +10 -4
- package/dist/core/assembly/update-mode.js.map +1 -1
- package/dist/core/assembly/update-mode.test.js +47 -0
- package/dist/core/assembly/update-mode.test.js.map +1 -1
- package/dist/core/dependency/dependency.d.ts.map +1 -1
- package/dist/core/dependency/dependency.js +3 -2
- package/dist/core/dependency/dependency.js.map +1 -1
- package/dist/core/dependency/dependency.test.js +2 -0
- package/dist/core/dependency/dependency.test.js.map +1 -1
- package/dist/core/dependency/eligibility.js +3 -3
- package/dist/core/dependency/eligibility.js.map +1 -1
- package/dist/core/dependency/eligibility.test.js +2 -0
- package/dist/core/dependency/eligibility.test.js.map +1 -1
- package/dist/core/dependency/graph.d.ts.map +1 -1
- package/dist/core/dependency/graph.js +4 -0
- package/dist/core/dependency/graph.js.map +1 -1
- package/dist/core/dependency/graph.test.d.ts +2 -0
- package/dist/core/dependency/graph.test.d.ts.map +1 -0
- package/dist/core/dependency/graph.test.js +262 -0
- package/dist/core/dependency/graph.test.js.map +1 -0
- package/dist/core/rework/phase-selector.d.ts +24 -0
- package/dist/core/rework/phase-selector.d.ts.map +1 -0
- package/dist/core/rework/phase-selector.js +98 -0
- package/dist/core/rework/phase-selector.js.map +1 -0
- package/dist/core/rework/phase-selector.test.d.ts +2 -0
- package/dist/core/rework/phase-selector.test.d.ts.map +1 -0
- package/dist/core/rework/phase-selector.test.js +138 -0
- package/dist/core/rework/phase-selector.test.js.map +1 -0
- package/dist/dashboard/generator.d.ts +48 -17
- package/dist/dashboard/generator.d.ts.map +1 -1
- package/dist/dashboard/generator.js +75 -5
- package/dist/dashboard/generator.js.map +1 -1
- package/dist/dashboard/generator.test.js +213 -5
- package/dist/dashboard/generator.test.js.map +1 -1
- package/dist/dashboard/template.d.ts +1 -1
- package/dist/dashboard/template.d.ts.map +1 -1
- package/dist/dashboard/template.js +755 -114
- package/dist/dashboard/template.js.map +1 -1
- package/dist/e2e/knowledge.test.js +4 -3
- package/dist/e2e/knowledge.test.js.map +1 -1
- package/dist/e2e/pipeline.test.js +2 -0
- package/dist/e2e/pipeline.test.js.map +1 -1
- package/dist/e2e/rework.test.d.ts +6 -0
- package/dist/e2e/rework.test.d.ts.map +1 -0
- package/dist/e2e/rework.test.js +226 -0
- package/dist/e2e/rework.test.js.map +1 -0
- package/dist/index.js +0 -0
- package/dist/project/adopt.test.js +2 -0
- package/dist/project/adopt.test.js.map +1 -1
- package/dist/project/claude-md.js +2 -2
- package/dist/project/claude-md.js.map +1 -1
- package/dist/project/claude-md.test.js +4 -4
- package/dist/project/claude-md.test.js.map +1 -1
- package/dist/project/detector.d.ts.map +1 -1
- package/dist/project/detector.js +4 -1
- package/dist/project/detector.js.map +1 -1
- package/dist/project/frontmatter.d.ts.map +1 -1
- package/dist/project/frontmatter.js +54 -15
- package/dist/project/frontmatter.js.map +1 -1
- package/dist/project/frontmatter.test.js +2 -2
- package/dist/project/frontmatter.test.js.map +1 -1
- package/dist/state/rework-manager.d.ts +16 -0
- package/dist/state/rework-manager.d.ts.map +1 -0
- package/dist/state/rework-manager.js +126 -0
- package/dist/state/rework-manager.js.map +1 -0
- package/dist/state/rework-manager.test.d.ts +2 -0
- package/dist/state/rework-manager.test.d.ts.map +1 -0
- package/dist/state/rework-manager.test.js +191 -0
- package/dist/state/rework-manager.test.js.map +1 -0
- package/dist/state/state-manager.d.ts +13 -0
- package/dist/state/state-manager.d.ts.map +1 -1
- package/dist/state/state-manager.js +39 -2
- package/dist/state/state-manager.js.map +1 -1
- package/dist/state/state-manager.test.js +74 -1
- package/dist/state/state-manager.test.js.map +1 -1
- package/dist/state/state-migration.d.ts +23 -0
- package/dist/state/state-migration.d.ts.map +1 -0
- package/dist/state/state-migration.js +144 -0
- package/dist/state/state-migration.js.map +1 -0
- package/dist/state/state-migration.test.d.ts +2 -0
- package/dist/state/state-migration.test.d.ts.map +1 -0
- package/dist/state/state-migration.test.js +451 -0
- package/dist/state/state-migration.test.js.map +1 -0
- package/dist/types/assembly.d.ts +2 -0
- package/dist/types/assembly.d.ts.map +1 -1
- package/dist/types/dependency.d.ts +2 -2
- package/dist/types/dependency.d.ts.map +1 -1
- package/dist/types/frontmatter.d.ts +100 -7
- package/dist/types/frontmatter.d.ts.map +1 -1
- package/dist/types/frontmatter.js +89 -1
- package/dist/types/frontmatter.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +1 -0
- package/dist/types/index.js.map +1 -1
- package/dist/types/lock.d.ts +1 -1
- package/dist/types/lock.d.ts.map +1 -1
- package/dist/types/rework.d.ts +36 -0
- package/dist/types/rework.d.ts.map +1 -0
- package/dist/types/rework.js +2 -0
- package/dist/types/rework.js.map +1 -0
- package/dist/utils/errors.d.ts +1 -0
- package/dist/utils/errors.d.ts.map +1 -1
- package/dist/utils/errors.js +8 -0
- package/dist/utils/errors.js.map +1 -1
- package/dist/utils/fs.d.ts +6 -0
- package/dist/utils/fs.d.ts.map +1 -1
- package/dist/utils/fs.js +13 -0
- package/dist/utils/fs.js.map +1 -1
- package/dist/validation/config-validator.test.d.ts +2 -0
- package/dist/validation/config-validator.test.d.ts.map +1 -0
- package/dist/validation/config-validator.test.js +210 -0
- package/dist/validation/config-validator.test.js.map +1 -0
- package/dist/validation/dependency-validator.test.d.ts +2 -0
- package/dist/validation/dependency-validator.test.d.ts.map +1 -0
- package/dist/validation/dependency-validator.test.js +215 -0
- package/dist/validation/dependency-validator.test.js.map +1 -0
- package/dist/validation/frontmatter-validator.test.d.ts +2 -0
- package/dist/validation/frontmatter-validator.test.d.ts.map +1 -0
- package/dist/validation/frontmatter-validator.test.js +371 -0
- package/dist/validation/frontmatter-validator.test.js.map +1 -0
- package/dist/validation/state-validator.test.d.ts +2 -0
- package/dist/validation/state-validator.test.d.ts.map +1 -0
- package/dist/validation/state-validator.test.js +325 -0
- package/dist/validation/state-validator.test.js.map +1 -0
- package/dist/wizard/suggestion.test.d.ts +2 -0
- package/dist/wizard/suggestion.test.d.ts.map +1 -0
- package/dist/wizard/suggestion.test.js +115 -0
- package/dist/wizard/suggestion.test.js.map +1 -0
- package/dist/wizard/wizard.d.ts.map +1 -1
- package/dist/wizard/wizard.js +34 -1
- package/dist/wizard/wizard.js.map +1 -1
- package/knowledge/core/adr-craft.md +4 -0
- package/knowledge/core/api-design.md +4 -0
- package/knowledge/core/automated-review-tooling.md +203 -0
- package/knowledge/core/coding-conventions.md +1 -1
- package/knowledge/core/database-design.md +4 -0
- package/knowledge/core/design-system-tokens.md +4 -0
- package/knowledge/core/domain-modeling.md +4 -0
- package/knowledge/core/git-workflow-patterns.md +200 -0
- package/knowledge/core/operations-runbook.md +5 -1
- package/knowledge/core/security-best-practices.md +4 -0
- package/knowledge/core/system-architecture.md +5 -1
- package/knowledge/core/task-decomposition.md +118 -3
- package/knowledge/core/user-story-innovation.md +13 -0
- package/knowledge/core/ux-specification.md +13 -0
- package/knowledge/execution/enhancement-workflow.md +201 -0
- package/knowledge/execution/task-claiming-strategy.md +130 -0
- package/knowledge/execution/tdd-execution-loop.md +172 -0
- package/knowledge/execution/worktree-management.md +205 -0
- package/knowledge/finalization/apply-fixes-and-freeze.md +12 -0
- package/knowledge/finalization/developer-onboarding.md +4 -0
- package/knowledge/finalization/implementation-playbook.md +83 -5
- package/knowledge/product/gap-analysis.md +5 -1
- package/knowledge/product/prd-innovation.md +12 -0
- package/knowledge/product/vision-craft.md +213 -0
- package/knowledge/review/review-adr.md +12 -0
- package/knowledge/review/review-api-design.md +13 -0
- package/knowledge/review/review-database-design.md +13 -0
- package/knowledge/review/review-domain-modeling.md +5 -1
- package/knowledge/review/review-implementation-tasks.md +58 -1
- package/knowledge/review/review-methodology.md +11 -0
- package/knowledge/review/review-operations.md +12 -0
- package/knowledge/review/review-prd.md +13 -0
- package/knowledge/review/review-security.md +12 -0
- package/knowledge/review/review-system-architecture.md +4 -2
- package/knowledge/review/review-testing-strategy.md +11 -0
- package/knowledge/review/review-user-stories.md +11 -0
- package/knowledge/review/review-ux-specification.md +13 -1
- package/knowledge/review/review-vision.md +255 -0
- package/knowledge/tools/release-management.md +222 -0
- package/knowledge/tools/session-analysis.md +215 -0
- package/knowledge/tools/version-strategy.md +200 -0
- package/knowledge/validation/critical-path-analysis.md +1 -1
- package/knowledge/validation/cross-phase-consistency.md +12 -0
- package/knowledge/validation/decision-completeness.md +13 -1
- package/knowledge/validation/dependency-validation.md +12 -0
- package/knowledge/validation/scope-management.md +12 -0
- package/knowledge/validation/traceability.md +12 -0
- package/methodology/README.md +37 -0
- package/methodology/custom-defaults.yml +12 -1
- package/methodology/deep.yml +11 -0
- package/methodology/mvp.yml +11 -0
- package/package.json +3 -3
- package/pipeline/architecture/review-architecture.md +18 -7
- package/pipeline/architecture/system-architecture.md +11 -8
- package/pipeline/build/multi-agent-resume.md +245 -0
- package/pipeline/build/multi-agent-start.md +236 -0
- package/pipeline/build/new-enhancement.md +456 -0
- package/pipeline/build/quick-task.md +381 -0
- package/pipeline/build/single-agent-resume.md +210 -0
- package/pipeline/build/single-agent-start.md +207 -0
- package/pipeline/consolidation/claude-md-optimization.md +11 -8
- package/pipeline/consolidation/workflow-audit.md +15 -11
- package/pipeline/decisions/adrs.md +7 -5
- package/pipeline/decisions/review-adrs.md +14 -6
- package/pipeline/environment/ai-memory-setup.md +18 -12
- package/pipeline/environment/automated-pr-review.md +10 -4
- package/pipeline/environment/design-system.md +9 -7
- package/pipeline/environment/dev-env-setup.md +8 -5
- package/pipeline/environment/git-workflow.md +3 -1
- package/pipeline/finalization/apply-fixes-and-freeze.md +16 -5
- package/pipeline/finalization/developer-onboarding-guide.md +22 -8
- package/pipeline/finalization/implementation-playbook.md +40 -11
- package/pipeline/foundation/beads.md +10 -7
- package/pipeline/foundation/coding-standards.md +6 -3
- package/pipeline/foundation/project-structure.md +5 -1
- package/pipeline/foundation/tdd.md +10 -6
- package/pipeline/foundation/tech-stack.md +9 -9
- package/pipeline/integration/add-e2e-testing.md +21 -6
- package/pipeline/modeling/domain-modeling.md +10 -7
- package/pipeline/modeling/review-domain-modeling.md +17 -6
- package/pipeline/parity/platform-parity-review.md +31 -11
- package/pipeline/planning/implementation-plan-review.md +21 -10
- package/pipeline/planning/implementation-plan.md +52 -19
- package/pipeline/pre/create-prd.md +22 -7
- package/pipeline/pre/innovate-prd.md +10 -8
- package/pipeline/pre/innovate-user-stories.md +9 -7
- package/pipeline/pre/review-prd.md +11 -2
- package/pipeline/pre/review-user-stories.md +12 -3
- package/pipeline/pre/user-stories.md +12 -7
- package/pipeline/quality/create-evals.md +10 -6
- package/pipeline/quality/operations.md +16 -12
- package/pipeline/quality/review-operations.md +19 -10
- package/pipeline/quality/review-security.md +21 -11
- package/pipeline/quality/review-testing.md +23 -12
- package/pipeline/quality/security.md +17 -13
- package/pipeline/quality/story-tests.md +6 -4
- package/pipeline/specification/api-contracts.md +11 -6
- package/pipeline/specification/database-schema.md +12 -6
- package/pipeline/specification/review-api.md +18 -9
- package/pipeline/specification/review-database.md +18 -9
- package/pipeline/specification/review-ux.md +20 -10
- package/pipeline/specification/ux-spec.md +8 -5
- package/pipeline/validation/critical-path-walkthrough.md +14 -7
- package/pipeline/validation/cross-phase-consistency.md +14 -7
- package/pipeline/validation/decision-completeness.md +14 -7
- package/pipeline/validation/dependency-graph-validation.md +15 -7
- package/pipeline/validation/implementability-dry-run.md +15 -7
- package/pipeline/validation/scope-creep-check.md +15 -7
- package/pipeline/validation/traceability-matrix.md +20 -7
- package/pipeline/vision/create-vision.md +267 -0
- package/pipeline/vision/innovate-vision.md +157 -0
- package/pipeline/vision/review-vision.md +149 -0
- package/skills/scaffold-pipeline/SKILL.md +33 -18
- package/skills/scaffold-runner/SKILL.md +172 -18
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Scaffold
|
|
2
2
|
|
|
3
|
-
A TypeScript CLI that assembles AI-powered prompts at runtime to guide you from "I have an idea" to working software. Scaffold walks you through
|
|
3
|
+
A TypeScript CLI that assembles AI-powered prompts at runtime to guide you from "I have an idea" to working software. Scaffold walks you through 60 structured pipeline steps — organized into 16 phases — plus 7 utility tools, and Claude Code handles the research, planning, and implementation for you.
|
|
4
4
|
|
|
5
5
|
By the end, you'll have a fully planned, standards-documented, implementation-ready project with working code.
|
|
6
6
|
|
|
@@ -29,7 +29,7 @@ Either way, Scaffold constructs the prompt and Claude does the work. The CLI tra
|
|
|
29
29
|
|
|
30
30
|
**Assembly engine** — At execution time, Scaffold builds a 7-section prompt from: system metadata, the meta-prompt, knowledge base entries, project context (artifacts from prior steps), methodology settings, layered instructions, and depth-specific execution guidance.
|
|
31
31
|
|
|
32
|
-
**Knowledge base** —
|
|
32
|
+
**Knowledge base** — 60 domain expertise entries in `knowledge/` organized in seven categories (core, product, review, validation, finalization, execution, tools) covering testing strategy, domain modeling, API design, security best practices, eval craft, TDD execution, task claiming, worktree management, release management, and more. These get injected into prompts based on each step's `knowledge-base` frontmatter field. Knowledge files with a `## Deep Guidance` section are optimized for CLI assembly — only the deep guidance content is loaded, avoiding redundancy with the prompt text. Teams can add project-local overrides in `.scaffold/knowledge/` that layer on top of the global entries.
|
|
33
33
|
|
|
34
34
|
**Methodology presets** — Three built-in presets control which steps run and how deep the analysis goes:
|
|
35
35
|
- **deep** (depth 5) — all steps enabled, exhaustive analysis
|
|
@@ -178,209 +178,365 @@ The PRD is always created as `docs/plan.md`. If you have a legacy `docs/prd.md`
|
|
|
178
178
|
|
|
179
179
|
## Quick Start
|
|
180
180
|
|
|
181
|
-
|
|
181
|
+
The fastest way to use Scaffold is through natural language inside Claude Code. The Scaffold Runner skill handles pipeline navigation, surfaces decision points before Claude picks defaults, and tracks your progress automatically. The examples below show what you'd type in a Claude Code session.
|
|
182
|
+
|
|
183
|
+
### Starting a Brand New Project
|
|
184
|
+
|
|
185
|
+
Let's say you want to build a neighborhood tool lending library — an app where neighbors can list tools they own and borrow from each other. Here's how that looks end to end.
|
|
186
|
+
|
|
187
|
+
**Set up the project** (one-time, in your terminal):
|
|
182
188
|
|
|
183
189
|
```bash
|
|
184
|
-
mkdir
|
|
190
|
+
mkdir tool-library && cd tool-library
|
|
185
191
|
git init
|
|
186
192
|
scaffold init
|
|
187
193
|
```
|
|
188
194
|
|
|
189
|
-
The init wizard detects
|
|
195
|
+
The init wizard detects that this is a brand new project and asks you to pick a methodology. Choose **mvp** if you want to get to working code fast — it runs only 7 critical steps instead of the full 60. You can always switch to `deep` or `custom` later.
|
|
190
196
|
|
|
191
|
-
**
|
|
197
|
+
**Open Claude Code in your project directory**, then start talking:
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
"I want to build a neighborhood tool lending library where neighbors can
|
|
201
|
+
list tools they own, browse what's available nearby, and request to borrow
|
|
202
|
+
items. Run the first scaffold step."
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
The runner picks up `create-vision` (the first eligible step), asks you a few strategic questions about your idea — who's the audience, what makes this different from existing apps, what does success look like — and produces `docs/vision.md`. This becomes the foundation everything else builds on.
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
"Run the next scaffold step"
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Now it runs `create-prd`. Claude translates your vision into a detailed product requirements document with features, user personas, success criteria, and scope boundaries. The output lands in `docs/plan.md`.
|
|
212
|
+
|
|
213
|
+
```
|
|
214
|
+
"Next step"
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
`review-prd` — Claude reviews the PRD for gaps, ambiguity, and completeness, then suggests improvements. You decide which suggestions to accept.
|
|
218
|
+
|
|
219
|
+
```
|
|
220
|
+
"Keep going"
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
`user-stories` — Claude breaks the PRD into detailed user stories with acceptance criteria. Each story maps back to a specific requirement so nothing falls through the cracks.
|
|
192
224
|
|
|
193
|
-
```
|
|
194
|
-
|
|
225
|
+
```
|
|
226
|
+
"What's left?"
|
|
195
227
|
```
|
|
196
228
|
|
|
197
|
-
|
|
229
|
+
The runner shows your remaining steps and which ones are unblocked. With the `mvp` preset, you're almost there — just `review-user-stories`, `tdd`, `implementation-plan`, and `implementation-playbook` remain.
|
|
198
230
|
|
|
199
231
|
```
|
|
200
|
-
|
|
232
|
+
"Finish the remaining steps"
|
|
201
233
|
```
|
|
202
234
|
|
|
203
|
-
|
|
235
|
+
The runner executes each remaining step in order, pausing to surface decisions that need your input (testing framework preferences, depth level for reviews, etc.) rather than letting Claude guess silently.
|
|
236
|
+
|
|
237
|
+
Once the pipeline is complete:
|
|
238
|
+
|
|
239
|
+
```
|
|
240
|
+
"Start building"
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
Claude picks up the first implementation task and begins writing code using TDD — tests first, then implementation. Your project now has architecture docs, coding standards, a test strategy, and a task graph, all produced from your original idea.
|
|
244
|
+
|
|
245
|
+
> **CLI equivalent**: Everything above can also be done with `scaffold run create-vision`, `scaffold run create-prd`, `scaffold next`, etc. The runner skill adds interactive decision surfacing on top of these commands.
|
|
246
|
+
|
|
247
|
+
### Adding Scaffold to an Existing Project
|
|
248
|
+
|
|
249
|
+
Say you have a Next.js app with a handful of features built, but no documentation, formal test strategy, or architecture docs. Scaffold can backfill all of that.
|
|
204
250
|
|
|
205
|
-
**
|
|
251
|
+
**In your project root:**
|
|
206
252
|
|
|
207
253
|
```bash
|
|
208
|
-
|
|
254
|
+
cd ~/projects/my-nextjs-app
|
|
255
|
+
scaffold init
|
|
209
256
|
```
|
|
210
257
|
|
|
211
|
-
Scaffold
|
|
258
|
+
Scaffold detects that you already have code (package.json, source files, git history) and classifies the project as **brownfield**. It suggests the `deep` methodology since existing projects benefit from thorough documentation, but you can choose any preset.
|
|
212
259
|
|
|
213
|
-
|
|
260
|
+
If you already have docs that match Scaffold's expected outputs (a PRD, architecture doc, etc.), bootstrap your state:
|
|
214
261
|
|
|
215
262
|
```bash
|
|
216
|
-
scaffold
|
|
217
|
-
|
|
218
|
-
|
|
263
|
+
scaffold adopt
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
This scans your project for existing artifacts and marks those pipeline steps as complete so you don't redo work.
|
|
267
|
+
|
|
268
|
+
**Now open Claude Code and skip what doesn't apply:**
|
|
269
|
+
|
|
270
|
+
```
|
|
271
|
+
"Skip create-vision and create-prd — I already know what I'm building"
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
The runner marks those steps as skipped with your reason logged.
|
|
275
|
+
|
|
276
|
+
```
|
|
277
|
+
"Run tech-stack"
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
Claude scans your existing dependencies, framework choices, and configuration, then documents everything in `docs/tech-stack.md` — formalizing decisions you've already made so future contributors (and AI agents) understand the rationale.
|
|
281
|
+
|
|
282
|
+
```
|
|
283
|
+
"Run tdd"
|
|
284
|
+
```
|
|
285
|
+
|
|
286
|
+
Claude sets up a testing strategy tailored to your existing stack — test runner config, coverage targets, TDD workflow conventions. If you already have some tests, it builds around them.
|
|
287
|
+
|
|
288
|
+
```
|
|
289
|
+
"Run coding-standards"
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
Claude analyzes your existing code patterns and creates `docs/coding-standards.md` with linter and formatter configs that match how you're already writing code.
|
|
293
|
+
|
|
294
|
+
Continue through whatever steps make sense — `git-workflow`, `security`, `implementation-plan` — and skip the rest.
|
|
295
|
+
|
|
296
|
+
**Later, when you want to add a new feature with full Scaffold rigor:**
|
|
297
|
+
|
|
298
|
+
```
|
|
299
|
+
"Run new-enhancement"
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
Claude walks you through adding a feature the right way — updating the PRD, creating new user stories, setting up tasks with dependencies, and kicking off implementation. All the planning docs stay in sync.
|
|
303
|
+
|
|
304
|
+
### Checking Your Progress
|
|
305
|
+
|
|
306
|
+
Scaffold persists your pipeline state in `.scaffold/state.json`, so you can close Claude Code, take a break, and pick up right where you left off.
|
|
307
|
+
|
|
308
|
+
**In Claude Code** (natural language):
|
|
309
|
+
|
|
310
|
+
```
|
|
311
|
+
"Where am I in the pipeline?" → full progress view with phase breakdown
|
|
312
|
+
"What's next?" → shows the next unblocked step(s)
|
|
313
|
+
"What's left?" → compact view of remaining steps only
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
**From the terminal** (CLI):
|
|
317
|
+
|
|
318
|
+
```bash
|
|
319
|
+
scaffold status # full pipeline progress
|
|
320
|
+
scaffold status --compact # remaining work only
|
|
321
|
+
scaffold next # next eligible step(s)
|
|
322
|
+
scaffold dashboard # open a visual progress dashboard in your browser
|
|
219
323
|
```
|
|
220
324
|
|
|
221
|
-
|
|
325
|
+
### Tips for New Users
|
|
326
|
+
|
|
327
|
+
- **You don't need every step.** The `mvp` preset runs just 7 steps and gets you building fast. Start there and switch to `deep` or `custom` if you want more rigor.
|
|
328
|
+
- **"I'm not sure" is a valid answer.** When Claude asks a question you can't answer yet, say so — it'll suggest reasonable defaults and explain the trade-offs. You can revisit any decision later.
|
|
329
|
+
- **You can re-run any step.** If your thinking evolves, use `scaffold reset <step>` to reset it, then run it again. Scaffold uses update mode — it improves the existing artifact rather than starting from scratch.
|
|
330
|
+
- **Every step produces a real document.** Vision docs, PRDs, architecture decisions, test strategies — these all land in your project's `docs/` folder as markdown files. They're not throwaway; they're the source of truth your code is built from.
|
|
331
|
+
- **The pipeline is a guide, not a cage.** Skip steps that don't apply (`scaffold skip <step> --reason "..."`). Run them out of order if you know what you're doing. Scaffold tracks dependencies so it'll tell you if you're missing a prerequisite.
|
|
332
|
+
- **Depth controls thoroughness.** Each step runs at a depth from 1 (focused, fast) to 5 (exhaustive). The mvp preset defaults to depth 1; deep defaults to 5. You can override per step or per session: `"Use depth 3 for everything"`.
|
|
222
333
|
|
|
223
334
|
## The Pipeline
|
|
224
335
|
|
|
336
|
+
### Phase 0 — Product Vision (vision)
|
|
337
|
+
|
|
338
|
+
You describe your idea and Claude turns it into a strategic vision document covering who it's for, what makes it different, and what success looks like. The review step stress-tests the vision for gaps, and the innovate step explores market positioning opportunities. Without this, later steps lack a clear North Star and features drift.
|
|
339
|
+
|
|
340
|
+
| Step | What It Does |
|
|
341
|
+
|------|-------------|
|
|
342
|
+
| `create-vision` | Claude asks about your idea — who it's for, what problem it solves, what makes it different — and produces a vision document with elevator pitch, target audience, competitive positioning, guiding principles, and success criteria. |
|
|
343
|
+
| `review-vision` | Claude stress-tests the vision across five dimensions — clarity, audience precision, competitive rigor, strategic coherence, and whether the PRD can be written from it without ambiguity — and fixes what it finds. |
|
|
344
|
+
| `innovate-vision` | Claude explores untapped opportunities — adjacent markets, AI-native capabilities, ecosystem partnerships, and contrarian positioning — and proposes innovations for your approval. *(optional)* |
|
|
345
|
+
|
|
225
346
|
### Phase 1 — Product Definition (pre)
|
|
226
347
|
|
|
227
|
-
|
|
348
|
+
Claude translates your vision into a detailed product requirements document (PRD) with features, user personas, constraints, and success criteria. Then it breaks the PRD into user stories — specific things users can do, each with testable acceptance criteria in Given/When/Then format. Review and innovation steps audit for gaps and suggest enhancements. Without this, you're building without a spec.
|
|
228
349
|
|
|
229
350
|
| Step | What It Does |
|
|
230
351
|
|------|-------------|
|
|
231
|
-
| `create-prd` |
|
|
232
|
-
| `innovate-prd` |
|
|
233
|
-
| `review-prd` |
|
|
234
|
-
| `user-stories` |
|
|
235
|
-
| `innovate-user-stories` |
|
|
236
|
-
| `review-user-stories` |
|
|
352
|
+
| `create-prd` | Claude translates your vision (or idea, if no vision exists) into a product requirements document with problem statement, user personas, prioritized feature list, constraints, non-functional requirements, and measurable success criteria. |
|
|
353
|
+
| `innovate-prd` | Claude analyzes the PRD for feature-level gaps — competitive blind spots, UX enhancements, AI-native possibilities — and proposes additions for your approval. *(optional)* |
|
|
354
|
+
| `review-prd` | Claude reviews the PRD across eight passes — problem rigor, persona coverage, feature scoping, success criteria, internal consistency, constraints, non-functional requirements — and fixes blocking issues. |
|
|
355
|
+
| `user-stories` | Claude breaks every PRD feature into user stories ("As a [persona], I want [action], so that [outcome]") organized by epic, each with testable acceptance criteria in Given/When/Then format. |
|
|
356
|
+
| `innovate-user-stories` | Claude identifies UX enhancement opportunities — progressive disclosure, smart defaults, accessibility improvements — and integrates approved changes into existing stories. *(optional)* |
|
|
357
|
+
| `review-user-stories` | Claude verifies every PRD feature maps to at least one story, checks that acceptance criteria are specific enough to test, validates story independence, and builds a requirements traceability index at higher depths. |
|
|
237
358
|
|
|
238
359
|
### Phase 2 — Project Foundation (foundation)
|
|
239
360
|
|
|
240
|
-
|
|
361
|
+
Claude researches and documents your technology choices (language, framework, database) with rationale, creates coding standards tailored to your stack with actual linter configs, defines your testing strategy and test pyramid, and designs a directory layout optimized for parallel AI agent work. Without this, agents guess at conventions and produce inconsistent code.
|
|
241
362
|
|
|
242
363
|
| Step | What It Does |
|
|
243
364
|
|------|-------------|
|
|
244
|
-
| `beads` |
|
|
245
|
-
| `tech-stack` |
|
|
246
|
-
| `coding-standards` |
|
|
247
|
-
| `tdd` |
|
|
248
|
-
| `project-structure` |
|
|
365
|
+
| `beads` | Sets up Beads task tracking with a lessons-learned file for cross-session learning, and creates the initial CLAUDE.md skeleton with core principles and workflow conventions. *(optional)* |
|
|
366
|
+
| `tech-stack` | Claude researches technology options for your project — language, framework, database, hosting, auth — evaluates each against your requirements, and documents every choice with rationale and alternatives considered. |
|
|
367
|
+
| `coding-standards` | Claude creates coding standards tailored to your tech stack — naming conventions, error handling patterns, import organization, AI-specific rules — and generates working linter and formatter config files. |
|
|
368
|
+
| `tdd` | Claude defines your testing approach — which types of tests to write at each layer, coverage targets, what to mock and what not to, test data patterns — so agents write the right tests from the start. |
|
|
369
|
+
| `project-structure` | Claude designs a directory layout optimized for parallel AI agent work (minimizing file conflicts), documents where each type of file belongs, and creates the actual directories in your project. |
|
|
249
370
|
|
|
250
371
|
### Phase 3 — Development Environment (environment)
|
|
251
372
|
|
|
252
|
-
|
|
373
|
+
Claude sets up your local dev environment with one-command startup and live reload, creates a design system with color palette, typography, and component patterns (web apps only), configures your git branching strategy with CI pipeline and worktree scripts for parallel agents, optionally sets up automated PR review with multi-model validation, and configures AI memory so conventions persist across sessions. Without this, you're manually configuring tooling instead of building.
|
|
253
374
|
|
|
254
375
|
| Step | What It Does |
|
|
255
376
|
|------|-------------|
|
|
256
|
-
| `dev-env-setup` |
|
|
257
|
-
| `design-system` |
|
|
258
|
-
| `git-workflow` |
|
|
259
|
-
| `automated-pr-review` |
|
|
260
|
-
| `ai-memory-setup` |
|
|
377
|
+
| `dev-env-setup` | Claude configures your project so `make dev` (or equivalent) starts everything — dev server with live reload, local database, environment variables — and documents the setup in a getting-started guide. |
|
|
378
|
+
| `design-system` | Claude creates a visual language — color palette (WCAG-compliant), typography scale, spacing system, component patterns — and generates working theme config files for your frontend framework. *(web apps only)* |
|
|
379
|
+
| `git-workflow` | Claude sets up your branching strategy, commit message format, PR workflow, CI pipeline with lint and test jobs, and worktree scripts so multiple AI agents can work in parallel without conflicts. |
|
|
380
|
+
| `automated-pr-review` | Claude configures automated code review — using Codex and/or Gemini CLIs for dual-model review when available, or an external bot — with severity definitions and review criteria tailored to your project. *(optional)* |
|
|
381
|
+
| `ai-memory-setup` | Claude extracts conventions from your docs into path-scoped rule files that load automatically, optimizes CLAUDE.md with a pointer pattern, and optionally sets up persistent cross-session memory. |
|
|
261
382
|
|
|
262
383
|
### Phase 4 — Testing Integration (integration)
|
|
263
384
|
|
|
264
|
-
|
|
385
|
+
Claude auto-detects your platform (web or mobile) and configures end-to-end testing — Playwright for web apps, Maestro for mobile/Expo. Skips automatically for backend-only projects. Without this, your test pyramid has no top level.
|
|
265
386
|
|
|
266
387
|
| Step | What It Does |
|
|
267
388
|
|------|-------------|
|
|
268
|
-
| `add-e2e-testing` |
|
|
389
|
+
| `add-e2e-testing` | Claude detects whether your project is web or mobile, then configures Playwright (web) or Maestro (mobile) with a working smoke test, baseline screenshots, and guidance on when to use E2E vs. unit tests. *(optional)* |
|
|
269
390
|
|
|
270
391
|
### Phase 5 — Domain Modeling (modeling)
|
|
271
392
|
|
|
272
|
-
|
|
393
|
+
Claude analyzes your user stories to identify all the core concepts in your project — the entities (things like Users, Orders, Tools), their relationships, the rules that must always be true, and the events that happen when state changes. This becomes the shared language between all your docs and code. Without this, different docs use different names for the same concept and agents create duplicate logic.
|
|
273
394
|
|
|
274
395
|
| Step | What It Does |
|
|
275
396
|
|------|-------------|
|
|
276
|
-
| `domain-modeling` |
|
|
277
|
-
| `review-domain-modeling` |
|
|
397
|
+
| `domain-modeling` | Claude analyzes your user stories to identify the core concepts in your project (entities, their relationships, the rules that must always hold true), and establishes a shared vocabulary that all docs and code will use. |
|
|
398
|
+
| `review-domain-modeling` | Claude verifies every PRD feature maps to a domain entity, checks that business rules are enforceable, and ensures the shared vocabulary is consistent across all project files. |
|
|
278
399
|
|
|
279
400
|
### Phase 6 — Architecture Decisions (decisions)
|
|
280
401
|
|
|
281
|
-
Record
|
|
402
|
+
Claude documents every significant technology and design decision as an Architecture Decision Record (ADR) — what was decided, what alternatives were considered, and why. The review catches contradictions and missing decisions. Without this, future contributors (human or AI) don't know *why* things are the way they are.
|
|
282
403
|
|
|
283
404
|
| Step | What It Does |
|
|
284
405
|
|------|-------------|
|
|
285
|
-
| `adrs` |
|
|
286
|
-
| `review-adrs` |
|
|
406
|
+
| `adrs` | Claude documents every significant design decision — what was chosen, what alternatives were considered with pros and cons, and what consequences follow — so future contributors understand *why*, not just *what*. |
|
|
407
|
+
| `review-adrs` | Claude checks for contradictions between decisions, missing decisions implied by the architecture, and whether every choice has honest trade-off analysis. |
|
|
287
408
|
|
|
288
409
|
### Phase 7 — System Architecture (architecture)
|
|
289
410
|
|
|
290
|
-
|
|
411
|
+
Claude designs the system blueprint — which components exist, how data flows between them, where each piece of code lives, and how the system can be extended. This translates your domain model and decisions into a concrete structure that implementation will follow. Without this, agents make conflicting structural assumptions.
|
|
291
412
|
|
|
292
413
|
| Step | What It Does |
|
|
293
414
|
|------|-------------|
|
|
294
|
-
| `system-architecture` |
|
|
295
|
-
| `review-architecture` |
|
|
415
|
+
| `system-architecture` | Claude designs the system blueprint — which components exist, how data flows between them, where each module lives in the directory tree, and where extension points allow custom behavior. |
|
|
416
|
+
| `review-architecture` | Claude verifies every domain concept lands in a component, every decision constraint is respected, no components are orphaned from data flows, and the module structure minimizes merge conflicts. |
|
|
296
417
|
|
|
297
418
|
### Phase 8 — Specifications (specification)
|
|
298
419
|
|
|
299
|
-
|
|
420
|
+
Claude creates detailed interface specifications for each layer of your system. Database schema translates domain entities into tables with constraints that enforce business rules. API contracts define every endpoint with request/response shapes, error codes, and auth requirements. UX spec maps out user flows, interaction states, accessibility requirements, and responsive behavior. Each is conditional — only generated if your project has that layer. Without these, agents guess at interfaces and implementations don't align.
|
|
300
421
|
|
|
301
422
|
| Step | What It Does |
|
|
302
423
|
|------|-------------|
|
|
303
|
-
| `database-schema` |
|
|
304
|
-
| `review-database` |
|
|
305
|
-
| `api-contracts` |
|
|
306
|
-
| `review-api` |
|
|
307
|
-
| `ux-spec` |
|
|
308
|
-
| `review-ux` |
|
|
424
|
+
| `database-schema` | Claude translates your domain model into database tables with constraints that enforce business rules, indexes optimized for your API's query patterns, and a reversible migration strategy. *(if applicable)* |
|
|
425
|
+
| `review-database` | Claude verifies every domain entity has a table, constraints enforce business rules at the database level, and indexes cover all query patterns from the API contracts. *(if applicable)* |
|
|
426
|
+
| `api-contracts` | Claude specifies every API endpoint — request/response shapes, error codes with human-readable messages, auth requirements, pagination, and example payloads — so frontend and backend can be built in parallel. *(if applicable)* |
|
|
427
|
+
| `review-api` | Claude checks that every domain operation has an endpoint, error responses include domain-specific codes, and auth requirements are specified for every route. *(if applicable)* |
|
|
428
|
+
| `ux-spec` | Claude maps out every user flow with all interaction states (loading, error, empty, populated), defines accessibility requirements (WCAG level, keyboard nav), and specifies responsive behavior at each breakpoint. *(if applicable)* |
|
|
429
|
+
| `review-ux` | Claude verifies every user story has a flow, accessibility requirements are met, all error states are documented, and the design system is used consistently. *(if applicable)* |
|
|
309
430
|
|
|
310
431
|
### Phase 9 — Quality (quality)
|
|
311
432
|
|
|
312
|
-
|
|
433
|
+
Claude reviews your testing strategy for coverage gaps, generates test skeleton files from your user story acceptance criteria (one test per criterion, ready for TDD), creates automated eval checks that verify code meets your documented standards, designs your deployment pipeline with monitoring and incident response, and conducts a security review covering OWASP Top 10, threat modeling, and input validation rules. Without this, quality is an afterthought bolted on at the end.
|
|
313
434
|
|
|
314
435
|
| Step | What It Does |
|
|
315
436
|
|------|-------------|
|
|
316
|
-
| `review-testing` |
|
|
317
|
-
| `story-tests` |
|
|
318
|
-
| `create-evals` |
|
|
319
|
-
| `operations` |
|
|
320
|
-
| `review-operations` |
|
|
321
|
-
| `security` | OWASP,
|
|
322
|
-
| `review-security` |
|
|
437
|
+
| `review-testing` | Claude audits the testing strategy for coverage gaps by layer, verifies edge cases from domain invariants are tested, and checks that test environment assumptions match actual config. |
|
|
438
|
+
| `story-tests` | Claude generates a test skeleton file for each user story — one pending test case per acceptance criterion, tagged with story and criterion IDs — giving agents a TDD starting point for every feature. |
|
|
439
|
+
| `create-evals` | Claude generates automated checks that verify your code matches your documented standards — file placement, naming conventions, feature-to-test coverage, API contract alignment, and more — using your project's own test framework. |
|
|
440
|
+
| `operations` | Claude designs your deployment pipeline (build, test, deploy, verify, rollback), defines monitoring metrics with alert thresholds, and writes incident response procedures with rollback instructions. |
|
|
441
|
+
| `review-operations` | Claude verifies the full deployment lifecycle is documented, monitoring covers latency/errors/saturation, alert thresholds have rationale, and common failure scenarios have runbook entries. |
|
|
442
|
+
| `security` | Claude conducts a security review of your entire system — OWASP Top 10 coverage, input validation rules for every user-facing field, data classification, secrets management, CORS policy, rate limiting, and a threat model covering all trust boundaries. |
|
|
443
|
+
| `review-security` | Claude verifies OWASP coverage is complete, auth boundaries match API contracts, every secret is accounted for, and the threat model covers all trust boundaries. **Highest priority for multi-model review.** |
|
|
323
444
|
|
|
324
445
|
### Phase 10 — Platform Parity (parity)
|
|
325
446
|
|
|
326
|
-
|
|
447
|
+
For projects targeting multiple platforms (web + mobile, for example), Claude audits all documentation for platform-specific gaps — features that work on one platform but aren't specified for another, input pattern differences, and platform-specific testing coverage. Skips automatically for single-platform projects.
|
|
327
448
|
|
|
328
449
|
| Step | What It Does |
|
|
329
450
|
|------|-------------|
|
|
330
|
-
| `platform-parity-review` |
|
|
451
|
+
| `platform-parity-review` | Claude audits all documentation for platform-specific gaps — features missing on one platform, input pattern differences (touch vs. mouse), and platform-specific testing coverage. *(multi-platform only)* |
|
|
331
452
|
|
|
332
453
|
### Phase 11 — Consolidation (consolidation)
|
|
333
454
|
|
|
334
|
-
|
|
455
|
+
Claude optimizes your CLAUDE.md to stay under 200 lines with critical patterns front-loaded, then audits all workflow documentation for consistency — making sure commit formats, branch naming, PR workflows, and key commands match across every doc. Without this, agents encounter conflicting instructions.
|
|
335
456
|
|
|
336
457
|
| Step | What It Does |
|
|
337
458
|
|------|-------------|
|
|
338
|
-
| `claude-md-optimization` |
|
|
339
|
-
| `workflow-audit` |
|
|
459
|
+
| `claude-md-optimization` | Claude removes redundancy from CLAUDE.md, fixes terminology inconsistencies, front-loads critical patterns (TDD, commit format, worktrees), and keeps it under 200 lines so agents actually read and follow it. |
|
|
460
|
+
| `workflow-audit` | Claude audits every document that mentions workflow (CLAUDE.md, git-workflow, coding-standards, dev-setup) and fixes any inconsistencies in commit format, branch naming, PR steps, or key commands. |
|
|
340
461
|
|
|
341
462
|
### Phase 12 — Planning (planning)
|
|
342
463
|
|
|
343
|
-
|
|
464
|
+
Claude decomposes your user stories and architecture into concrete, implementable tasks — each scoped to ~150 lines of code, limited to 3 files, with clear acceptance criteria and no ambiguous decisions for agents to guess at. The review validates coverage (every feature has tasks), checks the dependency graph for cycles, and runs multi-model validation at higher depths. Without this, agents don't know what to build or in what order.
|
|
344
465
|
|
|
345
466
|
| Step | What It Does |
|
|
346
467
|
|------|-------------|
|
|
347
|
-
| `implementation-plan` |
|
|
348
|
-
| `implementation-plan-review` |
|
|
468
|
+
| `implementation-plan` | Claude breaks your user stories and architecture into concrete tasks — each scoped to ~150 lines of code and 3 files max, with clear acceptance criteria, no ambiguous decisions, and explicit dependencies. |
|
|
469
|
+
| `implementation-plan-review` | Claude verifies every feature has implementation tasks, no task is too large for one session, the dependency graph has no cycles, and every acceptance criterion maps to at least one task. |
|
|
349
470
|
|
|
350
471
|
### Phase 13 — Validation (validation)
|
|
351
472
|
|
|
352
|
-
|
|
473
|
+
Seven cross-cutting audits that catch problems before implementation begins. Without this phase, hidden spec problems surface during implementation as expensive rework.
|
|
353
474
|
|
|
354
475
|
| Step | What It Does |
|
|
355
476
|
|------|-------------|
|
|
356
|
-
| `scope-creep-check` |
|
|
357
|
-
| `dependency-graph-validation` |
|
|
358
|
-
| `implementability-dry-run` |
|
|
359
|
-
| `decision-completeness` |
|
|
360
|
-
| `traceability-matrix` |
|
|
361
|
-
| `cross-phase-consistency` |
|
|
362
|
-
| `critical-path-walkthrough` |
|
|
477
|
+
| `scope-creep-check` | Claude compares everything that's been specified against the original PRD and flags anything that wasn't in the requirements — features, components, or tasks that crept in without justification. |
|
|
478
|
+
| `dependency-graph-validation` | Claude verifies the task dependency graph has no cycles (which would deadlock agents), no orphaned tasks, and no chains deeper than three sequential dependencies. |
|
|
479
|
+
| `implementability-dry-run` | Claude simulates picking up each task as an implementing agent and flags anything ambiguous — unclear acceptance criteria, missing input files, undefined error handling — that would force an agent to guess. |
|
|
480
|
+
| `decision-completeness` | Claude checks that every technology choice and architectural pattern has a recorded decision with rationale, and that no two decisions contradict each other. |
|
|
481
|
+
| `traceability-matrix` | Claude builds a map showing that every PRD requirement traces through to user stories, architecture components, implementation tasks, and test cases — with no gaps in either direction. |
|
|
482
|
+
| `cross-phase-consistency` | Claude traces every named concept (entities, fields, API endpoints) across all documents and flags any naming drift, terminology mismatches, or data shape inconsistencies. |
|
|
483
|
+
| `critical-path-walkthrough` | Claude walks the most important user journeys end-to-end across every spec layer — PRD to stories to UX to API to database to tasks — and flags any broken handoffs or missing layers. |
|
|
363
484
|
|
|
364
485
|
### Phase 14 — Finalization (finalization)
|
|
365
486
|
|
|
366
|
-
|
|
487
|
+
Claude applies all findings from the validation phase, freezes documentation (ready for implementation), creates a developer onboarding guide (the "start here" document for anyone joining the project), and writes the implementation playbook — the operational document agents reference during every coding session. Without this, there's no bridge between planning and building.
|
|
488
|
+
|
|
489
|
+
| Step | What It Does |
|
|
490
|
+
|------|-------------|
|
|
491
|
+
| `apply-fixes-and-freeze` | Claude applies all findings from the validation phase, fixes blocking issues, and freezes every document with a version marker — signaling that specs are implementation-ready. |
|
|
492
|
+
| `developer-onboarding-guide` | Claude synthesizes all your frozen docs into a single onboarding narrative — project purpose, architecture overview, top coding patterns, key commands, and a quick-start checklist — so anyone joining the project knows exactly where to begin. |
|
|
493
|
+
| `implementation-playbook` | Claude writes the playbook agents reference during every coding session — task execution order, which docs to read before each task, the TDD loop to follow, quality gates to pass, and the handoff format between agents. |
|
|
494
|
+
|
|
495
|
+
### Phase 15 — Build (build)
|
|
496
|
+
|
|
497
|
+
Stateless execution steps that can be run repeatedly once Phase 14 is complete. Single-agent and multi-agent modes start the TDD implementation loop (claim a task, write a failing test, make it pass, refactor, commit, repeat). Resume commands restore session context after breaks. Quick-task handles one-off bug fixes outside the main plan. New-enhancement adds a feature with full planning rigor.
|
|
367
498
|
|
|
368
499
|
| Step | What It Does |
|
|
369
500
|
|------|-------------|
|
|
370
|
-
| `
|
|
371
|
-
| `
|
|
372
|
-
| `
|
|
501
|
+
| `single-agent-start` | Claude claims the next task, writes a failing test, implements until it passes, refactors, runs quality gates, commits, and repeats — following the implementation playbook. |
|
|
502
|
+
| `single-agent-resume` | Claude recovers context from the previous session — reads lessons learned, checks git state, reconciles merged PRs — and continues the TDD loop from where you left off. |
|
|
503
|
+
| `multi-agent-start` | Claude sets up a named agent in an isolated git worktree so multiple agents can implement tasks simultaneously without file conflicts, each following the same TDD loop. |
|
|
504
|
+
| `multi-agent-resume` | Claude verifies the worktree, syncs with main, reconciles completed tasks, and resumes the agent's TDD loop from the previous session. |
|
|
505
|
+
| `quick-task` | Claude takes a one-off request (bug fix, refactor, performance tweak) and creates a single well-scoped task with acceptance criteria and a test plan — for work outside the main implementation plan. |
|
|
506
|
+
| `new-enhancement` | Claude walks you through adding a feature the right way — updating the PRD, creating new user stories, running an innovation pass, and generating implementation tasks that integrate with your existing plan. |
|
|
373
507
|
|
|
374
508
|
## Multi-Model Review
|
|
375
509
|
|
|
376
|
-
|
|
510
|
+
Just like you'd want more than one person reviewing a pull request, multi-model review gets independent perspectives from different AI models. When Claude, Codex, and Gemini independently flag the same issue, you know it's real. When they all approve, you can proceed with confidence.
|
|
511
|
+
|
|
512
|
+
### Why Multiple Models?
|
|
513
|
+
|
|
514
|
+
- **Different blind spots** — what Claude considers correct, another model may flag as problematic. Each model reasons differently about architecture, security, and edge cases.
|
|
515
|
+
- **Independent review** — each model reviews your work without seeing what the others said, preventing groupthink.
|
|
516
|
+
- **Confidence through agreement** — when two or three models flag the same issue, it's almost certainly real. When they all approve, you can move forward confidently.
|
|
517
|
+
- **Catches what single-model misses** — security gaps, inconsistent naming across docs, missing edge cases, and specification contradictions that one model overlooks.
|
|
518
|
+
|
|
519
|
+
### Quick Setup
|
|
520
|
+
|
|
521
|
+
Multi-model review is optional. It requires installing one or both of these additional CLI tools:
|
|
522
|
+
|
|
523
|
+
**Codex CLI** — OpenAI's command-line coding tool. Requires a ChatGPT subscription (Plus/Pro/Team).
|
|
524
|
+
```bash
|
|
525
|
+
npm install -g @openai/codex
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
**Gemini CLI** — Google's command-line coding tool. Free tier available with a Google account.
|
|
529
|
+
```bash
|
|
530
|
+
npm install -g @google/gemini-cli
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
You don't need both — Scaffold works with whichever CLIs are available. Having both gives the strongest review (three independent perspectives). See [Prerequisites](#prerequisites) for auth setup and verification commands.
|
|
377
534
|
|
|
378
535
|
### How It Works
|
|
379
536
|
|
|
380
|
-
1. Claude completes its own structured multi-pass review
|
|
381
|
-
2.
|
|
382
|
-
3.
|
|
383
|
-
4. Findings are reconciled by confidence level:
|
|
537
|
+
1. **Claude reviews first** — completes its own structured multi-pass review using different review lenses (coverage, consistency, quality, downstream readiness)
|
|
538
|
+
2. **Independent external review** — the document being reviewed is sent to each available CLI. They don't see Claude's findings or each other's output — every review is independent.
|
|
539
|
+
3. **Findings are reconciled** — Scaffold merges all findings by confidence level:
|
|
384
540
|
|
|
385
541
|
| Scenario | Confidence | Action |
|
|
386
542
|
|----------|-----------|--------|
|
|
@@ -390,39 +546,23 @@ At depth 4-5, all 19 review and validation steps can dispatch independent review
|
|
|
390
546
|
| One flags P1, other approves | **Medium** | Review before fixing |
|
|
391
547
|
| Models contradict each other | **Low** | Present both to user |
|
|
392
548
|
|
|
393
|
-
|
|
549
|
+
Scaffold verifies CLI authentication before every dispatch. If a token has expired, it tells you and provides the command to re-authenticate — it never silently skips a review.
|
|
394
550
|
|
|
395
|
-
|
|
551
|
+
### When It Runs
|
|
396
552
|
|
|
397
|
-
**
|
|
553
|
+
Multi-model review activates automatically at **depth 4-5** during any review or validation step — that's 20 steps in total, including all domain reviews (review-prd, review-architecture, review-security, etc.) and all 7 validation checks (traceability, scope creep, implementability, etc.).
|
|
398
554
|
|
|
399
|
-
|
|
555
|
+
At depth 1-3, reviews are Claude-only — still thorough with multiple passes, but single-perspective. You control depth globally during `scaffold init`, per session (`"Use depth 5 for everything"`), or per step (`"Run review-security at depth 5"`).
|
|
400
556
|
|
|
401
|
-
###
|
|
557
|
+
### What You Need
|
|
402
558
|
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
# Codex (headless mode — use "exec", NOT bare "codex")
|
|
407
|
-
codex exec --skip-git-repo-check -s read-only --ephemeral "Review this artifact..." 2>/dev/null
|
|
408
|
-
|
|
409
|
-
# Gemini (headless mode — use "-p" flag, NO_BROWSER prevents consent prompt hang)
|
|
410
|
-
NO_BROWSER=true gemini -p "Review this artifact..." --output-format json --approval-mode yolo 2>/dev/null
|
|
411
|
-
```
|
|
412
|
-
|
|
413
|
-
### Checking CLI Availability
|
|
414
|
-
|
|
415
|
-
```bash
|
|
416
|
-
scaffold check add-e2e-testing # platform detection + brownfield
|
|
417
|
-
scaffold check automated-pr-review # GitHub remote + CLI detection
|
|
418
|
-
scaffold check ai-memory-setup # .claude/rules/, MCP servers, hooks
|
|
419
|
-
```
|
|
420
|
-
|
|
421
|
-
The `scaffold check` command reports which CLIs are available and recommends the appropriate review mode.
|
|
559
|
+
- **Depth 4 or 5** — set during `scaffold init` or override per step
|
|
560
|
+
- **At least one additional CLI** — Codex or Gemini (or both for triple-model review)
|
|
561
|
+
- **Valid authentication** — Scaffold checks before every dispatch and tells you if credentials need refreshing
|
|
422
562
|
|
|
423
563
|
## Methodology Presets
|
|
424
564
|
|
|
425
|
-
Not every project needs all
|
|
565
|
+
Not every project needs all 60 steps. Choose a methodology when you run `scaffold init`:
|
|
426
566
|
|
|
427
567
|
### deep (depth 5)
|
|
428
568
|
All steps enabled. Comprehensive analysis of every angle — domain modeling, ADRs, security review, traceability matrix, the works. At depth 4-5, review steps dispatch to Codex/Gemini CLIs for multi-model validation. Best for complex systems, team projects, or when you want thorough documentation.
|
|
@@ -502,13 +642,15 @@ scaffold dashboard
|
|
|
502
642
|
|
|
503
643
|
## Knowledge System
|
|
504
644
|
|
|
505
|
-
Scaffold ships with
|
|
645
|
+
Scaffold ships with 60 domain expertise entries organized in seven categories:
|
|
506
646
|
|
|
507
|
-
- **core/** (
|
|
647
|
+
- **core/** (25 entries) — eval craft, testing strategy, domain modeling, API design, database design, system architecture, ADR craft, security best practices, operations, task decomposition, user stories, UX specification, design system tokens, user story innovation, AI memory management, coding conventions, tech stack selection, project structure patterns, task tracking, CLAUDE.md patterns, multi-model review dispatch, review step template, dev environment, git workflow patterns, automated review tooling
|
|
508
648
|
- **product/** (3 entries) — PRD craft, PRD innovation, gap analysis
|
|
509
649
|
- **review/** (13 entries) — review methodology (shared), plus domain-specific review passes for PRD, user stories, domain modeling, ADRs, architecture, API design, database design, UX specification, testing, security, operations, implementation tasks
|
|
510
650
|
- **validation/** (7 entries) — critical path analysis, cross-phase consistency, scope management, traceability, implementability, decision completeness, dependency validation
|
|
511
651
|
- **finalization/** (3 entries) — implementation playbook, developer onboarding, apply-fixes-and-freeze
|
|
652
|
+
- **execution/** (4 entries) — TDD execution loop, task claiming strategy, worktree management, enhancement workflow
|
|
653
|
+
- **tools/** (3 entries) — release management, version strategy, session analysis
|
|
512
654
|
|
|
513
655
|
Each pipeline step declares which knowledge entries it needs in its frontmatter. The assembly engine injects them automatically. Knowledge files with a `## Deep Guidance` section are optimized for the CLI — only the deep guidance content is loaded into the assembled prompt, skipping the summary to avoid redundancy with the prompt text.
|
|
514
656
|
|
|
@@ -525,21 +667,38 @@ scaffold knowledge reset testing-strategy # Remove override, revert to global
|
|
|
525
667
|
|
|
526
668
|
Local overrides are committable — the whole team shares enriched, project-specific guidance.
|
|
527
669
|
|
|
528
|
-
## After the Pipeline: Ongoing Commands
|
|
670
|
+
## After the Pipeline: Tools & Ongoing Commands
|
|
671
|
+
|
|
672
|
+
Once your project is scaffolded and you're building features, two categories of commands are available:
|
|
673
|
+
|
|
674
|
+
### Build Phase (Phase 15)
|
|
529
675
|
|
|
530
|
-
|
|
676
|
+
These are stateless pipeline steps — they appear in `scaffold next` once Phase 14 is complete and can be run repeatedly:
|
|
531
677
|
|
|
532
678
|
| Command | When to Use |
|
|
533
679
|
|---------|-------------|
|
|
534
|
-
|
|
|
535
|
-
|
|
|
536
|
-
|
|
|
537
|
-
|
|
|
538
|
-
|
|
|
539
|
-
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
680
|
+
| `scaffold run single-agent-start` | Start the autonomous implementation loop — Claude picks up tasks and builds. |
|
|
681
|
+
| `scaffold run single-agent-resume` | Resume where you left off after closing Claude Code. |
|
|
682
|
+
| `scaffold run multi-agent-start` | Start parallel implementation with multiple agents in worktrees. |
|
|
683
|
+
| `scaffold run multi-agent-resume` | Resume parallel agent work after a break. |
|
|
684
|
+
| `scaffold run quick-task` | Create a focused task for a bug fix, refactor, or small improvement. |
|
|
685
|
+
| `scaffold run new-enhancement` | Add a new feature to an already-scaffolded project. Updates the PRD, creates new user stories, and sets up tasks with dependencies. |
|
|
686
|
+
|
|
687
|
+
### Utility Tools
|
|
688
|
+
|
|
689
|
+
These are orthogonal to the pipeline — usable at any time, not tied to pipeline state. Defined in `tools/` with `category: tool` frontmatter:
|
|
690
|
+
|
|
691
|
+
| Command | When to Use |
|
|
692
|
+
|---------|-------------|
|
|
693
|
+
| `scaffold run version-bump` | Mark a milestone with a version number without the full release ceremony. |
|
|
694
|
+
| `scaffold run release` | Ship a new version — changelog, Git tag, and GitHub release. Supports `--dry-run`, `current`, and `rollback`. |
|
|
695
|
+
| `scaffold run version` | Show the current Scaffold version. |
|
|
696
|
+
| `scaffold run update` | Update Scaffold to the latest version. |
|
|
697
|
+
| `scaffold run dashboard` | Open a visual progress dashboard in your browser. |
|
|
698
|
+
| `scaffold run prompt-pipeline` | Print the full pipeline reference table. |
|
|
699
|
+
| `scaffold run session-analyzer` | Analyze Claude Code session logs for patterns and insights. |
|
|
700
|
+
|
|
701
|
+
All of these are also available as slash commands (`/scaffold:release`, `/scaffold:quick-task`, etc.) when the plugin is installed.
|
|
543
702
|
|
|
544
703
|
## Releasing Your Project
|
|
545
704
|
|
|
@@ -573,7 +732,7 @@ Options: `--dry-run` to preview, `minor`/`major`/`patch` to specify the bump, `c
|
|
|
573
732
|
| **CLAUDE.md** | A configuration file in your project root that tells Claude Code how to work in your project. |
|
|
574
733
|
| **Depth** | A 1-5 scale controlling how thorough each step's analysis is, from MVP-focused (1) to exhaustive (5). |
|
|
575
734
|
| **Frontmatter** | The YAML metadata block at the top of meta-prompt files, declaring dependencies, outputs, knowledge entries, and other configuration. |
|
|
576
|
-
| **Knowledge base** |
|
|
735
|
+
| **Knowledge base** | 60 domain expertise entries that get injected into prompts. Can be extended with project-local overrides. |
|
|
577
736
|
| **MCP** | Model Context Protocol. A way for Claude to use external tools like a headless browser. |
|
|
578
737
|
| **Meta-prompt** | A short intent declaration in `pipeline/` that gets assembled into a full prompt at runtime. |
|
|
579
738
|
| **Methodology** | A preset (deep, mvp, custom) controlling which steps run and at what depth. |
|
|
@@ -620,6 +779,17 @@ Gemini's child process relaunch shows a consent prompt that hangs in non-TTY she
|
|
|
620
779
|
**Codex CLI auth expired ("refresh token", "sign in again")**
|
|
621
780
|
Run `! codex login` to re-authenticate interactively. For CI/headless: set `CODEX_API_KEY` env var. Check auth status with `codex login status`.
|
|
622
781
|
|
|
782
|
+
**How does Scaffold invoke Codex/Gemini under the hood?**
|
|
783
|
+
Scaffold handles CLI invocation automatically — you never need to type these commands. If you're debugging or curious, here are the headless invocation patterns:
|
|
784
|
+
```bash
|
|
785
|
+
# Codex (headless mode — use "exec", NOT bare "codex")
|
|
786
|
+
codex exec --skip-git-repo-check -s read-only --ephemeral "Review this artifact..." 2>/dev/null
|
|
787
|
+
|
|
788
|
+
# Gemini (headless mode — use "-p" flag, NO_BROWSER prevents consent prompt hang)
|
|
789
|
+
NO_BROWSER=true gemini -p "Review this artifact..." --output-format json --approval-mode yolo 2>/dev/null
|
|
790
|
+
```
|
|
791
|
+
These are documented in detail in the `multi-model-dispatch` skill.
|
|
792
|
+
|
|
623
793
|
**I upgraded and my pipeline shows old step names**
|
|
624
794
|
Run `scaffold status` — the state manager automatically migrates old step names (e.g., `add-playwright` → `add-e2e-testing`, `multi-model-review` → `automated-pr-review`) and removes retired steps.
|
|
625
795
|
|
|
@@ -631,7 +801,7 @@ The project is a TypeScript CLI (`@zigrivers/scaffold`) built with yargs, target
|
|
|
631
801
|
|
|
632
802
|
```
|
|
633
803
|
src/
|
|
634
|
-
├── cli/commands/ #
|
|
804
|
+
├── cli/commands/ # 19 CLI command implementations
|
|
635
805
|
├── cli/middleware/ # Project root detection, output mode resolution
|
|
636
806
|
├── cli/output/ # Output strategies (interactive, json, auto)
|
|
637
807
|
├── core/assembly/ # Assembly engine — meta-prompt → full prompt
|
|
@@ -660,25 +830,28 @@ src/
|
|
|
660
830
|
### Content layout
|
|
661
831
|
|
|
662
832
|
```
|
|
663
|
-
pipeline/ #
|
|
664
|
-
|
|
833
|
+
pipeline/ # 60 meta-prompts organized by 16 phases (phases 0-15, including build)
|
|
834
|
+
tools/ # 7 tool meta-prompts (stateless, category: tool)
|
|
835
|
+
knowledge/ # 60 domain expertise entries (core, product, review, validation, finalization, execution, tools)
|
|
665
836
|
methodology/ # 3 YAML presets (deep, mvp, custom)
|
|
666
|
-
commands/ #
|
|
837
|
+
commands/ # 80 Claude Code slash commands (60 pipeline + 13 build-phase + 7 tools)
|
|
667
838
|
skills/ # 3 Claude Code skills (pipeline reference, runner, multi-model dispatch)
|
|
668
839
|
```
|
|
669
840
|
|
|
670
841
|
### Testing
|
|
671
842
|
|
|
672
|
-
- **Vitest** for unit and E2E tests (
|
|
843
|
+
- **Vitest** for unit and E2E tests (73 test files, 997 tests, 90% coverage)
|
|
673
844
|
- **Performance benchmarks** — assembly p95 < 500ms, state I/O p95 < 100ms, graph build p95 < 2s
|
|
674
|
-
- **Shell script tests** via bats
|
|
675
|
-
-
|
|
845
|
+
- **Shell script tests** via bats (70 tests covering dashboard, worktree, frontmatter, install/uninstall)
|
|
846
|
+
- **Meta-evals** — 39 cross-system consistency checks validating pipeline ↔ command ↔ knowledge integrity
|
|
847
|
+
- **Coverage thresholds** — CI enforces 84/80/88/84 minimums (statements/branches/functions/lines)
|
|
848
|
+
- Run: `npm test` (unit + E2E), `npm run test:perf` (performance), `make check` (bash gates), `make check-all` (full CI gate)
|
|
676
849
|
|
|
677
850
|
### Contributing
|
|
678
851
|
|
|
679
852
|
1. Meta-prompt content lives in `pipeline/` — edit the relevant `.md` file
|
|
680
853
|
2. Run `scaffold build` to regenerate `commands/` from pipeline meta-prompts
|
|
681
|
-
3. Run `
|
|
854
|
+
3. Run `make check-all` (lint + type-check + test + evals) before submitting
|
|
682
855
|
4. Knowledge entries live in `knowledge/` — follow the existing frontmatter schema
|
|
683
856
|
5. ADRs documenting architectural decisions are in `docs/v2/adrs/`
|
|
684
857
|
|