feature-research
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_searchwith 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