principle-attack-the-premise

Test the shared assumption behind multiple failed fixes before attempting another solution.

15.8k|1.6k|Updated Jan 23, 2026
Ready to run
npx skills add https://github.com/cursor/plugins --skill principle-attack-the-premise-cursor
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: principle-attack-the-premise
Source: https://github.com/cursor/plugins/tree/main/harness/pstack/claude-code/skills/principle-attack-the-premise
Command: npx skills add https://github.com/cursor/plugins --skill principle-attack-the-premise-cursor

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When you apply multiple fixes to the same failing test or gate and they all fail, you waste effort writing more fixes without diagnosing the root cause. This Skill teaches you to identify and validate the underlying premise each fix assumed, rather than iterating blindly on solutions. ## Core Features & Use Cases - Premise Extraction: Write down the one-sentence belief shared by all failed fixes to make it explicit and testable. - Direct Validation: Design a rerunnable check that would show different results if the premise were false, then observe what actually happens. - Evidence-Driven Diagnosis: Follow the distribution and pattern of failures to either confirm or refute the premise, then adjust your investigation accordingly. - Use Case: Your database migration script has failed twice on different approaches. Both fixes assume "the schema change is backwards-compatible." Instead of writing a third fix, you write a test that directly checks if the old application code can read the new schema—and discover it cannot, revealing the real problem. ## Quick Start When your next two fixes fail the same gate, write down the one premise they shared and design a single rerunnable test that would fail differently if that premise were wrong.

Frequently Asked Questions about principle-attack-the-premise

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify the shared premise when multiple fixes have failed?▼

Review each failed fix and extract the one-sentence belief it assumed about the system state, behavior, or environment. If three fixes all assume "the API is available," that is the shared premise. Write it down explicitly so you can test it directly.

What is the difference between this principle and redesigning from first principles?▼

Attack the Premise questions an assumed fact in the current design (e.g., "Is this API actually available?"). Redesign from First Principles rebuilds around a new requirement. One questions reality; the other responds to changed requirements.

How do I design a rerunnable test for a premise?▼

Find an observation that would look different if the premise were false. For "the schema change is backwards-compatible," try running the old code against the new schema. Make the test runnable independently so you can repeat it and share results.

What do I do if the evidence contradicts the premise?▼

Stop fixing the current assumption and investigate what the failures actually have in common. The cause lies elsewhere. Look for patterns in failure distribution, not just failure size, to identify the real problem.

Should I remove the problematic condition or add compensating logic?▼

Remove the condition that creates the problem, rather than adding cleanup logic. Mechanisms that compensate for a root cause leave the cause in place and add work on every run. Fix what puts the system in the losing state.