Planning and research
Use GitHits before implementation when the agent needs to choose an approach, evaluate an unfamiliar API, or understand how a library is used in real projects.Research a dependency before changing code
Ask the agent to use Code Navigation when the work depends on a library already in your stack.- Version-specific behavior
- Undocumented APIs
- Dependency internals
- Stack traces that point into third-party code
Read package documentation
Ask the agent to use Documentation Access when package docs explain public behavior better than source.- Public API behavior
- Configuration options
- Migration notes
- Docs-source disagreements
Review dependency risk
Ask the agent to use Package Inspection before adding or upgrading dependencies.- Dependency selection
- Upgrade planning
- Vulnerability triage
- Changelog review
Find prior art and implementation patterns
Ask the agent to use Code Examples when you need prior art or current implementation patterns and do not need a version-specific source inspection.- Niche integrations
- Unfamiliar SDKs
- Framework-specific patterns
- Current ecosystem conventions
Implementation and debugging
Use GitHits during implementation when the agent starts guessing, makes repeated small changes, or cannot explain why a dependency behaves the way it does.Help the agent out of a loop
If the agent retries similar fixes without progress, stop the loop and point it at indexed source, docs, and package context.- The same test keeps failing
- The agent keeps changing nearby code without evidence
- An error message comes from a dependency
- Docs and implementation behavior disagree
Verify an implementation detail
Before committing to an API usage, ask the agent to verify the exact behavior.- Method options and defaults
- Error handling behavior
- Middleware order
- Serialization or parsing behavior
Borrow prior art, not a guess
When the agent needs prior art or an example but not a version-specific inspection, use Code Examples.- New feature patterns
- Library integration examples
- Idiomatic setup code
- Test patterns