Intent
Use when you need to understand existing code patterns before making changes.
Steps
- Search with rg for entry points, related terms, and existing patterns.
- Read relevant files and follow import chains.
- Identify routes, services, configs, tests, and utilities.
- Summarize findings with file paths and brief purpose.
Output format
- Relevant files (path + purpose)
- Patterns/conventions found
- Dependencies or external integrations
- Gaps requiring docs