agentleFS
aethroxaethrox/doctrine/skills/research/SKILL.md

research

Skill18 starsChanged 3 months agoMITView on GitHub

Investigate a technical question against primary sources and capture the findings, with citations, as a file in the repo. Use when the user wants a topic researched, docs or API facts gathered, a claim verified before it's relied on, or reading legwork delegated to a background agent.

187 other projects use a version of this, 40 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, writing-beats and 5 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.
  • risadamsSkill

    which-skill

    Router over this pack's skills and flows. Ask it "which skill fits X" when you don't remember what's available.

    Also in 6 projects that use this

  • RoentekSkill

    writing-beats

    Writing, exploit — assemble raw material into a journey of beats, grounding each term before a beat leans on it.

    Also in 23 projects that use this

  • loulanyueSkill

    setup-ts-deep-modules

    Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only through its entry-point files. User-invoked.

    Also in 16 projects that use this

  • pahwarangerSkill

    setup-skills

    Sets up an `## Agent skills` block in AGENTS.md/CLAUDE.md and `docs/agents/` so the engineering skills know this repo's ticket tracker (GitHub or local markdown), triage label vocabulary, and domain doc layout. Run before first use of `to-tickets`, `to-prd`, `triage`, `diagnose`, `tdd`, `improve-codebase-architecture`, or `zoom-out` — or if those skills appear to be missing context about the ticket tracker, triage labels, or domain docs.

    Also in 8 projects that use this

  • RoentekSkill

    writing-shape

    Writing, exploit — shape raw material into an article, paragraph by paragraph.

    Also in 21 projects that use this

  • AWSSkill

    to-spec

    Turn the current conversation into a spec and publish it to the project issue tracker: no interview, just synthesis of what you've already discussed.

    Also in 74 projects that use this

  • +1 more from Roentek

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 161 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:

    Write the report without em dashes: use a comma, colon, period, or a reworded sentence instead.

    line 45

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

Research

A claim is only as good as the source it traces back to. This skill's defining constraint: every finding in the output must be traceable to the primary source that actually owns the fact (official docs, source code, a spec, a first-party API response), not to a blog post, forum answer, or summary that itself read the primary source once. If tracing stops at a secondary source, that's stated as a limitation, not hidden.

Phase 1: Scope the question

State the specific question or claim being investigated, narrowly enough that "found" and "not found" are both clear outcomes. A vague scope ("research React") produces an unfalsifiable report; a narrow one ("does React's useEffect cleanup run before or after the next effect's setup, per the official docs") produces a checkable answer. If the request bundles several questions, split it, mixing them is how one weak answer contaminates the credibility of the rest.

Phase 2: Trace every claim to its primary source

For each sub-question:

  1. Go to the source that owns the fact. Official documentation, the actual source code, a published spec or RFC, a first-party API response, not a secondary write-up of any of these.
  2. If only a secondary source turns up, follow its own citation back. A blog post that says "per the docs, X" is a pointer, not the finding; open what it points to and verify the docs actually say X before citing the docs, not the post.
  3. If tracing dead-ends at a secondary source (the primary source is gone, paywalled, or the secondary source cites nothing verifiable), say so explicitly in the finding rather than presenting a secondary source as if it were primary.
  4. Note the primary source's own date or version. A fact that was true in an old version of a doc or API may not be true now; carry the version/date forward into the finding, not just the claim.

Phase 3: Weigh source credibility

Where more than one primary-adjacent source disagrees, or where authority isn't obvious, check the source against the CRAAP criteria (Currency, Relevance, Authority, Accuracy, Purpose; the standard library-science checklist for source evaluation):

CriterionQuestion
CurrencyIs this the current version, or superseded by a newer release/spec?
RelevanceDoes it actually answer the scoped question, or just something adjacent?
AuthorityIs the author/publisher the party that actually owns this fact (the framework's own maintainers, the spec body) or a third party writing about it?
AccuracyCan the claim be cross-checked against another independent primary source, or the actual behavior (running the code, reading the actual response)?
PurposeIs the source explaining the fact, or selling/promoting something that gives it a reason to shade the answer?

A source that fails Authority or Purpose isn't disqualified outright, but the finding should say so; "per a third-party benchmark, not the vendor's own numbers" is a materially different claim than "per the vendor's published spec."

Phase 4: Write the findings, cited

Capture the investigation as a single Markdown file:

  • Each finding states the claim, then the source it traces to (link or exact reference; file path, doc URL, spec section), and the source's date/version where that matters.
  • Conflicting sources are surfaced side by side, not silently resolved by picking one; the reader deciding what to do with the conflict is a different judgment call than the researcher's.
  • Anything that couldn't be traced past a secondary source is marked as such, not smoothed over.
  • Save it where the repo already keeps this kind of note; if there's no existing convention, pick a sensible location and say where, so the next research pass doesn't have to rediscover it.
  • Write the report without em dashes: use a comma, colon, period, or a reworded sentence instead.

Delegate the legwork to a background agent when the investigation is multi-step or time-consuming, so the primary conversation isn't blocked on reading, but the citation discipline in Phases 2–4 applies regardless of who does the reading.

Done when

  • The question is scoped narrowly enough to have a checkable answer.
  • Every finding traces to a primary source, or explicitly states that it doesn't.
  • Disputed or authority-weak sources are flagged per the CRAAP criteria rather than presented as settled.
  • The output is a single cited file, saved where the repo's existing convention expects it (or a stated new location).

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.