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.

112 other projects use a version of this.

Adopted by

Most recently taken up by

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.
  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-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

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 106 edited versions we read keep these.

  • 5

    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:

    Treat the user's suggested rationale as a hypothesis to test, not a conclusion to confirm.

    line 18
  2. Distinctive:

    Search every available and relevant category.

    line 32
  3. Distinctive:

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

    line 39
  4. Distinctive:

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

    line 42
  5. Distinctive:

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

    line 64

“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.

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.
  • Treat the user's suggested rationale as a hypothesis to test, not a conclusion to confirm. Seek evidence for and against it, and report when the record does not support it.
  • 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. Present any user-suggested rationale as one candidate and require evidence for and against it. 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.