Skip to content
Skillpedia
General coding15k · #10973

principle-attack-the-premise

What it does

Gives the assistant a method for breaking out of a repeated failure loop. It is for engineers whose fixes keep failing for the same reason.

When to use it

  • ✓When two or more fixes that share one assumption have failed the same check.
  • ✓When you are about to write yet another fix based on the same belief.
  • ✓When repeated fixes keep failing and the cause is not clear.

Skill link

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-attack-the-premise/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-attack-the-premise/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Three fixes have failed the same test. Before trying another, check whether our basic assumption is wrong.”

5 new skills a week. 1 minute to read.

How it works

The assistant writes the shared assumption down, runs a test that would look different if it were false, and follows the evidence. It removes the underlying condition instead of adding compensating code.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Attack the Premise

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

Why: 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.

Pattern:

  • Write the premise down. The premise 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 make it. Look at how the failures are distributed, not only at how large they are. Make the check rerunnable per Build the Lever.
  • Follow the evidence. If it contradicts the premise, the cause is elsewhere. Look for what the failures have in common that the premise did not predict. If it confirms the premise, ask the next "why" per Fix Root Causes. The earlier fixes may have treated a consequence instead of the cause.
  • Remove the condition instead of compensating for it, per the Laziness Protocol. If the evidence shows that one part always lands on the losing side, change what puts it there. A mechanism that cleans up after it leaves the cause in place and adds work on every run.

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

This principle is distinct from Redesign from First Principles, which rebuilds a design around a new requirement. It questions a fact the current design assumes.

FAQ

Why not just try another fix?

Each failed fix is evidence against the shared belief, and another fix built on it spends effort where the evidence already points away.

What if the assumption is correct?

Then the assistant asks why again to find the real cause, since earlier fixes may have treated a symptom.

What does it avoid?

Cleanup layers that work around a cause and leave the cause in place.

Details

Original description by the author

Apply when two or more fixes that share one premise have failed the same gate. Write the premise down and test it directly before you write another fix that assumes it.

repo: cursor/plugins

Popularity

GitHub stars
15k
Ranking position
#10973
License
—
Updated
10/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills