@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
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: implementability-dry-run
|
|
3
3
|
description: Dry-run specs as implementing agent, catching ambiguity
|
|
4
|
+
summary: "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."
|
|
4
5
|
phase: "validation"
|
|
5
|
-
order:
|
|
6
|
-
dependencies: [review
|
|
7
|
-
outputs: [docs/validation/implementability-dry-run.md]
|
|
6
|
+
order: 1350
|
|
7
|
+
dependencies: [implementation-plan-review, review-security]
|
|
8
|
+
outputs: [docs/validation/implementability-dry-run.md, docs/validation/implementability-dry-run/review-summary.md, docs/validation/implementability-dry-run/codex-review.json, docs/validation/implementability-dry-run/gemini-review.json]
|
|
8
9
|
conditional: null
|
|
9
|
-
knowledge-base: [implementability-review]
|
|
10
|
+
knowledge-base: [implementability-review, multi-model-review-dispatch]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
## Purpose
|
|
@@ -15,22 +16,56 @@ AI agent would experience when picking up each implementation task: are the
|
|
|
15
16
|
inputs clear, are the acceptance criteria testable, are there ambiguities
|
|
16
17
|
that would force the agent to guess?
|
|
17
18
|
|
|
19
|
+
At depth 4+, dispatches to external AI models (Codex, Gemini) for
|
|
20
|
+
independent dry-runs — different models encounter different ambiguities
|
|
21
|
+
when simulating implementation.
|
|
22
|
+
|
|
18
23
|
## Inputs
|
|
19
|
-
- All phase output artifacts (docs/
|
|
24
|
+
- All phase output artifacts (docs/plan.md, docs/domain-models/, docs/adrs/,
|
|
20
25
|
docs/system-architecture.md, etc.)
|
|
21
26
|
|
|
22
27
|
## Expected Outputs
|
|
23
28
|
- docs/validation/implementability-dry-run.md — findings report
|
|
29
|
+
- docs/validation/implementability-dry-run/review-summary.md (depth 4+) — multi-model validation synthesis
|
|
30
|
+
- docs/validation/implementability-dry-run/codex-review.json (depth 4+, if available) — raw Codex findings
|
|
31
|
+
- docs/validation/implementability-dry-run/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
24
32
|
|
|
25
33
|
## Quality Criteria
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
34
|
+
- (mvp) Every task has sufficient input specification for an agent to start without guessing
|
|
35
|
+
- (mvp) Every task has testable acceptance criteria
|
|
36
|
+
- (deep) No task references undefined concepts, components, or APIs
|
|
37
|
+
- (deep) Every task's dependencies are present in the implementation plan
|
|
38
|
+
- (deep) Shared code patterns identified and documented (no duplication risk across tasks)
|
|
39
|
+
- Findings categorized P0-P3 with specific file, section, and issue for each
|
|
40
|
+
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
41
|
+
|
|
42
|
+
## Finding Disposition
|
|
43
|
+
- **P0 (blocking)**: Must be resolved before proceeding to implementation. Create
|
|
44
|
+
fix tasks and re-run affected upstream steps.
|
|
45
|
+
- **P1 (critical)**: Should be resolved; proceeding requires explicit risk acceptance
|
|
46
|
+
documented in an ADR. Flag to project lead.
|
|
47
|
+
- **P2 (medium)**: Document in implementation plan as tech debt. May defer to
|
|
48
|
+
post-launch with tracking issue.
|
|
49
|
+
- **P3 (minor)**: Log for future improvement. No action required before implementation.
|
|
50
|
+
|
|
51
|
+
Findings are reported in the validation output file with severity, affected artifact,
|
|
52
|
+
and recommended resolution. P0/P1 findings block the implementation-plan step from
|
|
53
|
+
proceeding without acknowledgment.
|
|
29
54
|
|
|
30
55
|
## Methodology Scaling
|
|
31
|
-
- **deep**: Exhaustive analysis with all sub-checks.
|
|
56
|
+
- **deep**: Exhaustive analysis with all sub-checks. Multi-model validation
|
|
57
|
+
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
58
|
+
Claude-only enhanced validation.
|
|
32
59
|
- **mvp**: High-level scan for blocking issues only.
|
|
33
|
-
- **custom:depth(1-5)**:
|
|
60
|
+
- **custom:depth(1-5)**: Depth 1: verify each task has enough context to start. Depth 2: add tool/dependency availability check. Depth 3: full dry-run simulation of first 3 tasks with quality gate verification. Depth 4: add external model dry-run. Depth 5: multi-model dry-run with implementation plan revision recommendations.
|
|
34
61
|
|
|
35
62
|
## Mode Detection
|
|
36
|
-
Not applicable — validation always runs fresh against current artifacts.
|
|
63
|
+
Not applicable — validation always runs fresh against current artifacts. If
|
|
64
|
+
multi-model artifacts exist under docs/validation/implementability-dry-run/,
|
|
65
|
+
they are regenerated each run.
|
|
66
|
+
|
|
67
|
+
## Update Mode Specifics
|
|
68
|
+
- **Detect**: `docs/validation/implementability-dry-run/` directory exists with prior multi-model artifacts
|
|
69
|
+
- **Preserve**: Prior multi-model artifacts are regenerated each run (not preserved). However, if prior findings were resolved and documented, reference the resolution log to distinguish regressions from known-resolved issues.
|
|
70
|
+
- **Triggers**: Any upstream artifact change triggers fresh validation
|
|
71
|
+
- **Conflict resolution**: If a previously-resolved finding reappears, flag as regression rather than new finding
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: scope-creep-check
|
|
3
3
|
description: Verify specs stay aligned to PRD boundaries
|
|
4
|
+
summary: "Compares everything that has been specified against the original PRD and flags anything that was not in the requirements — features, components, or tasks that crept in without justification."
|
|
4
5
|
phase: "validation"
|
|
5
|
-
order:
|
|
6
|
-
dependencies: [review
|
|
7
|
-
outputs: [docs/validation/scope-creep-check.md]
|
|
6
|
+
order: 1370
|
|
7
|
+
dependencies: [implementation-plan-review, review-security]
|
|
8
|
+
outputs: [docs/validation/scope-creep-check.md, docs/validation/scope-creep-check/review-summary.md, docs/validation/scope-creep-check/codex-review.json, docs/validation/scope-creep-check/gemini-review.json]
|
|
8
9
|
conditional: null
|
|
9
|
-
knowledge-base: [scope-management]
|
|
10
|
+
knowledge-base: [scope-management, multi-model-review-dispatch]
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
## Purpose
|
|
@@ -17,22 +18,56 @@ should not introduce features not in the PRD — UX-level enhancements are
|
|
|
17
18
|
allowed only via the innovation step with explicit user approval. Flag any
|
|
18
19
|
scope expansion for explicit approval.
|
|
19
20
|
|
|
21
|
+
At depth 4+, dispatches to external AI models (Codex, Gemini) for
|
|
22
|
+
independent scope analysis — different models interpret PRD boundaries
|
|
23
|
+
differently, surfacing subtle creep.
|
|
24
|
+
|
|
20
25
|
## Inputs
|
|
21
|
-
- All phase output artifacts (docs/
|
|
26
|
+
- All phase output artifacts (docs/plan.md, docs/domain-models/, docs/adrs/,
|
|
22
27
|
docs/system-architecture.md, etc.)
|
|
23
28
|
|
|
24
29
|
## Expected Outputs
|
|
25
30
|
- docs/validation/scope-creep-check.md — findings report
|
|
31
|
+
- docs/validation/scope-creep-check/review-summary.md (depth 4+) — multi-model validation synthesis
|
|
32
|
+
- docs/validation/scope-creep-check/codex-review.json (depth 4+, if available) — raw Codex findings
|
|
33
|
+
- docs/validation/scope-creep-check/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
26
34
|
|
|
27
35
|
## Quality Criteria
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
36
|
+
- (mvp) Every user story traces back to a PRD feature or requirement
|
|
37
|
+
- (mvp) Every architecture component traces to a PRD requirement
|
|
38
|
+
- Items beyond PRD scope are flagged with disposition (remove, defer, or justify)
|
|
39
|
+
- (deep) No "gold-plating" — implementation tasks do not exceed story acceptance criteria
|
|
40
|
+
- (deep) Feature count has not grown beyond PRD scope without documented justification
|
|
41
|
+
- Findings categorized P0-P3 with specific file, section, and issue for each
|
|
42
|
+
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
43
|
+
|
|
44
|
+
## Finding Disposition
|
|
45
|
+
- **P0 (blocking)**: Must be resolved before proceeding to implementation. Create
|
|
46
|
+
fix tasks and re-run affected upstream steps.
|
|
47
|
+
- **P1 (critical)**: Should be resolved; proceeding requires explicit risk acceptance
|
|
48
|
+
documented in an ADR. Flag to project lead.
|
|
49
|
+
- **P2 (medium)**: Document in implementation plan as tech debt. May defer to
|
|
50
|
+
post-launch with tracking issue.
|
|
51
|
+
- **P3 (minor)**: Log for future improvement. No action required before implementation.
|
|
52
|
+
|
|
53
|
+
Findings are reported in the validation output file with severity, affected artifact,
|
|
54
|
+
and recommended resolution. P0/P1 findings block the implementation-plan step from
|
|
55
|
+
proceeding without acknowledgment.
|
|
31
56
|
|
|
32
57
|
## Methodology Scaling
|
|
33
|
-
- **deep**: Exhaustive analysis with all sub-checks.
|
|
58
|
+
- **deep**: Exhaustive analysis with all sub-checks. Multi-model validation
|
|
59
|
+
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
60
|
+
Claude-only enhanced validation.
|
|
34
61
|
- **mvp**: High-level scan for blocking issues only.
|
|
35
|
-
- **custom:depth(1-5)**:
|
|
62
|
+
- **custom:depth(1-5)**: Depth 1: feature count comparison (PRD vs implementation plan). Depth 2: add component-level tracing. Depth 3: full story-level and task-level audit against original PRD scope. Depth 4: add external model scope assessment. Depth 5: multi-model scope review with risk-weighted creep analysis.
|
|
36
63
|
|
|
37
64
|
## Mode Detection
|
|
38
|
-
Not applicable — validation always runs fresh against current artifacts.
|
|
65
|
+
Not applicable — validation always runs fresh against current artifacts. If
|
|
66
|
+
multi-model artifacts exist under docs/validation/scope-creep-check/,
|
|
67
|
+
they are regenerated each run.
|
|
68
|
+
|
|
69
|
+
## Update Mode Specifics
|
|
70
|
+
- **Detect**: `docs/validation/scope-creep-check/` directory exists with prior multi-model artifacts
|
|
71
|
+
- **Preserve**: Prior multi-model artifacts are regenerated each run (not preserved). However, if prior findings were resolved and documented, reference the resolution log to distinguish regressions from known-resolved issues.
|
|
72
|
+
- **Triggers**: Any upstream artifact change triggers fresh validation
|
|
73
|
+
- **Conflict resolution**: If a previously-resolved finding reappears, flag as regression rather than new finding
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: traceability-matrix
|
|
3
3
|
description: Build traceability from PRD requirements through architecture to implementation tasks
|
|
4
|
+
summary: "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."
|
|
4
5
|
phase: "validation"
|
|
5
|
-
order:
|
|
6
|
-
dependencies: [review
|
|
7
|
-
outputs: [docs/validation/traceability-matrix.md]
|
|
6
|
+
order: 1320
|
|
7
|
+
dependencies: [implementation-plan-review, review-security]
|
|
8
|
+
outputs: [docs/validation/traceability-matrix.md, docs/validation/traceability-matrix/review-summary.md, docs/validation/traceability-matrix/codex-review.json, docs/validation/traceability-matrix/gemini-review.json]
|
|
9
|
+
reads: [story-tests, create-evals]
|
|
8
10
|
conditional: null
|
|
9
|
-
knowledge-base: [traceability]
|
|
11
|
+
knowledge-base: [traceability, multi-model-review-dispatch]
|
|
10
12
|
---
|
|
11
13
|
|
|
12
14
|
## Purpose
|
|
@@ -15,22 +17,60 @@ to implementation tasks. Verify the full chain: PRD → User Stories → Domain
|
|
|
15
17
|
Model → Architecture → Tasks, with no orphans in either direction. Every PRD
|
|
16
18
|
requirement must trace to at least one story, every story to at least one task.
|
|
17
19
|
|
|
20
|
+
At depth 4+, dispatches to external AI models (Codex, Gemini) for
|
|
21
|
+
independent traceability validation — different models catch different
|
|
22
|
+
coverage gaps.
|
|
23
|
+
|
|
18
24
|
## Inputs
|
|
19
|
-
- All phase output artifacts (docs/
|
|
25
|
+
- All phase output artifacts (docs/plan.md, docs/domain-models/, docs/adrs/,
|
|
20
26
|
docs/system-architecture.md, etc.)
|
|
27
|
+
- docs/story-tests-map.md (required if exists) — AC-to-test-case traceability
|
|
28
|
+
- tests/acceptance/ (required if exists) — test skeleton files for verification
|
|
29
|
+
- docs/eval-standards.md (required if exists) — eval coverage documentation
|
|
21
30
|
|
|
22
31
|
## Expected Outputs
|
|
23
32
|
- docs/validation/traceability-matrix.md — findings report
|
|
33
|
+
- docs/validation/traceability-matrix/review-summary.md (depth 4+) — multi-model validation synthesis
|
|
34
|
+
- docs/validation/traceability-matrix/codex-review.json (depth 4+, if available) — raw Codex findings
|
|
35
|
+
- docs/validation/traceability-matrix/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
24
36
|
|
|
25
37
|
## Quality Criteria
|
|
26
|
-
-
|
|
27
|
-
-
|
|
28
|
-
-
|
|
38
|
+
- (mvp) Every PRD requirement maps to >= 1 user story
|
|
39
|
+
- (mvp) Every user story maps to >= 1 implementation task
|
|
40
|
+
- (deep) Every acceptance criterion maps to >= 1 test case (verified against `docs/story-tests-map.md`)
|
|
41
|
+
- (deep) Every test case maps to >= 1 implementation task
|
|
42
|
+
- (deep) No orphan items in either direction at any layer
|
|
43
|
+
- (deep) Bidirectional traceability verified: PRD → Stories → Domain → Architecture → Tasks
|
|
44
|
+
- Findings categorized P0-P3 with specific file, section, and issue for each
|
|
45
|
+
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
46
|
+
|
|
47
|
+
## Finding Disposition
|
|
48
|
+
- **P0 (blocking)**: Must be resolved before proceeding to implementation. Create
|
|
49
|
+
fix tasks and re-run affected upstream steps.
|
|
50
|
+
- **P1 (critical)**: Should be resolved; proceeding requires explicit risk acceptance
|
|
51
|
+
documented in an ADR. Flag to project lead.
|
|
52
|
+
- **P2 (medium)**: Document in implementation plan as tech debt. May defer to
|
|
53
|
+
post-launch with tracking issue.
|
|
54
|
+
- **P3 (minor)**: Log for future improvement. No action required before implementation.
|
|
55
|
+
|
|
56
|
+
Findings are reported in the validation output file with severity, affected artifact,
|
|
57
|
+
and recommended resolution. P0/P1 findings block the implementation-plan step from
|
|
58
|
+
proceeding without acknowledgment.
|
|
29
59
|
|
|
30
60
|
## Methodology Scaling
|
|
31
|
-
- **deep**: Exhaustive analysis with all sub-checks.
|
|
61
|
+
- **deep**: Exhaustive analysis with all sub-checks. Multi-model validation
|
|
62
|
+
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
63
|
+
Claude-only enhanced validation.
|
|
32
64
|
- **mvp**: High-level scan for blocking issues only.
|
|
33
|
-
- **custom:depth(1-5)**:
|
|
65
|
+
- **custom:depth(1-5)**: Depth 1: PRD requirement to user story mapping only. Depth 2: add story to implementation task mapping. Depth 3: full bidirectional chain (PRD → story → task → test → eval). Depth 4: add external model verification of coverage gaps. Depth 5: multi-model reconciliation with gap resolution recommendations.
|
|
34
66
|
|
|
35
67
|
## Mode Detection
|
|
36
|
-
Not applicable — validation always runs fresh against current artifacts.
|
|
68
|
+
Not applicable — validation always runs fresh against current artifacts. If
|
|
69
|
+
multi-model artifacts exist under docs/validation/traceability-matrix/,
|
|
70
|
+
they are regenerated each run.
|
|
71
|
+
|
|
72
|
+
## Update Mode Specifics
|
|
73
|
+
- **Detect**: `docs/validation/traceability-matrix/` directory exists with prior multi-model artifacts
|
|
74
|
+
- **Preserve**: Prior multi-model artifacts are regenerated each run (not preserved). However, if prior findings were resolved and documented, reference the resolution log to distinguish regressions from known-resolved issues.
|
|
75
|
+
- **Triggers**: Any upstream artifact change triggers fresh validation
|
|
76
|
+
- **Conflict resolution**: If a previously-resolved finding reappears, flag as regression rather than new finding
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-vision
|
|
3
|
+
description: Create a comprehensive product vision document from a project idea
|
|
4
|
+
summary: "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."
|
|
5
|
+
phase: "vision"
|
|
6
|
+
order: 010
|
|
7
|
+
dependencies: []
|
|
8
|
+
outputs: [docs/vision.md]
|
|
9
|
+
conditional: null
|
|
10
|
+
knowledge-base: [vision-craft]
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
Transform a project idea into a strategic product vision document that defines
|
|
15
|
+
the product's purpose, target audience, competitive positioning, and guiding
|
|
16
|
+
principles. This is the North Star document that all subsequent phases reference.
|
|
17
|
+
The vision drives the PRD, architecture decisions, and implementation priorities
|
|
18
|
+
throughout the entire pipeline.
|
|
19
|
+
|
|
20
|
+
## Inputs
|
|
21
|
+
- Project idea (provided by user verbally or in a brief)
|
|
22
|
+
- Existing project files (if brownfield — any README, docs, or code)
|
|
23
|
+
- Market context or competitive research (if available)
|
|
24
|
+
|
|
25
|
+
## Expected Outputs
|
|
26
|
+
- docs/vision.md — Product vision document
|
|
27
|
+
|
|
28
|
+
## Quality Criteria
|
|
29
|
+
- (mvp) Problem statement is specific and testable (not vague aspirations)
|
|
30
|
+
- (mvp) Vision statement describes positive change in the world, not a product feature
|
|
31
|
+
- (mvp) Vision statement is a single sentence of 25 words or fewer
|
|
32
|
+
- (mvp) Target audience defined by behaviors and motivations, not demographics
|
|
33
|
+
- (deep) For each competitor, at least one strength is documented alongside weaknesses
|
|
34
|
+
- (mvp) Each guiding principle is framed as 'We choose X over Y' where Y is a legitimate alternative
|
|
35
|
+
- (deep) Anti-vision contains >= 3 named traps, each referencing a concrete product direction or feature class
|
|
36
|
+
- (deep) Business model addresses sustainability without being a full business plan
|
|
37
|
+
- (mvp) Every section names at least one concrete decision or constraint
|
|
38
|
+
- (mvp) Vision does not contradict docs/plan.md (if PRD exists in update mode)
|
|
39
|
+
|
|
40
|
+
## Methodology Scaling
|
|
41
|
+
- **deep**: Comprehensive vision document. Full competitive research, detailed
|
|
42
|
+
personas, 3-5 guiding principles with tradeoff framing, business model
|
|
43
|
+
analysis, multi-year success horizon. 3-5 pages.
|
|
44
|
+
- **mvp**: Vision statement, target audience, core problem, value proposition,
|
|
45
|
+
2-3 guiding principles. 1 page. Enough to anchor the PRD.
|
|
46
|
+
- **custom:depth(1-5)**: Depth 1-2: MVP-style. Depth 3: add competitive
|
|
47
|
+
landscape and anti-vision. Depth 4: add business model and strategic risks.
|
|
48
|
+
Depth 5: full document with all 12 sections.
|
|
49
|
+
|
|
50
|
+
## Mode Detection
|
|
51
|
+
If docs/vision.md exists, this is an update. Read and analyze the existing
|
|
52
|
+
document. Check for tracking comment: `<!-- scaffold:vision v<ver> <date> -->`.
|
|
53
|
+
|
|
54
|
+
## Update Mode Specifics
|
|
55
|
+
- **Detect prior artifact**: docs/vision.md exists
|
|
56
|
+
- **Preserve**: Vision statement (unless user explicitly wants to change it),
|
|
57
|
+
guiding principles already validated, competitive analysis findings,
|
|
58
|
+
user-approved strategic decisions
|
|
59
|
+
- **Triggers for update**: Strategic direction changed, new competitive intel,
|
|
60
|
+
target audience refined, user wants deeper analysis
|
|
61
|
+
- **Conflict resolution**: if update contradicts existing guiding principles,
|
|
62
|
+
surface the conflict to the user before proceeding
|
|
63
|
+
|
|
64
|
+
## Instructions
|
|
65
|
+
|
|
66
|
+
I have an idea for an application and I want you to help me create a
|
|
67
|
+
comprehensive product vision document that will serve as the strategic North
|
|
68
|
+
Star for all downstream product decisions.
|
|
69
|
+
|
|
70
|
+
### Mode Detection
|
|
71
|
+
|
|
72
|
+
Before starting, check if `docs/vision.md` already exists:
|
|
73
|
+
|
|
74
|
+
**If the file does NOT exist → FRESH MODE**: Skip to Phase 1 and create from scratch.
|
|
75
|
+
|
|
76
|
+
**If the file exists → UPDATE MODE**:
|
|
77
|
+
1. **Read & analyze**: Read the existing document completely. Check for a tracking comment on line 1: `<!-- scaffold:vision v<ver> <date> -->`. If absent, treat as legacy/manual — be extra conservative.
|
|
78
|
+
2. **Diff against current structure**: Compare the existing document's sections against what this prompt would produce fresh. Categorize every piece of content:
|
|
79
|
+
- **ADD** — Required by current prompt but missing from existing doc
|
|
80
|
+
- **RESTRUCTURE** — Exists but doesn't match current prompt's structure or best practices
|
|
81
|
+
- **PRESERVE** — Project-specific decisions, rationale, and customizations
|
|
82
|
+
3. **Cross-doc consistency**: Read `docs/plan.md` if it exists and verify updates won't contradict it.
|
|
83
|
+
4. **Preview changes**: Present the user a summary:
|
|
84
|
+
| Action | Section | Detail |
|
|
85
|
+
|--------|---------|--------|
|
|
86
|
+
| ADD | ... | ... |
|
|
87
|
+
| RESTRUCTURE | ... | ... |
|
|
88
|
+
| PRESERVE | ... | ... |
|
|
89
|
+
If >60% of content is unrecognized PRESERVE, note: "Document has been significantly customized. Update will add missing sections but won't force restructuring."
|
|
90
|
+
Wait for user approval before proceeding.
|
|
91
|
+
5. **Execute update**: Restructure to match current prompt's layout. Preserve all project-specific content. Add missing sections with project-appropriate content.
|
|
92
|
+
6. **Update tracking comment**: Add/update on line 1: `<!-- scaffold:vision v<ver> <date> -->`
|
|
93
|
+
7. **Post-update summary**: Report sections added, sections restructured, content preserved, and any cross-doc issues found.
|
|
94
|
+
|
|
95
|
+
**In both modes**, follow all instructions below — update mode starts from existing content rather than a blank slate.
|
|
96
|
+
|
|
97
|
+
### Update Mode Specifics
|
|
98
|
+
- **Primary output**: `docs/vision.md`
|
|
99
|
+
- **Preserve**: Vision statement (unless user explicitly requests change), guiding principles, competitive findings, strategic decisions
|
|
100
|
+
- **Related docs**: `docs/plan.md`
|
|
101
|
+
- **Special rules**: Never change guiding principles without user approval. Preserve any strategic decisions that were explicitly made by the user.
|
|
102
|
+
|
|
103
|
+
## Here's my idea:
|
|
104
|
+
$ARGUMENTS
|
|
105
|
+
|
|
106
|
+
## Phase 1: Strategic Discovery
|
|
107
|
+
|
|
108
|
+
Use AskUserQuestionTool throughout this phase. Batch related questions together — don't ask one at a time.
|
|
109
|
+
|
|
110
|
+
### Understand the Problem Space
|
|
111
|
+
- What problem exists in the world? Who suffers from it? How do they cope today?
|
|
112
|
+
- Push for specificity — "everyone" is not a target audience, "it's slow" is not a problem statement
|
|
113
|
+
- What's the root cause of the pain, not just the symptom?
|
|
114
|
+
- How big is this problem? How many people experience it? How often?
|
|
115
|
+
|
|
116
|
+
### Articulate the Vision
|
|
117
|
+
- What does the world look like when this product succeeds?
|
|
118
|
+
- Craft the Geoffrey Moore elevator pitch together: For [target customer] who [need], the [product] is a [category] that [key benefit]. Unlike [alternative], our product [differentiation].
|
|
119
|
+
- Is this vision inspiring enough that someone would want to work on it?
|
|
120
|
+
- Could someone evaluate a product decision against this vision and get a clear yes/no?
|
|
121
|
+
|
|
122
|
+
### Define the Target Audience
|
|
123
|
+
- Deep persona work — behaviors, motivations, contexts of use (not demographics)
|
|
124
|
+
- Primary vs secondary audiences — who is the main user? Who else benefits?
|
|
125
|
+
- What are they doing the moment before they reach for this product?
|
|
126
|
+
- What does "success" look like from their perspective?
|
|
127
|
+
|
|
128
|
+
### Understand the Market
|
|
129
|
+
- What alternatives exist today? Direct competitors, indirect alternatives, "do nothing"
|
|
130
|
+
- Why do existing solutions fall short? Be specific.
|
|
131
|
+
- What's the market gap or timing advantage?
|
|
132
|
+
- Is this a new category, a better mousetrap, or a different approach entirely?
|
|
133
|
+
|
|
134
|
+
### Challenge and Innovate
|
|
135
|
+
- Challenge assumptions — if something doesn't make sense or is overengineered, say so
|
|
136
|
+
- Identify areas not considered (edge cases, market dynamics, competitive threats)
|
|
137
|
+
- Propose strategic angles the user hasn't thought of
|
|
138
|
+
- Be honest about weaknesses in the positioning
|
|
139
|
+
|
|
140
|
+
## Phase 2: Strategic Depth
|
|
141
|
+
|
|
142
|
+
Use AskUserQuestionTool. Batch related questions together.
|
|
143
|
+
|
|
144
|
+
### Business Model & Viability
|
|
145
|
+
- How does this make money (or sustain itself)?
|
|
146
|
+
- What's the go-to-market intuition? (Not a full business plan — directional thinking)
|
|
147
|
+
- What are the key unit economics assumptions?
|
|
148
|
+
- What would make this economically unviable?
|
|
149
|
+
|
|
150
|
+
### Guiding Principles
|
|
151
|
+
- Define 3-5 design tenets that will guide every downstream decision
|
|
152
|
+
- Frame as "When in doubt, we choose X over Y"
|
|
153
|
+
- These must actually constrain decisions — test each: would a reasonable team choose the opposite?
|
|
154
|
+
- If nobody would disagree with a principle, it's a platitude — cut it
|
|
155
|
+
|
|
156
|
+
### Anti-Vision
|
|
157
|
+
- What is this product explicitly NOT?
|
|
158
|
+
- What traps in this product space catch every competitor?
|
|
159
|
+
- What features or directions would dilute the vision?
|
|
160
|
+
- "If we find ourselves doing X, we've lost the plot"
|
|
161
|
+
|
|
162
|
+
### Success Horizon
|
|
163
|
+
- What does year 1 vs year 3 look like?
|
|
164
|
+
- What are the leading indicators that the vision is being realized?
|
|
165
|
+
- What would make this a failure even if it ships on time?
|
|
166
|
+
- How will we know if the guiding principles are actually guiding decisions?
|
|
167
|
+
|
|
168
|
+
## Phase 3: Competitive & Market Research
|
|
169
|
+
|
|
170
|
+
Research the competitive landscape using web search and any context the user provides:
|
|
171
|
+
- Identify direct competitors, indirect alternatives, and the "do nothing" option
|
|
172
|
+
- For each: what they do well, where they fall short, why users would choose this product instead
|
|
173
|
+
- Surface market trends, emerging patterns, and timing considerations
|
|
174
|
+
- Validate or challenge the user's assumptions about the market gap
|
|
175
|
+
- Be honest about what competitors do better — acknowledge strengths, don't dismiss them
|
|
176
|
+
|
|
177
|
+
## Phase 4: Documentation
|
|
178
|
+
|
|
179
|
+
Create `docs/vision.md` (create the `docs/` directory if it doesn't already exist) with tracking comment `<!-- scaffold:vision v1 YYYY-MM-DD -->` on line 1.
|
|
180
|
+
|
|
181
|
+
### Required Sections
|
|
182
|
+
|
|
183
|
+
1. **Vision Statement** — One inspiring sentence. The North Star. Should describe the positive change the product creates in the world, not a product feature. Must be concise enough to remember and repeat.
|
|
184
|
+
|
|
185
|
+
2. **Elevator Pitch** — Geoffrey Moore template filled in:
|
|
186
|
+
> For [target customer] who [need], [product name] is a [product category] that [key benefit]. Unlike [primary alternative], our product [primary differentiation].
|
|
187
|
+
|
|
188
|
+
3. **Problem Space** — The pain in vivid detail: who feels it, how they cope today, why existing solutions fail, what the root cause is. Grounded in evidence, not assumptions.
|
|
189
|
+
|
|
190
|
+
4. **Target Audience** — Primary and secondary personas with:
|
|
191
|
+
- Behaviors and motivations (not demographics)
|
|
192
|
+
- Context of use (when, where, why they reach for this product)
|
|
193
|
+
- Current workarounds and their limitations
|
|
194
|
+
- What "success" looks like from their perspective
|
|
195
|
+
|
|
196
|
+
5. **Value Proposition** — The unique value delivered, framed as outcomes not features. Why someone would choose this over alternatives (including doing nothing).
|
|
197
|
+
|
|
198
|
+
6. **Competitive Landscape** — Market map showing:
|
|
199
|
+
- Direct competitors and their strengths/weaknesses
|
|
200
|
+
- Indirect alternatives (different approaches to the same problem)
|
|
201
|
+
- The "do nothing" option and why it's insufficient
|
|
202
|
+
- The product's genuine differentiation (not wishful thinking)
|
|
203
|
+
|
|
204
|
+
7. **Guiding Principles** — 3-5 design tenets framed as prioritization tradeoffs:
|
|
205
|
+
- "We choose simplicity over power" or "We choose correctness over speed"
|
|
206
|
+
- Each must actually constrain decisions — if nobody would disagree, it's not a principle
|
|
207
|
+
|
|
208
|
+
8. **Anti-Vision** — What the product is NOT:
|
|
209
|
+
- Features and directions explicitly excluded
|
|
210
|
+
- Common traps in this product space to avoid
|
|
211
|
+
- "If we find ourselves doing X, we've lost the plot"
|
|
212
|
+
|
|
213
|
+
9. **Business Model Intuition** — Directional thinking about sustainability:
|
|
214
|
+
- Revenue model (or how it sustains itself if non-commercial)
|
|
215
|
+
- Key unit economics assumptions
|
|
216
|
+
- Go-to-market direction (not a full GTM plan)
|
|
217
|
+
|
|
218
|
+
10. **Success Criteria** — Measurable indicators across time horizons:
|
|
219
|
+
- Leading indicators (early signals the vision is working)
|
|
220
|
+
- Year 1 milestones
|
|
221
|
+
- Year 3 aspirations
|
|
222
|
+
- What failure looks like (even if the product ships)
|
|
223
|
+
|
|
224
|
+
11. **Strategic Risks & Assumptions** — Explicit bets being made:
|
|
225
|
+
- Key assumptions that must hold true for the vision to succeed
|
|
226
|
+
- What could invalidate each assumption
|
|
227
|
+
- Risk severity and mitigation thinking
|
|
228
|
+
|
|
229
|
+
12. **Open Questions** — Unresolved strategic questions:
|
|
230
|
+
- Questions that don't need answers now but will need them eventually
|
|
231
|
+
- Research or validation needed before committing to specific directions
|
|
232
|
+
|
|
233
|
+
### Documentation Quality Standards
|
|
234
|
+
- Every section must be specific enough to guide PRD writing without strategic ambiguity
|
|
235
|
+
- Avoid corporate boilerplate: "user-friendly interface" and "seamless experience" are banned
|
|
236
|
+
- The vision statement must be testable: could you evaluate a product decision against it and get a clear yes/no?
|
|
237
|
+
- Guiding principles must create real tradeoffs, not platitudes
|
|
238
|
+
- Competitive analysis must be honest about the product's weaknesses, not just strengths
|
|
239
|
+
|
|
240
|
+
## How to Work With Me
|
|
241
|
+
- Treat me as the product owner. I make the strategic calls, you make them happen.
|
|
242
|
+
- Don't overwhelm me with business jargon. Translate everything.
|
|
243
|
+
- Push back if my vision is unfocused, my positioning is weak, or my assumptions are wrong.
|
|
244
|
+
- Be honest about competitive threats. I'd rather adjust my strategy than be blindsided.
|
|
245
|
+
- Batch your questions using AskUserQuestionTool — don't pepper me one at a time.
|
|
246
|
+
|
|
247
|
+
## What This Document Should NOT Be
|
|
248
|
+
- A product requirements document — that comes later in create-prd
|
|
249
|
+
- A feature list — the vision is about purpose and positioning, not functionality
|
|
250
|
+
- Vague — "make the world a better place" is not a vision. Be specific.
|
|
251
|
+
- A business plan — business model intuition, not a 50-page plan
|
|
252
|
+
- Corporate boilerplate — if it could apply to any product, it's useless
|
|
253
|
+
|
|
254
|
+
I don't just want a document. I want a North Star that every team member can point to when making a difficult product decision.
|
|
255
|
+
|
|
256
|
+
## After This Step
|
|
257
|
+
|
|
258
|
+
When this step is complete, tell the user:
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
**Phase 0 complete** — `docs/vision.md` created.
|
|
262
|
+
|
|
263
|
+
**Next:** Run `/scaffold:review-vision` — Review the vision for clarity, coherence, and downstream readiness.
|
|
264
|
+
|
|
265
|
+
**Pipeline reference:** `/scaffold:prompt-pipeline`
|
|
266
|
+
|
|
267
|
+
---
|