/fact-check
Verify a generated document against actual code and git history
> /plugin marketplace add nicobailon/visual-explainer > /plugin install visual-explainer@visual-explainer-marketplace
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/fact-check
Context preview
What this command does when you run it.
Verify a generated document against actual code and git history
Command definition
fact-check.mdname: fact-check description: Verify a generated document against actual code and git history
Load the visual-explainer skill and fact-check the document named by `$@`. If no argument is given, use the most recently modified HTML file in `~/.agent/diagrams/`.
Claim extraction
Read the target document. Extract verifiable claims about file paths, function/type/module names, behavior, architecture, data flow, APIs, commands, dependencies, tests, performance/security assertions, and git history. Skip subjective design opinions.
Verification
For each claim, inspect the actual source or git history. Re-read referenced files. For diff reviews, compare before/after with `git show` or the relevant range. For plan docs, verify referenced files/functions/types exist and behave as described.
Classify claims as verified, corrected, unsupported, or unverifiable. Preserve the document’s structure. Correct factual errors in place and add a verification summary that lists what was checked and changed. For HTML, match the existing page style and open it in the browser. For markdown, report the path in chat.
An agent skill that turns complex terminal output into styled HTML pages you actually want to read. Ask your agent to explain a system architecture, review a diff, or compare requirements against a plan.
Repo: nicobailon/visual-explainer
Other commands on visual-explainer-marketplace.
- /diff-review
Generate a visual diff review for code changes
Open command - /generate-slides
Generate a slide deck as a self-contained HTML page
Open command - /generate-visual-plan
Generate a visual implementation plan
Open command - /generate-web-diagram
Generate a standalone HTML diagram and open it in the browser
Open command - /plan-review
Compare an implementation plan against the current codebase
Open command - /project-recap
Generate a visual project recap for context switching
Open command

