r/PromptDesign • u/RazzmatazzAccurate82 • 19d ago
Prompt showcase ✍️ A prompt framework to help audit sources cited

LLMs are bad at citations in a specific way. The source is real, or looks real, the claim sounds right, and the source doesn't actually say it. Sometimes the source doesn't exist at all (see Mata v. Avianca).
I built a framework called Thematic Chaining (TC) to audit this. What LLMs usually do to find and draw sources is take the claim you want supported and run statistical analysis on sources that sound like they address your claim, often paying little attention to whether the source actually addresses its core components. The result is too often a source where the LLM hallucinates wording to shoehorn it into the claim, or even a completely hallucinated source.
To fix this, TC checks whether a proposed source supplies a complete sequence of linked ideas rather than isolated keyword matches. Instead of relying on statistical similarity, it forces the model to decompose claims, trace them to their earliest origins, test the actual logical joins, and run hard exclusion gates against conflicting links. It shifts verification away from probabilistic guessing and into sequentially linked structural dependency.
There are two ways to use it.
Quick version: turn web search on, paste this prompt into any chat, and add your document at the bottom.
Audit the citations in the document below. For each claim that cites or relies on a source:
1. Decompose the claim: break it into its assertions and the connections between them.
2. Retrieve the source. If you can't retrieve it, stop on that claim and report it. Don't fill the gap from memory.
3. Check each assertion: is it stated, implied, or merely mentioned in the source?
4. Test the joins: does the source make the connection the claim makes, or only share keywords?
5. Check contradiction: note any qualifications the claim leaves out.
6. Check the reference: is it the right source and the right passage?
7. Check priority: is it the original source or secondhand? Trace it to the earliest source.
8. Check currency: has a later source retracted, corrected, or superseded it?
9. Test the weight: is the point central to the source, or a passing remark?
- Report one table row per claim, including claims that pass:
# | Claim | Source cited | Steps failed | Verdict | Tag | Severity | Recommended fix
- Verdicts: supported, partially supported, overstated, keyword match only, contradicted, superseded, secondary, unverifiable.
- Tags: Verified (you retrieved and checked the source), Memory, Secondary, or Unverified. Never tag a result Verified unless you retrieved the source itself.
- Severity: Critical (contradicted, superseded, or wrong reference), Significant (overstated, unsupported, or secondary), Minor (wording or dates that don't affect the argument).
For overstated or contradicted verdicts, quote the source's actual wording.
After the table, list any sources you couldn't find and where you looked.
Document:
[paste your document here]Full version: the complete framework is a markdown file on GitHub. Copy it into your chat or upload the file, turn web search on, paste your document, and ask: "Run a Mode 2 audit on this document." The full version (called "Core") adds a mode for tracing where an idea originally came from, a workflow for checking citations while you draft, and versions tuned for legal citations like holding versus dicta or overruled cases and medical evidence covering study design, population match, and retractions.
All versions: https://github.com/Vir-Multiplicis/ai-frameworks/tree/main/Thematic%20Chaining%20(TC)
A couple of notes:
- Without web search, most results will come back tagged Memory. That's on purpose. A model checking its own work from memory isn't really checking.
- It works best on one document at a time because with long documents models start skipping rows.
It's v1.0 and lightly tested. If you try it, I would love to know:
- which model you used, and whether search was on
- what it caught and what it missed
- any real, correct sources it wrongly flagged
Thank you!