Skip to content
Documentation
Command

/fact-check

Verify a generated document against actual code and git history

From plugin
visual-explainer-marketplace
9.4k7 skills7 commands
Install
> /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.md
name: 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.

Ships withvisual-explainer-marketplace

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.

Get the whole plugin
Stats
9,452
Stars
635
Forks
Maintained
Maintenance
HTML
Language
MIT
License
1mo ago
Last commit
5mo ago
Created

Repo: nicobailon/visual-explainer