agentleFS
imMamdouhaboammarimMamdouhaboammar/get-fable/skills/fable-method/SKILL.md

fable-method

Skill6 starsChanged 3 months agoMITView on GitHub

A step-by-step problem-solving loop (classify the ask, define done, gather evidence, decide, act surgically, verify by observation, report outcome-first). Use when the user says "/fable-method", "use the fable method", or "approach this like Fable", or proactively when starting any multi-step task that no task-specific skill covers. Subcommands - plan (stop after the plan), audit (grade finished work against the loop), report (rewrite an answer outcome-first).

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. 0 are common, 6 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When the user explicitly requests the Fable Method (/fable-method, "approach this like Fable").

    line 42
  2. Distinctive:

    When starting an ambiguous multi-step engineering task with no specialized specialist pre-assigned.

    line 43
  3. Very specific:

    When executing structured planning (/fable-method plan <task>).

    line 44
  4. Very specific:

    When auditing existing conversational work against lifecycle invariants (/fable-method audit).

    line 45
  5. Distinctive:

    Triviality Gate: If the task is one file, under ~10 lines, with no new behavior and known edit, execute directly and confirm with one check.

    line 65
  6. Distinctive:

    Step 5 — Verify by Observation: Run the code, execute the test, observe the side effect.

    line 75
  7. Distinctive:

    Use targeted file reading and editing tools.

    line 87
  8. Distinctive:

    If a step fails, diagnose the failure mechanism rather than blindly retrying the same operation.

    line 97
  9. Very specific:

    If two consecutive failures occur, immediately route to fable-recover.

    line 98
  10. Distinctive:

    All criteria defined in Step 1 ("Define Done") are satisfied.

    line 102

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

The Fable Method

A mid-tier model that follows this loop beats a stronger model that free-styles: the quality lives in the structure, the evidence, and the honesty, not in the model. The loop is self-contained. Follow it literally.

Purpose

Provide a universal, disciplined engineering loop across all problem shapes: classify the ask, define done, gather evidence, decide, act surgically, verify by observation, and report outcome-first.

When to Use

  • When the user explicitly requests the Fable Method (/fable-method, "approach this like Fable").
  • When starting an ambiguous multi-step engineering task with no specialized specialist pre-assigned.
  • When executing structured planning (/fable-method plan <task>).
  • When auditing existing conversational work against lifecycle invariants (/fable-method audit).

When NOT to Use

  • Trivial one-line edits where the change is obvious and self-contained (execute directly).
  • Purely autonomous background long-polling or test loops (use fable-loop).
  • Multi-host installation and setup procedures (use fable-release or installer).

Inputs

  • task_description: The problem prompt, specification, or bug report.
  • domain_adapter: Optional sector adapter (references/domains/*) for non-code domains.

Expected Outputs

  • verified_solution: Surgically implemented changes matching the specification.
  • execution_evidence: Observable evidence proving the solution works as intended.

Procedure

  1. Triviality Gate: If the task is one file, under ~10 lines, with no new behavior and known edit, execute directly and confirm with one check.
  2. Fit Gate: Determine where the answer lives: in reachable sources (run loop), in unknown external techniques (research first), or only in inference (flag low-confidence).
  3. Step 0 — Classify the Ask:
    • Question / assessment: Report findings, change nothing.
    • Task: Implement and verify.
    • Plan-first: Produce plan and wait for approval if scope is ambiguous or actions are irreversible.
  4. Step 1 — Define Done: Explicitly declare what completion looks like and how it will be verified.
  5. Step 2 — Gather Evidence: Open sources, read relevant code, check authoritative docs before modifying state.
  6. Step 3 — Decide: Formulate the minimal viable plan.
  7. Step 4 — Act Surgically: Modify only the necessary lines with zero collateral drift.
  8. Step 5 — Verify by Observation: Run the code, execute the test, observe the side effect.
  9. Step 6 — Report Outcome-First: State the outcome in the first sentence.

Decision Rules

  • Plan-First Priority: If any irreversible action, destructive command, or ambiguous scope is present, plan-first supersedes task execution.
  • Scope Gate: Do not touch files outside the bounded problem domain.
  • Evidence Gate: A task is not done until fresh passing machine evidence is observed.

Tool Policy

  • Execute shell commands to run compilers, linters, and test runners.
  • Use targeted file reading and editing tools.
  • Consult domain adapters in references/domains/ when handling non-coding tasks (marketing, ops, finance, devops).

Evidence Requirements

  • Direct terminal outputs from test runners or build tools.
  • Line references to source code confirming bug mechanism and repair.

Failure Handling

  • If a step fails, diagnose the failure mechanism rather than blindly retrying the same operation.
  • If two consecutive failures occur, immediately route to fable-recover.

Completion Criteria

  • All criteria defined in Step 1 ("Define Done") are satisfied.
  • Fresh passing test evidence captured.
  • Final report delivered outcome-first with zero fluff.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.