cite-check
A procedure for auditing every legal citation in a brief, memo, motion, or opinion letter against the CourtListener database — hallucination detection for legal writing. Use when asked to cite-check, verify citations, validate authorities, confirm cases are real, or review a draft before filing or sending.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 82
- Forks
- 23
01 前言 Front Matter
- name
- cite-check
- description
- A procedure for auditing every legal citation in a brief, memo, motion, or opinion letter against the CourtListener database — hallucination detection for legal writing. Use when asked to cite-check, verify citations, validate authorities, confirm cases are real, or review a draft before filing or sending.
03 SKILL.md 正文
Fabricated and mischaracterized citations are the signature failure of AI-assisted legal writing, and courts sanction filers for them. Treat every citation in the document as unverified until a database lookup confirms it. Never mark a citation verified from memory — verification means a live lookup returned the case.
<procedure>
- Extract every citation. Read the full document and list each legal
authority it cites: case citations (full and short-form, including id.
and supra references resolved back to their antecedent), statutes,
regulations, and rules. For each, record the exact anchor where it appears
as
[<Document> § <section>]and the proposition the document uses it for (quote the sentence it supports). - Verify each case against CourtListener. Use the CourtListener MCP
server when available; otherwise use the
case-lawtool. Search by case name and by reporter citation. Both sources cover U.S. opinions only — for non-U.S. authorities, and for statutes and regulations, do not guess: classify them as unverifiable here and list them for manual confirmation. - Compare the holding. For each case found, read the returned snippet and metadata. Confirm the case stands for the proposition the document cites it for — a real case cited for something it does not say is as dangerous as a fake one. Check the cited court and year against the database record.
- Classify each citation into exactly one status:
- verified — the case exists, the reporter citation, court, and year match, and the retrieved content is consistent with the cited proposition.
- not found — no matching case by name or citation; presumptively fabricated until the author produces the source.
- ambiguous — a case by that name exists but the citation, court, year, or party names do not match, or multiple candidates exist, or the source could not verify it (non-U.S. authority, statute, regulation).
- supports-different-proposition — the case is real but the retrieved content does not support, or contradicts, the proposition cited.
- Output a findings table with one row per citation: | Anchor | Citation as written | Proposition cited for | Status | Evidence | The Evidence column carries the CourtListener URL and matched citation for verified entries, and the specific mismatch for everything else. </procedure>
Close with a summary count by status and a clear verdict: a document is safe to file or send only when every citation is verified or independently confirmed by the supervising attorney. Never soften a not found into "likely correct" — report it as unverified and stop there. Do not invent a replacement citation for a bad one; flag it and let counsel decide.
04 同仓库更多 Skills
figma-use
**MANDATORY prerequisite** — you MUST invoke this skill BEFORE every `use_figma` tool call. NEVER call `use_figma` directly without loading this skill first. Skipping it causes common, hard-to-debug failures. Trigger whenever the user wants to perform a write action or a unique read action that requires JavaScript execution in the Figma file context — e.g. create/edit/delete nodes, set up variables or tokens, build components and variants, modify auto-layout or fills, bind variables to properties, or inspect file structure programmatically.
figma-use-slides
This skill helps agents use Figma's use_figma MCP tool in the Slides context. Can be used alongside figma-use which has foundational context for using the use_figma tool.
figma-use-motion
Motion / animation context for the `use_figma` MCP tool — animating Figma nodes via manual keyframes, animation styles, easing, and timeline duration. Load alongside figma-use whenever a task involves adding, editing, or inspecting animation on a node.
figma-use-figjam
This skill helps agents use Figma's use_figma MCP tool in the FigJam context. Can be used alongside figma-use which has foundational context for using the use_figma tool.
figma-swiftui
SwiftUI ↔ Figma translation. Use whenever the user mentions Swift, SwiftUI, iOS, iPhone, or iPad — in EITHER direction — translating a Figma design into SwiftUI (design → code), or pushing SwiftUI views / screens / tokens back into a Figma file (code → design). Triggers on phrases like 'implement this Figma design in SwiftUI', 'build this screen in Swift', 'push this SwiftUI view to Figma', 'mirror my Swift code in a Figma file', or whenever a Figma URL appears alongside `.swift` files / an `.xcodeproj`. Routes to a direction-specific reference doc; loads alongside `figma-use` for the code → design path.
figma-shaders
**MANDATORY prerequisite** — load this skill before calling `create_shader` or `update_shader`. Use when the user asks to create, author, change, fix, or iterate on a shader effect, shader fill, custom effect, custom fill, or procedural shader in Figma.