/peak-workflow:pausefrom peak-workflow
Saves progress mid-epic to a handoff file so the next session can resume. Use when stopping work before an epic is complete.
Ships in peak-workflow. 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.
You are pausing the current epic implementation session. This preserves context so the next session can resume exactly where you left off.
Before any other action: run sh "${CLAUDE_PLUGIN_ROOT}/scripts/tor-lifecycle" format.
On exit 0 (verdict: current, or new for a project with no peak-workflow files yet), continue.
On any other exit, print its output and stop — it names the fix (/peak-workflow:upgrade, a
plugin update, or a Python install). After this guard, read the project's files only in the
current format.
Follow these steps exactly:
Run git branch --show-current. The epic you are pausing is the one this branch implements:
the branch must be feature/epic-<id>-<short-name> and that epic's sidecar
(docs/implementation-plan/status/epic-<id>.md, read on this branch) must say
status: In Progress. Otherwise stop and write nothing: "Nothing to pause — no epic is in
progress on this branch (). /peak-workflow:pause runs on the epic's feature branch." The epic ID is the filename stem after stripping epic- and .md (e.g., status/epic-a3f2K7p.md → ID a3f2K7p).
Open the epic spec file (docs/implementation-plan/phase-*/epic-<id>-*.md) and parse its header for a **Source:** Issue #<N> line. If present, capture the integer <N> as the source issue number for the Step 5 commit trailer. If no Source: line exists, the source issue number is unknown — skip the trailer later.
Before proceeding with the pause, read the epic spec file and check its Requirements Anchors
table. Check the implementation handoff file (session-handoffs/epic-<id>-implemented.md) if
it exists — look at its "TOR Coverage" section. If ALL TOR IDs in the Requirements Anchors
table show PASS or CANNOT VERIFY in the TOR Coverage section, the epic may be ready for wrapup:
All TOR requirements for Epic appear to be implemented (all show PASS or CANNOT VERIFY in the implemented handoff). This looks like it might be ready for independent verification rather than a pause. Would you like to run
/peak-workflow:wrapup-epic <id>instead, or do you still want to pause?
If no implemented handoff exists yet, use test-file presence for the TOR IDs as a heuristic. When in doubt, defer to the user.
A removal epic (its sidecar has a retires: line, its spec a ## Removal section) may have
no anchors at all. Its removal part is done only when
sh "${CLAUDE_PLUGIN_ROOT}/scripts/tor-lifecycle" sweep <the Removal section's retired IDs>
reports nothing (exit 0) — check that as well, and never read an empty anchors table as "all
done".
If the user confirms they want to pause anyway, proceed with Step 2.
List all tasks from this session with their current status (completed, in_progress, pending). This becomes the progress snapshot.
Create a handoff file at docs/implementation-plan/session-handoffs/epic-<id>-paused.md with this structure:
# Epic <id>: [Name] — Session Handoff (Paused)
**Paused:** [today's date]
**Reason:** [user-provided or "end of session"]
## Progress Snapshot
### TOR IDs Completed
- [List TOR IDs whose Given/When/Then is fully implemented and tested]
### TOR IDs In Progress
- [List TOR IDs partially implemented — describe what's done and what remains]
### TOR IDs Not Started
- [List TOR IDs not yet touched]
[Removal epic only:]
### Removal
- [N] citations of the retired IDs remain (`tor-lifecycle sweep <retired IDs>`); code paths still to delete: [list]
## Files Created/Modified So Far
[List files with brief description of their state]
## Key Decisions Made So Far
[Any design choices made during this partial session]
## Resume Instructions
When resuming this epic, start by:
1. Reading this handoff file
2. Reading the epic spec: `docs/implementation-plan/phase-*/epic-<id>-*.md`
3. The next task to work on is: **[specific task description]**
4. [Any specific context needed to pick up where you left off]
## Open Questions / Blockers
[Any unresolved issues that may need attention before resuming]
Update docs/implementation-plan/status/epic-<id>.md:
status: In Progress to status: Pausedhandoff: — to handoff: session-handoffs/epic-<id>-paused.mdThen locate the epic spec file (docs/implementation-plan/phase-*/epic-<id>-*.md — already
opened in Step 1) and rewrite its **Status:** header line to **Status:** Paused (no date),
so the spec stays in sync with the sidecar.
Ask the user if they'd like to commit all changes made during this session (implementation work + handoff file + sidecar and spec Status line). If the user confirms:
git add -A)wip(epic-<id>): pause — <brief summary of progress so far>Refs #<N> as a trailer to the commit body. Refs links the commit to the issue without closing it — appropriate for work-in-progress:
wip(epic-<id>): pause — <brief summary of progress so far>
Refs #<N>
If no source issue is known, omit the trailer.Do NOT push to the remote — leave that for the user to decide.
Tell the user:
Epic has been paused and committed. To resume, start a new session and run:
/peak-workflow:start-epic <id>The start command will automatically read the pause handoff and pick up where you left off.
What SKILL.md sets; muted values are Claude Code's defaults
15 skills in this plugin
/addAdds new epic(s) to the implementation plan from a natural language description.
Epics reference TOR requirement IDs from docs/requirements/*.feature.md as their Requirements
Anchors — the TOR ID is the acceptance criterion and the Given/When/Then is the verification.
Use when the user wants to add a single epic or small batch without re-running full planning.
Triggers on: "add epic", "new epic", "create epic", "I need to add more work",
"there's a new feature we need", "can we squeeze in", "add a feature",
"another thing we need to build".
/capture-requirementsDerives formal Gherkin-style TOR requirements (.feature.md files) from product-vision.md and
concept-of-operations.md. Main agent adopts a seasoned-PM persona to author feature files
autonomously; Haiku sub-agent verifies traceability and writes .feature.tracing.json sidecars.
Changes to merged requirements (reword, supersede, retire, record as pending, uphold) each leave a
Change Record in docs/requirements/changes/. With a TOR ID argument it amends that one
requirement (e.g. one that changed since it was verified, or one known to be wrong).
User reviews via the docs/ branch and merge — there is no inline interview.
Run after /peak-workflow:discover and before /peak-workflow:plan-project.
Triggers on: "capture requirements", "derive requirements", "write feature files",
"create TOR requirements", "formalize requirements", "establish requirements baseline",
"generate TOR IDs", "requirements capture", "amend requirement", "retire requirement",
"supersede requirement".
/discoverAdaptive discovery interview that produces product-vision.md and concept-of-operations.md.
Use when starting a new project (greenfield) or evolving an existing project's direction (brownfield).
Creates a docs/{task-short-name} branch if on develop/main/master so all planning artifacts
travel through a reviewable branch before merging to develop.
Triggers on: "discover", "new project", "product vision", "concept of operations", "what should we build",
"let's figure out what to build", "I have an idea for an app", "brainstorm features",
"requirements gathering", "what are we building", "help me scope this out".
/mockupLow-fidelity UX prototyping on the docs/ branch. Turns ConOps operational scenarios into a
screen inventory, per-scenario screen flows, and grayscale HTML wireframes, then feeds the
screen and control names back into the ConOps steps so /peak-workflow:capture-requirements
derives TORs against named screens and states. Web app, Desktop app, and UI-bearing Hybrid
projects only. Run after /peak-workflow:discover and before /peak-workflow:capture-requirements.
Triggers on: "mockup", "wireframe", "prototype the screens", "sketch the UI",
"what screens do we need", "screen flow", "storyboard the app".
/new-projectFront-door router for newcomers. Reads the project's format stamp to tell a fresh
project, an existing peak-workflow project, and one that needs /peak-workflow:upgrade
apart, and dispatches to the correct entry point. Writes no state files.
Use when starting work on a project for the first time and you're not sure which
command to run.
Triggers on: "new project", "where do I start", "first time here",
"help me get started", "I'm new to peak-workflow", "what should I run first",
"set up a new project", "start a new project".
/plan-projectDerives implementation plan (phases, epics, specs) from the TOR requirements baseline
(docs/requirements/*.feature.md). Must be run after /peak-workflow:capture-requirements.
Operates on the same docs/{task-short-name} branch as discover and capture-requirements.
Use after the requirements baseline is established or when the user wants to create an
implementation plan from existing vision + requirements docs.
Triggers on: "plan project", "create epics", "implementation plan", "derive epics",
"break this into epics", "how should we phase this", "turn this into a plan",
"organize work into phases", "what's the build order".
npx claudepluginhub peakflames/claude-plugins-peakflames --plugin peak-workflowOther plugins' skills for the same job