Codebase Documentation Q&A
Answer questions about codebase using retrieved documentation and code context
v3
Last updated: November 5, 2025
Documentation
Engineer
rag
Loading...
Answer questions about codebase using retrieved documentation and code context
Answer this question about our codebase using the retrieved documentation:
**Question:** {question}
**Retrieved Context:**
The following documentation and code snippets have been retrieved from our knowledge base:
{retrieved_context}
**Instructions:**
1. **Use Only Retrieved Context**: Base your answer primarily on the retrieved documentation
2. **Cite Sources**: Reference specific files, functions, or documentation sections
3. **If Information Missing**: If the retrieved context doesn't fully answer the question, state what's missing
4. **Provide Accurate Answer**: Use the retrieved context to provide a precise answer
**Answer Format:**
- **Answer**: [Your answer based on retrieved context]
- **Sources**: [List specific files/documentation referenced]
- **Confidence**: High/Medium/Low (based on how well retrieved context answers the question)
**Important**: Only use information from the retrieved context. Do not rely solely on general knowledge if it conflicts with the retrieved documentation.Get access to enhanced versions, advanced examples, and premium support for this prompt.
Loading revision history...
Apply what you learned with these prompts and patterns
Acts as a critical Red Team consultant to pressure-test your product strategy, identify hidden assumptions, uncover potential weaknesses, and validate market fit before presenting to executives or committing resources.
Create end-to-end test scenarios for critical user flows
Generate comprehensive API documentation with examples and error cases