Use when the user runs `/story` (or the deprecated `/story`), asks to "write up this branch", "open the PR", "create the release note", or "assess release readiness". Reads archived tickets, judges previously-deferred concerns, generates a branch story file, creates or updates the GitHub PR, writes the release note, and reports whether the branch is safe to ship.
Ships in workflows. 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.
Read when SKILL.md points to them.
Guidelines for generating branch stories, creating pull requests, and assessing release readiness. Detail lives in reference/:
create-or-update.sh / strip-frontmatter.sh contractsThis skill works on any Agent-Skills-compatible agent; the two Claude-Code mechanisms are enhancements, not requirements. Parallel fan-out via parallel workers runs sequentially elsewhere with identical inputs and outputs. the agent's selection prompt decision points are mandatory; only the prompt mechanism varies. Prefix every the agent's selection prompt body with [<project label>] — run bash gather/scripts/project-label.sh once and reuse its project value.
Context-aware report orchestration: read the policy lens, guard the workspace, detect context, route.
Policy lens first: judge the branch's planning, design, implementation, and operation through the four pillar skills (preloaded on Claude Code; open the index skills yourself elsewhere), reading the linked policies/<slug>.md hard copies on demand, and cite the specific policy a concern or readiness verdict rests on.
bash branching/scripts/check-workspace.sh. If clean is false, display summary and ask via the agent's selection prompt: "Ignore and proceed" or "Stop" (end the command).bash branching/scripts/detect-context.sh, then Route by Context on context:
work — run the Write Story flow below. Legacy mode values (drive/trip/hybrid) all run the identical flow; when detect-context.sh returned a trip_name and .workaholic/trips/<trip-name>/ exists, add a Notes line linking that directory's design artifacts as the why — link, never duplicate (trips/ is read-only history).worktree — bash branching/scripts/list-worktrees.sh, filter to has_pr: false; none → say so and stop; one → confirm via the agent's selection prompt; several → ask which. Run all subsequent git operations from inside the chosen claim worktree and re-detect there.unknown — tell the user which branch was detected and that /story needs a work branch or a claim worktree, then stop. NEVER guess a branch to report on — a story written against the wrong diff is worse than no story.Generate the story file, then create the PR — the story is the single source of truth for PR content. The /story command (main agent) runs this orchestration directly and spawns each leaf worker as a parallel worker Task; fan-out stays one level deep. Phase-by-phase detail: reference/orchestration.md. The shape:
scripts/release-boundary.sh. Bump the version only when it reports
eligible: true: the branch has a readable, nonempty committed change set. Mission membership,
completion and remaining tickets do not govern version eligibility. eligible: false is a
completed reading, not a warning to override: report version_not_allocated:<reason> and
continue the story/PR without a release note or delivery claim. This is what separates
empty or unreadable ranges from releases; eligibility does not certify production readiness. At an eligible boundary, bump unless
check-version-bump.sh says already_bumped and version_ahead: true (2026-09-02: a branch that bumped is not the same as a branch whose number is still free — several branches cut from one base each bump N → N+1 correctly, the first to merge takes N+1, and every later squash then carries a bump commit whose content the base already holds, so it produces no version diff and nothing reports it; measured, five consecutive merges on this repository carried two versions between them). version_ahead: null means bump for an eligible release — it is the unreadable-manifest answer, and the direction is the one the degraded base read already takes; gather context via bash gather/scripts/git-context.sh. Report the reason in the run's output; never re-derive the base by hand.apply-deferred-concern-verdicts.sh, passing the expected concern count so a stale/empty payload fails loud. All intermediate files live under a private RUN_DIR=$(mktemp -d) — NEVER a constant /tmp/... path shared across runs.## Assess Release Readiness), overview-writer (haiku, ### Overview Generation), section-reviewer (haiku, preloads review-sections). Both paths preserve the result record and cross-document relations identically; detail: reference/orchestration.md.bash story/scripts/ticket-commits.sh <branch-name>, NEVER from ticket commit_hash frontmatter (those are dead pre-amend hashes; every link built from one 404s). Update the stories index.mission: list through the shared idempotent mutators (append-changelog.sh, tick-acceptance.sh), refresh the OKF indexes (okf/scripts/refresh-index.sh), commit, push. Name the story file in commit.sh's files... — .workaholic/stories/<branch>.md is a file this phase just created, and default staging is git add -u, which cannot pick up a new file (commit, A caller that has just written a NEW file passes it in files...). This is the seam that lost a story body while its index entry merged; since 2026-08-23 the split-rename refusal makes a forgotten name fail loudly rather than silently, but the name is still the caller's to pass.## Create PR); then display the full story content inline and the PR URL (mandatory). Release notes are written at ship time by ship, not here.Run by the Phase 1 judge subagent. List the open set with bash feedback/scripts/list-open-concerns.sh (empty → return {"verdicts": []} and stop); judge each concern against what landed since its origin_commit; return one {"verdicts": [...]} object. When in doubt prefer still_active — a false resolved loses institutional memory, a false still_active merely re-surfaces next story. Each resolved verdict becomes a superseding feedback record (kind: concern, supersedes:); the resolved record itself is immutable, never edited or moved. Evidence, heuristics, large-corpus efficiency, and the verdict schema: reference/judge-deferred-concerns.md.
Run by the overview-writer worker: collect commits with bash story/scripts/collect-commits.sh [base-branch] (the structured body keys feed Motivation and the highlights; category comes from the Category: git trailer) and return {overview, highlights[], motivation, journey}. Field guidance, line limits, flowchart rules, and both JSON formats: reference/orchestration.md.
The story content IS the PR description. Full template, per-section guidance, frontmatter schema, and index update: reference/story-structure.md. The rules that govern every section:
A section with nothing to report is absent — never "None" or its equivalents; an empty section costs the reader a heading and teaches them to stop reading sections. Concerns, Successful Development Patterns, Release Preparation, and Notes are all conditional. Numbers are sequential over the sections actually present, so NO consumer may match a section by its number: shrink-pr-body.sh, extract-deferred-concerns.sh, and anything added later match the heading by name, tolerating any leading <n>. prefix.
Omitting alone has a floor — once a section is gone it saves nothing more, and unbudgeted survivors were measured growing +49.8 lines on identical work. Each section carries a budget in lines (heading and blanks included); the table and its rationale live in reference/story-structure.md, and bash gather/scripts/story-sections.sh --table <story> measures against it. A section over budget is cut, not justified. ## Handoff and ## Deployment Evidence are exempt (evidence, not prose); Concerns are budgeted per block — trim words, never concerns.
This section is written ONLY for a unit /drive classified handoff. Omit it entirely otherwise — a Handoff heading on finished work trains reviewers to skip the one section that must never be skipped. It comes first, before Overview, unnumbered, and shrink-pr-body.sh treats it as non-droppable. Four fixed elements: Done: / Not done: / Next step: / Attempted: — where Attempted is the exact command and its raw output, never a verdict. Both of /drive's handoff paths write it: on a declared handoff (verification_handoff: — drive §6) the work is complete, so Not done is the declared verification quoted verbatim, Next step is running it where the credentials exist, and Attempted records that it was not attempted and names what is missing. This section is the authoritative record; the run report is the log — a later run resumes from the PR section, the overlap is deliberate, and neither may be deleted as redundant. Exact block: reference/story-structure.md.
The story file carries every concern at every severity, low included — it is the durable artifact and the only source extract-deferred-concerns.sh reads at ship time, so a concern missing from it never reaches the feedback stream. The PR body is a rendering: create-or-update.sh drops the low blocks via filter-low-concerns.sh and says how many it dropped, pointing at the story file. Render-time filtering cannot make a record go missing, which is why the filter lives there. Severity (urgent/moderate/low) is an honest signal, not a gate — every severity is extracted regardless — and it decides whether the reviewer sees the block, so a deflated moderate is a concern hidden from review. Block format (parsed verbatim by the extractor) and example: reference/story-structure.md.
type: Story first and never omitted (the OKF floor), plus branch, tickets_completed, and two derived relations: tickets: (the archived ticket filenames this story covers) and mission: — the union of the covered tickets' mission: slugs. NEVER ask the developer to choose among missions: a branch really can advance two, and picking one silently drops the work from the other's computed progress. Schema: reference/story-structure.md.
Create or update the GitHub PR from the story file. Derive the title from the story's first Summary item ("… etc" when several), then:
bash story/scripts/create-or-update.sh <branch-name> "<title>"
It strips frontmatter (strip-frontmatter.sh), filters low concerns from the body, bounds the body under GitHub's 65,536-character limit (shrink-pr-body.sh), creates or updates the PR, and prints exactly PR created: <URL> or PR updated: <URL> — the format the story command requires. Where gh is absent it reports {"pr": null, "reason": "gh_unavailable"} and exits 0 — the branch and story are pushed; open the PR by hand or over MCP. Full contract: reference/create-pr.md.
Reused non-interactively by /drive: the unified run's §5 calls this same seam — the Write Story flow plus create-or-update.sh — from inside the claim's worktree, scoped explicitly to that branch (context detection bypassed). That path never prompts: a warn-tier release-scan finding is recorded in the PR body, not asked. The mission roll fires on this path exactly as on a manual /story. Do not fork the flow for the executor's use; scope it by branch.
Run by the release-readiness worker; returns {releasable, verdict, concerns[], instructions} (reference/release-readiness.md has the full task list, the non-flag list, and the JSON). Two script-backed checks anchor it:
/story cannot merge, so it warns loudly where /ship blocks): bash release-scan/scripts/scan-branch-safety.sh. Key releasability off finding severity, not the binary verdict: hard (secret) or confirm (leak) forces releasable: false; override-only (size) findings keep releasable: true, each recorded as a concern plus a pre_release note that /ship will ask for the conscious override.bash story/scripts/area-freshness.sh — the upkeep seam for deployments/ and terms/, the two areas with no writer in the loop that survived the 2026-08-13 reshape. Facts, never verdicts, and it never edits a record: retired_terms (the record still names a de-listed area or a retired namespace — wrong, not merely old) and stale_days (reported, thresholded by nobody). Raise it only for a record this branch touched or affected; the known backlog is not every branch's concern. Full judgment rules: reference/release-readiness.md §4a.bash story/scripts/doc-drift.sh "<base_branch>" returns drift facts, not verdicts. With no argument the base is resolved by gather/scripts/base-ref.sh — origin/<default>, what the pull request is diffed against — never a local main, which in a claim worktree is whatever the clone happened to fetch and would narrate another merge's changes as this branch's drift; an unresolvable base comes back not_applicable by name (base_never_fetched / no_base_ref / base_unresolved) rather than silently falling back — judge each candidate against the diff and the doc's content, exactly like the deferred-concern judge. Confirmed drift becomes a readiness concern plus a pre_release instruction, and a durable Concerns entry via review-sections. outputs/ staleness and version/manifest drift are excluded — other guards own those domains.Flag only what actually blocks a release; an empty concerns array is the happy path.
branching/scripts/adopt-worktree.sh (opens in a new tab)branching/scripts/allocate-worktree-port.sh (opens in a new tab)branching/scripts/catch-up-operator-publication.sh (opens in a new tab)branching/scripts/check-version-bump.sh (opens in a new tab)branching/scripts/check-workspace.sh (opens in a new tab)branching/scripts/check-worktrees.sh (opens in a new tab)branching/scripts/check.sh (opens in a new tab)branching/scripts/classify-residue.sh (opens in a new tab)branching/scripts/cleanup-mission-worktree.sh (opens in a new tab)branching/scripts/cleanup-worktree.sh (opens in a new tab)branching/scripts/clear-proved-residue.sh (opens in a new tab)branching/scripts/close-publish-tree.sh (opens in a new tab)branching/scripts/content-reached-base.sh (opens in a new tab)branching/scripts/create-mission-worktree.sh (opens in a new tab)branching/scripts/create.sh (opens in a new tab)branching/scripts/cut-release-branch.sh (opens in a new tab)branching/scripts/detect-context.sh (opens in a new tab)branching/scripts/eject-worktree.sh (opens in a new tab)branching/scripts/ensure-worktree.sh (opens in a new tab)branching/scripts/lib/base-ref-gate.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/workflows:storyfrom workflows
npx claudepluginhub qmu/workaholic --plugin workflows8 skills in this plugin
/catchUse when the user runs `/catch`, asks to "catch me up", "what has everyone been working on", "summarize the last two weeks", or "show a by-developer development report". Scans the recent commit/ticket/story trail, fans out one collector per active developer to summarize their work, then synthesizes the overall development direction, the active missions (progress plus merged and unmerged in-flight work), and stands ready for follow-up questions./create-ticketUse when the user runs `/ticket <description>` or asks to "write a ticket", "spec out a feature", or "draft an implementation plan". Discovers historical context, source code, and standards for the request, then writes an implementation ticket to `.workaholic/tickets/todo/` with frontmatter, key files, related history, implementation steps, and considerations./driveUse when the user runs `/drive` or `/implement`, asks to "implement the queued tickets", "work through the todo list", or "drive the backlog". Surveys the claimable missions and the unclaimed backlog, partitions them into PR-units, claims each unit on a pushed branch, implements it in the claim's own worktree, reports, and routes it by the unit's effective merge policy — identically in an interactive session and on the routine./missionUse when the user runs `/mission`, asks to "start a mission", "plan a batch of work", "show mission progress", or "what missions are in flight". A mission is an optional, epic-equivalent grouping — a bounded, information-rich batch of two or more tickets an agent fleet drives together, never a required parent of any ticket; this skill creates one, lists missions with computed progress, and defines the mission schema every workflow reads./review-sectionsGenerate the branch story's review content (a Motivation past-context paragraph, Outcome, Concerns, Successful Development Patterns) from archived tickets and deferred concern verdicts. Used by the report workflow when assembling a PR story./shipUse when the user runs `/ship`, asks to "merge and deploy", "ship this branch", or "push to production". Pre-checks the workspace and todo queue, confirms with the user, merges the current branch's PR on GitHub, runs the deploy steps from CLAUDE.md's `## Deploy` section, and reports the outcome.