@arthai/agents 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +123 -0
- package/VERSION +1 -0
- package/agents/ai-consultant.md +999 -0
- package/agents/architect.md +174 -0
- package/agents/code-reviewer.md +115 -0
- package/agents/competitive-analyst.md +688 -0
- package/agents/content-strategist.md +607 -0
- package/agents/design-studio-create.md +304 -0
- package/agents/design-studio-critique.md +258 -0
- package/agents/design-studio-think.md +79 -0
- package/agents/domain-hunter.md +519 -0
- package/agents/explore-light.md +52 -0
- package/agents/frontend.md +261 -0
- package/agents/gtm-expert.md +811 -0
- package/agents/meeting-prep.md +318 -0
- package/agents/ops.md +149 -0
- package/agents/product-manager.md +563 -0
- package/agents/python-backend.md +286 -0
- package/agents/qa-baseline-updater.md +45 -0
- package/agents/qa-challenger.md +97 -0
- package/agents/qa-domain.md +145 -0
- package/agents/qa-e2e.md +184 -0
- package/agents/qa-test-promoter.md +97 -0
- package/agents/qa.md +226 -0
- package/agents/setup.md +134 -0
- package/agents/sre.md +165 -0
- package/agents/stakeholder-reporter.md +94 -0
- package/agents/user-researcher.md +602 -0
- package/bin/cli.js +322 -0
- package/bundles/canvas.json +16 -0
- package/bundles/compass.json +16 -0
- package/bundles/counsel.json +31 -0
- package/bundles/cruise.json +11 -0
- package/bundles/forge.json +26 -0
- package/bundles/prime.json +10 -0
- package/bundles/prism.json +23 -0
- package/bundles/scalpel.json +17 -0
- package/bundles/sentinel.json +19 -0
- package/bundles/shield.json +14 -0
- package/bundles/spark.json +19 -0
- package/compiler.sh +305 -0
- package/dist/plugins/canvas/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/canvas/agents/design-studio-create.md +304 -0
- package/dist/plugins/canvas/agents/design-studio-critique.md +258 -0
- package/dist/plugins/canvas/agents/design-studio-think.md +79 -0
- package/dist/plugins/canvas/agents/frontend.md +261 -0
- package/dist/plugins/canvas/skills/planning/SKILL.md +436 -0
- package/dist/plugins/compass/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/compass/agents/content-strategist.md +607 -0
- package/dist/plugins/compass/agents/gtm-expert.md +811 -0
- package/dist/plugins/compass/agents/product-manager.md +563 -0
- package/dist/plugins/compass/agents/user-researcher.md +602 -0
- package/dist/plugins/compass/skills/planning/SKILL.md +436 -0
- package/dist/plugins/counsel/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/counsel/agents/ai-consultant.md +999 -0
- package/dist/plugins/counsel/agents/competitive-analyst.md +688 -0
- package/dist/plugins/counsel/agents/meeting-prep.md +318 -0
- package/dist/plugins/counsel/agents/stakeholder-reporter.md +94 -0
- package/dist/plugins/counsel/hooks/check-deliverable.sh +65 -0
- package/dist/plugins/counsel/hooks/ensure-client-dir.sh +59 -0
- package/dist/plugins/counsel/hooks/hooks.json +28 -0
- package/dist/plugins/counsel/skills/client-discovery/SKILL.md +266 -0
- package/dist/plugins/counsel/skills/consulting/SKILL.md +282 -0
- package/dist/plugins/counsel/skills/deliverable-builder/SKILL.md +928 -0
- package/dist/plugins/counsel/skills/engagement-tracker/SKILL.md +380 -0
- package/dist/plugins/counsel/skills/market-research/SKILL.md +300 -0
- package/dist/plugins/counsel/skills/opportunity-map/SKILL.md +307 -0
- package/dist/plugins/counsel/skills/pitch-generator/SKILL.md +378 -0
- package/dist/plugins/counsel/skills/roi-calculator/SKILL.md +469 -0
- package/dist/plugins/counsel/skills/share/SKILL.md +211 -0
- package/dist/plugins/counsel/skills/solution-architect/SKILL.md +566 -0
- package/dist/plugins/counsel/skills/templates/SKILL.md +194 -0
- package/dist/plugins/counsel/skills/welcome/SKILL.md +136 -0
- package/dist/plugins/counsel/skills/wizard/SKILL.md +411 -0
- package/dist/plugins/cruise/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/cruise/skills/autopilot/SKILL.md +425 -0
- package/dist/plugins/forge/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/forge/agents/architect.md +174 -0
- package/dist/plugins/forge/agents/code-reviewer.md +115 -0
- package/dist/plugins/forge/agents/frontend.md +261 -0
- package/dist/plugins/forge/agents/product-manager.md +563 -0
- package/dist/plugins/forge/agents/python-backend.md +286 -0
- package/dist/plugins/forge/agents/qa.md +226 -0
- package/dist/plugins/forge/hooks/hooks.json +28 -0
- package/dist/plugins/forge/hooks/post-test-summary.sh +115 -0
- package/dist/plugins/forge/hooks/triage-router.sh +740 -0
- package/dist/plugins/forge/skills/implement/SKILL.md +532 -0
- package/dist/plugins/forge/skills/planning/SKILL.md +436 -0
- package/dist/plugins/forge/skills/pr/SKILL.md +275 -0
- package/dist/plugins/forge/skills/precheck/SKILL.md +159 -0
- package/dist/plugins/forge/skills/qa/SKILL.md +127 -0
- package/dist/plugins/forge/skills/review-pr/SKILL.md +367 -0
- package/dist/plugins/prime/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/prime/agents/ai-consultant.md +999 -0
- package/dist/plugins/prime/agents/architect.md +174 -0
- package/dist/plugins/prime/agents/code-reviewer.md +115 -0
- package/dist/plugins/prime/agents/competitive-analyst.md +688 -0
- package/dist/plugins/prime/agents/content-strategist.md +607 -0
- package/dist/plugins/prime/agents/design-studio-create.md +304 -0
- package/dist/plugins/prime/agents/design-studio-critique.md +258 -0
- package/dist/plugins/prime/agents/design-studio-think.md +79 -0
- package/dist/plugins/prime/agents/explore-light.md +52 -0
- package/dist/plugins/prime/agents/frontend.md +261 -0
- package/dist/plugins/prime/agents/gtm-expert.md +811 -0
- package/dist/plugins/prime/agents/meeting-prep.md +318 -0
- package/dist/plugins/prime/agents/ops.md +149 -0
- package/dist/plugins/prime/agents/product-manager.md +563 -0
- package/dist/plugins/prime/agents/python-backend.md +286 -0
- package/dist/plugins/prime/agents/qa-baseline-updater.md +45 -0
- package/dist/plugins/prime/agents/qa-challenger.md +97 -0
- package/dist/plugins/prime/agents/qa-domain.md +145 -0
- package/dist/plugins/prime/agents/qa-e2e.md +184 -0
- package/dist/plugins/prime/agents/qa-test-promoter.md +97 -0
- package/dist/plugins/prime/agents/qa.md +226 -0
- package/dist/plugins/prime/agents/setup.md +134 -0
- package/dist/plugins/prime/agents/sre.md +165 -0
- package/dist/plugins/prime/agents/stakeholder-reporter.md +94 -0
- package/dist/plugins/prime/agents/user-researcher.md +602 -0
- package/dist/plugins/prime/hooks/check-deliverable.sh +65 -0
- package/dist/plugins/prime/hooks/ensure-client-dir.sh +59 -0
- package/dist/plugins/prime/hooks/hooks.json +184 -0
- package/dist/plugins/prime/hooks/post-deploy-health.sh +83 -0
- package/dist/plugins/prime/hooks/post-diff-test-compare.sh +125 -0
- package/dist/plugins/prime/hooks/post-edit-lint.sh +92 -0
- package/dist/plugins/prime/hooks/post-git-state.sh +54 -0
- package/dist/plugins/prime/hooks/post-merge-cleanup.sh +101 -0
- package/dist/plugins/prime/hooks/post-test-summary.sh +115 -0
- package/dist/plugins/prime/hooks/pre-bash-guard.sh +142 -0
- package/dist/plugins/prime/hooks/pre-edit-guard.sh +121 -0
- package/dist/plugins/prime/hooks/pre-task-context.sh +113 -0
- package/dist/plugins/prime/hooks/session-bootstrap.sh +379 -0
- package/dist/plugins/prime/hooks/session-end.sh +107 -0
- package/dist/plugins/prime/hooks/session-summary.sh +97 -0
- package/dist/plugins/prime/hooks/sync-agents.sh +269 -0
- package/dist/plugins/prime/hooks/triage-router.sh +740 -0
- package/dist/plugins/prime/skills/arth/SKILL.md +165 -0
- package/dist/plugins/prime/skills/autopilot/SKILL.md +425 -0
- package/dist/plugins/prime/skills/calibrate/SKILL.md +1807 -0
- package/dist/plugins/prime/skills/ci-fix/SKILL.md +293 -0
- package/dist/plugins/prime/skills/client-discovery/SKILL.md +266 -0
- package/dist/plugins/prime/skills/consulting/SKILL.md +282 -0
- package/dist/plugins/prime/skills/custom-domain/SKILL.md +261 -0
- package/dist/plugins/prime/skills/deliverable-builder/SKILL.md +928 -0
- package/dist/plugins/prime/skills/discord-ops/SKILL.md +125 -0
- package/dist/plugins/prime/skills/engagement-tracker/SKILL.md +380 -0
- package/dist/plugins/prime/skills/explore.md +43 -0
- package/dist/plugins/prime/skills/fix/SKILL.md +1058 -0
- package/dist/plugins/prime/skills/implement/SKILL.md +532 -0
- package/dist/plugins/prime/skills/incident/SKILL.md +910 -0
- package/dist/plugins/prime/skills/issue/SKILL.md +134 -0
- package/dist/plugins/prime/skills/market-research/SKILL.md +300 -0
- package/dist/plugins/prime/skills/onboard/SKILL.md +344 -0
- package/dist/plugins/prime/skills/opportunity-map/SKILL.md +307 -0
- package/dist/plugins/prime/skills/pitch-generator/SKILL.md +378 -0
- package/dist/plugins/prime/skills/planning/SKILL.md +436 -0
- package/dist/plugins/prime/skills/pr/SKILL.md +275 -0
- package/dist/plugins/prime/skills/precheck/SKILL.md +159 -0
- package/dist/plugins/prime/skills/qa/SKILL.md +127 -0
- package/dist/plugins/prime/skills/qa-incident/SKILL.md +54 -0
- package/dist/plugins/prime/skills/qa-learn/SKILL.md +47 -0
- package/dist/plugins/prime/skills/restart/SKILL.md +70 -0
- package/dist/plugins/prime/skills/review-pr/SKILL.md +367 -0
- package/dist/plugins/prime/skills/roi-calculator/SKILL.md +469 -0
- package/dist/plugins/prime/skills/scan/SKILL.md +232 -0
- package/dist/plugins/prime/skills/setup/SKILL.md +691 -0
- package/dist/plugins/prime/skills/share/SKILL.md +211 -0
- package/dist/plugins/prime/skills/solution-architect/SKILL.md +566 -0
- package/dist/plugins/prime/skills/sre/SKILL.md +362 -0
- package/dist/plugins/prime/skills/sync/SKILL.md +188 -0
- package/dist/plugins/prime/skills/templates/SKILL.md +194 -0
- package/dist/plugins/prime/skills/welcome/SKILL.md +136 -0
- package/dist/plugins/prime/skills/wizard/SKILL.md +411 -0
- package/dist/plugins/prism/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/prism/agents/qa-baseline-updater.md +45 -0
- package/dist/plugins/prism/agents/qa-challenger.md +97 -0
- package/dist/plugins/prism/agents/qa-domain.md +145 -0
- package/dist/plugins/prism/agents/qa-e2e.md +184 -0
- package/dist/plugins/prism/agents/qa-test-promoter.md +97 -0
- package/dist/plugins/prism/agents/qa.md +226 -0
- package/dist/plugins/prism/hooks/hooks.json +26 -0
- package/dist/plugins/prism/hooks/post-diff-test-compare.sh +125 -0
- package/dist/plugins/prism/hooks/post-test-summary.sh +115 -0
- package/dist/plugins/prism/skills/qa/SKILL.md +127 -0
- package/dist/plugins/prism/skills/qa-incident/SKILL.md +54 -0
- package/dist/plugins/prism/skills/qa-learn/SKILL.md +47 -0
- package/dist/plugins/scalpel/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/scalpel/agents/code-reviewer.md +115 -0
- package/dist/plugins/scalpel/hooks/hooks.json +26 -0
- package/dist/plugins/scalpel/hooks/pre-edit-guard.sh +121 -0
- package/dist/plugins/scalpel/skills/ci-fix/SKILL.md +293 -0
- package/dist/plugins/scalpel/skills/fix/SKILL.md +1058 -0
- package/dist/plugins/scalpel/skills/issue/SKILL.md +134 -0
- package/dist/plugins/sentinel/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/sentinel/agents/ops.md +149 -0
- package/dist/plugins/sentinel/agents/sre.md +165 -0
- package/dist/plugins/sentinel/hooks/hooks.json +26 -0
- package/dist/plugins/sentinel/hooks/post-deploy-health.sh +83 -0
- package/dist/plugins/sentinel/hooks/post-git-state.sh +54 -0
- package/dist/plugins/sentinel/skills/incident/SKILL.md +910 -0
- package/dist/plugins/sentinel/skills/restart/SKILL.md +70 -0
- package/dist/plugins/sentinel/skills/sre/SKILL.md +362 -0
- package/dist/plugins/shield/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/shield/hooks/hooks.json +60 -0
- package/dist/plugins/shield/hooks/pre-bash-guard.sh +142 -0
- package/dist/plugins/shield/hooks/pre-edit-guard.sh +121 -0
- package/dist/plugins/shield/hooks/session-bootstrap.sh +379 -0
- package/dist/plugins/shield/hooks/triage-router.sh +740 -0
- package/dist/plugins/spark/.claude-plugin/plugin.json +6 -0
- package/dist/plugins/spark/agents/explore-light.md +52 -0
- package/dist/plugins/spark/agents/setup.md +134 -0
- package/dist/plugins/spark/hooks/hooks.json +16 -0
- package/dist/plugins/spark/hooks/session-bootstrap.sh +379 -0
- package/dist/plugins/spark/skills/calibrate/SKILL.md +1807 -0
- package/dist/plugins/spark/skills/onboard/SKILL.md +344 -0
- package/dist/plugins/spark/skills/scan/SKILL.md +232 -0
- package/dist/plugins/spark/skills/setup/SKILL.md +691 -0
- package/hook-defs.json +104 -0
- package/hooks/check-deliverable.sh +65 -0
- package/hooks/ensure-client-dir.sh +59 -0
- package/hooks/hooks.json +16 -0
- package/hooks/post-deploy-health.sh +83 -0
- package/hooks/post-diff-test-compare.sh +125 -0
- package/hooks/post-edit-lint.sh +92 -0
- package/hooks/post-git-state.sh +54 -0
- package/hooks/post-merge-cleanup.sh +101 -0
- package/hooks/post-test-summary.sh +115 -0
- package/hooks/pre-bash-guard.sh +142 -0
- package/hooks/pre-edit-guard.sh +121 -0
- package/hooks/pre-task-context.sh +113 -0
- package/hooks/session-bootstrap.sh +379 -0
- package/hooks/session-end.sh +107 -0
- package/hooks/session-start.sh +46 -0
- package/hooks/session-summary.sh +97 -0
- package/hooks/sync-agents.sh +269 -0
- package/hooks/triage-router.sh +740 -0
- package/install.sh +3185 -0
- package/package.json +40 -0
- package/portable.manifest +112 -0
- package/skills/arth/SKILL.md +165 -0
- package/skills/autopilot/SKILL.md +425 -0
- package/skills/calibrate/SKILL.md +1807 -0
- package/skills/ci-fix/SKILL.md +293 -0
- package/skills/client-discovery/SKILL.md +266 -0
- package/skills/consulting/SKILL.md +282 -0
- package/skills/continue/SKILL.md +174 -0
- package/skills/custom-domain/SKILL.md +261 -0
- package/skills/deliverable-builder/SKILL.md +928 -0
- package/skills/discord-ops/SKILL.md +125 -0
- package/skills/engagement-tracker/SKILL.md +380 -0
- package/skills/explore.md +43 -0
- package/skills/fix/SKILL.md +1058 -0
- package/skills/implement/SKILL.md +532 -0
- package/skills/incident/SKILL.md +910 -0
- package/skills/issue/SKILL.md +134 -0
- package/skills/market-research/SKILL.md +300 -0
- package/skills/onboard/SKILL.md +344 -0
- package/skills/opportunity-map/SKILL.md +307 -0
- package/skills/pitch-generator/SKILL.md +378 -0
- package/skills/planning/SKILL.md +436 -0
- package/skills/pr/SKILL.md +275 -0
- package/skills/precheck/SKILL.md +159 -0
- package/skills/qa/SKILL.md +127 -0
- package/skills/qa-incident/SKILL.md +54 -0
- package/skills/qa-learn/SKILL.md +47 -0
- package/skills/railway/central-station/SKILL.md +226 -0
- package/skills/railway/central-station/references/environment-config.md +183 -0
- package/skills/railway/central-station/references/monorepo.md +216 -0
- package/skills/railway/central-station/references/railpack.md +257 -0
- package/skills/railway/central-station/references/variables.md +170 -0
- package/skills/railway/database/SKILL.md +284 -0
- package/skills/railway/database/references/environment-config.md +183 -0
- package/skills/railway/database/references/monorepo.md +216 -0
- package/skills/railway/database/references/railpack.md +257 -0
- package/skills/railway/database/references/variables.md +170 -0
- package/skills/railway/database/scripts/railway-api.sh +41 -0
- package/skills/railway/deploy/SKILL.md +128 -0
- package/skills/railway/deploy/references/environment-config.md +183 -0
- package/skills/railway/deploy/references/monorepo.md +216 -0
- package/skills/railway/deploy/references/railpack.md +257 -0
- package/skills/railway/deploy/references/variables.md +170 -0
- package/skills/railway/deployment/SKILL.md +222 -0
- package/skills/railway/deployment/references/environment-config.md +183 -0
- package/skills/railway/deployment/references/monorepo.md +216 -0
- package/skills/railway/deployment/references/railpack.md +257 -0
- package/skills/railway/deployment/references/variables.md +170 -0
- package/skills/railway/domain/SKILL.md +137 -0
- package/skills/railway/domain/references/environment-config.md +183 -0
- package/skills/railway/domain/references/monorepo.md +216 -0
- package/skills/railway/domain/references/railpack.md +257 -0
- package/skills/railway/domain/references/variables.md +170 -0
- package/skills/railway/environment/SKILL.md +266 -0
- package/skills/railway/environment/references/environment-config.md +183 -0
- package/skills/railway/environment/references/monorepo.md +216 -0
- package/skills/railway/environment/references/railpack.md +257 -0
- package/skills/railway/environment/references/variables.md +170 -0
- package/skills/railway/metrics/SKILL.md +211 -0
- package/skills/railway/metrics/references/environment-config.md +183 -0
- package/skills/railway/metrics/references/monorepo.md +216 -0
- package/skills/railway/metrics/references/railpack.md +257 -0
- package/skills/railway/metrics/references/variables.md +170 -0
- package/skills/railway/metrics/scripts/railway-api.sh +41 -0
- package/skills/railway/new/SKILL.md +489 -0
- package/skills/railway/new/references/environment-config.md +183 -0
- package/skills/railway/new/references/monorepo.md +216 -0
- package/skills/railway/new/references/railpack.md +257 -0
- package/skills/railway/new/references/variables.md +170 -0
- package/skills/railway/projects/SKILL.md +142 -0
- package/skills/railway/projects/references/environment-config.md +183 -0
- package/skills/railway/projects/references/monorepo.md +216 -0
- package/skills/railway/projects/references/railpack.md +257 -0
- package/skills/railway/projects/references/variables.md +170 -0
- package/skills/railway/projects/scripts/railway-api.sh +41 -0
- package/skills/railway/railway-docs/SKILL.md +47 -0
- package/skills/railway/railway-docs/references/environment-config.md +183 -0
- package/skills/railway/railway-docs/references/monorepo.md +216 -0
- package/skills/railway/railway-docs/references/railpack.md +257 -0
- package/skills/railway/railway-docs/references/variables.md +170 -0
- package/skills/railway/service/SKILL.md +249 -0
- package/skills/railway/service/references/environment-config.md +183 -0
- package/skills/railway/service/references/monorepo.md +216 -0
- package/skills/railway/service/references/railpack.md +257 -0
- package/skills/railway/service/references/variables.md +170 -0
- package/skills/railway/service/scripts/railway-api.sh +41 -0
- package/skills/railway/status/SKILL.md +91 -0
- package/skills/railway/status/references/environment-config.md +183 -0
- package/skills/railway/status/references/monorepo.md +216 -0
- package/skills/railway/status/references/railpack.md +257 -0
- package/skills/railway/status/references/variables.md +170 -0
- package/skills/railway/templates/SKILL.md +275 -0
- package/skills/railway/templates/references/environment-config.md +183 -0
- package/skills/railway/templates/references/monorepo.md +216 -0
- package/skills/railway/templates/references/railpack.md +257 -0
- package/skills/railway/templates/references/variables.md +170 -0
- package/skills/railway/templates/scripts/railway-api.sh +41 -0
- package/skills/restart/SKILL.md +70 -0
- package/skills/review-pr/SKILL.md +367 -0
- package/skills/roi-calculator/SKILL.md +469 -0
- package/skills/scan/SKILL.md +232 -0
- package/skills/setup/SKILL.md +691 -0
- package/skills/share/SKILL.md +211 -0
- package/skills/solution-architect/SKILL.md +566 -0
- package/skills/sre/SKILL.md +362 -0
- package/skills/superpowers/brainstorming/SKILL.md +96 -0
- package/skills/superpowers/dispatching-parallel-agents/SKILL.md +180 -0
- package/skills/superpowers/executing-plans/SKILL.md +84 -0
- package/skills/superpowers/finishing-a-development-branch/SKILL.md +200 -0
- package/skills/superpowers/receiving-code-review/SKILL.md +213 -0
- package/skills/superpowers/requesting-code-review/SKILL.md +105 -0
- package/skills/superpowers/requesting-code-review/code-reviewer.md +146 -0
- package/skills/superpowers/subagent-driven-development/SKILL.md +242 -0
- package/skills/superpowers/subagent-driven-development/code-quality-reviewer-prompt.md +20 -0
- package/skills/superpowers/subagent-driven-development/implementer-prompt.md +78 -0
- package/skills/superpowers/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/skills/superpowers/systematic-debugging/CREATION-LOG.md +119 -0
- package/skills/superpowers/systematic-debugging/SKILL.md +296 -0
- package/skills/superpowers/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/skills/superpowers/systematic-debugging/condition-based-waiting.md +115 -0
- package/skills/superpowers/systematic-debugging/defense-in-depth.md +122 -0
- package/skills/superpowers/systematic-debugging/find-polluter.sh +63 -0
- package/skills/superpowers/systematic-debugging/root-cause-tracing.md +169 -0
- package/skills/superpowers/systematic-debugging/test-academic.md +14 -0
- package/skills/superpowers/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/superpowers/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/superpowers/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/superpowers/test-driven-development/SKILL.md +371 -0
- package/skills/superpowers/test-driven-development/testing-anti-patterns.md +299 -0
- package/skills/superpowers/using-git-worktrees/SKILL.md +218 -0
- package/skills/superpowers/using-superpowers/SKILL.md +95 -0
- package/skills/superpowers/verification-before-completion/SKILL.md +139 -0
- package/skills/superpowers/writing-plans/SKILL.md +116 -0
- package/skills/superpowers/writing-skills/SKILL.md +655 -0
- package/skills/superpowers/writing-skills/anthropic-best-practices.md +1150 -0
- package/skills/superpowers/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/skills/superpowers/writing-skills/graphviz-conventions.dot +172 -0
- package/skills/superpowers/writing-skills/persuasion-principles.md +187 -0
- package/skills/superpowers/writing-skills/render-graphs.js +168 -0
- package/skills/superpowers/writing-skills/testing-skills-with-subagents.md +384 -0
- package/skills/sync/SKILL.md +188 -0
- package/skills/templates/SKILL.md +194 -0
- package/skills/welcome/SKILL.md +136 -0
- package/skills/wizard/SKILL.md +411 -0
- package/templates/CLAUDE.md.managed-block +123 -0
- package/templates/CLAUDE.md.template +111 -0
- package/templates/consulting/engagement-tracker-template.md +181 -0
- package/templates/consulting/executive-summary-template.md +83 -0
- package/templates/consulting/maturity-assessment-template.md +182 -0
- package/templates/consulting/proposal-template.md +209 -0
- package/templates/consulting/roi-model-template.md +139 -0
- package/templates/consulting/solution-architecture-template.md +313 -0
- package/templates/settings.json +130 -0
|
@@ -0,0 +1,436 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: planning
|
|
3
|
+
description: "Spin up an adversarial planning team for a feature. Usage: /planning <feature-name> [--design] [--gtm] [--fast] [--lite] [-- <brief>]"
|
|
4
|
+
user-invocable: true
|
|
5
|
+
arguments: "<feature-name> <--design> <--gtm> <--fast> <--lite> <-- brief>"
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Planning Team Skill
|
|
9
|
+
|
|
10
|
+
Automates the full planning team workflow into a single command, using structured adversarial debate rounds to produce a hardened, scope-locked plan.
|
|
11
|
+
|
|
12
|
+
## Argument Parsing
|
|
13
|
+
|
|
14
|
+
Parse from the argument string:
|
|
15
|
+
- `feature-name`: Required. Kebab-case name for the feature (used in team name).
|
|
16
|
+
- `--design`: Optional flag. Include Design Thinker + Design Critic teammates.
|
|
17
|
+
- `--gtm`: Optional flag. Include GTM Expert teammate.
|
|
18
|
+
- `--fast`: Optional flag. Skip Round 3 (risk debate). DA participates in Rounds 1 and 2 only.
|
|
19
|
+
- `--lite`: Optional flag. No devil's advocate. PM + Architect only with checklist-based risk evaluation.
|
|
20
|
+
- `-- <brief>`: Optional inline brief. Everything after `--` (not followed by a flag name) is the feature brief.
|
|
21
|
+
|
|
22
|
+
If no feature name is provided, use AskUserQuestion to get it.
|
|
23
|
+
|
|
24
|
+
## Execution Steps
|
|
25
|
+
|
|
26
|
+
### 1. Gather Context (before spawning anyone)
|
|
27
|
+
|
|
28
|
+
Check if an inline brief was provided after `--` in the arguments. If yes, use it directly as `FEATURE_BRIEF` and skip asking.
|
|
29
|
+
|
|
30
|
+
If no inline brief was provided, ask the user with AskUserQuestion:
|
|
31
|
+
- "Describe the feature in 2-3 sentences — what problem does it solve and for whom?"
|
|
32
|
+
|
|
33
|
+
Store their response as `FEATURE_BRIEF`.
|
|
34
|
+
|
|
35
|
+
### 2. Mode Selection
|
|
36
|
+
|
|
37
|
+
If `--lite` or `--fast` was passed as an argument, skip the prompt and use that mode directly.
|
|
38
|
+
|
|
39
|
+
Otherwise, present this prompt to the user with AskUserQuestion:
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
Planning mode:
|
|
43
|
+
[1] Lite — PM + Architect only, checklist risk review (~421x cost, fastest)
|
|
44
|
+
[2] Fast — PM + Architect + Devil's Advocate, skip risk round (~431x cost, balanced)
|
|
45
|
+
[3] Full — 3 structured debate rounds with DA (~641x cost, most thorough)
|
|
46
|
+
[auto] — decide based on feature scope
|
|
47
|
+
|
|
48
|
+
Your pick? [auto]
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
If user picks `[auto]` or presses enter without input, apply auto-detection:
|
|
52
|
+
- `FEATURE_BRIEF` has fewer than 50 words AND none of the words "auth", "payment", "migration", "security", "permission", "billing", "database", "breaking" appear → set mode `lite`
|
|
53
|
+
- `FEATURE_BRIEF` has 50–150 words OR contains one complexity signal keyword → set mode `fast`
|
|
54
|
+
- `FEATURE_BRIEF` has more than 150 words OR contains multiple complexity signal keywords OR user asked for "thorough" or "full" planning → set mode `full`
|
|
55
|
+
|
|
56
|
+
Map user choices:
|
|
57
|
+
- `[1]` or `lite` → `--lite` mode
|
|
58
|
+
- `[2]` or `fast` → `--fast` mode
|
|
59
|
+
- `[3]` or `full` → default full mode
|
|
60
|
+
|
|
61
|
+
Store the resolved mode as `DEBATE_MODE` (values: `lite`, `fast`, `full`).
|
|
62
|
+
|
|
63
|
+
### 3. Codebase Scan
|
|
64
|
+
|
|
65
|
+
Spawn an `explore-light` subagent (model: haiku) to scan for relevant files:
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
prompt: "For a feature called '{feature-name}', find: (1) related backend routes/services, (2) related frontend pages/components, (3) related database models, (4) any existing tests. Return a structured summary of file paths and their purpose. Feature brief: {FEATURE_BRIEF}"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Store the result as `CODEBASE_CONTEXT`.
|
|
72
|
+
|
|
73
|
+
### 4. Create Team + Tasks
|
|
74
|
+
|
|
75
|
+
Create team: `planning-{feature-name}`
|
|
76
|
+
|
|
77
|
+
Create these tasks:
|
|
78
|
+
|
|
79
|
+
| Task | Owner | Subject |
|
|
80
|
+
|------|-------|---------|
|
|
81
|
+
| 1 | product-manager | Define product spec for {feature-name} |
|
|
82
|
+
| 2 | architect | Design technical plan for {feature-name} |
|
|
83
|
+
| 3 (if --design) | design-thinker | Create design brief for {feature-name} |
|
|
84
|
+
| 4 (if not --lite) | devils-advocate | Challenge scope and feasibility for {feature-name} |
|
|
85
|
+
|
|
86
|
+
### 5. Build Shared Context Block
|
|
87
|
+
|
|
88
|
+
Compose this block to inject into every teammate's spawn prompt:
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
## Project Context
|
|
92
|
+
{PROJECT_NAME} - {PROJECT_DESCRIPTION}
|
|
93
|
+
Stack: {TECH_STACK}
|
|
94
|
+
Stage: {DEVELOPMENT_STAGE}
|
|
95
|
+
Auth: {AUTH_APPROACH}
|
|
96
|
+
|
|
97
|
+
## Feature: {feature-name}
|
|
98
|
+
{FEATURE_BRIEF}
|
|
99
|
+
|
|
100
|
+
## Relevant Codebase
|
|
101
|
+
{CODEBASE_CONTEXT}
|
|
102
|
+
|
|
103
|
+
## Your Team
|
|
104
|
+
You are on team "planning-{feature-name}". Use SendMessage to collaborate.
|
|
105
|
+
Other teammates: {list who's on the team based on flags}
|
|
106
|
+
|
|
107
|
+
## Debate Mode
|
|
108
|
+
This planning session runs in {DEBATE_MODE} mode.
|
|
109
|
+
- Full: 3 structured debate rounds (scope, feasibility, risk).
|
|
110
|
+
- Fast: 2 structured debate rounds (scope, feasibility). Round 3 is skipped.
|
|
111
|
+
- Lite: No devil's advocate. PM + Architect + checklist risk review.
|
|
112
|
+
|
|
113
|
+
## Rules
|
|
114
|
+
- Every claim must include EVIDENCE (code references, cost estimates, or user data).
|
|
115
|
+
- Verdicts are final for that round — do not re-litigate decided items.
|
|
116
|
+
- If DA recommends KILL and user overrides, record as USER OVERRIDE in the plan.
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
### 6. Spawn Teammates (ALL IN ONE MESSAGE — parallel)
|
|
120
|
+
|
|
121
|
+
Spawn all teammates in a **single message** with multiple Task tool calls:
|
|
122
|
+
|
|
123
|
+
**Always spawn:**
|
|
124
|
+
- **product-manager** (subagent_type="product-manager", model="opus")
|
|
125
|
+
- Prompt: "{SHARED_CONTEXT}\n\nYou are the PM. Own the 'what' and 'why'.\n\nIn Round 1, you LEAD with your scope claim. Format your must-haves as:\n [M1] requirement — BECAUSE reason\n [M2] ...\nMaximum 5 MUST-HAVEs. Also list NICE-TO-HAVEs with CUT-IF conditions, EXPLICIT EXCLUSIONS, and success metrics.\n\nIn Round 2, you COUNTER the architect's approach: does it deliver user value, is it over-engineered, what is the time-to-value?\n\nIn Round 3 (full mode only), you DEFEND against the devil's advocate's risk case. Accept or reject each risk with evidence."
|
|
126
|
+
|
|
127
|
+
- **architect** (subagent_type="architect", model="opus")
|
|
128
|
+
- Prompt: "{SHARED_CONTEXT}\n\nYou are the Architect. Own the 'how'.\n\nIn Round 1, you COUNTER the PM's scope from a feasibility lens. Challenge feasibility, flag hidden complexity, identify scope creep vectors, propose a counter-scope.\n\nIn Round 2, you LEAD with your technical approach: API contract, DB changes, architecture decision + WHY, task breakdown with S/M/L/XL estimates, implementation cost, dependencies, risks.\n\nIn Round 3 (full mode only), you DEFEND against the devil's advocate's risk case. Accept or reject each risk with evidence. Keep it simple for early-stage. Push back on scope that doesn't match the development stage."
|
|
129
|
+
|
|
130
|
+
**Spawn if not --lite:**
|
|
131
|
+
- **devils-advocate** (subagent_type="qa-challenger", model="sonnet")
|
|
132
|
+
- Prompt: "{SHARED_CONTEXT}\n\nYou are the Devil's Advocate. You own RISK. Your mission: make the plan TIGHTER and more REALISTIC — not to block progress.\n\nYou succeed when the plan is smaller, cheaper, and more likely to ship. You fail when you kill good work with vague concerns.\n\nIn Round 1, you ATTACK the PM's scope claim: rate each item for CREEP RISK (LOW / MEDIUM / HIGH), surface HIDDEN ASSUMPTIONS, identify YAGNI violations, estimate implementation cost per item, recommend a CUT LIST.\n\nIn Round 2, you ATTACK the architect's approach: identify hidden complexity based on the codebase context, integration risks, cost underestimates, and propose a simpler alternative approach if one exists.\n\nIn Round 3 (full mode only), you LEAD with your risk case: (a) pre-mortem — name 3 specific failure modes with evidence, (b) scope creep forecast — which must-haves will expand, (c) cost reality check — where estimates are wrong, (d) THE KILL QUESTION — argue whether we should build this at all, (e) acceptance test gaps. After PM + Architect defend, issue a final verdict: SATISFIED or UNSATISFIED per defense, and rate overall confidence HIGH / MEDIUM / LOW."
|
|
133
|
+
|
|
134
|
+
**Spawn if --design flag:**
|
|
135
|
+
- **design-thinker** (subagent_type="design-studio:think", model="sonnet")
|
|
136
|
+
- Prompt: "{SHARED_CONTEXT}\n\nYou are the Design Thinker. Clarify user needs, explore UX goals, and create a design brief BEFORE implementation decisions. Share your brief with PM and Architect. Challenge both on user experience. Your output feeds into Round 3 as additional evidence for the devil's advocate. (In --fast mode where Round 3 is skipped, your outputs feed into Round 2 Phase 3 only.)"
|
|
137
|
+
|
|
138
|
+
- **design-critic** (subagent_type="design-studio:critique", model="sonnet")
|
|
139
|
+
- Prompt: "{SHARED_CONTEXT}\n\nYou are the Design Critic. Review design proposals from the team against established design principles. Provide actionable feedback. Wait for the design brief before critiquing. Your critique feeds into Round 3 as additional evidence for the devil's advocate. (In --fast mode where Round 3 is skipped, your outputs feed into Round 2 Phase 3 only.)"
|
|
140
|
+
|
|
141
|
+
**Spawn if --gtm flag:**
|
|
142
|
+
- **gtm-expert** (subagent_type="gtm-expert", model="sonnet")
|
|
143
|
+
- Prompt: "{SHARED_CONTEXT}\n\nYou are the GTM Expert. Own distribution and launch strategy. Advise on positioning, viral mechanics, and launch sequencing. Challenge the team on how users will discover and adopt this feature. Your output feeds into Round 3 as additional evidence for the devil's advocate."
|
|
144
|
+
|
|
145
|
+
### 7. Structured Debate Protocol
|
|
146
|
+
|
|
147
|
+
Facilitate the following rounds in sequence. Each phase completes before the next begins.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
#### ROUND 1: SCOPE DEBATE
|
|
152
|
+
|
|
153
|
+
**Phase 1 — PM CLAIM**
|
|
154
|
+
|
|
155
|
+
The PM posts their scope claim. Required format:
|
|
156
|
+
- MUST-HAVEs (max 5): `[M1] requirement — BECAUSE reason`
|
|
157
|
+
- NICE-TO-HAVEs: each with a `CUT-IF` condition
|
|
158
|
+
- EXPLICIT EXCLUSIONS: what this feature deliberately does not do
|
|
159
|
+
- SUCCESS METRICS: how we know this shipped successfully
|
|
160
|
+
|
|
161
|
+
**Phase 2 — ARCHITECT COUNTER**
|
|
162
|
+
|
|
163
|
+
The Architect responds to the PM's scope claim:
|
|
164
|
+
- Which items are feasible as stated?
|
|
165
|
+
- Which hide unexpected complexity?
|
|
166
|
+
- Which are scope creep vectors?
|
|
167
|
+
- Proposed counter-scope (reworded or reduced must-haves)
|
|
168
|
+
|
|
169
|
+
**Phase 3 — DA ATTACK** (skip if --lite)
|
|
170
|
+
|
|
171
|
+
The Devil's Advocate rates each must-have item:
|
|
172
|
+
- CREEP RISK: LOW / MEDIUM / HIGH per item
|
|
173
|
+
- HIDDEN ASSUMPTIONS: unstated prerequisites
|
|
174
|
+
- YAGNI VIOLATIONS: items built for a future that may not come
|
|
175
|
+
- COST ESTIMATE: rough implementation cost per item (S/M/L/XL)
|
|
176
|
+
- CUT LIST: recommended items to defer or kill
|
|
177
|
+
|
|
178
|
+
**Phase 4 — ROUND 1 VERDICT**
|
|
179
|
+
|
|
180
|
+
Orchestrator issues a structured verdict:
|
|
181
|
+
- LOCKED MUST-HAVES: confirmed with no objections or resolved objections
|
|
182
|
+
- DEFERRED: moved to a future iteration with reason
|
|
183
|
+
- REJECTED: cut with reason
|
|
184
|
+
- EXCLUSIONS: hardened from PM's list
|
|
185
|
+
- UNRESOLVED: items where PM, Architect, and DA disagree — escalate to user
|
|
186
|
+
|
|
187
|
+
---
|
|
188
|
+
|
|
189
|
+
#### ROUND 2: FEASIBILITY DEBATE
|
|
190
|
+
|
|
191
|
+
**Phase 1 — ARCHITECT CLAIM**
|
|
192
|
+
|
|
193
|
+
The Architect presents the technical approach:
|
|
194
|
+
- API contract (endpoints, inputs, outputs)
|
|
195
|
+
- DB changes (schema additions, migrations)
|
|
196
|
+
- Architecture decision + WHY (not just what)
|
|
197
|
+
- Task breakdown with S/M/L/XL estimates
|
|
198
|
+
- Implementation cost (total estimate)
|
|
199
|
+
- Dependencies (external services, libraries, teams)
|
|
200
|
+
- Known risks
|
|
201
|
+
|
|
202
|
+
**Phase 2 — PM COUNTER**
|
|
203
|
+
|
|
204
|
+
The PM challenges the approach:
|
|
205
|
+
- Does it deliver user value as scoped?
|
|
206
|
+
- Is any part over-engineered for the current stage?
|
|
207
|
+
- What is the time-to-value for the user?
|
|
208
|
+
|
|
209
|
+
**Phase 3 — DA ATTACK** (skip if --lite)
|
|
210
|
+
|
|
211
|
+
The Devil's Advocate challenges the approach:
|
|
212
|
+
- Hidden complexity not visible in the proposal (reference `CODEBASE_CONTEXT`)
|
|
213
|
+
- Integration risks with existing systems
|
|
214
|
+
- Where the cost estimate is likely wrong
|
|
215
|
+
- Simpler alternative approach (if one exists)
|
|
216
|
+
|
|
217
|
+
If --design or --gtm agents are present, their outputs are included here as additional evidence.
|
|
218
|
+
|
|
219
|
+
**Phase 4 — ROUND 2 VERDICT**
|
|
220
|
+
|
|
221
|
+
Orchestrator issues verdict:
|
|
222
|
+
- APPROVED APPROACH: technical approach as modified by debate
|
|
223
|
+
- MODIFICATIONS FROM DEBATE: what changed from the architect's original proposal
|
|
224
|
+
- COST ESTIMATE: agreed estimate with confidence range
|
|
225
|
+
- RISKS ACKNOWLEDGED: known risks accepted going forward
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
#### ROUND 3: RISK AND COST DEBATE (skip if --fast or --lite)
|
|
230
|
+
|
|
231
|
+
**Phase 1 — DA CLAIM**
|
|
232
|
+
|
|
233
|
+
The Devil's Advocate presents the risk case:
|
|
234
|
+
- PRE-MORTEM: 3 specific failure modes, each with evidence from codebase or domain
|
|
235
|
+
- SCOPE CREEP FORECAST: which locked must-haves are likely to expand during implementation and why
|
|
236
|
+
- COST REALITY CHECK: where the Round 2 estimate is likely to be exceeded
|
|
237
|
+
- THE KILL QUESTION: a structured argument for whether this feature should be built at all (PM and Architect must respond to this)
|
|
238
|
+
- ACCEPTANCE TEST GAPS: which acceptance criteria are untestable or ambiguous
|
|
239
|
+
|
|
240
|
+
If --design or --gtm agents are present, include their outputs as supporting evidence.
|
|
241
|
+
|
|
242
|
+
**Phase 2 — PM + ARCHITECT DEFENSE**
|
|
243
|
+
|
|
244
|
+
PM and Architect respond to each risk point:
|
|
245
|
+
- ACCEPT: risk is real, we accept it and proceed
|
|
246
|
+
- REJECT: risk is not valid — here is the evidence
|
|
247
|
+
- MITIGATE: risk is real, here is the mitigation plan
|
|
248
|
+
|
|
249
|
+
Each response must include evidence (not just assertion).
|
|
250
|
+
|
|
251
|
+
**Phase 3 — DA FINAL**
|
|
252
|
+
|
|
253
|
+
Devil's Advocate issues final verdict:
|
|
254
|
+
- SATISFIED or UNSATISFIED per defense item
|
|
255
|
+
- Overall confidence rating: HIGH / MEDIUM / LOW
|
|
256
|
+
- If KILL QUESTION remains unanswered or defense was weak: flag as ESCALATE
|
|
257
|
+
|
|
258
|
+
**Phase 4 — ROUND 3 VERDICT**
|
|
259
|
+
|
|
260
|
+
Orchestrator issues verdict:
|
|
261
|
+
- ACCEPTED RISKS: risks both acknowledged and accepted
|
|
262
|
+
- MITIGATED RISKS: risks with approved mitigation plans
|
|
263
|
+
- KILL CRITERIA: conditions under which implementation should stop
|
|
264
|
+
- CONFIDENCE: rating from all 3 agents
|
|
265
|
+
- PLAN STATUS: one of:
|
|
266
|
+
- APPROVED — all conditions met, proceed
|
|
267
|
+
- APPROVED WITH CONDITIONS — proceed, but note conditions explicitly
|
|
268
|
+
- ESCALATE TO USER — unresolved items require human decision
|
|
269
|
+
|
|
270
|
+
---
|
|
271
|
+
|
|
272
|
+
#### LITE MODE: RISK CHECKLIST (replaces Round 3)
|
|
273
|
+
|
|
274
|
+
After Round 2, the orchestrator runs a checklist:
|
|
275
|
+
- Any must-have with complexity >= L?
|
|
276
|
+
- Any item touching auth, payments, or data migration?
|
|
277
|
+
- More than 5 backend tasks?
|
|
278
|
+
- Any new database table?
|
|
279
|
+
|
|
280
|
+
Each matched item is flagged as a RISK NOTE in the plan.
|
|
281
|
+
|
|
282
|
+
---
|
|
283
|
+
|
|
284
|
+
### 8. Convergence Logic
|
|
285
|
+
|
|
286
|
+
**Plan is APPROVED when ALL of the following are true after all applicable rounds complete:**
|
|
287
|
+
- Rounds 1 and 2 have zero UNRESOLVED items
|
|
288
|
+
- At least 2 of 3 agents (PM, Architect, DA) rate confidence >= MEDIUM
|
|
289
|
+
- DA rates confidence >= MEDIUM
|
|
290
|
+
- DA does not recommend KILL
|
|
291
|
+
|
|
292
|
+
**Escalate to user when ANY of the following are true:**
|
|
293
|
+
- Any round has UNRESOLVED items
|
|
294
|
+
- DA confidence is LOW
|
|
295
|
+
- DA recommends KILL and PM + Architect disagree
|
|
296
|
+
|
|
297
|
+
If user overrides a KILL recommendation, record as `USER OVERRIDE` in the plan.
|
|
298
|
+
|
|
299
|
+
In lite and fast modes, skip convergence checks for rounds that were not run. Apply only the checks applicable to completed rounds.
|
|
300
|
+
|
|
301
|
+
### 9. Scope Lock
|
|
302
|
+
|
|
303
|
+
After convergence, compute a `scope_hash`:
|
|
304
|
+
- Concatenate all locked MUST-HAVE strings from Round 1 in order
|
|
305
|
+
- Compute SHA-256 of that string
|
|
306
|
+
- Write the hash into the plan file frontmatter as `scope_hash`
|
|
307
|
+
|
|
308
|
+
When `/implement` loads the plan, it can verify the hash against the locked must-haves to detect tampering.
|
|
309
|
+
|
|
310
|
+
### 10. Write Plan File + Present to User
|
|
311
|
+
|
|
312
|
+
Synthesize teammate outputs into a structured plan and **write it to `.claude/plans/{feature-name}.md`** using the Write tool. This file is read by `/implement` to auto-configure the implementation team.
|
|
313
|
+
|
|
314
|
+
**Plan file format:**
|
|
315
|
+
|
|
316
|
+
```markdown
|
|
317
|
+
---
|
|
318
|
+
feature: {feature-name}
|
|
319
|
+
debate_mode: {DEBATE_MODE}
|
|
320
|
+
scope_hash: {SHA-256 of locked must-haves}
|
|
321
|
+
da_confidence: {HIGH|MEDIUM|LOW|N/A}
|
|
322
|
+
layers:
|
|
323
|
+
- frontend # include if ANY frontend tasks exist
|
|
324
|
+
- backend # include if ANY backend tasks exist
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
# Planning Summary: {feature-name}
|
|
328
|
+
|
|
329
|
+
## Problem & User Segment (from PM)
|
|
330
|
+
...
|
|
331
|
+
|
|
332
|
+
## Technical Approach (from Architect)
|
|
333
|
+
### API Contract
|
|
334
|
+
...
|
|
335
|
+
### Database Changes
|
|
336
|
+
...
|
|
337
|
+
|
|
338
|
+
## Design Direction (from Design, if included)
|
|
339
|
+
...
|
|
340
|
+
|
|
341
|
+
## GTM Notes (from GTM, if included)
|
|
342
|
+
...
|
|
343
|
+
|
|
344
|
+
## Scope Lock
|
|
345
|
+
|
|
346
|
+
**Locked Must-Haves:**
|
|
347
|
+
- [M1] requirement — BECAUSE reason
|
|
348
|
+
- [M2] ...
|
|
349
|
+
|
|
350
|
+
**Hard Boundary (Explicit Exclusions):**
|
|
351
|
+
- ...
|
|
352
|
+
|
|
353
|
+
**Deferred:**
|
|
354
|
+
- ...
|
|
355
|
+
|
|
356
|
+
**Rejected:**
|
|
357
|
+
- ...
|
|
358
|
+
|
|
359
|
+
## Implementation Cost Estimate
|
|
360
|
+
|
|
361
|
+
| Item | Estimate | Confidence |
|
|
362
|
+
|------|----------|------------|
|
|
363
|
+
| {task} | {S/M/L/XL} | {HIGH/MED/LOW} |
|
|
364
|
+
| **Total** | **{range}** | **{confidence}** |
|
|
365
|
+
|
|
366
|
+
## Debate Record
|
|
367
|
+
|
|
368
|
+
### Round 1: Scope Debate
|
|
369
|
+
**Verdict:** {LOCKED / DEFERRED / REJECTED / UNRESOLVED items}
|
|
370
|
+
|
|
371
|
+
### Round 2: Feasibility Debate
|
|
372
|
+
**Verdict:** {APPROVED APPROACH / MODIFICATIONS / COST ESTIMATE / RISKS ACKNOWLEDGED}
|
|
373
|
+
|
|
374
|
+
### Round 3: Risk and Cost Debate
|
|
375
|
+
**Verdict:** {ACCEPTED RISKS / MITIGATED RISKS / KILL CRITERIA / CONFIDENCE / PLAN STATUS}
|
|
376
|
+
*(Omitted in fast/lite mode)*
|
|
377
|
+
|
|
378
|
+
## Task Breakdown
|
|
379
|
+
### Backend Tasks
|
|
380
|
+
1. ...
|
|
381
|
+
### Frontend Tasks
|
|
382
|
+
1. ...
|
|
383
|
+
|
|
384
|
+
## Acceptance Criteria
|
|
385
|
+
1. ...
|
|
386
|
+
|
|
387
|
+
## Success Metrics
|
|
388
|
+
...
|
|
389
|
+
```
|
|
390
|
+
|
|
391
|
+
**Rules for the `layers` field:**
|
|
392
|
+
- Include `frontend` if the plan has ANY frontend tasks (UI changes, component work, frontend API integration)
|
|
393
|
+
- Include `backend` if the plan has ANY backend tasks (routes, services, models, migrations, domain logic changes)
|
|
394
|
+
- Include both if the plan spans both layers
|
|
395
|
+
- This field drives which agents `/implement` spawns — get it right
|
|
396
|
+
|
|
397
|
+
Present the plan to the user for review.
|
|
398
|
+
|
|
399
|
+
### 11. Cleanup
|
|
400
|
+
|
|
401
|
+
After user reviews the plan:
|
|
402
|
+
- Send shutdown_request to all teammates.
|
|
403
|
+
- TeamDelete after all teammates confirm shutdown.
|
|
404
|
+
- Report: "Planning complete. Run `/implement {feature-name}` to start implementation."
|
|
405
|
+
|
|
406
|
+
## Cost Optimization
|
|
407
|
+
|
|
408
|
+
| Role | Model | Rationale |
|
|
409
|
+
|------|-------|-----------|
|
|
410
|
+
| explore-light (scan) | haiku | Just file search |
|
|
411
|
+
| product-manager | opus | Strategic reasoning |
|
|
412
|
+
| architect | opus | Technical design decisions |
|
|
413
|
+
| devils-advocate | sonnet | Adversarial pressure, not generation |
|
|
414
|
+
| design-thinker | sonnet | Creative but bounded |
|
|
415
|
+
| design-critic | sonnet | Evaluation, not generation |
|
|
416
|
+
| gtm-expert | sonnet | Strategic but scoped |
|
|
417
|
+
|
|
418
|
+
**Cost by mode:**
|
|
419
|
+
|
|
420
|
+
| Mode | Approx. Cost | Speed | Agents | Rounds |
|
|
421
|
+
|------|-------------|-------|--------|--------|
|
|
422
|
+
| Lite | ~421x | Fastest | PM + Architect | 2 rounds + checklist |
|
|
423
|
+
| Fast | ~431x | Balanced | PM + Architect + DA | Rounds 1–2 only |
|
|
424
|
+
| Full | ~641x | Most thorough | PM + Architect + DA | All 3 rounds |
|
|
425
|
+
|
|
426
|
+
## Continuation (Workflow Chaining)
|
|
427
|
+
|
|
428
|
+
After the plan is written and presented:
|
|
429
|
+
|
|
430
|
+
**If autopilot is active** (check `.claude/.workflow-state.json` mode == "autopilot"):
|
|
431
|
+
- Do NOT ask "should I proceed?" — proceed directly to `/implement {feature-name}`
|
|
432
|
+
- Update workflow state: `phase: "implement"`
|
|
433
|
+
|
|
434
|
+
**If guided mode** (no autopilot or mode != "autopilot"):
|
|
435
|
+
- Present: "Plan ready at `.claude/plans/{feature-name}.md`. Next step: `/implement {feature-name}` to start coding. Should I proceed?"
|
|
436
|
+
- Wait for user confirmation before invoking `/implement`
|