Hallucination-Resistant Answer
Independent PiSkill directory guide. The original prompt remains hosted by Anthropic Courses.
What does this prompt do?
Adds grounding and uncertainty instructions so the model can distinguish supported answers from missing information.
Primary use case
Answer questions only when the provided evidence supports an answer.
Expected output
A grounded answer or an explicit statement that evidence is insufficient.
Inputs or variables
- source material
- question
Related prompts
Claude Citation Workflow
Shows how to request, preserve, and validate citations so claims remain traceable to supplied source material and unsupported statements can be identified.
One-Line Research Agent
Demonstrates a compact Claude Agent SDK research workflow that delegates source gathering, preserves citations, and synthesizes results around a bounded question.
Few-Shot Pattern Prompt
Uses representative input-and-output examples to teach the model a task pattern and desired response style.
Separate Data from Instructions
Uses structural delimiters to distinguish untrusted or variable input data from the instructions the model should follow.
Specification Diff
Compares two specification versions and explains changed requirements, removed behavior, compatibility impact, and follow-up work without losing semantic differences.
Structured Output Formatting
Guides Claude toward an explicit response structure so downstream users or systems can consume the result consistently.