agentleFS
nnguyenquanggnnguyenquangg/claude-code-spec-driven-development/skills/research/SKILL.md

research

Skill18 starsChanged 3 months agoMITView on GitHub

Research a target (a feature, product idea, integration, or problem) by auto-selecting the right tools — web search for ideas/precedent, codebase search for existing patterns, expert skills for feasibility — and producing a research brief with sources, ideas/options, a wireframe, and a step-by-step flow. Read-only — produces a brief, writes no production code. Feeds into /make-plan. Triggers on "research", "/research", "research my target", "look into", "explore options for", "find ideas for", "how do others do X".

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use which-skill, wait-what 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.
  • 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

  • AWSSkill

    wait-what

    Stop. That last message did not land: re-pitch it.

    Also in 62 projects that use this

  • AWSSkill

    wizard

    Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.

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

  • +4 more from aws

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is 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.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read-only: produce the brief.

    line 69
  2. Distinctive:

    Keep the brief skimmable — the user reads this to decide, not a wall of text.

    line 72

“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 — investigate a target, output a brief (sources · ideas · wireframe · flow)

The user names a target ("research X"). You investigate it from multiple angles by choosing the tools that fit the target, then hand back one research brief. You write no production code — this is the step before /make-plan; the brief feeds planning.

Step 0 — Scope the target & pick the angles

Restate what's being researched in one line and classify it so you know which tools to use:

  • UI / UX feature → needs a wireframe + flow + UX-pattern references + existing components in the codebase.
  • API / integration / library → needs official docs, API shape, constraints, existing usage in the codebase.
  • Product / market idea → needs competitor/precedent research, what others do, tradeoffs.
  • Technical approach / architecture → needs design options, feasibility, expert input. Most targets mix two of these — cover the relevant ones.

Step 1 — Choose the tools (define them up front, then run)

If task-analyzer already dispatched here, reuse its essence/type/scale/tags; otherwise run its Steps 1-4 on the target now, then map that to the tools and experts below. State which tools you'll use and why (one line), then run them. Pick from what's available in this environment:

SourceToolUse for
The webWebSearch + WebFetch, or the deep-research skill for a thorough multi-source passideas, how others solve it, official docs, UX patterns, prior art
This codebasethe Explore agent (broad) or Grep/Glob (targeted)existing implementations, reusable components, conventions, precedent to build on
Domain expertisethe relevant expert skill — fullstack-dev-skills:api-designer (API shape), :architecture-designer (system options), nextjs-developer/react-expert (UI), :postgres-pro (data)feasibility, idiomatic options, tradeoffs
Design exploration (optional, UI-heavy)design-an-interface or prototypemultiple UI/interface variants to compare

Rules: prefer fresh, primary sources (official docs, real repos) over blogs; always look in the codebase, not just the web — reusing what exists beats inventing; run web + codebase passes in parallel (sub-agents) when both apply.

Step 2 — Synthesize honestly

Separate fact (what a source actually says — cite it) from idea (your recommendation). Flag uncertainty; don't present a guess as a finding. Note conflicts between sources.

Step 3 — Output the research brief

Produce this, in this order. Save it to docs/research/<kebab-target>.md if a docs/ dir exists; otherwise present inline. Skip a section only if truly N/A (say so).

# Research: <target>

## Summary
2–4 sentences: what you found and the recommended direction.

## Sources
- Web: <title> — <url>  (one line on what it gave you)
- Codebase: `path/to/file.ts:line` — <what's reusable / the existing pattern>

## Ideas & options
For each viable approach: what it is · who does it this way · pros · cons.
End with a **Recommendation** + why.

## Wireframe
ASCII/text wireframe of the proposed UI (screens / key components / layout).
(Omit for non-UI targets — say "N/A, no UI".)

## Flow
Numbered step-by-step user + system flow (happy path; note key edge cases).
e.g. 1. User taps X → 2. API validates Y → 3. ...

## Open questions / risks
Decisions to make before building; unknowns; risks.

## Next step
→ `/make-plan "<target>, using the recommended approach"` to turn this into specs.

Depth

Match effort to the ask: a quick "look into X" → a fast scan (a few searches + a codebase grep). "Research X thoroughly" / a big decision → use deep-research for the web pass, broader codebase exploration, and more options compared.

Guardrails

  • Read-only: produce the brief; never write production code (that's /make-plan → /implement-specs).
  • Cite real sources; never fabricate a URL, a stat, or a codebase reference — verify each one exists.
  • Reuse-first: surface what the codebase already has before proposing something new.
  • Keep the brief skimmable — the user reads this to decide, not a wall of text.

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.