agentleFS
nb-99nb-99/skillektion/skills/why/SKILL.md

why

Skill1 starsChanged 3 months agoMITView on GitHub

Investigate why code or a design has its current shape using source history and available organizational evidence. Use for rationale, trade-offs, regressions, postmortems, thresholds, and historical design questions.

48 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use figure-it-out, setup-pstack and 9 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.
  • finograficSkill

    figure-it-out

    Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.

    Also in 22 projects that use this

  • shishivSkill

    setup-pstack

    Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.

    Also in 15 projects that use this

  • eryzerzSkill

    make-bot-ui

    Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.

    Also in 8 projects that use this

  • jtarorehSkill

    Poteto Mode

    poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.

    Also in 5 projects that use this

  • TheOnlyFusionCubeSkill

    principle-attack-the-premise

    Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.

    Also in 11 projects that use this

  • TheOnlyFusionCubeSkill

    principle-test-behavior-not-implementation

    Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.

    Also in 11 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 46 edited versions we read keep these.

  • 4

    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
  1. Distinctive:

    Search every available and relevant category.

    line 29
  2. Distinctive:

    Verify high-value citations and synthesize without strengthening confidence language.

    line 35
  3. Distinctive:

    Use git for local history and the repository host CLI for pull requests when available.

    line 38
  4. Distinctive:

    If the investigation informs a change, finish with Preserve / Change / Avoid / Risk constraints.

    line 60

“Common” is measured: kept by at least 6 in 10 of the 46 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Why

Investigate intent as a historical question. Code proves mechanics, not motive.

Evidence Rules

  • Collect evidence before choosing a narrative.
  • Cite claims about intent to commits, pull requests, issues, documents, chat links, incidents, dashboards, or comments.
  • Label uncited claims as inference.
  • Surface contradictions and competing hypotheses.
  • State unavailable sources and unanswered questions.
  • Match wording to confidence; reserve "because" for direct evidence.

Process

  1. Identify the target, question, files, line ranges, and key symbols.
  2. Build a code anchor with blame and history through renames. Extract related commits, pull requests, ticket IDs, comments, and tests.
  3. Discover evidence sources available in the current environment. Consider: source control, issue trackers, long-form documents, team chat, observability, error tracking, analytics, and incident records.
  4. Search every available and relevant category. Use one narrowly scoped read-only investigator per category when parallel delegation is available; otherwise search sequentially. Record queries and null results.
  5. Give investigators the same code anchor and question. Require direct evidence, indirect evidence, contradictions, gaps, and leads. They must not mutate external systems.
  6. Verify high-value citations and synthesize without strengthening confidence language.

Use git for local history and the repository host CLI for pull requests when available. Use specialized issue, document, or observability tools only when the current environment exposes them and the user's access permits it.

Confidence

  • Direct: a source explicitly states the rationale.
  • Supported: several indirect sources agree and no evidence contradicts it.
  • Inferred: plausible from the record but never stated.
  • Speculative: weak evidence or several equally plausible explanations.
  • Unknown: the searched record does not answer the question.

Output

  • Question and code anchor
  • Direct evidence, with citations
  • Reasonable inferences, with the inference chain
  • Competing hypotheses, including evidence for and against
  • Unknowns and contradictions
  • Sources consulted, including empty, unavailable, and irrelevant categories
  • Confidence summary

If the investigation informs a change, finish with Preserve / Change / Avoid / Risk constraints. The task is complete when every available relevant source has a recorded outcome and every rationale claim has a confidence tier.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.