Skip to content
Development
Command

/diff

Show what changed between the current handoff and a past snapshot, section by section. Usage - /handoff-revive:diff [timestamp]

From plugin
claude-handoff-revive
611 skills11 commands
Install
$ npx -y skills add sofumel/claude-handoff-revive --agent claude-code

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/diff

Context preview

What this command does when you run it.

Show what changed between the current handoff and a past snapshot, section by section. Usage - /handoff-revive:diff [timestamp]

Command definition

diff.md
description: Show what changed between the current handoff and a past snapshot, section by section. Usage - /handoff-revive:diff [timestamp]
argument-hint: [timestamp]

Run the `diff-handoff` script (pass the user's timestamp `$ARGUMENTS` if given; otherwise it compares against the previous save automatically):

  • Linux/macOS/WSL/Git-Bash:
  bash "${CLAUDE_PLUGIN_ROOT:-.claude}/skills/handoff-revive/scripts/diff-handoff.sh" [timestamp]
  • Windows PowerShell:
  $r = if ($env:CLAUDE_PLUGIN_ROOT) { $env:CLAUDE_PLUGIN_ROOT } else { ".claude" }; powershell -ExecutionPolicy Bypass -File "$r/skills/handoff-revive/scripts/diff-handoff.ps1" [-Timestamp <timestamp>]

Then, in the user's language (read `.claude/handoff/lang`), present the output and add a 1–2 sentence progress summary: what moved from todo/wip to done, how `next_action` changed, and any new `lessons_learned`. `+` lines were added since the snapshot, `-` lines were removed.

Ships withclaude-handoff-revive

Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages.

Get the whole plugin, auto-invoked
Stats
6
Stars
0
Views
1
Forks
Maintained
Maintenance
PowerShell
Language
MIT
License
1mo ago
Last commit
3mo ago
Created

Repo: sofumel/claude-handoff-revive