/fable5-methodology:course-correctionfrom fable5-methodology
Detects when the current approach is failing and guides a disciplined stop-revert-replan workflow to prevent accumulating patches.
Ships in fable5-methodology. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The discipline of stopping. Failed approaches are cheap if abandoned early and ruinous if defended. Code is cheap to rewrite from correct understanding; understanding is what the failed attempt bought you — keep it, discard the code.
Treat ANY of these as an alarm, not background noise:
Rule: the second workaround stacked on a first is an automatic alarm — the real cause is upstream of both.
No further edits toward the current approach. Not one more "quick try". The next keystrokes are documentation, not code.
Write down, in a note or message:
This snapshot is the asset the failed work purchased. Without it, the revert wastes everything.
git stash, git checkout -- ., or delete the scratch files. Keep the snapshot; discard the
patches. Exception: individual pieces that are independently correct and verified (a test you
wrote, a helper that works) may be kept — but only pieces you can justify in isolation.
The new plan MUST explain why the old approach failed. If it doesn't, you are about to repeat the same approach with different syntax. Check the new plan against every constraint listed in the snapshot before writing code.
If the new plan changes scope, cost, or the deliverable itself, tell the user BEFORE executing — one short paragraph: what didn't work, why (the discovered constraint), what you propose instead. A clear "here's what I ruled out and why the approach must change" is a legitimate deliverable; a fourth blind patch is not.
If you discover a defect in work you already reported as done: say so immediately and plainly ("the earlier fix misses case X — correcting now"), fix it, re-verify, re-report. Never quietly fold the correction into the next unrelated diff.
Task: add per-user rate limiting to an API.
Attempt 1: decorator storing counters in a module-level dict. Test fails — counters reset every deploy and are per-worker. Patch: move dict behind a lock. Still per-worker. Patch 2: pickle counters to disk on shutdown. Now tests are flaky under parallel workers.
Alarm fired: patch 2 exists to fix patch 1's symptom (patch stacking) — and honestly, the disk-pickle line only exists because "the test went away".
INCR + EXPIRE, atomic,
shared across workers). The old approach failed on a structural constraint, not a bug.The dead-end code is reverted; the knowledge snapshot exists in writing; the new plan names the discovered constraint that killed the old approach; the user has been informed if scope or deliverable changed; and work has resumed under the new plan — or the written ruled-out summary has been delivered to the user as the honest current state.
What SKILL.md sets; muted values are Claude Code's defaults
26 skills in this plugin
/architecture-decisionsChoose between competing technical approaches and make design decisions with an explicit trade-off order. Trigger this when a task requires selecting among 2+ viable designs — "should we use X or Y", designing a schema, shaping a public API, choosing a storage/queue/cache mechanism, deciding whether to add a dependency, or deciding whether to introduce an abstraction. Do NOT trigger for initial request parsing (use task-planning), for line-level style questions (use implementation-standards), or when the codebase already has an established pattern for this exact problem — in that case, follow the existing pattern without deliberation./codebase-explorationMap an unfamiliar repository before changing anything in it — structure sweep, entry points, configs, test baseline, targeted tracing, and mental-model confirmation. Trigger this the FIRST time you work in a repo (or an unfamiliar subsystem of a known repo) in a session, before your first edit there — whenever the user says "fix/add/change X" in code you have not yet mapped. Do NOT trigger for repos or areas you already mapped this session, for single-file scripts with no surrounding project, or for parsing the request itself (use task-planning) — this skill is about understanding the code, not the ask./code-reviewReview a diff or pull request — including your own before delivery — in a fixed pass order (correctness, then safety/security, then design, then style) and report findings ranked by severity. Trigger this when asked to review a PR or diff, when checking over a change before committing or handing it off, and as the design-and-correctness half of your own pre-delivery review. Do NOT trigger for the mechanical did-it-run gate (use verification-and-review) or for a dedicated vulnerability sweep (use security-review, which this skill's safety pass defers to) — this skill is holistic human-style review of a change set./context-economyProtect the context window as a scarce resource — read at the right altitude, delegate bulk reconnaissance to subagents so only conclusions enter the main thread, externalize durable facts to disk, and respond to your own degradation signals. Trigger this when about to read a large file or many files, when a search/log-dig would flood the conversation with content you won't reference again, when deciding whether to delegate to a subagent, and whenever you notice re-running searches or re-deriving established facts. Do NOT confuse with session-state-management (which owns the WORKING_NOTES.md file and resume protocol — this skill decides what enters context at all) or incremental-delivery (which chunks the deliverable — this skill budgets the reading around it)./debugging-methodologyStep-by-step procedure for diagnosing and fixing failures — reproduce, read, hypothesize, bisect, fix, regression-test. Trigger this whenever something does not work as expected — a bug report, a failing or flaky test, a crash, an error message, wrong output, "it worked yesterday", or unexpected behavior during your own implementation. Trigger BEFORE proposing any fix. Do NOT trigger for building new features (use task-planning) or for the moment you realize your overall approach is wrong rather than the code (use course-correction)./dependency-changesAdd, upgrade, or migrate third-party dependencies safely — read the changelog for the exact version jump, isolate the change, run full verification, and keep rollback ready. Trigger this when the task involves bumping a package version, adding a new dependency, replacing one library with another, resolving a dependency vulnerability, or a lockfile update. Do NOT trigger for using an already-installed dependency in application code (that's normal implementation), or for deciding WHETHER a new dependency is warranted (use architecture-decisions' dependency sub-decision) — this skill is about executing the change without breakage.npx claudepluginhub unpaidattention/fable5-methodology --plugin fable5-methodologyOther plugins' skills for the same job