@zigrivers/scaffold 2.1.2 → 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 +505 -119
- 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 +57 -0
- package/knowledge/core/ai-memory-management.md +246 -0
- package/knowledge/core/api-design.md +8 -0
- package/knowledge/core/automated-review-tooling.md +203 -0
- package/knowledge/core/claude-md-patterns.md +254 -0
- package/knowledge/core/coding-conventions.md +246 -0
- package/knowledge/core/database-design.md +8 -0
- package/knowledge/core/design-system-tokens.md +469 -0
- package/knowledge/core/dev-environment.md +223 -0
- package/knowledge/core/domain-modeling.md +8 -0
- package/knowledge/core/eval-craft.md +1008 -0
- package/knowledge/core/git-workflow-patterns.md +200 -0
- package/knowledge/core/multi-model-review-dispatch.md +250 -0
- package/knowledge/core/operations-runbook.md +40 -225
- package/knowledge/core/project-structure-patterns.md +231 -0
- package/knowledge/core/review-step-template.md +247 -0
- package/knowledge/core/{security-review.md → security-best-practices.md} +9 -1
- package/knowledge/core/system-architecture.md +5 -1
- package/knowledge/core/task-decomposition.md +174 -36
- package/knowledge/core/task-tracking.md +225 -0
- package/knowledge/core/tech-stack-selection.md +214 -0
- package/knowledge/core/testing-strategy.md +63 -70
- package/knowledge/core/user-stories.md +69 -60
- package/knowledge/core/user-story-innovation.md +70 -0
- package/knowledge/core/ux-specification.md +18 -148
- 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 +177 -14
- 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-craft.md +55 -34
- package/knowledge/product/prd-innovation.md +12 -0
- package/knowledge/product/vision-craft.md +213 -0
- package/knowledge/review/review-adr.md +44 -0
- package/knowledge/review/{review-api-contracts.md → review-api-design.md} +47 -1
- package/knowledge/review/{review-database-schema.md → review-database-design.md} +40 -1
- package/knowledge/review/review-domain-modeling.md +38 -1
- package/knowledge/review/review-implementation-tasks.md +108 -1
- package/knowledge/review/review-methodology.md +11 -0
- package/knowledge/review/review-operations.md +67 -0
- package/knowledge/review/review-prd.md +46 -0
- package/knowledge/review/review-security.md +65 -0
- package/knowledge/review/review-system-architecture.md +32 -2
- package/knowledge/review/review-testing-strategy.md +62 -0
- package/knowledge/review/review-user-stories.md +65 -0
- package/knowledge/review/{review-ux-spec.md → review-ux-specification.md} +50 -2
- 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 +44 -4
- package/methodology/deep.yml +43 -3
- package/methodology/mvp.yml +43 -3
- package/package.json +4 -3
- package/pipeline/architecture/review-architecture.md +36 -13
- package/pipeline/architecture/system-architecture.md +24 -9
- 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 +76 -0
- package/pipeline/consolidation/workflow-audit.md +77 -0
- package/pipeline/decisions/adrs.md +21 -7
- package/pipeline/decisions/review-adrs.md +32 -11
- package/pipeline/environment/ai-memory-setup.md +76 -0
- package/pipeline/environment/automated-pr-review.md +76 -0
- package/pipeline/environment/design-system.md +75 -0
- package/pipeline/environment/dev-env-setup.md +68 -0
- package/pipeline/environment/git-workflow.md +73 -0
- package/pipeline/finalization/apply-fixes-and-freeze.md +17 -6
- package/pipeline/finalization/developer-onboarding-guide.md +23 -9
- package/pipeline/finalization/implementation-playbook.md +43 -14
- package/pipeline/foundation/beads.md +71 -0
- package/pipeline/foundation/coding-standards.md +71 -0
- package/pipeline/foundation/project-structure.md +73 -0
- package/pipeline/foundation/tdd.md +64 -0
- package/pipeline/foundation/tech-stack.md +74 -0
- package/pipeline/integration/add-e2e-testing.md +80 -0
- package/pipeline/modeling/domain-modeling.md +23 -8
- package/pipeline/modeling/review-domain-modeling.md +35 -11
- package/pipeline/parity/platform-parity-review.md +90 -0
- package/pipeline/planning/implementation-plan-review.md +67 -0
- package/pipeline/planning/implementation-plan.md +110 -0
- package/pipeline/pre/create-prd.md +34 -10
- package/pipeline/pre/innovate-prd.md +46 -15
- package/pipeline/pre/innovate-user-stories.md +47 -14
- package/pipeline/pre/review-prd.md +29 -8
- package/pipeline/pre/review-user-stories.md +34 -8
- package/pipeline/pre/user-stories.md +23 -8
- package/pipeline/quality/create-evals.md +106 -0
- package/pipeline/quality/operations.md +46 -17
- package/pipeline/quality/review-operations.md +32 -11
- package/pipeline/quality/review-security.md +34 -12
- package/pipeline/quality/review-testing.md +37 -14
- package/pipeline/quality/security.md +36 -10
- package/pipeline/quality/story-tests.md +75 -0
- package/pipeline/specification/api-contracts.md +28 -8
- package/pipeline/specification/database-schema.md +29 -8
- package/pipeline/specification/review-api.md +32 -11
- package/pipeline/specification/review-database.md +32 -11
- package/pipeline/specification/review-ux.md +34 -12
- package/pipeline/specification/ux-spec.md +35 -13
- package/pipeline/validation/critical-path-walkthrough.md +45 -11
- package/pipeline/validation/cross-phase-consistency.md +45 -11
- package/pipeline/validation/decision-completeness.md +45 -11
- package/pipeline/validation/dependency-graph-validation.md +46 -11
- package/pipeline/validation/implementability-dry-run.md +46 -11
- package/pipeline/validation/scope-creep-check.md +46 -11
- package/pipeline/validation/traceability-matrix.md +51 -11
- 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/multi-model-dispatch/SKILL.md +326 -0
- package/skills/scaffold-pipeline/SKILL.md +210 -0
- package/skills/scaffold-runner/SKILL.md +619 -0
- package/pipeline/planning/implementation-tasks.md +0 -57
- package/pipeline/planning/review-tasks.md +0 -38
- package/pipeline/quality/testing-strategy.md +0 -42
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: scaffold-pipeline
|
|
3
|
+
description: Static reference for scaffold pipeline ordering, dependencies, and phase structure. Use ONLY for questions about pipeline design, step ordering, or dependency constraints — NOT for status, progress, or "what's next" queries (those go through scaffold-runner).
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Scaffold Pipeline Reference
|
|
7
|
+
|
|
8
|
+
This skill is a **static reference** for pipeline ordering and dependency constraints. It does NOT handle status checks, progress queries, or navigation.
|
|
9
|
+
|
|
10
|
+
**Activation boundary:** If the user asks "where am I?", "what's next?", "pipeline status", or anything about their current progress → **do not use this skill**. The `scaffold-runner` skill handles all status/navigation via the `scaffold` CLI.
|
|
11
|
+
|
|
12
|
+
Use this skill ONLY when the user asks about:
|
|
13
|
+
- Pipeline design: "what phases are there?", "what's the ordering?"
|
|
14
|
+
- Dependency rules: "what depends on what?", "can I run X before Y?"
|
|
15
|
+
- Step reference: "what commands are in phase 3?", "is design-system optional?"
|
|
16
|
+
|
|
17
|
+
## Phases
|
|
18
|
+
|
|
19
|
+
16 phases, each with a slug (used in frontmatter) and display name. Canonical source: `src/types/frontmatter.ts` `PHASES` constant.
|
|
20
|
+
|
|
21
|
+
| # | Slug | Display Name | Description |
|
|
22
|
+
|---|------|-------------|-------------|
|
|
23
|
+
| 0 | `vision` | Product Vision | Transforms your idea into a strategic vision document covering who it's for, what makes it different, and what success looks like. |
|
|
24
|
+
| 1 | `pre` | Product Definition | Translates your vision into a PRD with features, personas, and success criteria, then breaks it into user stories with testable acceptance criteria. |
|
|
25
|
+
| 2 | `foundation` | Project Foundation | Researches and documents technology choices, creates coding standards with linter configs, defines testing strategy, and designs directory layout. |
|
|
26
|
+
| 3 | `environment` | Development Environment | Sets up local dev environment, design system (web only), git workflow with CI and worktrees, automated PR review, and AI memory persistence. |
|
|
27
|
+
| 4 | `integration` | Testing Integration | Auto-detects platform and configures E2E testing — Playwright for web, Maestro for mobile. Skips for backend-only. |
|
|
28
|
+
| 5 | `modeling` | Domain Modeling | Identifies core concepts (entities, relationships, invariants, events) and establishes a shared vocabulary across all docs and code. |
|
|
29
|
+
| 6 | `decisions` | Architecture Decisions | Documents every significant design decision with alternatives and consequences, so future contributors know why. |
|
|
30
|
+
| 7 | `architecture` | System Architecture | Designs the system blueprint — components, data flows, module structure, and extension points. |
|
|
31
|
+
| 8 | `specification` | Specifications | Creates interface specs: database schema with constraints, API contracts with error codes, UX flows with accessibility. Each conditional. |
|
|
32
|
+
| 9 | `quality` | Quality Gates | Reviews testing, generates test skeletons, creates eval checks, designs deployment pipeline, and conducts security review. |
|
|
33
|
+
| 10 | `parity` | Platform Parity | Audits documentation for platform-specific gaps. Skips for single-platform projects. |
|
|
34
|
+
| 11 | `consolidation` | Consolidation | Optimizes CLAUDE.md under 200 lines and audits all workflow docs for consistency. |
|
|
35
|
+
| 12 | `planning` | Planning | Decomposes stories into concrete tasks scoped to ~150 lines and 3 files max, with clear acceptance criteria. |
|
|
36
|
+
| 13 | `validation` | Validation | Seven cross-cutting audits: scope creep, dependency cycles, implementability, traceability, naming drift, broken handoffs, decision completeness. |
|
|
37
|
+
| 14 | `finalization` | Finalization | Applies validation findings, freezes docs, creates onboarding guide, and writes the implementation playbook. |
|
|
38
|
+
| 15 | `build` | Build | Stateless TDD execution: single/multi-agent modes, session resume, quick tasks, and new feature enhancements. |
|
|
39
|
+
|
|
40
|
+
## Pipeline Order
|
|
41
|
+
|
|
42
|
+
| # | Phase | Command | Notes |
|
|
43
|
+
|---|-------|---------|-------|
|
|
44
|
+
| 1 | Product Definition | `/scaffold:create-prd` | Interactive — requires user input |
|
|
45
|
+
| 2 | Product Definition | `/scaffold:review-prd` | Multi-pass PRD review |
|
|
46
|
+
| 2.5 | Product Definition | `/scaffold:innovate-prd` | **(optional)** Feature-level innovation |
|
|
47
|
+
| 3 | Product Definition | `/scaffold:user-stories` | Covers every PRD feature |
|
|
48
|
+
| 4 | Product Definition | `/scaffold:review-user-stories` | Multi-pass story review; depth 4+ adds requirements index |
|
|
49
|
+
| 4.5 | Product Definition | `/scaffold:innovate-user-stories` | **(optional)** UX-level enhancements |
|
|
50
|
+
| 5 | Project Foundation | `/scaffold:beads` | **(optional)** Creates CLAUDE.md + task tracking |
|
|
51
|
+
| 6 | Project Foundation | `/scaffold:tech-stack` | Drives all technical decisions |
|
|
52
|
+
| 7 | Project Foundation | `/scaffold:coding-standards` | References tech-stack.md |
|
|
53
|
+
| 8 | Project Foundation | `/scaffold:tdd` | References tech-stack.md + coding-standards.md |
|
|
54
|
+
| 9 | Project Foundation | `/scaffold:project-structure` | References all Phase 2 docs |
|
|
55
|
+
| 10 | Dev Environment | `/scaffold:dev-env-setup` | Creates lint/test/install commands |
|
|
56
|
+
| 11 | Dev Environment | `/scaffold:design-system` | **(optional)** Frontend projects only |
|
|
57
|
+
| 12 | Dev Environment | `/scaffold:git-workflow` | Branching, CI, worktrees, permissions |
|
|
58
|
+
| 12.5 | Dev Environment | `/scaffold:automated-pr-review` | **(optional)** Local CLI or external reviewer |
|
|
59
|
+
| 13 | Dev Environment | `/scaffold:ai-memory-setup` | Modular rules, optional MCP memory + external docs |
|
|
60
|
+
| 14 | Testing Integration | `/scaffold:add-e2e-testing` | **(optional)** Playwright (web) and/or Maestro (mobile) |
|
|
61
|
+
| 15 | Domain Modeling | `/scaffold:domain-modeling` | Entities, aggregates, events, bounded contexts |
|
|
62
|
+
| 16 | Domain Modeling | `/scaffold:review-domain-modeling` | 10-pass domain model review |
|
|
63
|
+
| 17 | Architecture Decisions | `/scaffold:adrs` | Architecture Decision Records |
|
|
64
|
+
| 18 | Architecture Decisions | `/scaffold:review-adrs` | Review for contradictions, missing decisions |
|
|
65
|
+
| 19 | System Architecture | `/scaffold:system-architecture` | Components, data flows, module structure |
|
|
66
|
+
| 20 | System Architecture | `/scaffold:review-architecture` | Coverage gaps, constraint violations |
|
|
67
|
+
| 21 | Specifications | `/scaffold:database-schema` | **(optional)** Tables, indexes, constraints |
|
|
68
|
+
| 22 | Specifications | `/scaffold:review-database` | **(optional)** Schema review |
|
|
69
|
+
| 23 | Specifications | `/scaffold:api-contracts` | **(optional)** Endpoints, error codes, auth |
|
|
70
|
+
| 24 | Specifications | `/scaffold:review-api` | **(optional)** API contracts review |
|
|
71
|
+
| 25 | Specifications | `/scaffold:ux-spec` | **(optional)** Flows, states, accessibility |
|
|
72
|
+
| 26 | Specifications | `/scaffold:review-ux` | **(optional)** UX spec review |
|
|
73
|
+
| 27 | Quality Gates | `/scaffold:review-testing` | Reviews TDD strategy for coverage gaps |
|
|
74
|
+
| 27.5 | Quality Gates | `/scaffold:story-tests` | Tagged test skeletons from user story ACs |
|
|
75
|
+
| 28 | Quality Gates | `/scaffold:create-evals` | Generates eval checks from standards docs |
|
|
76
|
+
| 29 | Quality Gates | `/scaffold:operations` | Deployment, monitoring, incident response |
|
|
77
|
+
| 30 | Quality Gates | `/scaffold:review-operations` | Reviews operations runbook |
|
|
78
|
+
| 31 | Quality Gates | `/scaffold:security` | Threat model, auth, data protection |
|
|
79
|
+
| 32 | Quality Gates | `/scaffold:review-security` | Reviews security posture |
|
|
80
|
+
| 33 | Platform Parity | `/scaffold:platform-parity-review` | **(optional)** Multi-platform projects |
|
|
81
|
+
| 34 | Consolidation | `/scaffold:claude-md-optimization` | Run BEFORE workflow-audit |
|
|
82
|
+
| 35 | Consolidation | `/scaffold:workflow-audit` | Run AFTER claude-md-optimization |
|
|
83
|
+
| 36 | Planning | `/scaffold:implementation-plan` | Creates full task graph |
|
|
84
|
+
| 37 | Planning | `/scaffold:implementation-plan-review` | Second pass for quality + multi-model validation (depth 4+) |
|
|
85
|
+
| 38 | Validation | `/scaffold:cross-phase-consistency` | Naming, assumptions, interfaces |
|
|
86
|
+
| 39 | Validation | `/scaffold:traceability-matrix` | PRD → Stories → Architecture → Tasks |
|
|
87
|
+
| 40 | Validation | `/scaffold:decision-completeness` | All decisions recorded and justified |
|
|
88
|
+
| 41 | Validation | `/scaffold:critical-path-walkthrough` | End-to-end critical journey trace |
|
|
89
|
+
| 42 | Validation | `/scaffold:implementability-dry-run` | Simulate agent picking up tasks |
|
|
90
|
+
| 43 | Validation | `/scaffold:dependency-graph-validation` | Verify task DAG is acyclic |
|
|
91
|
+
| 44 | Validation | `/scaffold:scope-creep-check` | Specs stay within PRD boundaries |
|
|
92
|
+
| 45 | Finalization | `/scaffold:apply-fixes-and-freeze` | Apply findings, freeze docs |
|
|
93
|
+
| 46 | Finalization | `/scaffold:developer-onboarding-guide` | "Start here" for new devs/agents |
|
|
94
|
+
| 47 | Finalization | `/scaffold:implementation-playbook` | Operational guide for agent execution |
|
|
95
|
+
| 48 | Execution | `/scaffold:single-agent-start` | Single-agent TDD execution loop |
|
|
96
|
+
| 48 | Execution | `/scaffold:multi-agent-start` | Multi-agent — one per worktree |
|
|
97
|
+
|
|
98
|
+
### Phase 15 — Build (stateless, on-demand)
|
|
99
|
+
|
|
100
|
+
6 steps. Available once Phase 14 is complete. These steps are **stateless** — they don't track completion state and are always available for repeated use.
|
|
101
|
+
|
|
102
|
+
| Order | Step | Description |
|
|
103
|
+
|-------|------|-------------|
|
|
104
|
+
| 1510 | single-agent-start | Start single-agent TDD execution loop |
|
|
105
|
+
| 1520 | single-agent-resume | Resume single-agent work after a break |
|
|
106
|
+
| 1530 | multi-agent-start | Start multi-agent execution loop in a worktree |
|
|
107
|
+
| 1540 | multi-agent-resume | Resume multi-agent work after a break |
|
|
108
|
+
| 1550 | quick-task | Create a focused task for a bug fix, refactor, or small improvement |
|
|
109
|
+
| 1560 | new-enhancement | Add a new feature to an existing project |
|
|
110
|
+
|
|
111
|
+
## Standalone Commands
|
|
112
|
+
|
|
113
|
+
| Command | When to Use |
|
|
114
|
+
|---------|-------------|
|
|
115
|
+
| `/scaffold:single-agent-resume` | Resume work after a break |
|
|
116
|
+
| `/scaffold:multi-agent-resume` | Resume multi-agent work after a break |
|
|
117
|
+
| `/scaffold:new-enhancement` | Add a feature to an existing project |
|
|
118
|
+
| `/scaffold:quick-task` | Create a focused task for a bug fix, refactor, or small improvement |
|
|
119
|
+
| `/scaffold:version-bump` | Bump version and update changelog without tagging or releasing |
|
|
120
|
+
| `/scaffold:release` | Create a versioned release with changelog and GitHub release |
|
|
121
|
+
| `/scaffold:prompt-pipeline` | Show the full pipeline reference |
|
|
122
|
+
| `/scaffold:dashboard` | Open visual pipeline dashboard in browser |
|
|
123
|
+
|
|
124
|
+
## Execution Model
|
|
125
|
+
|
|
126
|
+
### Two Parallel Tracks
|
|
127
|
+
|
|
128
|
+
After Phase 1 (Product Definition), the pipeline splits into **two independent tracks** that can run concurrently. They converge at Phase 12 (Planning).
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
┌─ Track A: Infrastructure ──────────────────────┐
|
|
132
|
+
│ │
|
|
133
|
+
Phase 1 │ Phase 2 (foundation) │
|
|
134
|
+
create-prd ─→ review-prd │ tech-stack → coding-standards → tdd │
|
|
135
|
+
↓ │ ↓ │
|
|
136
|
+
user-stories │ project-structure → dev-env-setup │
|
|
137
|
+
↓ │ ↓ │
|
|
138
|
+
review-user-stories ──┐ │ git-workflow → claude-md-optimization │
|
|
139
|
+
│ │ ↓ ↓ │
|
|
140
|
+
│ │ ai-memory-setup workflow-audit │
|
|
141
|
+
│ │ │
|
|
142
|
+
│ └────────────────────────────────────────────────┘
|
|
143
|
+
│
|
|
144
|
+
│ ┌─ Track B: Domain & Quality ───────────────────┐
|
|
145
|
+
│ │ │
|
|
146
|
+
└──→ │ Phase 5-8: domain-modeling → adrs → │
|
|
147
|
+
│ system-architecture → specs (DB/API/UX) │
|
|
148
|
+
│ │
|
|
149
|
+
│ Phase 9: tdd → review-testing → operations │
|
|
150
|
+
│ → security (+ reviews for each) │
|
|
151
|
+
│ │
|
|
152
|
+
└────────────────────────────────────────────────┘
|
|
153
|
+
↓
|
|
154
|
+
┌───────────────┴───────────────┐
|
|
155
|
+
│ Phase 12: Planning │
|
|
156
|
+
│ (convergence point — │
|
|
157
|
+
│ depends on both tracks) │
|
|
158
|
+
└───────────────┬───────────────┘
|
|
159
|
+
↓
|
|
160
|
+
Phase 13: Validation (7 parallel checks)
|
|
161
|
+
↓
|
|
162
|
+
Phase 14: Finalization → Execution
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
### How Order Numbers Work
|
|
166
|
+
|
|
167
|
+
The `order` field is a **tiebreaker**, not a sequence number. Execution order is determined by:
|
|
168
|
+
|
|
169
|
+
1. **Dependency graph** (primary) — topological sort ensures prerequisites complete first
|
|
170
|
+
2. **Order field** (secondary) — when multiple steps are eligible simultaneously, lower order runs first
|
|
171
|
+
|
|
172
|
+
Order numbers are **phase-aligned**: Phase N uses orders in the N00 range (Phase 1 = 100s, Phase 2 = 200s, etc.). This makes it easy to identify which phase a step belongs to from its order alone.
|
|
173
|
+
|
|
174
|
+
### Which Phases Can Run in Parallel
|
|
175
|
+
|
|
176
|
+
Steps within the same track that don't depend on each other can run in parallel (in separate sessions/worktrees):
|
|
177
|
+
|
|
178
|
+
- **Track A** and **Track B** are fully independent until Phase 12
|
|
179
|
+
- Within Track B, specification steps (Phase 8) can parallelize: DB schema, API contracts, and UX spec all depend on review-architecture but not each other
|
|
180
|
+
- Validation steps (Phase 13) all depend on implementation-plan-review but not each other — all 7 can run in parallel
|
|
181
|
+
|
|
182
|
+
## Critical Ordering Constraints
|
|
183
|
+
|
|
184
|
+
1. **Tech Stack before Coding Standards and TDD** — they reference it
|
|
185
|
+
2. **Dev Setup before Git Workflow** — Git Workflow references lint/test commands
|
|
186
|
+
3. **Git Workflow before AI Memory Setup** — memory rules are extracted from project docs
|
|
187
|
+
4. **User Stories before Domain Modeling** — domain models derive from stories
|
|
188
|
+
5. **Domain Modeling → ADRs → Architecture** — linear chain through modeling phases
|
|
189
|
+
6. **Architecture before Specification** — DB, API, UX specs derive from architecture (can parallelize)
|
|
190
|
+
7. **TDD → Review Testing → Operations → Security** — quality gate chain
|
|
191
|
+
8. **Both tracks converge at Implementation Plan** — depends on tdd, operations, security, AND review-architecture
|
|
192
|
+
9. **All 7 Validation checks before Apply Fixes & Freeze** — freeze requires all findings
|
|
193
|
+
10. **Finalization before Execution** — agents need frozen docs and playbook
|
|
194
|
+
8. **TDD → Review Testing → Operations → Security** — quality gate chain
|
|
195
|
+
9. **Quality Gates before Consolidation** — consolidation verifies all docs including operations/security
|
|
196
|
+
10. **Claude.md Optimization before Workflow Audit** — optimize first, verify second
|
|
197
|
+
11. **Implementation Plan Review before Validation** — 7 checks run after plan review
|
|
198
|
+
12. **All 7 Validation checks before Apply Fixes & Freeze** — freeze requires all findings
|
|
199
|
+
13. **Finalization before Execution** — agents need frozen docs and playbook
|
|
200
|
+
|
|
201
|
+
## Status & Navigation
|
|
202
|
+
|
|
203
|
+
For all status, progress, and navigation queries, use the `scaffold-runner` skill, which delegates to the `scaffold` CLI:
|
|
204
|
+
|
|
205
|
+
- `scaffold status` — current pipeline progress
|
|
206
|
+
- `scaffold status --compact` — show only actionable steps (pending/in-progress)
|
|
207
|
+
- `scaffold next` — next eligible steps
|
|
208
|
+
- `scaffold list` — full pipeline with status indicators
|
|
209
|
+
- `scaffold skip <step> [<step2>...] --reason "..."` — skip one or more steps
|
|
210
|
+
- `scaffold reset <step> --force` — reset a step to re-run it
|