Agent skill
delivery-high-level-plan
Transform validated Stories into a clear, minimal, governed execution plan. Used by the Planning Sub-Agent as the first planning pass before prepare-execution-plan for Tier 2/3, or as the sole planning output for simple Stories.
Install this agent skill to your Project
npx add-skill https://github.com/Fr-e-d/GAAI-framework/tree/main/.gaai/core/skills/delivery/delivery-high-level-plan
Metadata
Additional technical details for this skill
- id
- SKILL-DELIVERY-HIGH-LEVEL-PLAN-001
- owner
- Planning Sub-Agent
- track
- delivery
- author
- gaai-framework
- status
- stable
- version
- 1.0
- category
- delivery
- updated at
- 1772409600
SKILL.md
Delivery High-Level Execution Plan
Purpose / When to Activate
Owner: Planning Sub-Agent. Not invoked directly by the Delivery Orchestrator.
Used by the Planning Sub-Agent as:
- The sole planning output for Tier 1 (MicroDelivery) when a brief plan is sufficient
- The first planning pass before
prepare-execution-planis invoked for Tier 2/3 Stories
Do NOT activate if Stories are unclear, acceptance criteria are missing, or product scope is still evolving.
Process
CRITICAL — Anti-Collision Guard (MUST execute before writing any output file):
Before writing contexts/artefacts/plans/{id}.plan.md, check if the target file already exists on disk:
- If it does NOT exist → proceed normally.
- If it DOES exist → read the existing file first. Then decide:
- If the existing content is from a different entity (different story ID, different epic) → STOP immediately, surface the ID collision to the human, do not proceed.
- If the existing content is from the same entity and an update is warranted → proceed, but preserve any human edits or prior findings that remain relevant. Treat this as an update, not a replacement.
- If the existing content is identical or still valid → skip writing, report "no changes needed". This guard prevents the silent data loss incident of 2026-03-17 where concurrent sessions overwrote story files.
- Load only relevant memory and rules
- Read each Story and acceptance criteria fully
- Identify required behavior and boundaries
- Break work into minimal execution steps
- Surface dependencies and risks
- Avoid premature optimization or over-engineering
- Produce a clean, high-signal plan
Outputs
Execution Plan — Story <ID>
Objective:
<what must be achieved exactly>
Steps:
1. <clear action> — purpose
2. <clear action> — purpose
3. <clear action> — purpose
Dependencies:
- <if any>
Risks / Constraints:
- <if any>
Validation Gates:
- acceptance criteria covered: yes | no
- rules compliant: yes | no
Saves to contexts/artefacts/plans/{id}.plan.md.
For Tier 2/3: this output feeds directly into prepare-execution-plan for file-level decomposition.
Mandatory Delivery Sequence (Non-Negotiable)
Every plan produced by this skill MUST include the following steps in this order as the final phase of any delivery:
... → create-pr → ci-watch-and-fix → [if CI PASS] → mark done
→ [if CI FAIL after retries] → mark failed
ci-watch-and-fixis always mandatory — it is never optional.- The plan must never include a "mark done" step without
ci-watch-and-fixpreceding it. - If CI FAIL is returned by
ci-watch-and-fix, the story is markedfailed— notdone.
Turn budget note: A 3-cycle CI remediation loop can consume ~60–90 tool turns. Plans for complex stories should reserve turn budget for CI remediation. Combined implementation + CI remediation should target under 150 turns out of the daemon's 200-turn budget.
Quality Checks
- Every acceptance criterion maps to at least one step
- No rule is violated
- Scope is unchanged from the Story
- Dependencies are explicit
- Nothing ambiguous remains
- Mandatory delivery sequence (create-pr → ci-watch-and-fix → mark done/failed) is present in every plan
Non-Goals
This skill must NOT:
- Redefine product scope
- Add new features
- Make architectural decisions beyond stated constraints
- Start coding
- Bypass rules
A good execution plan makes coding boring. Boring is reliable. Reliable scales.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ci-watch-and-fix
Watch GitHub Actions CI after PR creation, detect failures, extract logs, apply minimal fixes, and re-push — keeping the delivery session alive until CI resolves or escalating after 3 cycles. Activate immediately after gh pr create and before marking the story done.
qa-review
Validate that implemented code fully satisfies Story acceptance criteria, respects rules, and introduces no regressions. This is the hard quality gate — no pass means no delivery. Activate after implementation is complete.
compose-team
Assemble the context bundles for each sub-agent based on evaluate-story output. Produces spawn-ready packages for Planning, Implementation, QA, or MicroDelivery sub-agents. Activate after evaluate-story, before spawning any sub-agent.
coordinate-handoffs
Validate sub-agent handoff artefacts, sequence phase transitions, and manage retry and escalation logic. Activate after each sub-agent terminates to determine next action.
implement
Generate correct, minimal, maintainable code that satisfies a validated Story's acceptance criteria against an execution plan. Activate when a Story is validated, a plan exists, and all prerequisites are unambiguous.
prepare-execution-plan
Decompose a high-level delivery plan into a precise, file-level execution sequence with explicit ordering, edge cases, and test checkpoints. Activate after delivery-high-level-plan for complex or multi-phase Stories before implementation begins.
Didn't find tool you were looking for?