← Back to skills
Context
Retrieval grounding pattern
Ground coding decisions in repository and documentation sources before generating implementation advice.
Last reviewed Feb 25, 2026
Pattern
- Retrieve relevant code and docs
- Summarize constraints and assumptions
- Generate proposal with explicit citations
- Validate output against referenced sources
Why it matters
- reduces hallucinated API usage
- improves auditability of decisions
- keeps answers aligned with real project context