/sstack:revivefrom sstack
Resumes interrupted work exactly where it stopped after a usage limit, crash, restart, or compaction. Reads the actual state of repos, PRs, CI, and tasks to avoid redoing or dropping work.
Ships in sstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A limit or a crash stops work mid-stride. Some units finished, some died halfway through a commit, a merge or a pull request, some never started. Reviving means every unit continues from its real edge, the last thing that verifiably happened, and nothing is done twice or dropped.
The world decides. That means the actual state of the repositories, pull requests, CI, background tasks and the clock. It outranks summaries, memory and your own earlier messages, which describe the moment before the cut.
Read the clock and the world. Run date; hours may have passed. Then gather every source that says what was
running, because a unit nobody lists is forgotten work:
git fetch origin and git worktree list, then git status,
git log origin/<branch>..HEAD and git log HEAD..origin/<default>; when origin/<branch> does not exist,
the branch was never pushed, so read git log origin/<default>..HEAD instead; then the open pull requests
with their checks and the recent merges.Done when every unit any source names is listed.
Write the ledger. One row per unit, with its state and one line of evidence, taken from the world and never from the plan:
| State | Evidence |
|---|---|
| done | a merged commit on the remote default branch, a closed ticket, a sent message you can see |
| pushed | commits on the remote branch or an open PR, review or merge not finished |
| partial | uncommitted edits, local unpushed commits, or a half-done merge or rebase (UU files, MERGE_HEAD) |
| dead-clean | the worker died before touching anything |
| not started | named in a plan or a promise, with no trace in the world |
A review round in which any reviewer died is not run, never clean. A missing worktree with a merged PR is done; without one it is lost work, so partial or not started. A task with no end notice is live until the harness says it ended. Done when every row has a state and evidence, and no row relies on absence alone.
Check the capacity. A relaunch on the window that just closed dies again at once. Confirm the account or model can serve the work, and keep any model choice the user made. Done when the next launch can run.
Revive each unit from its edge.
git fetch origin, git status, git diff and git log origin/<branch>..HEAD (or
origin/<default>..HEAD for a branch never pushed) and read the PR's comments,
keep every edit that is right and finish it, complete a half-done merge, then continue.Done when every row that is not done is running again or reported as deliberately left, with the reason.
Write only through a world check. Before each outward action, look at the world and act only on the gap:
| Action | Check first |
|---|---|
| commit | git status, then git log -S'<text>' and git diff origin/<default>: is the change already there? |
| push | git log origin/<branch>..HEAD is not empty |
| open a PR | gh pr list --head <branch> shows none open |
| merge | gh pr view <n> --json state,mergeCommit; if it is already merged, report that commit and move on |
| comment, issue, message | search the existing ones for the same content |
| release or tag | the tag and the release do not exist yet |
This holds inside one worker too: one that died after pushing and before commenting resumes at the comment. Done when every write in the revive passed its check.
Report. What died and where each unit stood, what was revived and the proof the replay was clean, what was stopped or left and why. Put the ledger where the next session will find it: the work's status doc or worklog if it has one, otherwise the reply. Done when the user has the report and the ledger is saved.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub geiserx/sstack --plugin sstack22 skills in this plugin
/docs-loopUse when the user asks to audit docs, check documentation for stale claims, or verify docs against the code./eli5Explain work, a system or a situation to the user in plain words with real names, so they understand it on one read. Use when the user asks to explain like a 5yo, says eli5, or says they do not understand what was done or where things stand./file-prOpen a pull request whose title says why the change matters and whose body opens with the problem in the requester's words. Use when asked to file, open, raise or create a PR, or to rewrite a PR's title or description.Other plugins' skills for the same job