Produce a deep, cited reference document as a foundation for later planning or implementation. If the request has no clear topic or repository, use the clarify skill first.
Choose the output path. By default, write
docs/research/<yyyy-mm-dd>-<slug>.md using today's date. If the user or a
coordinating skill names an active projects/<project>/ directory, write
projects/<project>/research.md instead. Ask if the scope is unclear; do not
create a project directory solely because research may help later. For github
or an issue reference (#<n> or URL), read and follow
GITHUB-ISSUES.md to use GitHub Issues and Issue
Artifacts instead of projects/.
For project scope, create projects/README.md from
PROJECTS-README.md and
projects/<project>/README.md from
PROJECT-README.md if either is missing. Add
one research.md row to the project's artifact table and keep research
findings in research.md only.
Choose the mode. A GitHub URL, org/repo, or bare repo name means code
research. A topic, concept, or question means topic research.
Sources. In both modes, search organizational knowledge as well as code and the web, following KNOWLEDGE-SOURCES.md. Treat Confluence and Google Drive as primary sources alongside code and docs; Slack is supporting context, not authority.
- Check for existing research. Check the project's
research.mdanddocs/research/, matching by slug and ignoring any date prefix. For example, "CI pipeline caching" may match*-ci.mdor*-continuous-integration.md, andacme/widgetsmay match*-widgets.md. If a match fully answers the question, summarise it and stop. If it covers the topic partly, extend it rather than starting a second file. - Research. Before investigating, read RESEARCH-GUIDE.md and follow its code or topic workflow, template, and writing rules. Every question in scope must end with cited findings or be listed as unknown.
- Save and report. Use the chosen path and template; extend the existing document if step 1 found one. Summarise the research for the user and give the full document path. For project scope, ensure the project README indexes it.


