AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Work Resume

skill-mdproctor-cc-praxis-work-resume · by mdproctor

>

— No reviews yet
0 installs
37 views
0.0% view→install

Install

$ agentstack add skill-mdproctor-cc-praxis-work-resume

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-mdproctor-cc-praxis-work-resume)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
○ Archived

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Work Resume? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

work-resume

Resumes a paused branch from the stack: lets the user pick, rebases the branch onto the current project base branch (picking up any work that landed since it was paused), resets the WIP commit to restore working state, removes the entry from the stack.


Path Resolution (run first, always)

Run the bundled context script — no shell variable assignments, no CLAUDE.md scanning:

python3 ~/.claude/skills/project-init/ctx.py

Use WORKSPACE, PROJECT, BASE_BRANCH, CURRENT_BRANCH from the output as concrete strings. BASE_BRANCH defaults to main if not declared in the project CLAUDE.md.


Step 0 — Resolve paths

Read $PROJECT and $WORKSPACE from CLAUDE.md (see Path Resolution above).


Step 1 — Read pause stack

STACK_FILE="$WORKSPACE/design/.pause-stack"
[ -f "$STACK_FILE" ] || { echo "Nothing to resume — pause stack is empty."; exit 1; }
grep -q "^- branch:" "$STACK_FILE" || { echo "Nothing to resume — pause stack is empty."; exit 1; }

Parse all entries. Each entry has: branch, issue, paused, wip_project, wip_workspace.


Step 2 — Pick branch (if stack depth > 1)

If only one entry: auto-select it, no prompt.

If multiple entries, show the stack (most recent last = shown at bottom):

Paused branches:
  1. issue-94-work-lifecycle   #94   paused 3 days ago   "WIP committed"
  2. issue-87-api-refactor     #87   paused 1 week ago   "WIP committed"

Resume which? (1 / 2)

Set $RESUME_BRANCH, $RESUME_WIP_PROJECT, $RESUME_WIP_WORKSPACE from selected entry.


Step 3 — Verify branch exists

git -C "$PROJECT" rev-parse --verify "$RESUME_BRANCH" &>/dev/null || { echo "⚠️ $RESUME_BRANCH not found in project repo."; exit 1; }
git -C "$WORKSPACE" rev-parse --verify "$RESUME_BRANCH" &>/dev/null || { echo "⚠️ $RESUME_BRANCH not found in workspace repo."; exit 1; }

If missing from either:

  • [D] Discard this stack entry and clean up
  • [A] Abort — leave state as-is for manual investigation

Step 4 — Remove entry from stack (on workspace main)

python3 ~/.claude/skills/project-init/stack.py pop /design/.pause-stack 
git -C  add design/.pause-stack
git -C  commit -m "chore: resume  — pop from pause stack"
git -C  push

If push fails: abort — do not switch branches. The stack on main must be updated before switching, to prevent a second session from also resuming the same branch.


Step 5 — Switch both repos to branch

OUTPUT=$(python3 ~/.claude/skills/work-resume/resume_exec.py checkout-branches "$PROJECT" "$WORKSPACE" branch="$RESUME_BRANCH")
echo "$OUTPUT"
echo "$OUTPUT" | grep -q "CHECKED_OUT=yes" || { echo "⚠️ Branch checkout failed."; exit 1; }

Step 6 — Rebase branch onto current base branch

OUTPUT=$(python3 ~/.claude/skills/work-resume/resume_exec.py rebase "$PROJECT" "$WORKSPACE" base-branch="$BASE_BRANCH")
echo "$OUTPUT"

if echo "$OUTPUT" | grep -q "ERROR=rebase_conflict"; then
  echo "⚠️ Rebase conflict occurred. Conflicting files:"
  git -C "$PROJECT" diff --name-only --diff-filter=U
  echo ""
  echo "**Stop. Do not proceed.**"
  echo "Resolve conflicts, run 'git -C $PROJECT rebase --continue', then run work-resume again."
  exit 1
fi

echo "$OUTPUT" | grep -qE "REBASED=(yes|skipped)" || { echo "⚠️ Rebase failed."; exit 1; }

Step 7 — Reset WIP commit

OUTPUT=$(python3 ~/.claude/skills/work-resume/resume_exec.py reset-wip "$PROJECT" "$WORKSPACE")
echo "$OUTPUT"

if echo "$OUTPUT" | grep -q "RESET=yes"; then
  echo "✅ WIP commit(s) reset — changes restored to working tree"
elif echo "$OUTPUT" | grep -q "RESET=no"; then
  echo "ℹ️  No WIP commits found to reset"
fi

The reset restores the working tree to exactly where it was when work was paused.


Step 8 — Confirm

▶  Resumed:   Issue: #
   Paused  ago
   Rebased onto $PROJECT_BASE_BRANCH  (+N commits incorporated)
   WIP restored: project=  workspace=
   Stack remaining:  paused branch(es)

Step 9 — Run pre-checks

Run Steps 0, 2, 3, 11 from work-start:

  • Step 0: Path resolution (already done)
  • Step 2: Platform coherence — re-read platform doc, run five coherence questions
  • Step 3: Relevant protocols — scan and read applicable rules
  • Step 11: IntelliJ MCPs — call both; hard stop if unavailable

Skip all branch creation steps — the branch already exists.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.