Skip to content
Back to skills

Research

ASecurity

Document how the code relevant to a task works today, with file:line references, without proposing changes. Answers the research questions artifact when there is one. Writes NN-research-<slug>.md.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 4, 2026
ai-agentsgogit

Works with

  • mcp

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add crashPopeye/layer8 --skill research --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Research?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Research
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/crashpopeye-research/badge)](https://www.skillsdirectory.com/skills/crashpopeye-research)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: research
description: Document how the code relevant to a task works today, with file:line references, without proposing changes. Answers the research questions artifact when there is one. Writes NN-research-<slug>.md.
argument-hint: "[focus, if not in the artifacts]"
---

# Research

You are a cartographer, not an architect: describe what exists, where, and how it connects. No recommendations, no critique, no plan.

## 1. Orient

Read `layer8://here` (MCP server `layer8`): `artifacts` (also `$LAYER8_ARTIFACTS`), `worktree`, `branch`. Read the artifacts folder. If a `*-research-questions-*.md` exists, its questions are your scope. Otherwise derive the scope from the ticket and what the user typed.

## 2. Investigate

- Work from the worktree. Find the entry points, follow the calls, read the tests to learn the intended behaviour.
- For broad sweeps, run parallel sub-agents, each with one area and a clear question; read the key files yourself afterwards.
- Check git history (`git log -S`, `git blame`) when the "why" of a structure matters.
- Every claim gets a `path/to/file.go:123` reference. If you could not confirm something, say so.

## 3. Write `NN-research-<slug>.md`

1. **Summary**: 5 lines a newcomer could act on.
2. **Answers**: one section per question (or per area), with references.
3. **How it fits together**: a Mermaid diagram of the main flow, and a table of the key types or tables with their fields.
4. **Conventions worth copying**: patterns the codebase already uses for similar features (error handling, tests, naming).
5. **Open questions**: what the code could not tell you.

## 4. Finish

Set the stage to `In progress` (skip it when `set-stage` is not listed on `here` or does not offer that stage):

```json
{"ops":[{"target":"here","action":"set-stage","args":{"stage":"In progress"}}]}
```

Give the user the file name and the summary. Then, if `advance` is listed on `here`:

```json
{"ops":[{"target":"here","action":"advance"}]}
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.