@zigrivers/scaffold 2.28.1 → 2.38.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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 +103 -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
|
@@ -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
6
|
order: 1350
|
|
6
7
|
dependencies: [implementation-plan-review, review-security]
|
|
7
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
|
|
@@ -30,9 +31,12 @@ when simulating implementation.
|
|
|
30
31
|
- docs/validation/implementability-dry-run/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
31
32
|
|
|
32
33
|
## Quality Criteria
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
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
|
|
36
40
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
37
41
|
|
|
38
42
|
## Finding Disposition
|
|
@@ -53,11 +57,15 @@ proceeding without acknowledgment.
|
|
|
53
57
|
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
54
58
|
Claude-only enhanced validation.
|
|
55
59
|
- **mvp**: High-level scan for blocking issues only.
|
|
56
|
-
- **custom:depth(1-5)**: Depth 1
|
|
57
|
-
full analysis + one external model (if CLI available). Depth 5: full
|
|
58
|
-
analysis + multi-model with reconciliation.
|
|
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.
|
|
59
61
|
|
|
60
62
|
## Mode Detection
|
|
61
63
|
Not applicable — validation always runs fresh against current artifacts. If
|
|
62
64
|
multi-model artifacts exist under docs/validation/implementability-dry-run/,
|
|
63
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
6
|
order: 1370
|
|
6
7
|
dependencies: [implementation-plan-review, review-security]
|
|
7
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
|
|
@@ -32,9 +33,12 @@ differently, surfacing subtle creep.
|
|
|
32
33
|
- docs/validation/scope-creep-check/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
33
34
|
|
|
34
35
|
## Quality Criteria
|
|
35
|
-
-
|
|
36
|
-
-
|
|
37
|
-
-
|
|
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
|
|
38
42
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
39
43
|
|
|
40
44
|
## Finding Disposition
|
|
@@ -55,11 +59,15 @@ proceeding without acknowledgment.
|
|
|
55
59
|
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
56
60
|
Claude-only enhanced validation.
|
|
57
61
|
- **mvp**: High-level scan for blocking issues only.
|
|
58
|
-
- **custom:depth(1-5)**: Depth 1-3:
|
|
59
|
-
full analysis + one external model (if CLI available). Depth 5: full
|
|
60
|
-
analysis + multi-model with reconciliation.
|
|
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.
|
|
61
63
|
|
|
62
64
|
## Mode Detection
|
|
63
65
|
Not applicable — validation always runs fresh against current artifacts. If
|
|
64
66
|
multi-model artifacts exist under docs/validation/scope-creep-check/,
|
|
65
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
6
|
order: 1320
|
|
6
7
|
dependencies: [implementation-plan-review, review-security]
|
|
7
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
|
|
@@ -22,6 +24,9 @@ coverage gaps.
|
|
|
22
24
|
## Inputs
|
|
23
25
|
- All phase output artifacts (docs/plan.md, docs/domain-models/, docs/adrs/,
|
|
24
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
|
|
25
30
|
|
|
26
31
|
## Expected Outputs
|
|
27
32
|
- docs/validation/traceability-matrix.md — findings report
|
|
@@ -30,9 +35,13 @@ coverage gaps.
|
|
|
30
35
|
- docs/validation/traceability-matrix/gemini-review.json (depth 4+, if available) — raw Gemini findings
|
|
31
36
|
|
|
32
37
|
## Quality Criteria
|
|
33
|
-
-
|
|
34
|
-
-
|
|
35
|
-
-
|
|
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
|
|
36
45
|
- (depth 4+) Multi-model findings synthesized with consensus/disagreement analysis
|
|
37
46
|
|
|
38
47
|
## Finding Disposition
|
|
@@ -53,11 +62,15 @@ proceeding without acknowledgment.
|
|
|
53
62
|
dispatched to Codex and Gemini if available, with graceful fallback to
|
|
54
63
|
Claude-only enhanced validation.
|
|
55
64
|
- **mvp**: High-level scan for blocking issues only.
|
|
56
|
-
- **custom:depth(1-5)**: Depth 1
|
|
57
|
-
full analysis + one external model (if CLI available). Depth 5: full
|
|
58
|
-
analysis + multi-model with reconciliation.
|
|
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.
|
|
59
66
|
|
|
60
67
|
## Mode Detection
|
|
61
68
|
Not applicable — validation always runs fresh against current artifacts. If
|
|
62
69
|
multi-model artifacts exist under docs/validation/traceability-matrix/,
|
|
63
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
|
+
---
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: innovate-vision
|
|
3
|
+
description: Discover strategic innovation opportunities in the product vision
|
|
4
|
+
summary: "Explores untapped opportunities — adjacent markets, AI-native capabilities, ecosystem partnerships, and contrarian positioning — and proposes innovations for your approval."
|
|
5
|
+
phase: "vision"
|
|
6
|
+
order: 030
|
|
7
|
+
dependencies: [review-vision]
|
|
8
|
+
outputs: [docs/vision.md]
|
|
9
|
+
conditional: "if-needed"
|
|
10
|
+
knowledge-base: [vision-craft]
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Purpose
|
|
14
|
+
Discover strategic innovation opportunities within the product vision. This
|
|
15
|
+
covers market positioning, competitive strategy, ecosystem thinking, and
|
|
16
|
+
contrarian bets. It operates at the strategic level — should the product be
|
|
17
|
+
positioned differently? Are there market opportunities being missed? What
|
|
18
|
+
would an AI-native rethinking look like?
|
|
19
|
+
|
|
20
|
+
This is distinct from PRD innovation (innovate-prd), which covers feature-level
|
|
21
|
+
gaps. If an idea is about a specific feature, it belongs in PRD innovation,
|
|
22
|
+
not here.
|
|
23
|
+
|
|
24
|
+
## Inputs
|
|
25
|
+
- docs/vision.md (required) — Vision document to analyze
|
|
26
|
+
- docs/reviews/vision-review-vision.md (optional) — review findings for context
|
|
27
|
+
|
|
28
|
+
## Expected Outputs
|
|
29
|
+
- docs/vision.md — updated with approved strategic innovations
|
|
30
|
+
|
|
31
|
+
## Quality Criteria
|
|
32
|
+
- Innovations are strategic-level, not feature-level
|
|
33
|
+
- (mvp) Each innovation categorized: market opportunity, positioning, AI-native, ecosystem, or contrarian
|
|
34
|
+
- (mvp) Each innovation includes: what to change, why, impact (high/medium/low), cost estimate
|
|
35
|
+
- (mvp) Each suggestion has an implementation cost estimate (trivial/moderate/significant)
|
|
36
|
+
- (mvp) Recommended disposition stated for each: must-have, backlog, or reject with rationale
|
|
37
|
+
- (deep) Impact assessments compared to existing document content
|
|
38
|
+
- (deep) Each approved innovation is integrated with the same subsection headings and detail level as existing vision sections
|
|
39
|
+
- Vision scope is respected — no uncontrolled strategic drift
|
|
40
|
+
- User approval is obtained before modifying the vision document
|
|
41
|
+
|
|
42
|
+
## Methodology Scaling
|
|
43
|
+
- **deep**: Full innovation pass across all 5 dimensions. Competitive research
|
|
44
|
+
via web search. Detailed integration of approved innovations into vision.
|
|
45
|
+
- **mvp**: Not applicable — this step is conditional and skipped in MVP.
|
|
46
|
+
- **custom:depth(1-5)**: Depth 1-2: Quick scan only — identify 1-2 high-impact
|
|
47
|
+
strategic angles with brief rationale. Depth 3: quick scan for positioning
|
|
48
|
+
gaps and obvious market opportunities. Depth 4-5: full innovation pass
|
|
49
|
+
across all 5 dimensions.
|
|
50
|
+
|
|
51
|
+
## Conditional Evaluation
|
|
52
|
+
Enable when: project has competitive landscape content in vision.md, user
|
|
53
|
+
explicitly requests a strategic innovation pass, or the vision review
|
|
54
|
+
(review-vision) identifies strategic gaps or weak positioning. Skip when:
|
|
55
|
+
vision is minimal/exploratory, depth < 3, or user explicitly declines innovation.
|
|
56
|
+
|
|
57
|
+
## Mode Detection
|
|
58
|
+
If this step has been run before (tracking comment
|
|
59
|
+
`<!-- scaffold:innovate-vision -->` exists in docs/vision.md), this is a
|
|
60
|
+
re-innovation pass. Focus on new opportunities from vision changes since last run.
|
|
61
|
+
|
|
62
|
+
## Update Mode Specifics
|
|
63
|
+
- **Detect prior artifact**: `<!-- scaffold:innovate-vision -->` tracking
|
|
64
|
+
comment in docs/vision.md
|
|
65
|
+
- **Preserve**: Previously accepted strategic decisions, positioning choices
|
|
66
|
+
approved by user
|
|
67
|
+
- **Triggers for update**: Vision strategy changed, new market data available,
|
|
68
|
+
user requests re-evaluation
|
|
69
|
+
- **Conflict resolution**: if a previously rejected strategic angle is now
|
|
70
|
+
relevant due to vision changes, re-propose with updated rationale
|
|
71
|
+
|
|
72
|
+
## Instructions
|
|
73
|
+
|
|
74
|
+
Deeply research docs/vision.md and identify strategic innovation opportunities
|
|
75
|
+
across 5 dimensions. This is the last chance to strengthen the vision before
|
|
76
|
+
it drives the PRD and everything downstream.
|
|
77
|
+
|
|
78
|
+
### Dimension 1: Market Opportunity Expansion
|
|
79
|
+
|
|
80
|
+
Research adjacent opportunities:
|
|
81
|
+
- Adjacent markets or segments not currently addressed
|
|
82
|
+
- Underserved niches within the target audience
|
|
83
|
+
- Timing advantages (regulatory changes, technology shifts, cultural moments)
|
|
84
|
+
- Platform or ecosystem opportunities that could amplify reach
|
|
85
|
+
- Geographic or demographic expansion possibilities
|
|
86
|
+
|
|
87
|
+
### Dimension 2: Positioning Alternatives
|
|
88
|
+
|
|
89
|
+
Explore how the product could be positioned differently:
|
|
90
|
+
- Could the product be positioned differently for greater impact?
|
|
91
|
+
- Alternative framings of the value proposition
|
|
92
|
+
- Category creation vs category competition — which is the stronger play?
|
|
93
|
+
- Messaging angles that haven't been explored
|
|
94
|
+
- What would a "10x better positioning" look like?
|
|
95
|
+
|
|
96
|
+
### Dimension 3: AI-Native Rethinking
|
|
97
|
+
|
|
98
|
+
If this product were conceived today with AI capabilities assumed:
|
|
99
|
+
- What changes fundamentally about the product concept?
|
|
100
|
+
- Features that become trivial with AI (and therefore table stakes)
|
|
101
|
+
- Experiences that become possible that were previously impractical
|
|
102
|
+
- Intelligence that can be embedded vs bolted on
|
|
103
|
+
- How does AI change the competitive landscape for this product?
|
|
104
|
+
|
|
105
|
+
### Dimension 4: Ecosystem Thinking
|
|
106
|
+
|
|
107
|
+
Explore how the product fits into a broader ecosystem:
|
|
108
|
+
- Partners and integrations that amplify the product's value
|
|
109
|
+
- Platform effects or network effects available
|
|
110
|
+
- Data advantages that compound over time
|
|
111
|
+
- Build vs buy vs partner decisions at the strategic level
|
|
112
|
+
- Community or marketplace opportunities
|
|
113
|
+
|
|
114
|
+
### Dimension 5: Contrarian Bets
|
|
115
|
+
|
|
116
|
+
Challenge the vision's assumptions:
|
|
117
|
+
- What does the vision assume that most people agree with? What if the opposite were true?
|
|
118
|
+
- Industry orthodoxies worth challenging
|
|
119
|
+
- One genuinely contrarian strategic angle, evaluated honestly
|
|
120
|
+
- "What would we do differently if we believed X?"
|
|
121
|
+
- Which assumptions, if wrong, would invalidate the entire vision?
|
|
122
|
+
|
|
123
|
+
### For Each Innovation Idea, Present:
|
|
124
|
+
- **What**: The strategic innovation
|
|
125
|
+
- **Why**: Strategic rationale and market context
|
|
126
|
+
- **Impact**: How much better the product positioning gets (high / medium / low)
|
|
127
|
+
- **Cost**: Implementation effort (trivial / moderate / significant)
|
|
128
|
+
- **Recommendation**: Must-have for vision, or backlog for future consideration
|
|
129
|
+
|
|
130
|
+
### Process
|
|
131
|
+
|
|
132
|
+
1. Research competitive landscape and market trends via web search
|
|
133
|
+
2. Generate innovation ideas across all 5 dimensions
|
|
134
|
+
3. Use AskUserQuestionTool to present innovations grouped by dimension for user approval
|
|
135
|
+
4. For each approved innovation, integrate it into the appropriate section of docs/vision.md
|
|
136
|
+
5. Update tracking comment: add `<!-- scaffold:innovate-vision v1 YYYY-MM-DD -->` after the vision tracking comment
|
|
137
|
+
6. Provide a summary of what was added, modified, or deferred
|
|
138
|
+
|
|
139
|
+
### Quality Standards
|
|
140
|
+
- Strategic-level only — feature ideas belong in innovate-prd
|
|
141
|
+
- Honest about costs and risks — don't oversell
|
|
142
|
+
- Respect the existing guiding principles — innovations should align, not contradict
|
|
143
|
+
- Do NOT modify the vision statement without explicit user approval
|
|
144
|
+
- Do NOT add approved innovations as vague one-liners — document them to the same standard as existing sections
|
|
145
|
+
|
|
146
|
+
## After This Step
|
|
147
|
+
|
|
148
|
+
When this step is complete, tell the user:
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
**Innovation complete** — `docs/vision.md` updated with approved strategic innovations.
|
|
152
|
+
|
|
153
|
+
**Next:** Run `/scaffold:create-prd` — Translate the vision into product requirements.
|
|
154
|
+
|
|
155
|
+
**Pipeline reference:** `/scaffold:prompt-pipeline`
|
|
156
|
+
|
|
157
|
+
---
|