claudecode-omc 5.11.0 → 5.13.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/.local/skills/prompt-pilot/SKILL.md +258 -0
- package/bundled/manifest.json +3 -3
- package/bundled/upstream/anthropic-skills/.omc-source/bundle.json +2 -2
- package/bundled/upstream/anthropic-skills/.omc-source/provenance.json +394 -390
- package/bundled/upstream/anthropic-skills/skills/claude-api/SKILL.md +60 -29
- package/bundled/upstream/anthropic-skills/skills/claude-api/csharp/claude-api.md +46 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/curl/examples.md +2 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/curl/managed-agents.md +3 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/go/claude-api.md +23 -4
- package/bundled/upstream/anthropic-skills/skills/claude-api/java/claude-api.md +32 -3
- package/bundled/upstream/anthropic-skills/skills/claude-api/php/claude-api.md +27 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/README.md +123 -7
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/batches.md +13 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/files-api.md +7 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/claude-api/streaming.md +18 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/python/managed-agents/README.md +9 -7
- package/bundled/upstream/anthropic-skills/skills/claude-api/ruby/claude-api.md +27 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/agent-design.md +1 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/anthropic-cli.md +246 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/claude-platform-on-aws.md +59 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/error-codes.md +24 -4
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/live-sources.md +8 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-api-reference.md +48 -4
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-client-patterns.md +3 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-core.md +15 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-environments.md +10 -6
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-events.md +25 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-onboarding.md +48 -18
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-overview.md +8 -5
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-scheduled-deployments.md +144 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-self-hosted-sandboxes.md +2 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/managed-agents-tools.md +46 -9
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/model-migration.md +259 -3
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/models.md +17 -9
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/prompt-caching.md +55 -3
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/token-counting.md +56 -0
- package/bundled/upstream/anthropic-skills/skills/claude-api/shared/tool-use-concepts.md +22 -2
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/README.md +45 -6
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/claude-api/streaming.md +1 -1
- package/bundled/upstream/anthropic-skills/skills/claude-api/typescript/managed-agents/README.md +10 -12
- package/bundled/upstream/anthropic-skills/skills/frontend-design/SKILL.md +39 -26
- package/bundled/upstream/ecc/.omc-source/bundle.json +2 -2
- package/bundled/upstream/ecc/.omc-source/manifests/.claude-plugin/marketplace.json +2 -2
- package/bundled/upstream/ecc/.omc-source/provenance.json +602 -550
- package/bundled/upstream/ecc/agents/agent-evaluator.md +206 -0
- package/bundled/upstream/ecc/agents/performance-optimizer.md +9 -9
- package/bundled/upstream/ecc/agents/php-reviewer.md +109 -0
- package/bundled/upstream/ecc/agents/spec-miner.md +217 -0
- package/bundled/upstream/ecc/agents/vue-reviewer.md +206 -0
- package/bundled/upstream/ecc/commands/cost-report.md +58 -84
- package/bundled/upstream/ecc/commands/epic-claim.md +26 -0
- package/bundled/upstream/ecc/commands/epic-decompose.md +23 -0
- package/bundled/upstream/ecc/commands/epic-publish.md +23 -0
- package/bundled/upstream/ecc/commands/epic-review.md +23 -0
- package/bundled/upstream/ecc/commands/epic-sync.md +23 -0
- package/bundled/upstream/ecc/commands/epic-unblock.md +22 -0
- package/bundled/upstream/ecc/commands/epic-validate.md +22 -0
- package/bundled/upstream/ecc/commands/instinct-status.md +8 -8
- package/bundled/upstream/ecc/commands/multi-backend.md +2 -0
- package/bundled/upstream/ecc/commands/multi-execute.md +2 -0
- package/bundled/upstream/ecc/commands/multi-frontend.md +2 -0
- package/bundled/upstream/ecc/commands/multi-plan.md +2 -0
- package/bundled/upstream/ecc/commands/multi-workflow.md +2 -0
- package/bundled/upstream/ecc/commands/orch-add-feature.md +36 -0
- package/bundled/upstream/ecc/commands/orch-build-mvp.md +36 -0
- package/bundled/upstream/ecc/commands/orch-change-feature.md +38 -0
- package/bundled/upstream/ecc/commands/orch-fix-defect.md +38 -0
- package/bundled/upstream/ecc/commands/orch-refine-code.md +39 -0
- package/bundled/upstream/ecc/commands/quality-gate.md +34 -16
- package/bundled/upstream/ecc/commands/vue-review.md +174 -0
- package/bundled/upstream/ecc/skills/accessibility/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-architecture-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-eval/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-harness-construction/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-introspection-debugging/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-payment-x402/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agent-self-evaluation/SKILL.md +182 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/examples/high-score-example.md +87 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/examples/low-score-example.md +86 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/references/evaluation-criteria.md +71 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/references/hook-integration.md +64 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/scripts/evaluate.py +408 -0
- package/bundled/upstream/ecc/skills/agent-self-evaluation/templates/evaluation-report.md +86 -0
- package/bundled/upstream/ecc/skills/agent-sort/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agentic-engineering/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/agentic-os/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ai-first-engineering/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ai-regression-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/android-clean-architecture/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/angular-developer/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/api-connector-builder/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/api-design/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/architecture-decision-records/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/article-writing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/automation-audit-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/autonomous-agent-harness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/autonomous-loops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/backend-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/benchmark/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/benchmark-methodology/SKILL.md +190 -0
- package/bundled/upstream/ecc/skills/benchmark-optimization-loop/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/blender-motion-state-inspection/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/blueprint/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/brand-discovery/SKILL.md +145 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/10_purpose-why.md +40 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/20_positioning.md +44 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/30_audience-niche.md +52 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/40_personality-archetype.md +57 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/50_voice-tone.md +59 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/60_narrative-story.md +50 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/70_founder-tension.md +49 -0
- package/bundled/upstream/ecc/skills/brand-discovery/references/90_SYNTHESIS.md +133 -0
- package/bundled/upstream/ecc/skills/brand-voice/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/browser-qa/SKILL.md +22 -4
- package/bundled/upstream/ecc/skills/bun-runtime/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/canary-watch/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/carrier-relationship-management/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/cisco-ios-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ck/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/claude-devfleet/SKILL.md +11 -2
- package/bundled/upstream/ecc/skills/click-path-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/clickhouse-io/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/code-tour/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/codebase-onboarding/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/codehealth-mcp/SKILL.md +167 -0
- package/bundled/upstream/ecc/skills/coding-standards/SKILL.md +4 -2
- package/bundled/upstream/ecc/skills/competitive-platform-analysis/SKILL.md +214 -0
- package/bundled/upstream/ecc/skills/competitive-report-structure/SKILL.md +162 -0
- package/bundled/upstream/ecc/skills/compose-multiplatform-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/config-gc/SKILL.md +120 -0
- package/bundled/upstream/ecc/skills/configure-ecc/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/connections-optimizer/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/content-engine/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/content-hash-cache-pattern/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/context-budget/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/continuous-agent-loop/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/continuous-learning/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/continuous-learning-v2/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/continuous-learning-v2/agents/observer-loop.sh +14 -1
- package/bundled/upstream/ecc/skills/continuous-learning-v2/hooks/observe.sh +31 -7
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +90 -2
- package/bundled/upstream/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +27 -0
- package/bundled/upstream/ecc/skills/cost-aware-llm-pipeline/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/cost-tracking/SKILL.md +58 -108
- package/bundled/upstream/ecc/skills/council/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/cpp-coding-standards/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/cpp-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/crosspost/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/csharp-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/customer-billing-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/customs-trade-compliance/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/dart-flutter-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/dashboard-builder/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/data-scraper-agent/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/data-throughput-accelerator/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/database-migrations/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/deep-research/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/defi-amm-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/deployment-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/design-system/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/django-celery/SKILL.md +3 -2
- package/bundled/upstream/ecc/skills/django-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/django-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/django-tdd/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/django-verification/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/dmux-workflows/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/docker-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/documentation-lookup/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/dotnet-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/dynamic-workflow-mode/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/e2e-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ecc-guide/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ecc-tools-cost-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/email-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/energy-procurement/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/enterprise-agent-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/error-handling/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/eval-harness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/evm-token-decimals/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/exa-search/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/fal-ai-media/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/fastapi-patterns/SKILL.md +375 -188
- package/bundled/upstream/ecc/skills/finance-billing-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/flox-environments/SKILL.md +3 -2
- package/bundled/upstream/ecc/skills/flutter-dart-code-review/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/frontend-a11y/SKILL.md +3 -3
- package/bundled/upstream/ecc/skills/frontend-design-direction/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/frontend-patterns/SKILL.md +23 -8
- package/bundled/upstream/ecc/skills/frontend-slides/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/frontend-slides/scripts/export-pdf.sh +1 -1
- package/bundled/upstream/ecc/skills/fsharp-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/gan-style-harness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/gateguard/SKILL.md +9 -1
- package/bundled/upstream/ecc/skills/generating-python-installer/SKILL.md +820 -0
- package/bundled/upstream/ecc/skills/git-workflow/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/github-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/golang-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/golang-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/google-workspace-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/healthcare-cdss-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/healthcare-emr-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/healthcare-eval-harness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/healthcare-phi-compliance/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/hermes-imports/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/hexagonal-architecture/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/hipaa-compliance/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/homelab-network-readiness/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/homelab-network-setup/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/homelab-pihole-dns/SKILL.md +10 -9
- package/bundled/upstream/ecc/skills/homelab-vlan-segmentation/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/homelab-wireguard-vpn/SKILL.md +4 -3
- package/bundled/upstream/ecc/skills/inherit-legacy-style/SKILL.md +157 -0
- package/bundled/upstream/ecc/skills/intent-driven-development/SKILL.md +360 -0
- package/bundled/upstream/ecc/skills/inventory-demand-planning/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/investor-materials/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/investor-outreach/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ios-icon-gen/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/iterative-retrieval/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ito-basket-compare/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ito-data-atlas-agent/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ito-market-intelligence/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ito-trade-planner/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/java-coding-standards/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/jira-integration/SKILL.md +17 -7
- package/bundled/upstream/ecc/skills/jpa-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/knowledge-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-coroutines-flows/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-exposed-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-ktor-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kotlin-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/kubernetes-patterns/SKILL.md +756 -0
- package/bundled/upstream/ecc/skills/laravel-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/laravel-plugin-discovery/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/laravel-security/SKILL.md +826 -163
- package/bundled/upstream/ecc/skills/laravel-tdd/SKILL.md +541 -149
- package/bundled/upstream/ecc/skills/laravel-verification/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/latency-critical-systems/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/lead-intelligence/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/llm-trading-agent-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/logistics-exception-management/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/make-interfaces-feel-better/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/manim-video/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/market-research/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/marketing-campaign/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/mcp-server-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/messages-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ml-adoption-playbook/SKILL.md +57 -0
- package/bundled/upstream/ecc/skills/mle-workflow/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/motion-patterns/SKILL.md +1 -2
- package/bundled/upstream/ecc/skills/motion-ui/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/mysql-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nanoclaw-repl/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nestjs-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/netmiko-ssh-automation/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/network-bgp-diagnostics/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/network-config-validation/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/network-interface-health/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nextjs-turbopack/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nodejs-keccak256/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nutrient-document-processing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/nuxt4-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/openclaw-persona-forge/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/opensource-pipeline/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/orch-add-feature/SKILL.md +45 -0
- package/bundled/upstream/ecc/skills/orch-build-mvp/SKILL.md +49 -0
- package/bundled/upstream/ecc/skills/orch-change-feature/SKILL.md +43 -0
- package/bundled/upstream/ecc/skills/orch-fix-defect/SKILL.md +43 -0
- package/bundled/upstream/ecc/skills/orch-pipeline/SKILL.md +121 -0
- package/bundled/upstream/ecc/skills/orch-refine-code/SKILL.md +44 -0
- package/bundled/upstream/ecc/skills/parallel-execution-optimizer/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/perl-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/perl-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/perl-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/plan-orchestrate/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/plankton-code-quality/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/postgres-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/prediction-market-oracle-research/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/prediction-market-risk-review/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/prisma-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/product-capability/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/product-lens/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/production-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/production-scheduling/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/project-flow-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/prompt-optimizer/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/python-patterns/SKILL.md +4 -3
- package/bundled/upstream/ecc/skills/python-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/pytorch-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/quality-nonconformance/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/quarkus-patterns/SKILL.md +51 -50
- package/bundled/upstream/ecc/skills/quarkus-security/SKILL.md +25 -24
- package/bundled/upstream/ecc/skills/quarkus-tdd/SKILL.md +73 -72
- package/bundled/upstream/ecc/skills/quarkus-verification/SKILL.md +8 -7
- package/bundled/upstream/ecc/skills/ralphinho-rfc-pipeline/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/react-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/react-performance/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/react-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/recsys-pipeline-architect/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/recursive-decision-ledger/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/redis-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/regex-vs-llm-structured-text/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/repo-scan/SKILL.md +64 -63
- package/bundled/upstream/ecc/skills/research-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/returns-reverse-logistics/SKILL.md +1 -1
- package/bundled/upstream/ecc/skills/rules-distill/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/rust-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/rust-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/safety-guard/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/santa-method/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-db-pubmed-database/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-db-uspto-database/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-pkg-gget/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-thinking-literature-review/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/scientific-thinking-scholar-evaluation/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/search-first/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/security-bounty-hunter/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/security-review/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/security-scan/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/seo/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/skill-comply/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/skill-comply/scripts/runner.py +8 -0
- package/bundled/upstream/ecc/skills/skill-scout/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/skill-stocktake/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/social-graph-ranker/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/social-publisher/SKILL.md +17 -2
- package/bundled/upstream/ecc/skills/springboot-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/springboot-security/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/springboot-tdd/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/springboot-verification/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/strategic-compact/SKILL.md +10 -5
- package/bundled/upstream/ecc/skills/swift-actor-persistence/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/swift-protocol-di-testing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/taste/SKILL.md +264 -0
- package/bundled/upstream/ecc/skills/taste/references/genre-taxonomy.md +87 -0
- package/bundled/upstream/ecc/skills/tdd-workflow/SKILL.md +64 -1
- package/bundled/upstream/ecc/skills/team-agent-orchestration/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/team-builder/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/terminal-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/tinystruct-patterns/SKILL.md +77 -1
- package/bundled/upstream/ecc/skills/token-budget-advisor/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ui-demo/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/ui-to-vue/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/uncloud/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/unified-notifications-ops/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/verification-loop/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/video-editing/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/videodb/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/vite-patterns/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/vue-patterns/SKILL.md +471 -0
- package/bundled/upstream/ecc/skills/windows-desktop-e2e/SKILL.md +9 -8
- package/bundled/upstream/ecc/skills/workspace-surface-audit/SKILL.md +2 -1
- package/bundled/upstream/ecc/skills/x-api/SKILL.md +2 -1
- package/bundled/upstream/impeccable/.omc-source/bundle.json +2 -2
- package/bundled/upstream/impeccable/.omc-source/provenance.json +30 -25
- package/bundled/upstream/impeccable/skills/impeccable/SKILL.md +2 -2
- package/bundled/upstream/impeccable/skills/impeccable/reference/hooks.md +10 -8
- package/bundled/upstream/impeccable/skills/impeccable/reference/live.md +1 -1
- package/bundled/upstream/impeccable/skills/impeccable/scripts/context.mjs +707 -26
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/browser/injected/index.mjs +202 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/cli/main.mjs +57 -11
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/design-system.mjs +750 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/detect-antipatterns-browser.js +231 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/detect-antipatterns.mjs +7 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/browser/detect-url.mjs +29 -4
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/regex/detect-text.mjs +20 -4
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +2 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/engines/static-html/detect-html.mjs +27 -1
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/registry/antipatterns.mjs +29 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/detector/shared/inline-ignores.mjs +148 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-admin.mjs +135 -48
- package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-before-edit.mjs +5 -2
- package/bundled/upstream/impeccable/skills/impeccable/scripts/hook-lib.mjs +375 -29
- package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/design-parser.mjs +8 -1
- package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/impeccable-config.mjs +638 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/impeccable-paths.mjs +37 -35
- package/bundled/upstream/impeccable/skills/impeccable/scripts/lib/target-args.mjs +42 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-browser.js +159 -72
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-poll.mjs +16 -11
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-server.mjs +9 -8
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-target.mjs +30 -0
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live-wrap.mjs +1 -1
- package/bundled/upstream/impeccable/skills/impeccable/scripts/live.mjs +72 -21
- package/bundled/upstream/oh-my-claudecode/.omc-source/bundle.json +2 -2
- package/bundled/upstream/oh-my-claudecode/.omc-source/provenance.json +103 -103
- package/bundled/upstream/oh-my-claudecode/agents/analyst.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/architect.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/code-reviewer.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/critic.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/debugger.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/security-reviewer.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/tracer.md +6 -0
- package/bundled/upstream/oh-my-claudecode/agents/verifier.md +7 -0
- package/bundled/upstream/oh-my-claudecode/hooks/hooks.json +9 -2
- package/bundled/upstream/oh-my-claudecode/skills/ask/SKILL.md +15 -4
- package/bundled/upstream/oh-my-claudecode/skills/autopilot/SKILL.md +30 -1
- package/bundled/upstream/oh-my-claudecode/skills/cancel/SKILL.md +29 -35
- package/bundled/upstream/oh-my-claudecode/skills/ccg/SKILL.md +20 -9
- package/bundled/upstream/oh-my-claudecode/skills/configure-notifications/SKILL.md +2 -2
- package/bundled/upstream/oh-my-claudecode/skills/omc-reference/SKILL.md +6 -4
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/02-configure.md +1 -1
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/03-integrations.md +2 -1
- package/bundled/upstream/oh-my-claudecode/skills/omc-setup/phases/04-welcome.md +2 -2
- package/bundled/upstream/oh-my-claudecode/skills/omc-teams/SKILL.md +29 -18
- package/bundled/upstream/oh-my-claudecode/skills/team/SKILL.md +127 -165
- package/bundled/upstream/superpowers/.omc-source/bundle.json +2 -2
- package/bundled/upstream/superpowers/.omc-source/provenance.json +59 -52
- package/bundled/upstream/superpowers/hooks/hooks-codex.json +16 -0
- package/bundled/upstream/superpowers/hooks/session-start +4 -12
- package/bundled/upstream/superpowers/hooks/session-start-codex +26 -0
- package/bundled/upstream/superpowers/skills/brainstorming/SKILL.md +5 -10
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/frame-template.html +25 -26
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/helper.js +101 -22
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/server.cjs +399 -30
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/start-server.sh +70 -9
- package/bundled/upstream/superpowers/skills/brainstorming/scripts/stop-server.sh +66 -2
- package/bundled/upstream/superpowers/skills/brainstorming/spec-document-reviewer-prompt.md +1 -1
- package/bundled/upstream/superpowers/skills/brainstorming/visual-companion.md +33 -22
- package/bundled/upstream/superpowers/skills/dispatching-parallel-agents/SKILL.md +9 -6
- package/bundled/upstream/superpowers/skills/executing-plans/SKILL.md +2 -2
- package/bundled/upstream/superpowers/skills/finishing-a-development-branch/SKILL.md +2 -12
- package/bundled/upstream/superpowers/skills/receiving-code-review/SKILL.md +2 -2
- package/bundled/upstream/superpowers/skills/requesting-code-review/SKILL.md +2 -2
- package/bundled/upstream/superpowers/skills/requesting-code-review/code-reviewer.md +15 -11
- package/bundled/upstream/superpowers/skills/subagent-driven-development/SKILL.md +206 -67
- package/bundled/upstream/superpowers/skills/subagent-driven-development/implementer-prompt.md +30 -4
- package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/review-package +44 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/sdd-workspace +22 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/task-brief +40 -0
- package/bundled/upstream/superpowers/skills/subagent-driven-development/task-reviewer-prompt.md +188 -0
- package/bundled/upstream/superpowers/skills/systematic-debugging/SKILL.md +1 -1
- package/bundled/upstream/superpowers/skills/test-driven-development/SKILL.md +1 -1
- package/bundled/upstream/superpowers/skills/using-git-worktrees/SKILL.md +9 -22
- package/bundled/upstream/superpowers/skills/using-superpowers/SKILL.md +19 -15
- package/bundled/upstream/superpowers/skills/using-superpowers/references/antigravity-tools.md +96 -0
- package/bundled/upstream/superpowers/skills/using-superpowers/references/claude-code-tools.md +50 -0
- package/bundled/upstream/superpowers/skills/using-superpowers/references/codex-tools.md +25 -12
- package/bundled/upstream/superpowers/skills/using-superpowers/references/copilot-tools.md +27 -20
- package/bundled/upstream/superpowers/skills/using-superpowers/references/gemini-tools.md +44 -32
- package/bundled/upstream/superpowers/skills/using-superpowers/references/pi-tools.md +28 -0
- package/bundled/upstream/superpowers/skills/writing-plans/SKILL.md +22 -0
- package/bundled/upstream/superpowers/skills/writing-plans/plan-document-reviewer-prompt.md +1 -1
- package/bundled/upstream/superpowers/skills/writing-skills/SKILL.md +52 -18
- package/bundled/upstream/superpowers/skills/writing-skills/anthropic-best-practices.md +88 -88
- package/bundled/upstream/superpowers/skills/writing-skills/persuasion-principles.md +3 -3
- package/package.json +1 -1
- package/bundled/upstream/superpowers/skills/subagent-driven-development/code-quality-reviewer-prompt.md +0 -25
- package/bundled/upstream/superpowers/skills/subagent-driven-development/spec-reviewer-prompt.md +0 -61
|
@@ -5,11 +5,14 @@ description: Use when executing implementation plans with independent tasks in t
|
|
|
5
5
|
|
|
6
6
|
# Subagent-Driven Development
|
|
7
7
|
|
|
8
|
-
Execute plan by dispatching fresh subagent per task,
|
|
8
|
+
Execute plan by dispatching a fresh implementer subagent per task, a task review (spec compliance + code quality) after each, and a broad whole-branch review at the end.
|
|
9
9
|
|
|
10
10
|
**Why subagents:** You delegate tasks to specialized agents with isolated context. By precisely crafting their instructions and context, you ensure they stay focused and succeed at their task. They should never inherit your session's context or history — you construct exactly what they need. This also preserves your own context for coordination work.
|
|
11
11
|
|
|
12
|
-
**Core principle:** Fresh subagent per task +
|
|
12
|
+
**Core principle:** Fresh subagent per task + task review (spec + quality) + broad final review = high quality, fast iteration
|
|
13
|
+
|
|
14
|
+
**Narration:** between tool calls, narrate at most one short line — the
|
|
15
|
+
ledger and the tool results carry the record.
|
|
13
16
|
|
|
14
17
|
**Continuous execution:** Do not pause to check in with your human partner between tasks. Execute all tasks from the plan without stopping. The only reasons to stop are: BLOCKED status you cannot resolve, ambiguity that genuinely prevents progress, or all tasks complete. "Should I continue?" prompts and progress summaries waste their time — they asked you to execute the plan, so execute it.
|
|
15
18
|
|
|
@@ -36,7 +39,7 @@ digraph when_to_use {
|
|
|
36
39
|
**vs. Executing Plans (parallel session):**
|
|
37
40
|
- Same session (no context switch)
|
|
38
41
|
- Fresh subagent per task (no context pollution)
|
|
39
|
-
-
|
|
42
|
+
- Review after each task (spec compliance + code quality), broad review at the end
|
|
40
43
|
- Faster iteration (no human-in-loop between tasks)
|
|
41
44
|
|
|
42
45
|
## The Process
|
|
@@ -51,41 +54,48 @@ digraph process {
|
|
|
51
54
|
"Implementer subagent asks questions?" [shape=diamond];
|
|
52
55
|
"Answer questions, provide context" [shape=box];
|
|
53
56
|
"Implementer subagent implements, tests, commits, self-reviews" [shape=box];
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"Code quality reviewer subagent approves?" [shape=diamond];
|
|
59
|
-
"Implementer subagent fixes quality issues" [shape=box];
|
|
60
|
-
"Mark task complete in TodoWrite" [shape=box];
|
|
57
|
+
"Write diff file, dispatch task reviewer subagent (./task-reviewer-prompt.md)" [shape=box];
|
|
58
|
+
"Task reviewer reports spec ✅ and quality approved?" [shape=diamond];
|
|
59
|
+
"Dispatch fix subagent for Critical/Important findings" [shape=box];
|
|
60
|
+
"Mark task complete in todo list and progress ledger" [shape=box];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
"Read plan,
|
|
63
|
+
"Read plan, note context and global constraints, create todos" [shape=box];
|
|
64
64
|
"More tasks remain?" [shape=diamond];
|
|
65
|
-
"Dispatch final code reviewer subagent
|
|
65
|
+
"Dispatch final code reviewer subagent (../requesting-code-review/code-reviewer.md)" [shape=box];
|
|
66
66
|
"Use superpowers:finishing-a-development-branch" [shape=box style=filled fillcolor=lightgreen];
|
|
67
67
|
|
|
68
|
-
"Read plan,
|
|
68
|
+
"Read plan, note context and global constraints, create todos" -> "Dispatch implementer subagent (./implementer-prompt.md)";
|
|
69
69
|
"Dispatch implementer subagent (./implementer-prompt.md)" -> "Implementer subagent asks questions?";
|
|
70
70
|
"Implementer subagent asks questions?" -> "Answer questions, provide context" [label="yes"];
|
|
71
71
|
"Answer questions, provide context" -> "Dispatch implementer subagent (./implementer-prompt.md)";
|
|
72
72
|
"Implementer subagent asks questions?" -> "Implementer subagent implements, tests, commits, self-reviews" [label="no"];
|
|
73
|
-
"Implementer subagent implements, tests, commits, self-reviews" -> "
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"Code quality reviewer subagent approves?" -> "Implementer subagent fixes quality issues" [label="no"];
|
|
80
|
-
"Implementer subagent fixes quality issues" -> "Dispatch code quality reviewer subagent (./code-quality-reviewer-prompt.md)" [label="re-review"];
|
|
81
|
-
"Code quality reviewer subagent approves?" -> "Mark task complete in TodoWrite" [label="yes"];
|
|
82
|
-
"Mark task complete in TodoWrite" -> "More tasks remain?";
|
|
73
|
+
"Implementer subagent implements, tests, commits, self-reviews" -> "Write diff file, dispatch task reviewer subagent (./task-reviewer-prompt.md)";
|
|
74
|
+
"Write diff file, dispatch task reviewer subagent (./task-reviewer-prompt.md)" -> "Task reviewer reports spec ✅ and quality approved?";
|
|
75
|
+
"Task reviewer reports spec ✅ and quality approved?" -> "Dispatch fix subagent for Critical/Important findings" [label="no"];
|
|
76
|
+
"Dispatch fix subagent for Critical/Important findings" -> "Write diff file, dispatch task reviewer subagent (./task-reviewer-prompt.md)" [label="re-review"];
|
|
77
|
+
"Task reviewer reports spec ✅ and quality approved?" -> "Mark task complete in todo list and progress ledger" [label="yes"];
|
|
78
|
+
"Mark task complete in todo list and progress ledger" -> "More tasks remain?";
|
|
83
79
|
"More tasks remain?" -> "Dispatch implementer subagent (./implementer-prompt.md)" [label="yes"];
|
|
84
|
-
"More tasks remain?" -> "Dispatch final code reviewer subagent
|
|
85
|
-
"Dispatch final code reviewer subagent
|
|
80
|
+
"More tasks remain?" -> "Dispatch final code reviewer subagent (../requesting-code-review/code-reviewer.md)" [label="no"];
|
|
81
|
+
"Dispatch final code reviewer subagent (../requesting-code-review/code-reviewer.md)" -> "Use superpowers:finishing-a-development-branch";
|
|
86
82
|
}
|
|
87
83
|
```
|
|
88
84
|
|
|
85
|
+
## Pre-Flight Plan Review
|
|
86
|
+
|
|
87
|
+
Before dispatching Task 1, scan the plan once for conflicts:
|
|
88
|
+
|
|
89
|
+
- tasks that contradict each other or the plan's Global Constraints
|
|
90
|
+
- anything the plan explicitly mandates that the review rubric treats as a
|
|
91
|
+
defect (a test that asserts nothing, verbatim duplication of a logic block)
|
|
92
|
+
|
|
93
|
+
Present everything you find to your human partner as one batched question —
|
|
94
|
+
each finding beside the plan text that mandates it, asking which governs —
|
|
95
|
+
before execution begins, not one interrupt per discovery mid-plan. If the
|
|
96
|
+
scan is clean, proceed without comment. The review loop remains the net for
|
|
97
|
+
conflicts that only emerge from implementation.
|
|
98
|
+
|
|
89
99
|
## Model Selection
|
|
90
100
|
|
|
91
101
|
Use the least powerful model that can handle each role to conserve cost and increase speed.
|
|
@@ -94,9 +104,27 @@ Use the least powerful model that can handle each role to conserve cost and incr
|
|
|
94
104
|
|
|
95
105
|
**Integration and judgment tasks** (multi-file coordination, pattern matching, debugging): use a standard model.
|
|
96
106
|
|
|
97
|
-
**Architecture
|
|
107
|
+
**Architecture and design tasks**: use the most capable available model.
|
|
108
|
+
The final whole-branch review is one of these — dispatch it on the most
|
|
109
|
+
capable available model, not the session default.
|
|
110
|
+
|
|
111
|
+
**Review tasks**: choose the model with the same judgment, scaled to the
|
|
112
|
+
diff's size, complexity, and risk. A small mechanical diff does not need the
|
|
113
|
+
most capable model; a subtle concurrency change does.
|
|
114
|
+
|
|
115
|
+
**Always specify the model explicitly when dispatching a subagent.** An
|
|
116
|
+
omitted model inherits your session's model — often the most capable and
|
|
117
|
+
most expensive — which silently defeats this section.
|
|
98
118
|
|
|
99
|
-
**
|
|
119
|
+
**Turn count beats token price.** Wall-clock and context cost scale with how
|
|
120
|
+
many turns a subagent takes, and the cheapest models routinely take 2-3× the
|
|
121
|
+
turns on multi-step work — costing more overall. Use a mid-tier model as the
|
|
122
|
+
floor for reviewers and for implementers working from prose descriptions.
|
|
123
|
+
When the task's plan text contains the complete code to write, the
|
|
124
|
+
implementation is transcription plus testing: use the cheapest tier for
|
|
125
|
+
that implementer. Single-file mechanical fixes also take the cheapest tier.
|
|
126
|
+
|
|
127
|
+
**Task complexity signals (implementation tasks):**
|
|
100
128
|
- Touches 1-2 files with a complete spec → cheap model
|
|
101
129
|
- Touches multiple files with integration concerns → standard model
|
|
102
130
|
- Requires design judgment or broad codebase understanding → most capable model
|
|
@@ -105,7 +133,7 @@ Use the least powerful model that can handle each role to conserve cost and incr
|
|
|
105
133
|
|
|
106
134
|
Implementer subagents report one of four statuses. Handle each appropriately:
|
|
107
135
|
|
|
108
|
-
**DONE:**
|
|
136
|
+
**DONE:** Generate the review package (`scripts/review-package BASE HEAD`, from this skill's directory — it prints the unique file path it wrote; BASE is the commit you recorded before dispatching the implementer — never `HEAD~1`, which silently drops all but the last commit of a multi-commit task), then dispatch the task reviewer with the printed path.
|
|
109
137
|
|
|
110
138
|
**DONE_WITH_CONCERNS:** The implementer completed the work but flagged doubts. Read the concerns before proceeding. If the concerns are about correctness or scope, address them before review. If they're observations (e.g., "this file is getting large"), note them and proceed to review.
|
|
111
139
|
|
|
@@ -119,11 +147,127 @@ Implementer subagents report one of four statuses. Handle each appropriately:
|
|
|
119
147
|
|
|
120
148
|
**Never** ignore an escalation or force the same model to retry without changes. If the implementer said it's stuck, something needs to change.
|
|
121
149
|
|
|
150
|
+
## Handling Reviewer ⚠️ Items
|
|
151
|
+
|
|
152
|
+
The task reviewer may report "⚠️ Cannot verify from diff" items — requirements
|
|
153
|
+
that live in unchanged code or span tasks. These do not block the rest of the
|
|
154
|
+
review, but you must resolve each one yourself before marking the task
|
|
155
|
+
complete: you hold the plan and cross-task context the reviewer
|
|
156
|
+
lacks. If you confirm an item is a real gap, treat it as a failed spec
|
|
157
|
+
review — send it back to the implementer and re-review.
|
|
158
|
+
|
|
159
|
+
## Constructing Reviewer Prompts
|
|
160
|
+
|
|
161
|
+
Per-task reviews are task-scoped gates. The broad review happens once, at the
|
|
162
|
+
final whole-branch review. When you fill a reviewer template:
|
|
163
|
+
|
|
164
|
+
- Do not add open-ended directives like "check all uses" or "run race tests
|
|
165
|
+
if useful" without a concrete, task-specific reason
|
|
166
|
+
- Do not ask a reviewer to re-run tests the implementer already ran on the
|
|
167
|
+
same code — the implementer's report carries the test evidence
|
|
168
|
+
- Do not pre-judge findings for the reviewer — never instruct a reviewer to
|
|
169
|
+
ignore or not flag a specific issue. If you believe a finding would be a
|
|
170
|
+
false positive, let the reviewer raise it and adjudicate it in the review
|
|
171
|
+
loop. If the prompt you are writing contains "do not flag," "don't treat X
|
|
172
|
+
as a defect," "at most Minor," or "the plan chose" — stop: you are
|
|
173
|
+
pre-judging, usually to spare yourself a review loop.
|
|
174
|
+
- The global-constraints block you hand the reviewer is its attention
|
|
175
|
+
lens. Copy the binding requirements verbatim from the plan's Global
|
|
176
|
+
Constraints section or the spec: exact values, exact formats, and the
|
|
177
|
+
stated relationships between components ("same layout as X", "matches
|
|
178
|
+
Y"). The reviewer's template already carries the process rules (YAGNI,
|
|
179
|
+
test hygiene, review method) — the constraints block is for what THIS
|
|
180
|
+
project's spec demands.
|
|
181
|
+
- Hand the reviewer its diff as a file: run this skill's
|
|
182
|
+
`scripts/review-package BASE HEAD` and pass the reviewer the file path
|
|
183
|
+
it prints (or, without bash: `git log --oneline`, `git diff --stat`,
|
|
184
|
+
and `git diff -U10` for the range, redirected to one uniquely named
|
|
185
|
+
file). The output never enters your own context, and the reviewer sees
|
|
186
|
+
the commit list, stat summary, and full diff with context in one Read
|
|
187
|
+
call. Use the BASE you recorded before dispatching the implementer —
|
|
188
|
+
never `HEAD~1`, which silently truncates multi-commit tasks.
|
|
189
|
+
- A dispatch prompt describes one task, not the session's history. Do not
|
|
190
|
+
paste accumulated prior-task summaries ("state after Tasks 1-3") into
|
|
191
|
+
later dispatches — a real session's dispatch hit 42k chars of which 99%
|
|
192
|
+
was pasted history. A fresh subagent needs its task, the interfaces it
|
|
193
|
+
touches, and the global constraints. Nothing else.
|
|
194
|
+
- Dispatch fix subagents for Critical and Important findings. Record Minor
|
|
195
|
+
findings in the progress ledger as you go, and point the final
|
|
196
|
+
whole-branch review at that list so it can triage which must be fixed
|
|
197
|
+
before merge. A roll-up nobody reads is a silent discard.
|
|
198
|
+
- A finding labeled plan-mandated — or any finding that conflicts with
|
|
199
|
+
what the plan's text requires — is the human's decision, like any plan
|
|
200
|
+
contradiction: present the finding and the plan text, ask which governs.
|
|
201
|
+
Do not dismiss the finding because the plan mandates it, and do not
|
|
202
|
+
dispatch a fix that contradicts the plan without asking.
|
|
203
|
+
- The final whole-branch review gets a package too: run
|
|
204
|
+
`scripts/review-package MERGE_BASE HEAD` (MERGE_BASE = the commit the
|
|
205
|
+
branch started from, e.g. `git merge-base main HEAD`) and include the
|
|
206
|
+
printed path in the final review dispatch, so the final reviewer reads
|
|
207
|
+
one file instead of re-deriving the branch diff with git commands.
|
|
208
|
+
- Every fix dispatch carries the implementer contract: the fix subagent
|
|
209
|
+
re-runs the tests covering its change and reports the results. Name the
|
|
210
|
+
covering test files in the dispatch — a one-line fix does not need the
|
|
211
|
+
whole suite. Before re-dispatching the reviewer, confirm the fix report
|
|
212
|
+
contains the covering tests, the command run, and the output; dispatch
|
|
213
|
+
the re-review once all three are present.
|
|
214
|
+
- If the final whole-branch review returns findings, dispatch ONE fix
|
|
215
|
+
subagent with the complete findings list — not one fixer per finding.
|
|
216
|
+
Per-finding fixers each rebuild context and re-run suites; a real
|
|
217
|
+
session's final-review fix wave cost more than all its tasks combined.
|
|
218
|
+
|
|
219
|
+
## File Handoffs
|
|
220
|
+
|
|
221
|
+
Everything you paste into a dispatch prompt — and everything a subagent
|
|
222
|
+
prints back — stays resident in your context for the rest of the session
|
|
223
|
+
and is re-read on every later turn. Hand artifacts over as files:
|
|
224
|
+
|
|
225
|
+
- **Task brief:** before dispatching an implementer, run this skill's
|
|
226
|
+
`scripts/task-brief PLAN_FILE N` — it extracts the task's full text to a
|
|
227
|
+
uniquely named file and prints the path. Compose the dispatch so the
|
|
228
|
+
brief stays the single source of requirements. Your dispatch should
|
|
229
|
+
contain: (1) one line on where this task fits in the project; (2) the
|
|
230
|
+
brief path, introduced as "read this first — it is your requirements,
|
|
231
|
+
with the exact values to use verbatim"; (3) interfaces and decisions
|
|
232
|
+
from earlier tasks that the brief cannot know; (4) your resolution of
|
|
233
|
+
any ambiguity you noticed in the brief; (5) the report-file path and
|
|
234
|
+
report contract. Exact values (numbers, magic strings, signatures, test
|
|
235
|
+
cases) appear only in the brief.
|
|
236
|
+
- **Report file:** name the implementer's report file after the brief
|
|
237
|
+
(brief `…/task-N-brief.md` → report `…/task-N-report.md`) and put it in
|
|
238
|
+
the dispatch prompt. The implementer writes the full report there and
|
|
239
|
+
returns only status, commits, a one-line test summary, and concerns.
|
|
240
|
+
- **Reviewer inputs:** the task reviewer gets three paths — the same brief
|
|
241
|
+
file, the report file, and the review package — plus the global
|
|
242
|
+
constraints that bind the task.
|
|
243
|
+
- Fix dispatches append their fix report (with test results) to the same
|
|
244
|
+
report file and return a short summary; re-reviews read the updated file.
|
|
245
|
+
|
|
246
|
+
## Durable Progress
|
|
247
|
+
|
|
248
|
+
Conversation memory does not survive compaction. In real sessions,
|
|
249
|
+
controllers that lost their place have re-dispatched entire completed task
|
|
250
|
+
sequences — the single most expensive failure observed. Track progress in
|
|
251
|
+
a ledger file, not only in todos.
|
|
252
|
+
|
|
253
|
+
- At skill start, check for a ledger:
|
|
254
|
+
`cat "$(git rev-parse --show-toplevel)/.superpowers/sdd/progress.md"`. Tasks listed there
|
|
255
|
+
as complete are DONE — do not re-dispatch them; resume at the first task
|
|
256
|
+
not marked complete.
|
|
257
|
+
- When a task's review comes back clean, append one line to the ledger in
|
|
258
|
+
the same message as your other bookkeeping:
|
|
259
|
+
`Task N: complete (commits <base7>..<head7>, review clean)`.
|
|
260
|
+
- The ledger is your recovery map: the commits it names exist in git even
|
|
261
|
+
when your context no longer remembers creating them. After compaction,
|
|
262
|
+
trust the ledger and `git log` over your own recollection.
|
|
263
|
+
- `git clean -fdx` will destroy the ledger (it's git-ignored scratch); if
|
|
264
|
+
that happens, recover from `git log`.
|
|
265
|
+
|
|
122
266
|
## Prompt Templates
|
|
123
267
|
|
|
124
|
-
-
|
|
125
|
-
-
|
|
126
|
-
-
|
|
268
|
+
- [implementer-prompt.md](implementer-prompt.md) - Dispatch implementer subagent
|
|
269
|
+
- [task-reviewer-prompt.md](task-reviewer-prompt.md) - Dispatch task reviewer subagent (spec compliance + code quality)
|
|
270
|
+
- Final whole-branch review: use superpowers:requesting-code-review's [code-reviewer.md](../requesting-code-review/code-reviewer.md)
|
|
127
271
|
|
|
128
272
|
## Example Workflow
|
|
129
273
|
|
|
@@ -131,13 +275,11 @@ Implementer subagents report one of four statuses. Handle each appropriately:
|
|
|
131
275
|
You: I'm using Subagent-Driven Development to execute this plan.
|
|
132
276
|
|
|
133
277
|
[Read plan file once: docs/superpowers/plans/feature-plan.md]
|
|
134
|
-
[
|
|
135
|
-
[Create TodoWrite with all tasks]
|
|
278
|
+
[Create todos for all tasks]
|
|
136
279
|
|
|
137
280
|
Task 1: Hook installation script
|
|
138
281
|
|
|
139
|
-
[
|
|
140
|
-
[Dispatch implementation subagent with full task text + context]
|
|
282
|
+
[Run task-brief for Task 1; dispatch implementer with brief + report paths + context]
|
|
141
283
|
|
|
142
284
|
Implementer: "Before I begin - should the hook be installed at user or system level?"
|
|
143
285
|
|
|
@@ -150,18 +292,15 @@ Implementer: "Got it. Implementing now..."
|
|
|
150
292
|
- Self-review: Found I missed --force flag, added it
|
|
151
293
|
- Committed
|
|
152
294
|
|
|
153
|
-
[
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
[Get git SHAs, dispatch code quality reviewer]
|
|
157
|
-
Code reviewer: Strengths: Good test coverage, clean. Issues: None. Approved.
|
|
295
|
+
[Run review-package, dispatch task reviewer with the printed path]
|
|
296
|
+
Task reviewer: Spec ✅ - all requirements met, nothing extra.
|
|
297
|
+
Strengths: Good test coverage, clean. Issues: None. Task quality: Approved.
|
|
158
298
|
|
|
159
299
|
[Mark Task 1 complete]
|
|
160
300
|
|
|
161
301
|
Task 2: Recovery modes
|
|
162
302
|
|
|
163
|
-
[
|
|
164
|
-
[Dispatch implementation subagent with full task text + context]
|
|
303
|
+
[Run task-brief for Task 2; dispatch implementer with brief + report paths + context]
|
|
165
304
|
|
|
166
305
|
Implementer: [No questions, proceeds]
|
|
167
306
|
Implementer:
|
|
@@ -170,25 +309,17 @@ Implementer:
|
|
|
170
309
|
- Self-review: All good
|
|
171
310
|
- Committed
|
|
172
311
|
|
|
173
|
-
[
|
|
174
|
-
|
|
312
|
+
[Run review-package, dispatch task reviewer with the printed path]
|
|
313
|
+
Task reviewer: Spec ❌:
|
|
175
314
|
- Missing: Progress reporting (spec says "report every 100 items")
|
|
176
315
|
- Extra: Added --json flag (not requested)
|
|
316
|
+
Issues (Important): Magic number (100)
|
|
177
317
|
|
|
178
|
-
[
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
[Spec reviewer reviews again]
|
|
182
|
-
Spec reviewer: ✅ Spec compliant now
|
|
183
|
-
|
|
184
|
-
[Dispatch code quality reviewer]
|
|
185
|
-
Code reviewer: Strengths: Solid. Issues (Important): Magic number (100)
|
|
186
|
-
|
|
187
|
-
[Implementer fixes]
|
|
188
|
-
Implementer: Extracted PROGRESS_INTERVAL constant
|
|
318
|
+
[Dispatch fix subagent with all findings]
|
|
319
|
+
Fixer: Removed --json flag, added progress reporting, extracted PROGRESS_INTERVAL constant
|
|
189
320
|
|
|
190
|
-
[
|
|
191
|
-
|
|
321
|
+
[Task reviewer reviews again]
|
|
322
|
+
Task reviewer: Spec ✅. Task quality: Approved.
|
|
192
323
|
|
|
193
324
|
[Mark Task 2 complete]
|
|
194
325
|
|
|
@@ -215,20 +346,20 @@ Done!
|
|
|
215
346
|
- Review checkpoints automatic
|
|
216
347
|
|
|
217
348
|
**Efficiency gains:**
|
|
218
|
-
-
|
|
219
|
-
|
|
349
|
+
- Controller curates exactly what context is needed; bulk artifacts move
|
|
350
|
+
as files, not pasted text
|
|
220
351
|
- Subagent gets complete information upfront
|
|
221
352
|
- Questions surfaced before work begins (not after)
|
|
222
353
|
|
|
223
354
|
**Quality gates:**
|
|
224
355
|
- Self-review catches issues before handoff
|
|
225
|
-
-
|
|
356
|
+
- Task review carries two verdicts: spec compliance and code quality
|
|
226
357
|
- Review loops ensure fixes actually work
|
|
227
358
|
- Spec compliance prevents over/under-building
|
|
228
359
|
- Code quality ensures implementation is well-built
|
|
229
360
|
|
|
230
361
|
**Cost:**
|
|
231
|
-
- More subagent invocations (implementer +
|
|
362
|
+
- More subagent invocations (implementer + reviewer per task)
|
|
232
363
|
- Controller does more prep work (extracting all tasks upfront)
|
|
233
364
|
- Review loops add iterations
|
|
234
365
|
- But catches issues early (cheaper than debugging later)
|
|
@@ -237,17 +368,25 @@ Done!
|
|
|
237
368
|
|
|
238
369
|
**Never:**
|
|
239
370
|
- Start implementation on main/master branch without explicit user consent
|
|
240
|
-
- Skip
|
|
371
|
+
- Skip task review, or accept a report missing either verdict (spec compliance AND task quality are both required)
|
|
241
372
|
- Proceed with unfixed issues
|
|
242
373
|
- Dispatch multiple implementation subagents in parallel (conflicts)
|
|
243
|
-
- Make subagent read plan file (
|
|
374
|
+
- Make a subagent read the whole plan file (hand it its task brief —
|
|
375
|
+
`scripts/task-brief` — instead)
|
|
244
376
|
- Skip scene-setting context (subagent needs to understand where task fits)
|
|
245
377
|
- Ignore subagent questions (answer before letting them proceed)
|
|
246
|
-
- Accept "close enough" on spec compliance (
|
|
378
|
+
- Accept "close enough" on spec compliance (reviewer found spec issues = not done)
|
|
247
379
|
- Skip review loops (reviewer found issues = implementer fixes = review again)
|
|
248
380
|
- Let implementer self-review replace actual review (both are needed)
|
|
249
|
-
-
|
|
250
|
-
|
|
381
|
+
- Tell a reviewer what not to flag, or pre-rate a finding's severity in the
|
|
382
|
+
dispatch prompt ("treat it as Minor at most") — the plan's example code is
|
|
383
|
+
a starting point, not evidence that its weaknesses were chosen
|
|
384
|
+
- Dispatch a task reviewer without a diff file — generate it first
|
|
385
|
+
(`scripts/review-package BASE HEAD`) and name the printed path in the
|
|
386
|
+
prompt
|
|
387
|
+
- Move to next task while the review has open Critical/Important issues
|
|
388
|
+
- Re-dispatch a task the progress ledger already marks complete — check
|
|
389
|
+
the ledger (and `git log`) after any compaction or resume
|
|
251
390
|
|
|
252
391
|
**If subagent asks questions:**
|
|
253
392
|
- Answer clearly and completely
|
|
@@ -269,7 +408,7 @@ Done!
|
|
|
269
408
|
**Required workflow skills:**
|
|
270
409
|
- **superpowers:using-git-worktrees** - Ensures isolated workspace (creates one or verifies existing)
|
|
271
410
|
- **superpowers:writing-plans** - Creates the plan this skill executes
|
|
272
|
-
- **superpowers:requesting-code-review** - Code review template for
|
|
411
|
+
- **superpowers:requesting-code-review** - Code review template for the final whole-branch review
|
|
273
412
|
- **superpowers:finishing-a-development-branch** - Complete development after all tasks
|
|
274
413
|
|
|
275
414
|
**Subagents should use:**
|
package/bundled/upstream/superpowers/skills/subagent-driven-development/implementer-prompt.md
CHANGED
|
@@ -3,14 +3,17 @@
|
|
|
3
3
|
Use this template when dispatching an implementer subagent.
|
|
4
4
|
|
|
5
5
|
```
|
|
6
|
-
|
|
6
|
+
Subagent (general-purpose):
|
|
7
7
|
description: "Implement Task N: [task name]"
|
|
8
|
+
model: [MODEL — REQUIRED: choose per SKILL.md Model Selection; an omitted
|
|
9
|
+
model silently inherits the session's most expensive one]
|
|
8
10
|
prompt: |
|
|
9
11
|
You are implementing Task N: [task name]
|
|
10
12
|
|
|
11
13
|
## Task Description
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
Read your task brief first: [BRIEF_FILE]
|
|
16
|
+
It contains the full task text from the plan.
|
|
14
17
|
|
|
15
18
|
## Context
|
|
16
19
|
|
|
@@ -41,6 +44,9 @@ Task tool (general-purpose):
|
|
|
41
44
|
**While you work:** If you encounter something unexpected or unclear, **ask questions**.
|
|
42
45
|
It's always OK to pause and clarify. Don't guess or make assumptions.
|
|
43
46
|
|
|
47
|
+
While iterating, run the focused test for what you're changing; run the
|
|
48
|
+
full suite once before committing, not after every edit.
|
|
49
|
+
|
|
44
50
|
## Code Organization
|
|
45
51
|
|
|
46
52
|
You reason best about code you can hold in context at once, and your edits are more
|
|
@@ -94,19 +100,39 @@ Task tool (general-purpose):
|
|
|
94
100
|
- Do tests actually verify behavior (not just mock behavior)?
|
|
95
101
|
- Did I follow TDD if required?
|
|
96
102
|
- Are tests comprehensive?
|
|
103
|
+
- Is the test output pristine (no stray warnings or noise)?
|
|
97
104
|
|
|
98
105
|
If you find issues during self-review, fix them now before reporting.
|
|
99
106
|
|
|
107
|
+
## After Review Findings
|
|
108
|
+
|
|
109
|
+
If a reviewer finds issues and you fix them, re-run the tests that cover
|
|
110
|
+
the amended code and append the results to your report file. Reviewers
|
|
111
|
+
will not re-run tests for you — your report is the test evidence.
|
|
112
|
+
|
|
100
113
|
## Report Format
|
|
101
114
|
|
|
102
|
-
|
|
103
|
-
- **Status:** DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
|
|
115
|
+
Write your full report to [REPORT_FILE]:
|
|
104
116
|
- What you implemented (or what you attempted, if blocked)
|
|
105
117
|
- What you tested and test results
|
|
118
|
+
- **TDD Evidence** (if TDD was required for this task):
|
|
119
|
+
- RED: command run, relevant failing output before implementation, and why the failure was expected
|
|
120
|
+
- GREEN: command run and relevant passing output after implementation
|
|
106
121
|
- Files changed
|
|
107
122
|
- Self-review findings (if any)
|
|
108
123
|
- Any issues or concerns
|
|
109
124
|
|
|
125
|
+
Then report back with ONLY (under 15 lines — the detail lives in the
|
|
126
|
+
report file):
|
|
127
|
+
- **Status:** DONE | DONE_WITH_CONCERNS | BLOCKED | NEEDS_CONTEXT
|
|
128
|
+
- Commits created (short SHA + subject)
|
|
129
|
+
- One-line test summary (e.g. "14/14 passing, output pristine")
|
|
130
|
+
- Your concerns, if any
|
|
131
|
+
- The report file path
|
|
132
|
+
|
|
133
|
+
If BLOCKED or NEEDS_CONTEXT, put the specifics in the final message
|
|
134
|
+
itself — the controller acts on it directly.
|
|
135
|
+
|
|
110
136
|
Use DONE_WITH_CONCERNS if you completed the work but have doubts about correctness.
|
|
111
137
|
Use BLOCKED if you cannot complete the task. Use NEEDS_CONTEXT if you need
|
|
112
138
|
information that wasn't provided. Never silently produce work you're unsure about.
|
package/bundled/upstream/superpowers/skills/subagent-driven-development/scripts/review-package
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Generate a review package: commit list, stat summary, and the net
|
|
3
|
+
# diff with extended context, written to a file the reviewer reads in one
|
|
4
|
+
# call. Using the recorded per-task BASE (not HEAD~1) keeps multi-commit
|
|
5
|
+
# tasks intact.
|
|
6
|
+
#
|
|
7
|
+
# Usage: review-package BASE HEAD [OUTFILE]
|
|
8
|
+
# Default OUTFILE: <repo-root>/.superpowers/sdd/review-<base7>..<head7>.diff
|
|
9
|
+
# (named per range, so a re-review after fixes gets a distinct fresh file).
|
|
10
|
+
set -euo pipefail
|
|
11
|
+
|
|
12
|
+
if [ $# -lt 2 ] || [ $# -gt 3 ]; then
|
|
13
|
+
echo "usage: review-package BASE HEAD [OUTFILE]" >&2
|
|
14
|
+
exit 2
|
|
15
|
+
fi
|
|
16
|
+
|
|
17
|
+
base=$1
|
|
18
|
+
head=$2
|
|
19
|
+
|
|
20
|
+
git rev-parse --verify --quiet "$base" >/dev/null || { echo "bad BASE: $base" >&2; exit 2; }
|
|
21
|
+
git rev-parse --verify --quiet "$head" >/dev/null || { echo "bad HEAD: $head" >&2; exit 2; }
|
|
22
|
+
|
|
23
|
+
if [ $# -eq 3 ]; then
|
|
24
|
+
out=$3
|
|
25
|
+
else
|
|
26
|
+
dir=$("$(cd "$(dirname "$0")" && pwd)/sdd-workspace")
|
|
27
|
+
out="$dir/review-$(git rev-parse --short "$base")..$(git rev-parse --short "$head").diff"
|
|
28
|
+
fi
|
|
29
|
+
|
|
30
|
+
{
|
|
31
|
+
echo "# Review package: ${base}..${head}"
|
|
32
|
+
echo
|
|
33
|
+
echo "## Commits"
|
|
34
|
+
git log --oneline "${base}..${head}"
|
|
35
|
+
echo
|
|
36
|
+
echo "## Files changed"
|
|
37
|
+
git diff --stat "${base}..${head}"
|
|
38
|
+
echo
|
|
39
|
+
echo "## Diff"
|
|
40
|
+
git diff -U10 "${base}..${head}"
|
|
41
|
+
} > "$out"
|
|
42
|
+
|
|
43
|
+
commits=$(git rev-list --count "${base}..${head}")
|
|
44
|
+
echo "wrote ${out}: ${commits} commit(s), $(wc -c < "$out" | tr -d ' ') bytes"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Resolve and ensure the working-tree directory SDD uses for its short-lived
|
|
3
|
+
# artifacts: task briefs, implementer reports, review packages, and the
|
|
4
|
+
# progress ledger. Print the directory's absolute path.
|
|
5
|
+
#
|
|
6
|
+
# The workspace lives in the working tree (not under .git/) because Claude Code
|
|
7
|
+
# treats .git/ as a protected path and denies agent writes there — which blocks
|
|
8
|
+
# an implementer subagent from writing its report file. A self-ignoring
|
|
9
|
+
# .gitignore keeps the workspace out of `git status` and out of accidental
|
|
10
|
+
# commits without modifying any tracked file.
|
|
11
|
+
#
|
|
12
|
+
# Single source of truth for the workspace location, so task-brief and
|
|
13
|
+
# review-package cannot drift to different directories.
|
|
14
|
+
#
|
|
15
|
+
# Usage: sdd-workspace
|
|
16
|
+
set -euo pipefail
|
|
17
|
+
|
|
18
|
+
root=$(git rev-parse --show-toplevel)
|
|
19
|
+
dir="$root/.superpowers/sdd"
|
|
20
|
+
mkdir -p "$dir"
|
|
21
|
+
printf '*\n' > "$dir/.gitignore"
|
|
22
|
+
cd "$dir" && pwd
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# Extract one task's full text from an implementation plan into a file the
|
|
3
|
+
# implementer reads in one call, so the task text never has to be pasted
|
|
4
|
+
# through the controller's context.
|
|
5
|
+
#
|
|
6
|
+
# Usage: task-brief PLAN_FILE TASK_NUMBER [OUTFILE]
|
|
7
|
+
# Default OUTFILE: <repo-root>/.superpowers/sdd/task-<N>-brief.md
|
|
8
|
+
# (per worktree; concurrent runs in the same working tree share it).
|
|
9
|
+
set -euo pipefail
|
|
10
|
+
|
|
11
|
+
if [ $# -lt 2 ] || [ $# -gt 3 ]; then
|
|
12
|
+
echo "usage: task-brief PLAN_FILE TASK_NUMBER [OUTFILE]" >&2
|
|
13
|
+
exit 2
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
plan=$1
|
|
17
|
+
n=$2
|
|
18
|
+
[ -f "$plan" ] || { echo "no such plan file: $plan" >&2; exit 2; }
|
|
19
|
+
|
|
20
|
+
if [ $# -eq 3 ]; then
|
|
21
|
+
out=$3
|
|
22
|
+
else
|
|
23
|
+
dir=$("$(cd "$(dirname "$0")" && pwd)/sdd-workspace")
|
|
24
|
+
out="$dir/task-${n}-brief.md"
|
|
25
|
+
fi
|
|
26
|
+
|
|
27
|
+
awk -v n="$n" '
|
|
28
|
+
/^```/ { infence = !infence }
|
|
29
|
+
!infence && /^#+[ \t]+Task[ \t]+[0-9]+/ {
|
|
30
|
+
intask = ($0 ~ ("^#+[ \t]+Task[ \t]+" n "([^0-9]|$)"))
|
|
31
|
+
}
|
|
32
|
+
intask { print }
|
|
33
|
+
' "$plan" > "$out"
|
|
34
|
+
|
|
35
|
+
if [ ! -s "$out" ]; then
|
|
36
|
+
echo "task ${n} not found in ${plan} (no heading matching 'Task ${n}')" >&2
|
|
37
|
+
exit 3
|
|
38
|
+
fi
|
|
39
|
+
|
|
40
|
+
echo "wrote ${out}: $(wc -l < "$out" | tr -d ' ') lines"
|