why
Skill1 starsChanged 11 days agoMITView on GitHub
Use for \"why does X work this way\", \"why did we define the metric like this\", \"why is this filter here\", \"why did the number change\", design rationale, past analysis decisions, and data-backed thresholds. Discovers the available MCPs and data sources (git history, notebook history, query logs, dashboards, pipeline runs, issue trackers, docs, chat, and the shared memory), queries each in parallel, and returns a cited, confidence-tiered answer. Use how for how the code runs.
112 other projects use a version of this, 26 of them edited.
Adopted by
Most recently taken up by
- Yeachan-Heo/oh-my-claude-sisyphustheir own version, first seen Nov 8, 2026
- Loner1024/skillsedited, first seen Nov 8, 2026
- caidanw/skillsedited, first seen Nov 8, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Nov 8, 2026
- endqwerty/endstackedited, first seen Nov 8, 2026
- tristanphvn/keeledited, first seen Nov 8, 2026
Used with
Projects with it also use addskill, apply-firmware and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ryanportfolioSkilladdskill
Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.
Also in 6 projects that use this
ryanportfolioSkillapply-firmware
Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.
Also in 6 projects that use this
- +10 more from ryanportfolio
Other versions112 projects use a version of this.
Word for word · 0
None found.
Edited · 26
- backnotprop/pstack★ 3.8k14% same
- moeru-ai/xsai★ 66714% same
- dsebban/skills★ 7111% same
- overextended/skills★ 2213% same
- creedants/pstack-t3★ 1813% same
- painhardcore/pstack★ 1815% same
- mariusflorescu/pstack-t3★ 1314% same
- caidanw/skills★ 1117% same
- adjohn/pstack★ 916% same
- danjdewhurst/dotclaude★ 610% same
16 more not listed
Wrote their own version · 86
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- jtaroreh/agystack★ 128same name
- uzairansaruzi/p3-stack★ 126same name
- Dimon94/dverity★ 107same name
- Dimon94/skills★ 107same name
- Anuj7411/sipcode★ 46same name
- valentynkit/jev-belay★ 38same name
- roerohan/skills★ 29same name
- TheOnlyFusionCube/potetos-for-everyone★ 21same name
76 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository50 other files it gives its agents.
- analyst-modeSkill
- architectSkill
- arenaSkill
- astack-helpSkill
- benchmark-checklistSkill
- blast-radiusSkill
- catch-upSkill
- correctSkill
- create-formal-verification-skillSkill
- figure-it-outSkill
- howSkill
- interrogateSkill
- in-your-own-wordsSkill
- maintain-formal-verification-skillSkill
- no-commentsSkill
- plain-wordsSkill
- principle-attack-the-premiseSkill
- principle-boundary-disciplineSkill
- principle-build-the-leverSkill
- principle-define-the-questionSkill
- principle-encode-lessons-in-structureSkill
- principle-experience-firstSkill
- principle-explain-the-numberSkill
- principle-fix-root-causesSkill
- principle-foundational-thinkingSkill
- principle-guard-the-context-windowSkill
- principle-laziness-protocolSkill
- principle-make-operations-idempotentSkill
- principle-minimize-reader-loadSkill
- principle-model-the-domainSkill
- principle-name-the-estimandSkill
- principle-never-block-on-the-humanSkill
- principle-prove-it-worksSkill
- principle-reproduce-from-clean-stateSkill
- principle-respect-the-grainSkill
- principle-sequence-verifiable-unitsSkill
- principle-simulate-the-methodSkill
- principle-subtract-before-you-addSkill
- principle-test-behavior-not-implementationSkill
- recallSkill
- reflectSkill
- retail-analyticsSkill
- sharpenSkill
- show-me-your-workSkill
- statechartSkill
- swarmSkill
- tddSkill
- teachSkill
- technical-writingSkill
- unslopSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 106 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
If the target is vague, make your best guess from the conversation context (open files, recent edits, the last number discussed).
- Distinctive: line 29
Before spawning investigators, build the seed context inline:
- Distinctive: line 45
Before spawning, list the available MCPs and CLIs.
- Distinctive: line 66
If the target is a single commit whose PR description already answers the question, you may answer inline, but only after confirming that …
- Distinctive: line 72
Every investigator's findings, including null results and skipped categories with reasons.
- Distinctive: line 85
If the question comes before a change to this code, convert the findings into a Preserve / Change / Avoid / Risk list for planning that …
- Distinctive: line 91
Stopping at the first confirming source: Check whether the notebook, dashboard, and query log agree with the code and the docs.
“Common” is measured: kept by at least 6 in 10 of the 106 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Why
Investigate the motivation and intent behind code, a metric definition, or an analysis choice. The companion how skill explains what the code does. why explains what forces led to its shape.
Spawn settings
Agents in this skill use the Agent tool. Agents run in the background by default and report back on completion. Wait for every agent before the next step.
- Investigators:
subagent_typegeneral-purpose(they need MCP and CLI access),modelhaiku,effortlow. The brief forbids writes. No warehouse writes, no file edits, no git write commands. - Synthesizer:
subagent_typegeneral-purpose,modelsonnet,effortmedium.
Operating posture
Operate as a careful, cautious, and precise investigator. Be honest about what you know and what you infer. Read references/epistemics.md for the confidence tiers and phrasing. The synthesizer must follow it.
Step 1. Understand the target and the question
The target is usually a function, a SQL model, a metric definition, a filter, a threshold, a notebook section, or a dashboard tile. The question is usually a design rationale, a definition choice, a motivating edge case, an external constraint, dead code, or a sweep of history.
If the target is vague, make your best guess from the conversation context (open files, recent edits, the last number discussed). State the interpretation in one line so the user can redirect, then proceed.
Step 2. Establish the code anchor
Before spawning investigators, build the seed context inline:
- File paths and line ranges, key symbols (functions, models, constants, metric names).
- The recent history of the target, with PR numbers when the commit messages carry them:
git log --follow -n 20 --format='%h %ad %s' --date=short -- <path>, andgit blame -w -C <path>for the last change to each line range. - For each substantive change, the review request's description and discussion, through the team's review tool when the session can reach it.
- Any ticket IDs in commit messages or PR bodies.
- Any notebook or dashboard that mentions the target.
This anchor goes to every investigator and to the synthesizer.
Step 3. Spawn parallel investigators
Default to the full parallel investigation. The goal is a complete coverage map. Record a null result, do not skip the search.
Discovery
Before spawning, list the available MCPs and CLIs. MCP tools whose schemas are deferred must be loaded first (ToolSearch). Map each source to one evidence category:
- Source control history: git log, git blame, other read-only git views, the team's review tool when reachable, tests, and in-repo notebooks as files. Always spawn. It is the one guaranteed source.
- Notebook history: the notebooks and their version history. Usually part of category 1, but spawn it separately when a project has many notebooks.
- Query history: the warehouse's query log, or saved SQL in the repo, through a warehouse MCP or CLI. Best at what was actually run and what it cost.
- Dashboards and metric definitions: BI dashboards, semantic-layer or metric YAML in the repo, and alert thresholds.
- Pipeline and job runs: orchestrator run logs, data-quality check results, and failure history.
- Issue / ticket tracker: Jira, Redmine, Backlog, and similar. Best at the business reason for a data request or definition change.
- Long-form documents: data dictionaries, metric specs, analysis plans, findings reports (Notion, Confluence, Google Docs).
- Real-time team chat: Slack, Teams, Discord. Best at deliberation that never reached a doc.
- Agent memory: engram through the
engram:recallskill. Past sessions and saved notes often hold the earlier decision. Always spawn when engram is installed.
Spawn one investigator per category that has a matching source, all in one message so they run together. Each investigator owns exactly one source. Its prompt is references/investigator-prompt.md filled in, plus the category playbook references/sources/<source>.md, the code anchor, and the user's question. Append references/sources/incident-postmortem.md when the target looks defensive (null guards, retries, fallback values, clamps, feature flags, or a backfill).
When to skip an investigator
Skip only with a written reason in Sources Consulted. Two valid reasons:
- No source is connected for that category. Flag it as a gap: "Team chat skipped. No matching MCP connected, so the conversational record was not searchable."
- The source is provably irrelevant. Example: "Query history skipped. The target is a static plotting helper with no query path."
If the target is a single commit whose PR description already answers the question, you may answer inline, but only after confirming that the category searches would be redundant. Say so explicitly. This should be rare.
Step 4. Synthesize
Spawn one synthesizer with references/synthesizer-prompt.md. It gets:
- Every investigator's findings, including null results and skipped categories with reasons.
- The code anchor.
- The user's question.
references/epistemics.md.
Step 5. Present
Present the synthesizer's output. You may lightly edit it for clarity or add context from the conversation. Do not rewrite the confidence language.
Output format
The structure is the one in references/synthesizer-prompt.md. Its sections are The Question, The Code in Question, What We Found, What We Can Reasonably Infer, Competing Hypotheses, What We Don't Know, Sources Consulted, and Confidence Summary. Keep the confidence separation intact. Sources Consulted has one line per investigator, including the empty and skipped ones, with the reason.
If the question comes before a change to this code, convert the findings into a Preserve / Change / Avoid / Risk list for planning that change. Keep the list to the lineage facts the change must respect.
Common failure modes
- Recency bias. The newest commit is not always the authoritative reason. The current shape often accumulates earlier decisions. Trace back.
- Mistaking a definition for a decision. A metric SQL shows how a number is computed. It does not show why that definition was chosen. Look for the decision in the PR, the spec, or the thread.
- Stopping at the first confirming source. Check whether the notebook, dashboard, and query log agree with the code and the docs.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

