13-phase-loop-delivery
Skill1 starsChanged 53 days agoMITView on GitHub
Version: 1.0.0 Compatible: agent_blueprint >= 1.0 Requires: orchestrator, context-engineering, testing, documentation Outputs: phase-spec.md, verification-evidence.md The 5-Phase Delivery Loop (Discuss → Plan → Execute → Verify → Ship) is the universal execution cadence for AI coding agents. Originating in spec-driven development and context-engineering frameworks (such as Open GSD), it guarantees that agents never jump straight into blind code edits, hallucinate completions, or ship unverified changes. Objective: Extract full context and eliminate assumptions before touching code. Rule: Never start planning or writing…
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 8 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 50
Clarify Requirements: Ask specific multiple-choice or direct questions about underspecified requirements.
- Very specific: line 52
Confirm Existing Invariants: Check AGENTS.md and docs/02-architecture/ for existing architectural rules that must never be violated.
- Very specific: line 63
Perform Discovery: Search and inspect affected files using line-sliced view_file or grep_search.
- Very specific: line 69
Populate
TASK.md: Write out each item with explicit checkboxes (- [ ] Wave 1.1: Add schema...). - Distinctive: line 78
Fresh Context Isolation: If the task is large, delegate each wave to a subagent or start with a bounded task specification.
- Very specific: line 80
Check Off Progress: Update TASK.md (- [x] Step completed) as each unit is completed.
- Distinctive: line 91
Ensure 0 errors and 0 regressions.
- Very specific: line 93
Run linter/compiler (e.g., tsc --noEmit, cargo clippy, eslint).
- Distinctive: line 95
Verify server startup, API responses, or UI rendering where applicable.
- Distinctive: line 104
Objective: Leave the repository in a pristine, audit-ready state.
- Very specific: line 107
If an endpoint was added/changed $\to$ update docs/03-engineering/api.md or docs/10_API_AND_INTEGRATIONS.md.
- Distinctive: line 108
If a table or schema changed $\to$ update database docs and migrations.
- Distinctive: line 109
If a business rule changed $\to$ update business docs.
- Very specific: line 111
Add an entry under ## [Unreleased] with:
- Very specific: line 116
Ensure the commit is on a semantic branch (feat/..., fix/..., chore/...).
- Distinctive: line 117
Create an atomic commit using Conventional Commits standard:
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
13 — 5-Phase GSD Delivery Loop
Version: 1.0.0
Compatible: agent_blueprint >= 1.0
Requires: orchestrator, context-engineering, testing, documentation
Outputs: phase-spec.md, verification-evidence.md
Purpose
The 5-Phase Delivery Loop (Discuss → Plan → Execute → Verify → Ship) is the universal execution cadence for AI coding agents. Originating in spec-driven development and context-engineering frameworks (such as Open GSD), it guarantees that agents never jump straight into blind code edits, hallucinate completions, or ship unverified changes.
The 5-Phase Delivery Lifecycle
┌──────────┐
│ DISCUSS │ ──► Clarify ambiguities & lock architecture decisions
└────┬─────┘
│
▼
┌──────────┐
│ PLAN │ ──► Research codebase & decompose into atomic task waves
└────┬─────┘
│
▼
┌──────────┐
│ EXECUTE │ ──► Fresh-context subagents implement wave-by-wave
└────┬─────┘
│
▼
┌──────────┐
│ VERIFY │ ──► Run tests, build checks, and produce empirical evidence
└────┬─────┘
│
▼
┌──────────┐
│ SHIP │ ──► Atomic git commit, sync living docs, update CHANGELOG
└──────────┘Phase 1: Discuss (Decide Before Planning)
Objective: Extract full context and eliminate assumptions before touching code.
- Clarify Requirements: Ask specific multiple-choice or direct questions about underspecified requirements.
- Lock Trade-Offs: Agree on performance vs. simplicity, dependencies to allow or disallow, and breaking-change tolerance.
- Confirm Existing Invariants: Check
AGENTS.mdanddocs/02-architecture/for existing architectural rules that must never be violated. - Output: A concise Decision Record or task statement added to
TASK.md.
Rule: Never start planning or writing code if the core user intent is ambiguous.
Phase 2: Plan (Decompose into Atomic Waves)
Objective: Map dependencies and write an executable checklist before modifying files.
- Perform Discovery: Search and inspect affected files using line-sliced
view_fileorgrep_search. - Structure Task Waves: Group work into strictly bounded, incremental waves:
- Wave 1: Core models, data structures, migrations
- Wave 2: Business logic services, domain operations
- Wave 3: Controllers, endpoints, user interfaces
- Wave 4: End-to-end tests, edge case coverage, doc sync
- Populate
TASK.md: Write out each item with explicit checkboxes (- [ ] Wave 1.1: Add schema...). - Output: Updated
TASK.mdready for review.
Phase 3: Execute (Wave-by-Wave Execution)
Objective: Implement code modifications within strict context and file boundaries.
- Fresh Context Isolation: If the task is large, delegate each wave to a subagent or start with a bounded task specification.
- Minimal Necessary Edits: Change only the lines and files required for the current wave.
- Check Off Progress: Update
TASK.md(- [x] Step completed) as each unit is completed. - Preserve Coding Style: Match formatting, casing, naming conventions, and typing patterns already present in the codebase.
Phase 4: Verify (Zero False Accomplishment)
Objective: Prove correctness with empirical runtime evidence.
- Run Automated Test Suite:
- Execute project tests (e.g.,
npm test,cargo test,pytest). - Ensure 0 errors and 0 regressions.
- Execute project tests (e.g.,
- Compile / Lint / Typecheck:
- Run linter/compiler (e.g.,
tsc --noEmit,cargo clippy,eslint).
- Run linter/compiler (e.g.,
- Perform Smoke Verification:
- Verify server startup, API responses, or UI rendering where applicable.
- Produce Verification Evidence: Record exact command line and exit status in the task report.
The Zero False Accomplishment Rule: An agent must NEVER output "The feature is complete" without displaying the actual passing terminal logs or test proofs in the conversation.
Phase 5: Ship (Atomic Commit & Living Docs Sync)
Objective: Leave the repository in a pristine, audit-ready state.
- Sync Living Documentation (
docs/):- If an endpoint was added/changed $\to$ update
docs/03-engineering/api.mdordocs/10_API_AND_INTEGRATIONS.md. - If a table or schema changed $\to$ update database docs and migrations.
- If a business rule changed $\to$ update business docs.
- If an endpoint was added/changed $\to$ update
- Update
CHANGELOG.md:- Add an entry under
## [Unreleased]with:### Added,### Changed,### Fixed, or### Removed- Exact file paths touched
- User rationale
- Add an entry under
- Check Branch Governance:
- Ensure the commit is on a semantic branch (
feat/...,fix/...,chore/...). - Create an atomic commit using Conventional Commits standard:
git commit -m "feat(billing): add stripe webhook idempotent processor"
- Ensure the commit is on a semantic branch (
- Final Checklist Verification:
TASK.mdis 100% checked offdocs/reflects the updated realityCHANGELOG.mdaudit entry logged- Automated tests passing
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- 00-orchestratorSkill
- 01-discoverySkill
- 02-project-contextSkill
- 03-business-architectureSkill
- 04-architectureSkill
- 05-documentationSkill
- 06-codebase-auditSkill
- 07-securitySkill
- 08-testingSkill
- 09-performanceSkill
- 10-auditSkill
- 11-controlled-source-of-truthSkill
- 12-context-engineeringSkill
- 14-forensics-and-debuggingSkill
- 15-autonomous-loop-and-simplificationSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

