Fable validate fableplan loop

From richkuo/rk-skills · View interactive version

Fable validate fableplan loop is an AI agent skill from the GitHub repository richkuo/rk-skills. Validates a GitHub issue with fable-validate, always posts a Fable 5.2 plan (no score gate, unlike fable-validate-loop), builds, and drives the pull request (PR) through the review loop. Stops when validation rejects the issue. Use for "fable-validate-fableplan-loop", "fable validate, fable plan, an

How to use this skill

Skill file

fable-validate-fableplan-loop

Chain fable-validate → (conditional) update issue → fableplan → build → work-on-issue-loop review loop into one autonomous run.

This is fable-validate-loop with the score gate removed: fableplan always runs, whatever the validated complexity score, and there is no "skip when the score is below 75" rule. On Claude Code, the build runs on an Opus 5.5 subagent at a tier the score sets (step 5). Other harnesses use the session build handoff. When skipping the plan for lower-band issues is fine, use fable-validate-loop.

Do not skip or reorder the chain. Validation gates planning, and the plan gates implementation. This variant has no sanctioned skip: every step runs, and only the "wait for the user's reply" moments are replaced by the decision rules in the cited steps.

Input

Same as fable-validate-loop, including the optional targetBranch.

Steps

Follow fable-validate-loop steps 1 through 6 with these changes:

Step 1 (fable-validate) applies unchanged.

Step 2 (scope gate) applies unchanged, with fable-validate-loop step 2's STOP table.

Step 3 (update-issue edits): apply them per fable-validate step 5 / validate-issue step 11; the stacked Validated with LLM: … attribution line uses the harness suffix fable-validate-fableplan-loop.

Step 4 (fableplan): there is no score gate — fable-validate-loop's score gate, safety carve-out, and top-band note do not apply; fableplan runs for every issue that passed the step-2 scope gate, whatever the validated score. Instruct fableplan to use the harness suffix fable-validate-fableplan-loop in the posted comment's attribution footer. The rest of the step applies unchanged: fableplan's planning-phase-only invocation, and the validation verdict handed to the planner inside the fable-dispatch section 7 untrusted-data block (verified/refuted claims, the Optimal-direction note when architecture was Underspecified, 5c concerns), with the scratchpad kept for step 5.

Step 5 (build, then review loop): this step replaces fable-validate-loop step 5. Detect the harness per fable-dispatch section 1. On Claude Code, an Opus 5.5 subagent builds and the session runs the review loop. On another harness, run fable-validate-loop step 5's handoff to work-on-issue-loop; that session build and its review loop complete this step.

Step 6 (report) applies unchanged, and names the build model and tier in the head-of-chain line, with a note when fable-dispatch section 6 reports that the tier was not honored. On the other-harness path, name the session model and the session tier the harness exposes, with unknown for an unexposed tier; do not use the step 5 subagent tier. Cap the whole report at 55 words and 5 sentences, plain simple English in ASD-STE100 — apply the Response Style rules in CLAUDE.md/AGENTS.md. The step 2 flag lines of fable-validate-loop step 6 follow the capped report and stay outside the cap.

Red Flags — STOP

fable-validate-loop's Red Flags table applies. Read its "only sanctioned skip is the step-4 score gate" wording as "no sanctioned skip at all": a score below 75 never skips fableplan here.

| Situation | Action |

|---|---|

| On Claude Code, about to build in the session, or to invoke work-on-issue-loop whole so that it builds | Dispatch the step 5 Opus 5.5 subagent, then enter the loop at its PR opened branch |

| On Claude Code, about to build a score below 50 at high, or a score of 50 or higher at medium, with no user request for that tier | Use the step 5 tier |

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.