assafkip/fable-discipline
5 stars · Last commit 2026-07-04
Make Claude Opus code like Fable 5: Fable's coding habits as a Claude Code plugin, with one habit (tests never touch live data) enforced by a hook.
README preview
# fable-discipline Fable's engineering discipline for any Claude session, with one habit actually enforced by a hook instead of left to the model's good intentions. Most "make the model more disciplined" skills are prompts: vague instructions the model is trusted to follow and check itself against. That is the fair criticism of the whole genre. fable-discipline teaches the judgment parts the same way, but the one habit that can be checked mechanically is enforced by a hook that blocks, every time, whether the model feels like it or not. ## Where it came from I spent a while reading thousands of code edits by one capable model, next to another, then had an independent review grade the work. The habits that survived both the review and the shipped codebase are what is in here. It comes in two layers: how to run a task, and how to write the code. ## Install