richkuo/fableplan
10 stars · Last commit 2026-07-03
A Claude Code skill that delegates implementation planning to a Fable 5 subagent, then builds from the vetted plan in an isolated git worktree — posting it to a referenced GitHub issue along the way.
README preview
# fableplan A [Claude Code](https://claude.com/claude-code) skill that delegates implementation planning to a **Fable 5** planning subagent, then builds from that plan in your main session — and, when a GitHub issue is referenced, posts the vetted plan to the issue as a comment. The idea: let a dedicated planning model (Fable 5) produce a concrete, ordered implementation plan before any code is written, review it against the real codebase, preserve it on the tracker, and only then build — in an isolated git worktree so your working tree is never touched. ## What it does Trigger it with `/fableplan`, "fableplan this", or "plan this with fable", plus a task description and optionally a GitHub issue (`#N`, a full URL, or `owner/repo#N`). The skill then runs a 7-step flow: 1. **Resolve the GitHub issue** (only if one is referenced) so the planner works from the real requirements, not a paraphrase. 2. **Dispatch the Fable 5 Plan subagent**, confirm it made no edits, and save the plan verbatim to a scratch file. 3. **Sanity-check the plan** against the actual codebase (files, symbols, conventions). It stops and asks you if the plan is structurally wrong rather than silently re-planning. 4. **Post the vetted plan** to the GitHub issue as a comment (only if one was referenced). 5. **Present the plan** to you. 6. **Set up an isolated git worktree** so the build never touches your current workspace. 7. **Build** the task from the plan, inside that worktree.