Execution plan review

From richkuo/rk-skills · View interactive version

Execution plan review is an AI agent skill from the GitHub repository richkuo/rk-skills. Renders the assignment table from the Execution blocks of a milestone's GitHub issues (order, model, effort, plan, plan effort), validates revisions, and writes them back. Stage 5 of the new-app-pipeline. Use for "review the execution plan", "/execution-plan-review", "show me the model assignments",

How to use this skill

Skill file

execution-plan-review

Show a milestone's per-issue ordering and execution assignments as one table, take the user's revisions, and sync the GitHub issues, which are the source of truth. milestoneplan is the read-only view of this table; it routes Execution-block fixes here.

Steps

1. Render the table from the issues, not from memory

Fetch every milestone issue (gh issue list --milestone "<title>" --json number,title,body, with the title quoted) and parse the ## Execution blocks (read a legacy fableplan first: line as plan first:, and write back only plan first:):

| Issue | C | Depends on | Runs after | Build model | Effort | Validate | plan first? | Plan |

|---|---|---|---|---|---|---|---|---|

Cell rules:

Then add 2–3 sentences on the pattern (dominant bands, which issues plan first at score ≥ 75, the review trigger) as a sanity check against the validate-issue step 6 band table.

2. Take revisions

3. Write back

Load github-issue-format. For each changed issue, gh issue edit preserving the entire body and changing only the intended Execution block lines; the footer verb flips to Updated. Strip \r from gh-fetched bodies. When edits collide with concurrent issue edits, re-fetch and re-apply only your delta. Re-run the graph validation after any concurrent-edit re-fetch and before retrying a write.

4. Confirm

Re-render the final table once after all revisions land, and say it is what the milestone workflow will execute.

Failure modes

| Situation | Do this |

|---|---|

| An issue lacks an Execution block | Derive model, effort, and plan first: from the [C..] band per prd-to-issues. Stamp no Validate effort:, Plan model:, or Plan effort: line unless the user asked for that model or tier. Flag the backfilled block in the table |

| An issue lacks one or both ordering fields | Backfill from the approved prd-to-issues graph when available; otherwise infer from Approach/Problem, mark the value inferred in the table, and confirm before write-back |

| Revision references a row that does not exist | Show the table again; ask which issue they meant |

| Revision puts a Claude build's effort at any tier other than high | Write high and say the clamp applied: every Claude build, Fable 5.2 included, runs only at high. A Codex CLI or Cursor CLI build accepts low to xhigh as stamped, and Codex also accepts max |

| Revision names an external CLI build or validate without a known default model id | Only Luna (Codex CLI), Astra (Codex CLI), and Grok (Cursor CLI) resolve an id; before writing, ask for the id in half a sentence and write it inside the parenthetical |

| Revision puts a Fable 5.2 validate stage at xhigh | Write it as stamped. The revision is the explicit ask that permits xhigh on Fable; the unstamped default stays high (the LLM Attribution Footer section of CLAUDE.md owns this rule) |

| Revision puts a Fable plan stage at any tier | Remove the Plan effort: line and say the tier follows the score: a Fable plan, on Fable 5.2 or any later Fable version, runs at high at [C90] or higher or with a missing prefix, and at medium below [C90] |

| Revision names a validate model | Write - **Validate model:** Fable 5.2, Opus 5.5, or <Name> (Codex CLI[, <model-id>]); a stamped model overrides the band (validate-issue step 6). Reject a Cursor CLI validate and keep the prior stamp; say the pipeline runs a validate pass only in the Codex read-only file sandbox, and Cursor has no write boundary. Ask about any other Claude name in half a sentence |

| Revision names a validate effort | Write the Validate effort: line. A Fable validate (stamped) runs every tier low to xhigh as stamped; a Codex CLI validate runs low to max as stamped. An Opus validate (stamped, or unstamped at any score) runs medium, high, and xhigh as stamped and raises low to high; say so, and offer a Validate model: stamp as the way to reach a Fable or Codex validate |

| A stamped Build model or Effort diverges from the issue's current [C..] band default | Apply validate-issue/issue-editing.md (Edit the title): a stamp at or above the band default on a field (a heavier model, a Fable build of any version, a Codex CLI or Cursor CLI harness, a higher effort on a Codex CLI or Cursor CLI build, plan first: Yes) is a deliberate override from any session. Keep it, and mark it in the table as stamped above band. Restamp a stamp below the band default up to the default and report it, unless the user names the lower stamp deliberate in this session, with the step 2 push-back; a lower effort is deliberate only on a Codex CLI or Cursor CLI build. A Claude build Effort: stamp other than high is no override: show the clamp per the Effort cell rule, restamp it to high on write-back, and report it. A run-time rescore keeps a harness or Fable stamp of any version and only adds plan first: Yes |

| Revision flips plan first: Yes → No on a band-3 ([C75]+) issue | Write it and say the issue loses its plan stage. Build effort stays high |

| Revision names a plan effort | Write the Plan effort: line with medium. A revision to high, the Opus default tier, removes the line. A revision to low or xhigh also removes the line; say the clamp applied: an Opus plan runs low and xhigh at high. On a Fable plan, the score sets the tier (see the Fable plan row) |

| Revision names a plan model | Write the Plan model: line with Fable 5.2 or Opus 5.5. A revision to the score default (Opus 5.5 below [C90], Fable 5.2 at [C90] or higher or with a missing prefix) removes the line. A Plan model revision on a plan first: No issue is inert, the same as a Plan effort revision |

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.