agentleFS
JrecosJrecos/omp-pstack/skills/why/SKILL.md

why

Skill8 starsChanged yesterdayMITView on GitHub

Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Returns a cited read on decisions and tradeoffs. Use how for runtime behavior.

141 other projects use a version of this, 22 of them edited.

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

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 111 edited versions we read keep these.

  • 1

    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:

    Start inline. Anchor the target with paths, symbols, blame, history through renames, linked PR discussions, and ticket IDs.

    line 11

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

Answer from the record, not the code. Read the commits and PR discussions that introduced the target and each later change, and other sources if the trail is thin. Cite what the authors wrote, mark your own inferences as inferences, and say what the record does not answer. Read references/epistemics.md for confidence language.

Start inline. Anchor the target with paths, symbols, blame, history through renames, linked PR discussions, and ticket IDs. Do not treat the latest commit as the whole rationale.

Source drilldowns

When the record is thin or the question spans independent sources, discover the session's MCP tools and assign one investigator per relevant source. Source categories include git and PRs, tickets, documents, team chat, infrastructure observability, exceptions, and analytics. Record unavailable sources and null results as gaps. Skip sources that cannot bear on the question.

Resolve each investigator with pstack_agent, role: "why investigators", and kind: "general". Dispatch all investigators in one native task batch with only the returned agent. readonly strips MCP access. Forbid writes in the brief. Use the configured roles in rules/pstack-models.md. If a role is unset or unavailable, run /setup-pstack. Never substitute a model.

Pass the code anchor, original question, references/investigator-prompt.md, and the relevant playbook under references/sources/. Choose or adapt a playbook using references/source-playbook.md. Plane uses references/sources/plane.md. Defensive code also gets references/sources/incident-postmortem.md.

Synthesize inline unless the combined findings need a separate synthesis pass. For that pass, resolve role: "why synthesizer" with kind: "general" and pass references/synthesizer-prompt.md, the findings including gaps, the code anchor, the question, and the epistemics guide.

Present

Separate what the record proves, what you infer, competing explanations, and what remains unknown. Cite every source consulted, including searches that found nothing. Preserve investigators' confidence language. When the answer precedes a code change, turn the findings into Preserve, Change, Avoid, and Risk constraints.

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.