Context Retrieval Loop
Gather the right codebase context before making changes or spawning subagents.
When to Use
- Starting work in an unfamiliar area
- Spawning a subagent that needs targeted file context
- First search pass returned nothing useful
The 3-Cycle Loop
Cycle 1 — Broad Search
rg "<primary-keyword>" --type ts --type js -l
find . -name "*<keyword>*" -not -path "*/node_modules/*"
Stop here if 3+ directly relevant files found.
Cycle 2 — Exact Source
[Description truncada. Veja o README completo no GitHub.]