/share-to-pr
Post the current handoff as a PR comment so reviewers see the work context. Usage - /handoff-revive:share-to-pr [PR number]
$ npx -y skills add sofumel/claude-handoff-revive --agent claude-codeHow 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
/share-to-pr
Context preview
What this command does when you run it.
Post the current handoff as a PR comment so reviewers see the work context. Usage - /handoff-revive:share-to-pr [PR number]
Command definition
share-to-pr.mddescription: Post the current handoff as a PR comment so reviewers see the work context. Usage - /handoff-revive:share-to-pr [PR number] argument-hint: [PR number]
Share `.claude/handoff/current.md` to a GitHub PR as a comment. **This publishes the handoff content externally — always show the user what will be posted and get an explicit yes before posting.**
Steps:
1. Run the **dry-run** first (pass the user's PR number `$ARGUMENTS` if given; otherwise the script auto-detects the current branch's PR):
- Linux/macOS/WSL/Git-Bash:
bash "${CLAUDE_PLUGIN_ROOT:-.claude}/skills/handoff-revive/scripts/share-to-pr.sh" --dry-run [PR]- Windows PowerShell:
$r = if ($env:CLAUDE_PLUGIN_ROOT) { $env:CLAUDE_PLUGIN_ROOT } else { ".claude" }; powershell -ExecutionPolicy Bypass -File "$r/skills/handoff-revive/scripts/share-to-pr.ps1" -DryRun [-Pr <PR>]2. Show the user (in their language, read `.claude/handoff/lang`) which PR it will go to and the body preview. **Warn that the handoff may contain absolute paths or other local details** and point out anything that looks sensitive. 3. Only after the user confirms, run the same command **without** `--dry-run` / `-DryRun`. 4. Report the result. If `gh` is missing or no PR exists for the branch, relay the script's error and stop.
Resume Claude Code work after rate/usage/context limits without replaying the prior transcript. Auto-saves at 90%/95% usage. Plugin-installable, 10 languages.
Other commands on claude-handoff-revive.
- /auto
Toggle automatic handoff save (90%/95% triggers) for THIS session — pass on, off, or status
Open command - /diff
Show what changed between the current handoff and a past snapshot, section by section. Usage - /handoff-revive:diff [timestamp]
Open command - /doctor
Diagnose the handoff-revive installation - toolchain, script pairs, hooks, and current handoff state.
Open command - /list
List handoff snapshots in `.claude/handoff/history/` (one is archived automatically on every save).
Open command - /preview
Preview what the next session will read from `.claude/handoff/current.md` (read-only dry-run, zero-token shell check).
Open command - /restore
Restore a handoff snapshot from `.claude/handoff/history/` as the current handoff. Usage - /handoff-revive:restore <timestamp>
Open command

