Skills for Real Engineers. Straight from my .agents directory.
principle-attack-the-premise
Agent skill frommichael-denyer/pstack-claude
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.
How to install principle-attack-the-premise
npx skills add michael-denyer/pstack-claude# or add only this skill to Claude Code: copy the folder
plugins/pstack/skills/principle-attack-the-premise/
# into
~/.claude/skills/principle-attack-the-premise/ (all projects)
.claude/skills/principle-attack-the-premise/ (one project)
1# Attack the Premise23When two or more fixes that share one premise have failed the same gate, suspect the premise, not the fixes.45**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.67**Pattern:**8- **Write the premise down.** The premise is the one sentence that every failed fix assumed.9- **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](../principle-build-the-lever/SKILL.md).10- **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](../principle-fix-root-causes/SKILL.md). The earlier fixes may have treated a consequence instead of the cause.11- **Remove the condition instead of compensating for it**, per the [Laziness Protocol](../principle-laziness-protocol/SKILL.md). 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.1213**Stop:** Do not start the next fix before the premise is written down and tested.14…
Excerpt shown under the repository's MIT license.
More skills in pstack-claude
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
