AGENT SKILL

research

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.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
research
agent
researcher
triggers
[ "user", "model" ]
description
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.

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

Before improvising tool/library discovery, check .devin/research/resource-index.md (curated high-signal repos: papers, apis, algorithms, learning paths) for an existing primary source.

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

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0