AIDE Plan
Overview
Turn a task spec into a concise, reviewable plan (Layer 1 constraints + Layer 2 tasks) and a draft PR checklist body.
Workflow
Inputs
- •Issue/PR spec text (preferred), or an issue number to fetch via
gh(optional). - •Any constraints or acceptance criteria not in the spec.
Steps
- •Locate repo root (walk up until
AGENTS.md). - •Read
AGENTS.mdto capture top invariants and the project's quality commands. - •Produce Layer 1 constraints (short bullet list).
- •Produce Layer 2 plan (ordered tasks with exit criteria).
- •Output a PR draft body checklist (markdown
- [ ]) that mirrors the plan.
Output
- •A plan block suitable for chat approval.
- •A draft PR body template (ready to paste into
gh pr create --draft).
Notes
- •Do not implement; planning only.
- •Prefer the narrowest test scope first, then broaden.