agentleFS
TheElephantCoderTheElephantCoder/agent-harness/skills/research-first/SKILL.md

research-first

Skill3 starsChanged 53 days agoMITView on GitHub

Look things up before you code. Use for features, bug fixes, or anything that touches more than trivial code. Not for single-file reads, explanations, or answering questions about code.

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use council.

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

    council

    Convene the persona panel — six orthogonal review lenses — on a target. Cold independent fan-out, debate-to-consensus, synthesized verdict with recorded dissent and a roster manifest.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 11 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Don't code from what you think the API is.

    line 19
  2. Very specific:

    Check research/findings/ first.

    line 25
  3. Distinctive:

    If findings already exist, don't redo them.

    line 68
  4. Distinctive:

    Read files for facts, don't guess.

    line 69
  5. Distinctive:

    After you're done, update findings with what actually worked.

    line 70

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

Don't code from what you think the API is. Check first.

You need to do this before any edit or write that isn't trivial:

1. Research: research/findings/<topic>.md

  • Check research/findings/ first. If someone already researched it, reuse it.
  • Then grep the codebase. Then web search if you need external docs. Use 2026 when you search so you get current docs.
  • Cite what you found. If docs don't exist, write a small repro to verify the hypothesis.
  • Save it to research/findings/<slug>.md so the next session doesn't redo the work.

Template:

# Findings: <topic>

Date: 2026-09-04
Sources: [url, url]
Existing code: `path:line`: what we found

## Verdict

Recommended approach: ...
Alternatives: ...
Risks: ...

2. Plan: research/plans/<task>.md

# Plan: <task>

Research: research/findings/<topic>.md
Approach: ...
Files to change: [list]
Tests: ...
Rollback: ...

3. Approval

Show the plan to the user. Don't start coding until they say ok. For tiny single file edits the auto-approve instinct may let you through.

4. Implement and verify

Build the plan, run tests, harness bench --quick, then harness memory sync so the next session remembers what worked.

Notes

  • If findings already exist, don't redo them.
  • Read files for facts, don't guess. If what you find contradicts what you expected, say so and trust the file.
  • After you're done, update findings with what actually worked.

Don't do this

  • edit before read or grep
  • guessing API signatures
  • skipping the plan because "its small" when you are about to touch 3+ files

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.