first-principles-review
Use when the user explicitly asks for first principles, first-principles review, Occam's razor, 第一性原理, 奥卡姆剃刀, or when a complex decision has ambiguous goals, competing constraints, repeated fixes, fallback growth, duplicate owners, or architecture/product direction risk.
What it does
First Principles Review
Purpose
Use this as a lightweight decision review before another Aegis workflow makes a directional choice. It is a compositional skill, not a standalone workflow.
Do not replace brainstorming, systematic-debugging, writing-plans,
requesting-code-review, or verification-before-completion. Use it to clean
the decision surface those skills will act on.
Use When
- The user asks for first principles, first-principles thinking, 第一性原理, Occam's razor, or 奥卡姆剃刀.
- A design, plan, or fix has multiple plausible paths and unclear selection criteria.
- The task has ambiguous goals, competing constraints, or product/architecture direction risk.
- Debugging is drifting into repeated fixes, fallback growth, duplicate owners, consumer-side patches, or "just add another branch" reasoning.
- A review finds that the implementation may be locally correct but directionally wrong.
Do Not Use
- Simple Q&A, status checks, tiny wording/config edits, or clearly bounded single-owner changes.
- Mechanical execution of an approved plan unless a new directional conflict appears.
- As a required step for every task, every turn, or every TDD cycle.
Five-Line Review
Answer only what is needed, usually in five short lines:
First Principle: What irreducible outcome must this satisfy?
Non-negotiables: What constraints cannot be broken?
Assumptions to Drop: What is habit, inherited shape, or unproven preference?
Smallest Sufficient Path: What is the least complex path that satisfies the first principle?
Escalation Signal: What finding would require spec/design/architecture review?
Decision Hygiene Review
Use this escalation only when a design, fix, or plan needs endorsement before it is written into a spec or implementation plan.
Escalate from the five-line review when any of these risk signals appear:
- multiple plausible paths and no clear selection criteria
- a new owner, duplicate owner, fallback, adapter, or compat-only carrier
- an old path that may need delete-first handling or a retirement trigger
- an unverified assumption that the proposal depends on
- user language such as "more elegant", "long-term stable", "长期稳定", "first principles", "Occam", or "奥卡姆"
- a plan could encode the wrong owner, abstraction, compatibility boundary, or retirement schedule
Use this compact shape:
First-principles invariants:
- Non-negotiable goal:
- Non-negotiable constraints:
- Historical assumptions to delete:
Owner / retirement matrix:
- New canonical owner:
- Old owner:
- Compat-only carrier:
- Delete-first / retirement trigger:
Falsification matrix:
- Dependency-removal test:
- Counterexample scenario:
- Must fail / degrade / remain correct cases:
Verdict:
- Adopt / revise / reject / needs evidence:
- Blocking gaps:
- Next evidence:
Composition
- With
brainstorming: run before approach selection when the request is broad, ambiguous, likely to inherit a poor product shape, or involves owner / retirement / fallback / adapter risk. UseDecision Hygiene Reviewbefore recommending or selecting an approach when those signals appear. - With
systematic-debugging: run after evidence shows repeated fixes, fallback growth, duplicate owners, or consumer-side patching. - With
writing-plans: run before task decomposition when the plan could encode the wrong owner, abstraction, compatibility boundary, fallback, adapter, or retirement schedule. If the approved spec did not already cover this, useDecision Hygiene Reviewbefore writing tasks. - With
requesting-code-review: run when review should check direction and owner integrity, not just code quality. - With
verification-before-completion: use only to name residual directional risk. It does not grant completion authority.
Boundaries
- Prefer evidence from current project files, baseline docs, tests, logs, and user requirements. If evidence is missing, mark the line as unknown rather than inventing a principle.
- Keep the result advisory. This skill may recommend escalation, but it does
not create authoritative
GateDecision,PolicySnapshot, or completion authority. - If the five-line review does not change the decision surface, return to the active workflow immediately.
Capabilities
Install
Quality
deterministic score 0.58 from registry signals: · indexed on github topic:agent-skills · 262 github stars · SKILL.md body (4,306 chars)