Use when the user wants to find out how a feature or change would fit into a codebase before deciding what or how to build it, including features spanning several repositories. Maps the affected code, integration points, constraints, and options into a research document. For a bug's root cause use systematic-debugging; for a codebase-wide restructuring scan use improve-codebase-architecture; for turning research into an implementation plan use feature-plan.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Feature Research?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/chrysogonus-feature-research)
---
name: feature-research
description: Use when the user wants to find out how a feature or change would fit into a codebase before deciding what or how to build it, including features spanning several repositories. Maps the affected code, integration points, constraints, and options into a research document. For a bug's root cause use systematic-debugging; for a codebase-wide restructuring scan use improve-codebase-architecture; for turning research into an implementation plan use feature-plan.
metadata:
evaluation-status: unmeasured
---
## Scope and integration
Apply this skill to the requested target and task. User instructions and project
conventions take precedence; loading it does not authorize commits, pushes,
publishing, or unrelated changes.
Investigate before anyone decides. Facts are your job; decisions are the
user's. The output is one research document that a planner (human or
`feature-plan`) can build on. Source files stay untouched: the research
document is the only file you write.
## 1. Frame the question
Restate the request as one research question, and pick a short kebab-case
slug for it. Then set the scope:
- **Repositories.** List every repository the feature might touch. When the
session starts in a folder holding several repositories, or a workspace
`AGENTS.md` describes related repositories, include each one. A repository
ruled out still gets one line saying why.
- **Existing research.** Look for an earlier document on the same topic
(see [Where the document lives](#where-the-document-lives)). When one exists,
compare its recorded commits with each repository's `HEAD` and run
`git diff --stat <commit>..HEAD` on the paths it cites. Extend the document:
re-verify the sections whose code changed and keep the rest.
Done when the question, slug, and repository list are written down.
## 2. Investigate
Trace the feature through the code as it stands today. When subagents are
available and authorized, give each repository or area its own read-only
exploration and look up external libraries or APIs with a documentation
researcher; otherwise read directly. Cover:
- **Current behavior**: what already happens along the feature's path, end to end.
- **Integration points**: every place the feature must connect: entry points,
APIs and their contracts between repositories, shared types, events, data
stores, configuration.
- **Prior art**: helpers, utilities, or half-built versions of the same
capability that already exist. Search for them by behavior, not only by name.
- **Constraints**: domain boundaries, conventions from `AGENTS.md` or
architecture docs, test setup, and anything that limits how the feature can
be built.
Cite every finding as `repo/path:line`. Done when every repository in scope is
accounted for, every integration point carries a citation, and the prior-art
search has run.
## 3. Write the document
Write the document with this skeleton:
```markdown
---
question: <the research question>
date: <YYYY-MM-DD>
repos:
- path: <repository path>
commit: <full HEAD hash at time of research>
---
# <Title>
## Current Behavior
## Key Integration Points
## Prior Art
## Constraints for Future Work
## Options
<2–3 approaches, each with its trade-offs and the repositories it touches>
**Recommendation:** <one option and why>
## Open Questions
<decisions only the user can make, ranked by how much each answer changes the
plan; at most five>
```
Open questions are decisions, never facts: anything you could look up belongs
in the sections above it. Where the evidence ran out, say so in the section it
affects.
### Where the document lives
Follow the project's existing location for research or design notes when it
has one. Otherwise write `docs/research/<slug>.md` at the root of the folder
the session started in: the repository root, or the parent folder for
research spanning several repositories.
## 4. Report
Give the user the document's path, the recommendation, and the open
questions. Planning is the next, separate step: point the user to
`feature-plan` once they have answered or accepted the recommendation.