# diff-docs

diff-docs compares local snapshots of official Anthropic documentation against a baseline without network requests.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 6529 repo stars
- Author: FlorianBruniaux
- License: CC-BY-SA-4.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/HEAD/.claude/commands/ccguide/diff-docs.md
- Updated: 2026-10-22
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/diff-docs

## What it does

The command calls the `diff_official_docs` MCP tool to analyze two local index files of about 50KB each. It outputs added pages, removed sections, modified sections with line deltas and the first altered line, alongside a count of unchanged pages. Everything runs strictly offline.

The command depends on existing local files. If the baseline is missing, you must run `/ccguide:init-docs` first. If no current snapshot is found, it prompts you to generate one with `/ccguide:refresh-docs`.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/diff-docs.md` — Call it with /diff-docs. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/diff-docs.md` — Call it with /prompts:diff-docs. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/diff-docs.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/diff-docs.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/FlorianBruniaux/claude-code-ultimate-guide/tree/HEAD/.claude/commands/ccguide/diff-docs.md

## When to use it
- inspect differences across Anthropic documentation snapshots
- spot added or removed manual sections without internet access
- check line deltas and the initial altered line in local index files

## Example prompts
- /diff-docs
- Compare the documentation baseline against the current snapshot using /diff-docs

## Similar
- [tasks-explain-diff](https://affpapa.org/en/nevibecode/skills/tasks-explain-diff.md) — skill · ★ 40 repo stars
- [content-diff](https://affpapa.org/en/nevibecode/skills/content-diff.md) — skill · 417 installs
- [understand-diff](https://affpapa.org/en/nevibecode/skills/understand-diff.md) — skill · 4200 installs
- [explain-diff](https://affpapa.org/en/nevibecode/skills/nick-nisi-explain-diff.md) — skill · ★ 114 repo stars
- [replica-diff](https://affpapa.org/en/nevibecode/skills/replica-diff.md) — skill · 1600 installs
- [meticulous-simulate-and-diff](https://affpapa.org/en/nevibecode/skills/meticulous-simulate-and-diff.md) — skill · 9100 installs

From the same set: [florianbruniaux/claude-code-ultimate-guide](https://affpapa.org/en/nevibecode/by/florianbruniaux/claude-code-ultimate-guide.md) — 45 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
