Skip to content
fpf-methodology logo

First Principles Framework (FPF)

fpf-methodology

First Principles Framework (FPF) for structured, auditable reasoning.

SKILL.md

Full skill instructions

First Principles Framework (FPF)

Structured reasoning for AI coding tools — make better decisions, remember why you made them.

When to Use This Skill

Activate FPF for:

  • Architectural decisions with long-term consequences
  • Multiple viable approaches requiring systematic evaluation
  • Need auditable reasoning trail for team/​future reference
  • Complex problems requiring hypothesis → verification cycle
  • Building up project knowledge base over time

Skip FPF for:

  • Quick fixes, obvious solutions
  • Easily reversible decisions
  • Time-critical situations where overhead isn't justified

Core Concept

The core cycle follows three modes of inference:

  1. Abduction — Generate competing hypotheses (don't anchor on the first idea)
  2. Deduction — Verify logic and constraints (does the idea make sense?)
  3. Induction — Gather evidence through tests or research (does the idea work in reality?)

Then, audit for bias, decide, and document the rationale in a durable record.

Assurance Levels

Knowledge claims are tracked at different assurance levels:

LevelNameDescription
L0ObservationUnverified hypothesis or note
L1ReasonedPassed logical consistency check
L2VerifiedEmpirically tested and confirmed
InvalidDisprovedDisproved claims (kept for learning)

Commands

Use the following slash commands in order:

#CommandPhaseWhat it does
0/​q0-initSetupInitialize .quint/ structure
1/​q1-hypothesizeAbductionGenerate hypotheses → L0/
1b/​q1-addAbductionInject user hypothesis → L0/
2/​q2-verifyDeductionLogical verification → L1/
3/​q3-validateInductionTest (internal) or Research (external) → L2/
4/​q4-auditBias-AuditWLNK analysis, congruence check
5/​q5-decideDecisionCreate DRR from winning hypothesis
S/​q-status—Show current state and next steps
Q/​q-query—Search knowledge base
D/​q-decay—Check evidence freshness

Key Concepts

WLNK (Weakest Link)

Assurance = min(evidence), never average. A chain is only as strong as its weakest link.

Congruence

External evidence must match our context (high/​medium/​low). Evidence from a different context may not apply.

Validity

Evidence expires — check with /​q-decay. Stale evidence creates epistemic debt.

Scope

Knowledge applies within specified conditions only. Document the boundaries.

Workflow Example

User: How should we implement caching for our API?

/​q0-init                           # Initialize knowledge base
/​q1-hypothesize "API caching"      # Generate hypotheses

Hypotheses generated:
- H1: Redis with TTL-based invalidation (Conservative)
- H2: CDN edge caching (Novel)
- H3: In-memory cache with pub/​sub invalidation (Hybrid)

/​q2-verify H1                      # Verify Redis approach logic
/​q3-validate H1                    # Test Redis in development

/​q4-audit                          # Check for biases, weakest links
/​q5-decide H1                      # Create Design Rationale Record

Design Rationale Record (DRR)

The /​q5-decide command generates a DRR with:

  • Context: The initial problem
  • Decision: The chosen hypothesis
  • Rationale: Why it won (citing evidence and R_eff)
  • Consequences: Trade-offs and next steps
  • Validity: When should this be revisited?

State Location

All FPF state is stored in .quint/ directory (git-tracked):

.quint/
├── context.md           # Project context and constraints
├── knowledge/
│   ├── L0/              # Unverified hypotheses
│   ├── L1/              # Logically verified claims
│   ├── L2/              # Empirically verified claims
│   └── invalid/         # Disproved claims
└── decisions/           # Design Rationale Records

Transformer Mandate

Critical Principle: You (Claude) generate options with evidence. Human decides.

A system cannot transform itself — the human partner makes final architectural decisions. Generate high-quality options, present evidence, but don't autonomously choose major architectural directions.

Integration with Code Review

After FPF-driven implementation:

  1. Generate hypotheses for approach
  2. Verify and validate the chosen approach
  3. Implement with the structured reasoning as documentation
  4. Code review references the DRR for context
  5. Future developers understand why decisions were made

Benefits

  • Auditability: Every decision has a documented trail
  • Reduced Bias: Multiple hypotheses prevent anchoring
  • Knowledge Retention: Project learnings persist
  • Team Alignment: Clear rationale for decisions
  • Technical Debt Prevention: Bad decisions caught early

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View