GitHits is most useful when your agent needs context that is outside your local repo. Use it when the answer depends on how open-source code actually works, not just on the files already in the workspace.Documentation Index
Fetch the complete documentation index at: https://docs.githits.com/llms.txt
Use this file to discover all available pages before exploring further.
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.Find existing implementation patterns
Ask the agent to use Code Examples when you want current, source-linked patterns from GitHub.- Niche integrations
- Unfamiliar SDKs
- Framework-specific patterns
- Current ecosystem conventions
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
Review dependency risk
Ask the agent to use Package Inspection before adding or upgrading dependencies.- Dependency selection
- Upgrade planning
- Vulnerability triage
- Changelog review
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 source-backed 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 a pattern, not a guess
When the agent needs an example but not a version-specific inspection, use Code Examples.- New feature patterns
- Library integration examples
- Idiomatic setup code
- Test patterns