agentleFS
LeostrukaLeostruka/devin-bundle/skills/research/SKILL.md

research

Skill0 starsChanged 4 months agoMITView on GitHub

Use when the user asks a question that needs investigation against primary sources and citations, or says 'deep', 'deep search', 'deep research', 'research this thoroughly', or asks for exhaustive codebase exploration beyond a quick grep. Covers external primary-source research (background agent) and multi-pass deep codebase search with citations.

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

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, writing-beats and 8 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

  • AWSSkill

    to-questionnaire

    Turn a decision you can't fully answer into a questionnaire for someone else to fill in.

    Also in 40 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

  • AWSSkill

    resolving-merge-conflicts

    Use when you need to resolve an in-progress git merge/rebase conflict.

    Also in 52 projects that use this

  • +2 more from aws

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 161 edited versions we read keep these.

  • 2

    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:

    Write findings to a single Markdown file, citing each claim's source.

    line 21
  2. Distinctive:

    When: "deep search the codebase", "map all callers of Y", architecture-level understanding before a refactor, any question where one grep …

    line 27
  3. Very specific:

    Every claim cites file:line.

    line 53

“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

Two modes: external (primary sources, background researcher agent) and deep-mode (exhaustive in-repo multi-pass search — CLI replica of Ask Devin's Deep Mode).

Mode: external research

Spin up a background agent so you keep working while it reads. Its job:

  1. Investigate the question against primary sources — official docs, source code, specs, first-party APIs — not secondary write-ups. Follow every claim back to the source that owns it.
  2. Write findings to a single Markdown file, citing each claim's source.
  3. Save it where the repo keeps such notes; match convention, else somewhere sensible and say where.

Mode: deep-mode (codebase)

When: "deep search the codebase", "map all callers of Y", architecture-level understanding before a refactor, any question where one grep pass is insufficient. NOT for quick lookups or tiny codebases (<20 files).

Pass 1 — broad sweep (breadth-first)

grep the primary term, glob/find_file_by_name for related files → candidate list ranked by match density × centrality.

Pass 2 — deep read (top candidates)

read the top 5-10 files fully; trace imports/exports; grep each import/export to map the dependency graph.

Pass 3 — cross-file synthesis

Data flow (enter/transform/exit), control flow (who calls whom), edge cases (error/null/concurrency), convention consistency → narrative with citations.

Pass 4 — architecture map (if scope warrants)

Group into modules/layers; Mermaid/ASCII dependency graph; hotspots (fan-in/out, circular deps); tech debt.

Citation rule

Every claim cites file:line. Uncited = deduction (Rule 17). Can't cite → "not found in codebase", search again or report the gap.

Output format

## Deep Search: <topic>
### Summary
### Key files
- `path` — <role> (N matches)
### Findings
<numbered, cited>
### Dependency graph
<Mermaid/ASCII>
### Gaps / Not found

Notes: no index exists (Pass 1 replaces it); findings >~50k tokens → write deep-search-<topic>.md + summarize (context-hygiene folding); Pass 1 sweeps can run in parallel subagents (dispatching-parallel-agents).

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.