About coffee-break
A workflow skill for pausing work and preparing instructions to resume it later. It checks whether memory consolidation should happen first, then updates branch context and handles commit and push steps.
Key features
- 01Check whether to route to /reflect
- 02Record team position
- 03Refresh branch context
- 04Commit changed work when allowed
- 05Push commits ahead of upstream
Use cases
- 01Pause a task and document its state
- 02Resume work with prepared instructions
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ camacho/ ai-skills --skill coffee-breakAfter installing, type/coffee-breakin Claude Code to confirm it loaded.
Details
From the project READMECoffee Break
Park work, print resume instructions. Heaviness check first — if memory consolidation is pending, route to /reflect.
1. Heaviness check (route to /reflect if any fires)
- New
feedback_*.mdorproject_*.mdin~/.claude/projects/<slug>/memory/with mtime >$SESSION_DIRdirectory mtime (≈ session-start on CC; on Codex, skip this signal with logged reasonno $SESSION_DIR) ai-workspace/MEMORY.mdmodified in-branch (git statusnon-empty OR commits since fork)- If unsure, ask user: is the branch task complete or paused? If complete, fire.
Any fire → use /reflect
2. Park
- Note what team position you are in, if any (e.g. swe1, architect, tmp)
- Refresh
.branch-context.md(Finished / Open / Next action / Resumes as) - Commit if changed (skip silently if
no-commit-primary-worktree.shblocks — surface the block to user) - Push if ahead of upstream
3. Respond
- Print:
Parked: <branch> @ <sha> Self-resume: /clear then /position <position> --resume
Comments
Markdown supported