GAAI-framework 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.
git clone https://github.com/Fr-e-d/GAAI-framework
T=$(mktemp -d) && git clone --depth=1 https://github.com/Fr-e-d/GAAI-framework "$T" && mkdir -p ~/.claude/skills && cp -r "$T/.gaai/core/skills/delivery/delivery-high-level-plan" ~/.claude/skills/fr-e-d-gaai-framework-delivery-high-level-plan && rm -rf "$T"
.gaai/core/skills/delivery/delivery-high-level-plan/SKILL.mdDelivery 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
is invoked for Tier 2/3 Storiesprepare-execution-plan
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
is always mandatory — it is never optional.ci-watch-and-fix- The plan must never include a "mark done" step without
preceding it.ci-watch-and-fix - If CI FAIL is returned by
, the story is markedci-watch-and-fix
— notfailed
.done
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.