agentleFS
hidenobunagaihidenobunagai/astack/skills/principle-attack-the-premise/SKILL.md

principle-attack-the-premise

Skill1 starsChanged 13 days agoMITView on GitHub

Apply when two or more fixes that share one premise have failed the same check, such as a metric that will not move, a pipeline that keeps failing one assertion, or a model score that stays flat. Write the premise down and test it directly before you try another fix.

36 other projects use a version of this, 34 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use poteto-help, ketchup-video and 4 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ianclearySkill

    poteto-help

    Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.

    Also in 14 projects that use this

  • tristanphvnSkill

    ketchup-video

    Catch the user up like /keel:ketchup, with a short silent video of slides for what happened and the waiting calls as text under it. Use for /keel:ketchup-video.

    Also in 10 projects that use this

  • bnemaSkill

    setup-pstack

    Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.

    Also in 19 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 15 projects that use this

  • JoshueOsunaSkill

    Poteto Mode

    poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.

    Also in 3 projects that use this

  • instructureSkill

    ketchup

    Rebuild context after /clear by analyzing uncommitted changes across Canvas LMS and all plugin repositories

    Also in 17 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 2 are common, 3 are distinctive, and 0 are very specific to this project.

  • 2

    Common

    Most of the 36 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Common:

    When two or more fixes that share one premise have failed the same check, suspect the premise, not the fixes.

    line 8
  2. Distinctive:

    Write the premise down. It is the one sentence that every failed fix assumed.

    line 12
  3. Distinctive:

    Test the premise before the next fix.

    line 13
  4. Distinctive:

    Remove the condition instead of compensating for it (see principle-laziness-protocol).

    line 16
  5. Common:

    Do not start the next fix before the premise is written down and tested.

    line 18

“Common” is measured: kept by at least 6 in 10 of the 36 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

Attack the Premise

When two or more fixes that share one premise have failed the same check, suspect the premise, not the fixes.

Each failed fix is evidence against the belief it assumed. A third fix on the same premise spends effort where the evidence already says the cause is not. In data work the usual premises are "the join is one row per customer", "the source is fresh", "the filter matches the definition", and "the feature reaches the model".

  • Write the premise down. It is the one sentence that every failed fix assumed.
  • Test the premise before the next fix. Find an observation that would come out differently if the premise were false, and run it. Look at how the failures are distributed, not only how large they are.
  • Make that check a re-runnable script (see principle-build-the-lever), so the next run reuses it.
  • Follow the evidence. If it contradicts the premise, the cause is elsewhere. Look for what the failures share that the premise did not predict, such as one segment, one date range, or one source table. If it confirms the premise, ask the next "why" (see principle-fix-root-causes). Earlier fixes may have treated a consequence.
  • Remove the condition instead of compensating for it (see principle-laziness-protocol). If one segment always lands on the losing side, change what puts it there. A dedupe step that cleans up after a bad join leaves the join in place and adds work to every run.

Do not start the next fix before the premise is written down and tested.

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.