| name | feature-research |
| description | Research existing architecture before implementing a complex feature. |
| metadata | {"author":"morph","version":"0.1.0","argument-hint":"<feature>"} |
Feature Research
Before implementing a complex feature, use codebase_search to avoid duplicating patterns and to match existing conventions.
When To Use
- New feature spans multiple modules/services.
- You need to find existing patterns for similar features.
- You need to identify API boundaries, data models, and tests.
Steps
- Identify the likely "shape" of the feature (routes, state, DB, background jobs, UI).
- Run
codebase_search with a natural language question or description that asks for similar features and relevant files.
- Extract:
- Existing patterns to reuse
- Integration points
- Config/feature-flag conventions
- Tests to mirror
- Propose an implementation plan that matches the repo.
- Implement.
Query Template
"Find existing implementations similar to . Include endpoints, data models, background tasks, and tests."