first-principles-thinking
它能做什么
该技能帮你检验某个计划或设计是否真的是最佳方案。适合面临重大决策,或想质疑所继承的工作方式的人。
适用场景
- ✓当你询问某个架构或设计是否真的是正确方案的时候。
- ✓当有人以“我们一直都是这样做的”来为某个选择辩护的时候。
- ✓当一项基础性决策会产生长期影响、需要仔细思考的时候。
技能链接
https://github.com/mindfold-ai/Trellis/blob/main/.agents/skills/first-principles-thinking/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请从第一性原理质疑我们的微服务架构是否是正确的方案,而不只是看别人怎么做。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会把问题拆分为无法再细分的事实,检查答案依赖哪些假设,然后向上推理得出结论。它避免通过类比或惯例进行推理。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
First Principles Thinking
A systematic approach to decomposing complex problems into irreducible truths and reasoning upward from there — avoiding the trap of reasoning by analogy, convention, or "best practice".
When to Use
- Evaluating whether an architecture, design, or strategy is truly optimal
- Questioning "best practices" that may not fit the current context
- Breaking through when conventional solutions feel inadequate
- Making foundational decisions with long-term impact
- Challenging inherited assumptions in legacy systems or legacy thinking
- Any moment where "we've always done it this way" is the primary justification
When NOT to Use
- Trivial decisions (use Occam's Razor instead — just pick the simplest)
- Time-critical emergencies (act first, analyze later)
- Well-validated problems with proven solutions (don't reinvent the wheel)
- When you lack domain expertise AND can't acquire it (first principles without knowledge = naive solutions)
Core Methodology: 6 Phases
Phase 0: Frame the Question — Establish Axioms
Before analyzing anything, define the irreducible truths that constrain this domain.
Axioms = facts that are independently verifiable, cannot be further decomposed, and violating them definitely causes failure.
How to identify axioms:
- Ask: "Can this be further decomposed?" — If yes, it's not an axiom yet.
- Ask: "Is this provably true, not just commonly believed?" — If uncertain, it's an assumption.
- Ask: "Would violating this definitely cause failure?" — If maybe, it's a preference.
Gate: Must produce ≥3 axioms before proceeding. Each axiom stated in one sentence with a "why irreducible" justification.
### Axioms
1. [Axiom] — [Why this cannot be further decomposed]
2. [Axiom] — [Why this is provably true]
3. [Axiom] — [Why violating this causes failure]
Deep methodology:
references/axiom-based-reasoning.md
Phase 1: Identify the Problem's Essence
Strip away implementation details to find the core problem.
- State the problem clearly — What exactly needs to be solved?
- Separate symptoms from causes — Is this the real problem or a manifestation?
- Define success criteria — What would a perfect solution achieve? (Measurable.)
Key questions:
- What is the fundamental job to be done here?
- If this system/process didn't exist, what would we actually need?
- What outcome matters, independent of how we get there?
Gate: Must produce a one-sentence problem statement + measurable success criteria.
Phase 2: Surface and Challenge All Assumptions
This is the highest-leverage phase. Most "best practices" are assumptions disguised as facts.
- List explicit assumptions — What are we taking as given?
- Surface implicit assumptions — What conventions are we following without questioning?
- Test each against axioms — Is this actually a constraint (traces to axiom), or just how it's always been done?
Minimum: Produce an assumption table with ≥5 rows.
| Assumption | Why Question It | Axiom(s) Used | Verdict |
|---|---|---|---|
| "We need X" | [Challenge] | A1, A2 | Keep / Discard / Modify |
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"
Depth standard: Each row must include why you're questioning it and which axiom informs the verdict. "Maybe not needed" without reasoning = not deep enough.
Gate: ≥5 assumptions challenged with verdicts. Each verdict must reference at least one axiom.
Deep methodology:
references/axiom-based-reasoning.md§ "Identify and Challenge Assumptions"
Phase 3: Establish Ground Truths
From the wreckage of challenged assumptions, identify what IS irreducibly true for this specific problem.
Ground Truth test:
- Can this be further decomposed? → If yes, decompose it.
- Is this provably true, not just commonly believed? → If unsure, it's still an assumption.
- Would violating this definitely cause failure? → If not, it's a preference.
Gate: Must produce ≥3 ground truths. Each must be specific and falsifiable — not generic truisms.
❌ "Users need fast response times" (too vague)
✅ "P99 latency must be < 200ms per SLA contract §3.2" (specific, verifiable)
❌ "The team is small" (relative)
✅ "Team is 3 engineers, no new hires possible before Q3" (concrete constraint)
Phase
常见问题
什么时候不应使用?
对于琐碎的选择、紧急情况或已被充分验证的问题,一个简单的解决方案就足够了。
它需要领域知识吗?
需要。该技能指出,缺乏领域知识的第一性原理推理往往会得出幼稚的答案。
它和选择最简单的方案一样吗?
不一样。对于简单的决策,该技能建议改用奥卡姆剃刀原则。
详情
作者的原始描述
Systematic first principles thinking for any problem domain. Use when the user says "analyze from first principles", "第一性原理", "从根本分析", "从零开始思考", "think from scratch", "question this design", "is this the right approach", "challenge assumptions", "挑战假设", "为什么要这样做", "有没有更好的方案", "why are we doing it this way", or needs to evaluate decisions, designs, or strategies without relying on analogies, conventions, or "best practices". Also triggers on "这个设计合理吗", "从本质上看", "回到基本面", "what's really true here", "what are we assuming", or any request to decompose a problem to its fundamentals.
repo: mindfold-ai/Trellis
热度
- GitHub 星标
- 15k
- 排名
- #11022
- 许可证
- AGPL-3.0
- 更新时间
- 2026/9/29
评论
- …
同一仓库的更多技能
python-design
15k帮你的智能体编写和审阅 Python 命令行脚本,使其模块清晰、接口简单,并减少隐藏的复杂性。
trellis-before-dev
15k帮你的智能体在开始编写代码之前,阅读项目的编码指南和任务说明,使其遵循团队的惯例。
trellis-brainstorm
15k帮你的智能体每次提出一个有价值的问题、检查代码并就狭窄的范围达成一致,从而厘清新功能或不明确的任务。
trellis-break-loop
15k帮你的智能体在错误修复之后,分析其根本原因类型以及先前修复失败的原因,并保存经验,防止再次发生。