From sdlc-deliver
Autonomous end-to-end software development lifecycle delivery pipeline. Translates a contract (plan, spec, or requirements document) into a fully implemented, reviewed, and validated codebase through planning, independent code review, 10-reviewer delivery validation, and knowledge compounding. Trigger when user says 'deliver this contract', 'deliver', '/sdlc-deliver', 'execute this plan end-to-end', 'run the full delivery cycle', or provides a contract path expecting autonomous implementation. Requires a contract document path as input — rejects if none provided.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sdlc-deliver:sdlc-deliverThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Execute a full autonomous delivery pipeline for the contract at $ARGUMENTS.
Execute a full autonomous delivery pipeline for the contract at $ARGUMENTS.
Hard gate: if $ARGUMENTS is empty or does not point to a readable contract document, STOP immediately. Say: "No contract provided. Usage: /sdlc-deliver path/to/contract.md" and do nothing else.
Phase 0: Contract (provided) ─── REJECT if missing
│
▼
Phase 1: /ce-plan ─── translate contract → implementation plan (no questions)
│
▼
Phase 1.5: Plan Review ─── 3 reviewers validate plan vs contract (all must PASS)
│
▼
Phase 1.5: Commit & merge plan PR (doc-only, CI auto-pass)
│
▼
Phase 2: /ce-worktree ─── create isolated worktree (no questions)
│
▼
Phase 3: /ce-work (BUILD) ─── implement plan units (worker → MANDATORY reviewers → merge)
│
▼
Phase 4: Delivery ─── 10 contract reviewers validate entire contract (MANDATORY, DO NOT SKIP)
│ if blockers: /ce-work (FIX) → MANDATORY reviewers → merge → re-review ALL 10
▼
Phase 5: Report ─── completion report .md, PR merged to main
│
▼
Phase 6: Housekeeping ─── remove worktree, delete branches, prune refs
│
▼
Phase 7: /compound-engineering:ce-compound ─── document solved problem
│
▼
Phase 8: /dream ─── consolidate session learnings (if available)
│
▼
DONE
/rename <contract-filename>
grammar-qg-p11.md → /rename grammar-qg-p11/ce-plan)Invoke /ce-plan with these overrides to its default behaviour:
/ce-planPass the full contract content as the planning input. Add this preamble:
You are planning the autonomous delivery of this contract. Rules:
1. The plan MUST deliver 100% of the contract. No fallbacks, no "stretch goals", no "nice to have". Every stated requirement becomes a planned unit of work.
2. Do NOT ask questions. The contract is complete and organised. If a requirement is ambiguous, interpret it in the way that delivers the most value while remaining safe.
3. Convert any non-agent workflow to autonomous equivalents:
- "Run a cohort of real accounts for 5 days" → create test fixtures/mocks that simulate multi-day cohort data, generate synthetic evidence, write validation tests that prove the system would behave correctly under real cohort conditions
- "Manual QA by a team member" → automated test suites + browser testing + validation scripts
- "Get sign-off from stakeholder" → delivery cycle reviewers validate against contract gates
- "Observe production for N days" → time-simulation tests, state-machine coverage, date-key rollover tests
4. The ONLY items that remain non-autonomous are those requiring:
- Physical hardware the agent cannot access
- Third-party credentials not available in the environment
- Legal/compliance sign-off that requires a named human
Flag these as "DEFERRED: requires human" with clear explanation.
5. Structure the plan as ordered units of work, each independently PR-able.
6. Each unit must specify: files to create/modify, tests to write, acceptance criteria derived from the contract.
/ce-plan runs to completion without asking questions<contract-name>-plan.md/ce-plan attempts to ask a question, override: "Decide autonomously based on the contract. Do not ask."After /ce-plan completes, validate the plan against the contract before any implementation begins.
Spawn 3 independent subagent reviewers in parallel. Each validates whether the plan faithfully delivers the contract:
Each reviewer:
ALL 3 reviewers must PASS. If any blocks:
Once all 3 reviewers pass:
git add <plan-file> && git commit -m "docs(<contract-slug>): agreed implementation plan"git fetch origin to sync/ce-worktree)Invoke /ce-worktree after the plan PR is merged.
feat/hero-pA2-delivery or feat/<contract-slug>)/ce-work — build mode)Purpose: Implement all planned units of work. This is the BUILD phase.
Invoke /ce-work inside the worktree with the generated plan. The scope of this invocation is strictly: implement the plan units, get each through per-unit code review, and merge. It does NOT validate the contract as a whole — that is Phase 4's job.
For each unit in the plan, execute:
Worker (subagent in worktree)
→ implement + tests + commit + push + open PR
→ Worker rules:
- "Your output MUST include a valid PR URL."
- "Do not use git stash."
- "Include 'Plan Deviations' in PR body if you deviate."
- For UI/UX units: invoke /ce-frontend-design
Every PR MUST go through BOTH independent code review AND contract alignment review before merge. These are NOT optional. Do not merge without approval from both reviewer types.
Each reviewer = 1 separate independent subagent call. All reviewers are dispatched in parallel. They do not share context, do not see each other's verdicts, and each returns its own independent judgement.
Code Reviewers (each is 1 separate Agent call, all dispatched in parallel)
→ ce-correctness-reviewer — 1 independent agent call
→ ce-maintainability-reviewer — 1 independent agent call
→ ce-testing-reviewer — 1 independent agent call
→ ce-project-standards-reviewer — 1 independent agent call
→ + conditional (each also 1 independent agent call):
ce-security-reviewer, ce-performance-reviewer,
ce-reliability-reviewer, ce-data-migrations-reviewer
→ Each returns: APPROVE or BLOCKING (with findings)
Contract Reviewer (1 separate independent Agent call, dispatched in parallel with code reviewers)
→ Reads: the original CONTRACT (not just the plan) + the PR diff
→ Validates: does this unit deliver what the contract requires for this scope?
→ Checks: no requirement dropped, no acceptance criteria missed, no scope creep
→ Returns: APPROVE or BLOCKING (with specific contract requirement references)
Total per PR: minimum 5 separate Agent calls (4 code + 1 contract), up to 9 if all conditional reviewers apply. You cannot combine any of these into fewer calls.
Review Follower (if any BLOCKING from code OR contract reviewer)
→ git pull origin <branch> first
→ Address all blocking findings
→ Push fixes
→ Re-dispatch ALL reviewers (code + contract, not just blockers) — same number of separate Agent calls
→ Repeat until zero blockers
These are HARD rules. Violating any of them is a protocol failure:
gh pr checks shows any failure, the PR does NOT merge. Investigate the failure, fix it (via the review follower cycle), and wait for green. There is no "CI is flaky, merge anyway" exception.gh pr checks must all pass (CI green)gh pr merge --squash --delete-branchgit fetch originPhase 3 is complete when ALL plan units have merged PRs with green CI AND reviewer approval. Report: "Phase 3 complete: N/N units merged. Starting Phase 4."
/ce-work fix mode)Purpose: Validate the ENTIRE contract has been delivered correctly. This is the VALIDATE phase.
This is a fundamentally different workflow from Phase 3. Phase 3 reviews individual PRs for code quality. Phase 4 reviews the entire delivered codebase against the original contract at the highest standard. These are independent concerns — passing Phase 3 does NOT mean Phase 4 will pass.
This step is the core quality gate of the delivery. It MUST run. The contract is NOT delivered until all 10 reviewers pass. Do not proceed to Phase 5 without completing this phase.
ALL 10 reviewers MUST be dispatched as 10 separate subagent calls. You cannot reduce this number.
Each reviewer = 1 independent subagent. You MUST spawn 10 separate Agent tool calls — one per dimension. You cannot combine multiple dimensions into a single agent call. A single agent "reviewing all 10 dimensions" is NOT 10 independent reviewers — it is 1 reviewer pretending to be 10. Independence means each reviewer has its own context, its own judgement, and returns its own verdict without seeing the others.
Spawn 10 independent subagent reviewers in parallel (10 separate Agent calls):
Each reviewer:
These are the HARDEST rules in the entire pipeline. This is where delivery quality is enforced. Every observed failure of this pipeline has been the orchestrator rationalising its way past a BLOCK here.
BLOCK means FIX CYCLE. No exceptions. If a reviewer returns BLOCK, you MUST invoke /ce-work (fix mode) to address the findings. You cannot:
All 10 reviewers must be dispatched as 10 SEPARATE subagent calls. Every time. You cannot:
Re-review means ALL 10. Every time. From scratch. After fixes:
The fix cycle has its own mandatory code review. The /ce-work (fix mode) follows the full Phase 3 per-unit pipeline including MANDATORY code reviewers. You cannot:
Only reviewer verdicts count. The orchestrator cannot:
"N/A" is the reviewer's call, not yours. If a dimension does not apply to this contract (e.g., no UI work), the reviewer for that dimension will return PASS with a note explaining why. You do not pre-empt this by not dispatching the reviewer.
/ce-work — fix mode)If ANY reviewer blocks:
/ce-work to implement the fixes — this is a DIFFERENT /ce-work invocation from Phase 3:
/ce-work: implements plan units (building new features)/ce-work: fixes delivery gaps found by contract reviewers (patching to meet the contract)/ce-work follows the FULL per-unit pipeline: worker → PR → MANDATORY code reviewers → follower → merge. No shortcuts.The contract is delivered ONLY when all 10 reviewers simultaneously return PASS on the same codebase state. Report: "Phase 4 complete: contract delivered (round N, all 10 PASS). Starting Phase 5."
This is a separate documentation phase. It runs AFTER the delivery cycle confirms all 10 reviewers passed.
<contract-name>-completion-report.mdgit fetch origin to syncReport PR is merged to main. Report: "Phase 5 complete: report merged. Starting Phase 6."
After the completion report PR is merged, clean up all delivery artefacts:
git worktree remove <worktree-path> --force
If the worktree has already been removed by squash-merge branch deletion, just prune:
git worktree prune
Delete all local branches created during this delivery (feature branches, fix branches, report branch). They have already been squash-merged so no work is lost:
git branch -d <branch-name>
If -d refuses (not fully merged due to squash), use -D — the PR merge confirms the work landed.
git fetch origin --prune
This removes local tracking references for remote branches already deleted by --delete-branch during PR merges.
Confirm:
git worktree list shows only the main worktreegit branch shows no delivery-related branchesgit status on main is cleanIf any of these fail, fix before proceeding.
/compound-engineering:ce-compound)Invoke /compound-engineering:ce-compound after housekeeping. Use all default/recommended settings. Run autonomously — document the solved problem to compound team knowledge.
/dream)If /dream is available, invoke it. Consolidate session learnings into persistent memory.
/dream unavailable).You are NOT allowed to rationalise skipping reviewers or overriding their verdicts. If you catch yourself thinking any of the following, STOP — you are about to violate protocol:
| Rationalisation thought | What you MUST do instead |
|---|---|
| "This BLOCK is minor / advisory" | Run the fix cycle. BLOCK = fix. |
| "This dimension doesn't apply" | Dispatch the reviewer anyway. Let IT decide. |
| "The reviewer is wrong" | Run the fix cycle. Only a re-review clears a BLOCK. |
| "I'll fix it in the report" | No. Fix it in code. Reports document, they don't fix. |
| "Good enough for this contract" | Not your call. 10 reviewers decide "good enough". |
| "I'll save tokens by skipping X" | Protocol is non-negotiable. Dispatch all. |
| "The contract says N/A" | Dispatch reviewer. It will PASS if truly N/A. |
| "I already checked this myself" | Self-review ≠ independent review. Dispatch. |
| "Only 1 reviewer blocked, rest passed" | 1 BLOCK = fix cycle → re-review ALL 10. |
| "The findings overlap with Phase 3 review" | Phase 4 is a different concern. Run it fully. |
| "I'll dispatch one agent for all 10 dimensions" | No. 10 dimensions = 10 separate Agent calls. 1 agent ≠ 10 reviewers. |
| "I can cover these in fewer agents" | Independence requires separate context. Each reviewer = 1 agent call. |
| "I'll run the remaining N reviewers" | No. Partial runs are invalid. Re-run ALL 10 from scratch. |
| "3 passed already, I just need the other 7" | Invalid. All 10 must come from the same round. Start over. |
| "CI is flaky, I'll merge anyway" | No. Red CI = no merge. Investigate and fix. |
Provides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub fol2/james-dev-skills --plugin sdlc-deliver