first-principles
БесплатноЗапускает вложенные скриптыНе проверенSystematically learn, study, or analyze any subject from first principles and produce a structured learning document the user can read and review. Use when…
от fize255 установок в других каталогахОб этом скилле
First-Principles Learning
Turn any subject into a clear, verifiable mental model and a reusable learning document. The method refuses "it just is" authority and always asks "why can't it be otherwise?"
Why these five stages
First principles = reduce conclusions back to irreducible facts, then re-derive from those facts. The five stages map to:
- Goal (reflect) — Without a goal, research drifts. The goal is "what the learner can do or decide after studying this". Inferred by the agent from context; never asked of the user.
- Problem origin — Establish the problem space first; otherwise code and solutions are anchorless symbols.
- Atomic primitives — Reduce to the axiom layer; this is the foundation for all subsequent reasoning.
- Reconstructed model — Reassemble primitives into the minimal runnable model; inability to build it = incomplete understanding.
- Derivation under constraints + prediction validation — Distinguish essential constraints from incidental decisions; use prediction instead of memorization.
Core discipline: refuse "it just is" authority; always ask "why can't it be otherwise?"
Core workflow
Run these stages in order. Capture findings into the output document as you go
(see references/document-template.md for the section structure — load it before
writing the final doc).
Stage 0 — Goal inference (reflect, don't ask)
Do NOT ask the user. Instead, ask yourself:
- What is the most common learner intent for this topic? (hands-on use / technology comparison / secondary development / deep dive / teaching others)
- Who is the most likely reader? (yourself, a colleague, a new onboarder)
- What is the single "ultimate question" the learner should be able to answer?
This is agent-internal calibration only — it determines document depth and entry angle. Do not surface "learning goal / target reader" meta lines in the final document. The document starts at the title and goes straight into the subject.
Stage 1 — Problem grounding
Identify the fundamental problem/need the subject addresses. Scenario prompts:
- Code / library: What engineering pain does it solve? How was it done before? Where exactly was the pain?
- Concept / theory: What phenomenon does it explain? Why was the old explanation insufficient?
- Business / system: What is the customer's Jobs-To-Be-Done (JTBD)? What value did the old solution miss?
- Skill / craft: What outcome must be produced? Where do beginners get stuck?
Establish the "problem space" before the "solution space".
Stage 2 — Atomic primitives
Find the irreducible building blocks / core abstraction. Where to look:
- Code / library: Run the minimal use case + step through with a debugger;
read
git log/blameto find the author's first few commits (often closer to the essence than the current layered code); locate the core data structure / interface / algorithm. - Concept / theory: Surface the axioms, definitions, and unprovable premises.
- Business / system: Draw the value-exchange diagram; label key resources and constraints.
- Skill / craft: Break down to sub-actions that cannot be further divided.
List each primitive with a one-line essence.
Stage 3 — Reconstruction (minimal mental model, scenario-conditional)
Recompose primitives into a minimal mental model; show how data / value / logic flows. The "build a toy version" sub-step is conditional:
- Do reproduce a toy version ONLY when the subject is a small, concrete code functional point (a primitive / algorithm / single API's semantics) that you can reproduce cheaply. Build only the core path. Then read the real source and ask "what does it have that mine doesn't?" (often engineering, performance, or security depth). Can't build it = don't truly understand.
- Skip reproduction when: (1) the subject is a large program/system — model
it in your head or on a diagram; (2) it is mature community/common-sense
content (e.g. "HTTP is request-response") — no need to reinvent; (3) ANY
non-code subject (business / concept / skill) — replace code with "explain
the flow + one everyday analogy":
- Concept/theory: Derive a known conclusion from the primitives (able to derive = understands).
- Business/system: Construct the minimal viable model and predict its response to a given input; use an everyday analogy to explain the value exchange.
- Skill/craft: Describe the action sequence required to reach minimum proficiency — do not write code.
- Rule of thumb: only build a toy when reproduction cost ≪ confidence gained.
Stage 4 — Derivation under constraints
For each major design choice ask: why not the alternative? Separate:
- Essential constraints (physics, hardware, math, law, environment) — must hold; record them.
- Incidental decisions (history, convention, taste) — can be skimmed quickly.
Th
Установить first-principles в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл first-principles?
Systematically learn, study, or analyze any subject from first principles and produce a structured learning document the user can read and review. Use when the user wants to understand, study, onboard to, or reverse-engineer something — not just get a surface-level explanation. Triggers include: "learn/study/understand X", "explain X from first principles", "analyze X systematically", "help me understand this codebase/library/tech", "onboard me to X", "reverse-engineer how X works", "break down X to the fundamentals". Chinese triggers: "第一性原理", "探究本质", "逆向分析", "系统学习", "怎么实现的", "底层原理". Applies to ANY domain: source code / open-source libraries, technical concepts & theories, business models & systems, skills & crafts, organizational or product designs.
Как установить скилл first-principles?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл first-principles запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic