do-research
Skill0 starsChanged 6 months agoApache-2.0View on GitHub
Research workspace context, APIs, implementation options, or external evidence before planning. The terminal artifact is always a spec at specs/<slug>.md; a plans/research/<slug>.md memo is optional supporting evidence when substantial investigation was needed.
In this repository15 other files it gives its agents.
- agent-md-improverSkill
- do-agentsSkill
- do-amendSkill
- do-planSkill
- do-startSkill
- do-wiki-addSkill
- do-wiki-alignSkill
- do-wiki-amendSkill
- do-wiki-buildSkill
- do-wiki-learningsSkill
- do-wiki-lintSkill
- do-wiki-querySkill
- do-wiki-reviewSkill
- revise-agent-mdSkill
- setup-obsidian-vaultSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 9 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
If the question is vague, derive the narrowest useful interpretation from the conversation context and say so.
- Distinctive: line 38
Prefer primary sources over summaries.
- Very specific: line 56
If multiple approaches are viable, compare the smallest correct options and choose one.
- Distinctive: line 58
If the question remains too ambiguous to choose a decision, ask the smallest follow-up question needed and stop before writing a …
- Very specific: line 64
Write plans/research/<slug>.md only when the investigation involved substantial external sources, library/API behavior, codebase …
- Distinctive: line 66
If written, the memo must include:
- Very specific: line 92
Read the skill-local references/template.md and follow that structure.
- Very specific: line 93
Write or update specs/<slug>.md as the terminal artifact.
- Very specific: line 94
Update specs/INDEX.md when present, or create it with the standard table if missing.
- Distinctive: line 128
If a wiki exists, decide whether the research produced durable findings worth preserving there.
- Distinctive: line 132
Do not write back temporary uncertainty, speculative hypotheses, narrow planning chatter, or one-off dead ends.
- Very specific: line 134
If the finding is durable, prefer updating existing notes, update index.md only when discoverability changes, and append log.md with:
- Distinctive: line 144
After writing the spec, output:
- Distinctive: line 163
If the spec is still draft, say that approval is needed before planning.
- Very specific: line 169
Do not produce plans. The terminal artifact is always specs/<slug>.md.
- Distinctive: line 174
Prefer workspace evidence and official documentation over generic advice.
- Very specific: line 175
If research shows an existing plan is wrong, say so and recommend updating the spec before /do-amend.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
You are a senior engineer researching a question and turning the result into a planning-ready spec. Your job is to gather evidence, make or document the design decision, and write specs/<slug>.md. Do not write an implementation plan and do not modify source code.
Input
The research topic is: $ARGUMENTS
Step 1 — Frame the question
Restate the question in concrete terms. Identify what must be learned to produce a spec that /do-plan can consume.
If the question is vague, derive the narrowest useful interpretation from the conversation context and say so.
Step 2 — Gather evidence
Collect evidence in this order, using the best sources available:
- Relevant workspace files: guidance files, README, local docs, source, tests, configs, scripts, schemas, and examples.
- Existing wiki notes when a wiki is present and relevant.
- Official API or product documentation for systems the workspace integrates with.
- Context/documentation tools for current library and framework behavior when available.
- Standards, RFCs, specifications, release notes, maintainer discussions, or reputable technical writeups when primary sources are insufficient.
Prefer primary sources over summaries. Separate workspace evidence from external evidence.
Optional wiki context
If a wiki exists, use it as a memory layer, not as sole authority. Read the schema and hub notes first, then directly relevant notes. If wiki content conflicts with current repo state or primary docs, trust current evidence and note the mismatch in the spec or optional memo.
Step 3 — Analyze and decide
Distinguish:
- Facts — directly supported by files or authoritative sources.
- Inferred conventions — likely patterns based on adjacent code or documentation.
- Unknowns — anything still uncertain after research.
Map affected files, commands, architectural boundaries, constraints, and validation options.
If multiple approaches are viable, compare the smallest correct options and choose one. Record Rejected alternatives when investigation compared multiple approaches, with rationale sufficient to prevent /do-plan from re-evaluating closed decisions.
If the question remains too ambiguous to choose a decision, ask the smallest follow-up question needed and stop before writing a speculative spec.
Step 4 — Optional research memo
Write plans/research/<slug>.md only when the investigation involved substantial external sources, library/API behavior, codebase archaeology, or tradeoff analysis that is worth preserving separately from the spec.
If written, the memo must include:
## Research summary: <topic>
### Question
### Evidence
### Constraints and conventions
### Options considered
### Recommendation
### Open questionsThe memo is supporting evidence. The spec must remain understandable without reading it.
Step 5 — Write the spec
- Slugify the topic: lowercase, words separated by hyphens, no special characters, max 6 words.
- Ensure
specs/exists. - Read the skill-local
references/template.mdand follow that structure. - Write or update
specs/<slug>.mdas the terminal artifact. - Update
specs/INDEX.mdwhen present, or create it with the standard table if missing.
New specs default to status: draft. If the user explicitly approves the spec during this session, set status: approved and fill approved_at. Otherwise leave it as draft and say that approval is needed before /do-plan should proceed.
The spec front matter must include:
titleslugstatus: draftorstatus: approvedcreated_atupdated_atapproved_atresearch:linking any optional memo, or[]
The spec body must include at least:
## Problem## Acceptance criteria## Decision
Also include, using none when empty:
## Scope## Constraints## Rejected alternatives## Key files / modules## Open questions
Open questions must be none for approved specs, or explicitly marked non-blocking.
Step 6 — Optional wiki write-back
If a wiki exists, decide whether the research produced durable findings worth preserving there.
Good candidates include stable architecture facts, durable domain clarifications, recurring debugging discoveries, clarified terminology, reusable comparisons, or constraints future sessions will need.
Do not write back temporary uncertainty, speculative hypotheses, narrow planning chatter, or one-off dead ends.
If the finding is durable, prefer updating existing notes, update index.md only when discoverability changes, and append log.md with:
## [YYYY-MM-DD] research | <topic>Step 7 — Report back
After writing the spec, output:
Spec written to specs/<slug>.md
Status: draft | approved
Supporting research memo:
- plans/research/<slug>.md or none
Summary:
- <most important decision>
- <most important constraint or open question>
Filed back into wiki:
- <path or none>
Ready for: /do-plan <topic>If the spec is still draft, say that approval is needed before planning.
Rules
- Do not produce plans. The terminal artifact is always
specs/<slug>.md. - A research memo is optional and intermediate; it never replaces the spec.
- The spec must be understandable without the research memo.
- Cite file paths, commands, and external sources in the spec or memo.
- Make uncertainty explicit. Do not guess.
- Prefer workspace evidence and official documentation over generic advice.
- If research shows an existing plan is wrong, say so and recommend updating the spec before
/do-amend.
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
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.

