mcpField
F
first-principles

first-principles

github.com/valorvieDevelopment064 installsUpdated 3w ago
Repository

About first-principles

A reasoning skill for engineers and decision-makers that tests requirements, separates assumptions from ground truths, and builds solutions from fundamentals.

Key features

  1. 01Requirement deletion check
  2. 02Problem and assumption analysis
  3. 03Ground-truth identification
  4. 04Solution validation
  5. 05Decision-analysis templates

Use cases

  1. 01Reviewing architecture choices
  2. 02Questioning legacy requirements
  3. 03Designing systems without copying conventions

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/valorvie/ai-dev-skills --skill first-principles

After installing, type/first-principlesin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

LICENSE
README.md
examples/
architecture-review.md
references/
elon-musk-examples.md
software-examples.md

Details

From the project README

First Principles Thinking

A systematic approach to decomposing complex problems into fundamental truths and reasoning up from there, avoiding the trap of reasoning by analogy.

Customized from awesome-skills/first-principles-skill v0.2.0 — added Phase 0 (Delete First) per Elon Musk's requirement questioning mantra.

When to Use This Skill

  • Evaluating whether an architecture or design is truly optimal
  • Questioning "best practices" that may not fit the current context
  • Breaking through when conventional solutions feel inadequate
  • Making foundational decisions that will have long-term impact
  • Challenging inherited assumptions in legacy systems
  • Designing new systems without cargo-culting existing patterns
  • Questioning whether a requirement or step should exist at all

Core Process

Phase 0: Question the Requirement Itself (Delete First)

Before analyzing how to solve a problem, ask whether it should be solved at all.

Elon Musk's mantra: "All requirements are dumb to some degree." The stupidest thing is to optimize something that shouldn't exist.

  1. Try to delete the requirement entirely - Can the system work without this step/feature/constraint?
  2. If it can be deleted, delete it - Don't optimize what should be removed.
  3. If deletion fails, add it back - Only then proceed to analysis.
  4. Challenge who owns the requirement - Requirements from smart people are the most dangerous, because you're less likely to question them. Always ask: "Can the person who imposed this requirement waive it?"

Key Questions:

  • Does this requirement need to exist?
  • What happens if we simply remove this step?
  • Is this a real constraint or a historical artifact?
  • Would the user actually notice if this was gone?

Red Flags (requirement may not need to exist):

  • "We've always had this step"
  • "Legal/compliance requires it" (verify — often outdated)
  • "Users expect it" (have you asked them recently?)
  • "It's in the spec" (who wrote the spec, and why?)
Phase 1: Identify the Problem's Essence

Strip away implementation details to find the core problem:

  1. State the problem clearly - What exactly needs to be solved?
  2. Separate symptoms from causes - Is this the real problem or a manifestation?
  3. Define success criteria - What would a perfect solution achieve?

Key Questions:

  • What is the fundamental job to be done here?
  • If this system didn't exist, what would users actually need?
  • What outcome matters, independent of how we get there?
Phase 2: Challenge All Assumptions

Identify and question every assumption:

  1. List explicit assumptions - What are we taking as given?
  2. Surface implicit assumptions - What conventions are we following without questioning?
  3. Test each assumption - Is this actually a constraint, or just how it's always been done?

Assumption Categories:

CategoryQuestion to Ask
Technical"Must we use this technology/pattern?"
Business"Is this requirement actually fixed?"
Resource"Are these constraints real or perceived?"
Historical"Why was this decision made originally?"

Red Flags (likely false assumptions):

  • "We've always done it this way"
  • "Industry standard says..."
  • "Everyone uses X for this"
  • "That's too simple to work"
Phase 3: Establish Ground Truths

Identify the irreducible facts:

  1. Physics/Math constraints - What cannot be violated?
  2. Business invariants - What must remain true for the business?
  3. User needs - What does the user fundamentally require?

Ground Truth Test:

  • Can this be further decomposed?
  • Is this provably true, not just commonly believed?
  • Would violating this definitely cause failure?
Phase 4: Reason Upward

Build solutions from ground truths:

  1. Start minimal - What's the simplest thing that satisfies ground truths?
  2. Add only what's necessary - Each addition must justify itself
  3. Challenge each layer - Does this layer earn its complexity?

Building Blocks Approach:

Ground Truth → Minimal Solution → Justified Additions → Final Design
     ↑              ↑                    ↑
  (proven)     (sufficient)        (each defended)
Phase 5: Validate the Reasoning

Ensure the solution is sound:

  1. Trace back to ground truths - Can every design decision be traced to a fundamental need?
  2. Identify weak links - Where does the reasoning rely on assumptions?
  3. Stress test - What would break this solution?

Output Format

When applying first principles thinking, structure the analysis as:

## First Principles Analysis: [Topic]

### 0. Requirement Check (Delete First)
**Tried deleting:** [What was attempted]
**Result:** [Deleted / Cannot delete because: ...]
**Verdict:** [Proceed / Requirement eliminated]

### 1. Problem Essence
**Core problem:** [One sentence]
**Success criteria:** [Measurable outcomes]

### 2. Assumptions Challenged
| Assumption | Challenge | Verdict |
|------------|-----------|---------|
| [Assumption] | [Why question it] | [Keep/Discard/Modify] |

### 3. Ground Truths
- [Irreducible fact 1]
- [Irreducible fact 2]
- [Irreducible fact 3]

### 4. Reasoning Chain
Ground Truth → [Step 1] → [Step 2] → Solution

### 5. Conclusion
**Recommended approach:** [Description]
**Key insight:** [What the first principles analysis revealed]
**Trade-offs acknowledged:** [What we're accepting]

Common Patterns

Pattern: The Complexity Trap

Symptom: Solution is more complex than the problem warrants

First Principles Check:

  1. Remove one component - does the system still solve the core problem?
  2. If yes, that component wasn't essential
  3. Repeat until removal breaks core functionality
Pattern: The Analogy Trap

Symptom: "Company X does it this way, so we should too"

First Principles Check:

  1. What problem was Company X actually solving?
  2. Is our problem identical in all relevant dimensions?
  3. What constraints did they have that we don't (and vice versa)?
Pattern: The Legacy Trap

Symptom: Maintaining compatibility with decisions that no longer serve us

First Principles Check:

  1. What was the original reason for this decision?
  2. Do those conditions still exist?
  3. What's the true cost of change vs. cost of maintaining?

Integration with Other Thinking Tools

First principles thinking works well with these complementary approaches:

ToolWhen to CombineHow
Trade-off AnalysisAfter identifying ground truthsEvaluate options against fundamentals
5-WhysWhen assumptions surfaceDig deeper to find root causes
Pre-mortemBefore finalizing solutionStress-test reasoning chain
Hypothesis TestingWhen ground truths are uncertainValidate assumptions empirically

Boundaries

Will:

  • Challenge assumptions systematically
  • Identify ground truths from first principles
  • Build reasoning chains from fundamentals
  • Reveal when conventional wisdom doesn't apply
  • Question whether requirements should exist at all

Will Not:

  • Dismiss all existing solutions as wrong
  • Spend unlimited time on every decision (reserve for important choices)
  • Ignore practical constraints in favor of theoretical purity
  • Guarantee the "best" solution (reveals better reasoning, not perfect answers)

Quick Reference

The First Principles Checklist:

  • Requirement tested for deletion — can it be removed entirely?
  • Problem stated in terms of outcomes, not solutions
  • All assumptions explicitly listed
  • Each assumption challenged and justified
  • Ground truths identified and verified
  • Solution built up from ground truths only
  • Every design decision traceable to a ground truth
  • Reasoning chain documented

Additional Resources

Reference Files
  • references/elon-musk-examples.md - Real-world examples from SpaceX and Tesla
  • references/software-examples.md - Software engineering applications
Example Files
  • examples/architecture-review.md - First principles analysis of a microservices decision

Comments

Markdown supported