/roost:close-out-epicfrom roost
Closes out epics before release by listing open tickets, proposing actions (fix, defer, or standalone), moving deferred tickets with backlinks, and verifying closure. Run again post-release to confirm production, close shipped tickets, and draft release notes.
Ships in roost. 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.
An epic released with tickets still open under it can mean two very different things: "we shipped and left work behind" or "we decided this was ready". Closing it out makes it the second one, on the record. Every ticket still under the epic at release is either done or being done before release; everything else has been moved somewhere it will be found, with a trail back.
First, load the team config with roost-config.
Do this at release time, not earlier. Until then, "later" items stay in the epic (slice-handoff tracks them in its Carry-over comment), because decisions can change.
Find every open ticket under EPIC, at any depth: its children of every type, and their sub-tasks. "Open" means it isn't closed (done, won't do, or any other closed state) and it isn't at tracker.statuses.ready_for_release (the tracker adapter's common searches show the query). Read the epic's Carry-over comment too, if it has one. Leave out the epic's deploy ticket and its sub-tasks: they're the release itself. Leave out the tests' shared setup, where it's a ticket (the tests adapter's "Shared setup"): it's part of the epic's tests, and closes with the last test that uses it; close any whose tests are all done. Leave out person-owned tasks (labelled tracker.person_task_label) and manual tests whose description says When: after release ("Manual tests" in the tests adapter) too: they stay in the epic with their owner. List the ones not done yet in the Close-out comment, with their owner and "When".
For each ticket, note what it's about (from its summary, description and links), where it came from (story, review finding, exploratory testing), and its Components.
| Place | When |
|---|---|
| Before release | It harms a customer at launch: security, data loss, a broken main flow, a 5xx on a public endpoint, or an accessibility failure in a main flow. It stays in the epic and gets fixed. |
| Follow-up epic | It's still about this epic's feature, and it's the kind of work you'd plan together with the rest of the feature's leftovers (hardening, edge cases, polish of the same screens and endpoints). |
| Standalone | It came up during the work but isn't about the feature: shared infrastructure, logging, tooling, lint, local development. It belongs with general engineering work. |
Judge each the triage-ticket way: is it real, who does it hurt, how badly. Show one table, with a recommendation and a one-line reason each:
| # | Ticket | Recommendation | Why |
|---|---|---|---|
| 1 | PROJ-2814 Onboarding loses focus on a 400 | Before release | Accessibility failure in sign-up, the epic's main flow |
| 2 | PROJ-2813 Page through more than 100 keys | Follow-up epic | API keys feature; no customer near 100 keys at launch |
| 3 | PROJ-2828 Fix the 44 lint errors | Standalone | Not about the feature |
This is the only stop. Wait for the user's decisions, then carry them all out without asking again. If any ticket is "before release", say the close-out finishes when those are done, and come back to step 5 then.
A ticket written inside an epic leans on things that only make sense there: review finding codes ("U9", "A5"), "the checkpoint", plan contracts ("C3"), slice names, and branch names that disappear once merged. Before moving a ticket, read its description and add a short Background paragraph at the top:
main (or the merged stack), not branch names or PR numbers that will be closed;Keep the rest of the description as it is. If the description already stands on its own, add only the first line ("Came from PROJ-X, …").
Set and clear parents as the tracker adapter says ("Set or clear a parent"). Read every ticket back afterwards: parent, links and description.
Run this part again once production runs the epic's code, and confirm that first: the rollout's deploy step passed, or, for an epic with no rollout, the production deploy that carries its release has run (merging deploys nothing on its own, unless the repo's production is merge). For each repo with work in the epic, confirm production with the release-notes skill's script, ../release-notes/scripts/production_date.py from this skill's folder (skills/release-notes/scripts/production_date.py in the plugin), run as release-notes step 3 says, with the repo's production and the epic's merged PRs in that repo. The script decides where each PR landed (a PR merged into another branch, on a stack, lands only when a PR brings that branch onto the default branch, so its own merge doesn't count), takes the last to land, and applies the same rules as for a release note: for a workflow, that workflow's first successful run on the default branch or a tag whose commit contains the landing commit; for release, the first published release that contains it; for merge, the merge of the PR that landed it. status: dated means production runs it, with deploy saying what carried it. held means it doesn't yet, with reason saying why: when a PR hasn't reached the default branch, that repo isn't shipped, so say so, check again once it lands, and say the release note offered would be held. not_found means GitHub can't tell you: say the reason, and ask the user. When the user has told you what deployed, use that, and don't run the script for that repo: a deploy or release they say carries the epic's work in a repo (for example "its fix is in 3.21.0", and 3.21.0 deployed) confirms that repo; PRs they say merged, without naming another branch, merged into the default branch. When you can neither run the script nor tell from what you were given what deployed a repo's work, say so in the 🙋 Your turn block and ask; until the user answers, make no epic-wide tracker writes (the Release order and Close-out comment rewrites, closing the epic) and no writes to tickets with work in that repo, a hand-run tracker sync included; writes to tickets that touch only confirmed repos go ahead. A repo without production: confirm it as you would otherwise, and if you can't tell, ask the user. Until production runs it, the epic isn't shipped. Closing out before release leaves tickets at tracker.statuses.ready_for_release; shipping should move them to tracker.statuses.done, and it doesn't always. If the config has no ready-for-release status, check only that every ticket is done.
deploy.release_tool (for example Release Please), check in each repo that released that the run that published the release succeeded, including any tracker sync job it has (gh run list --workflow <its workflow file>). If a run failed or its sync job was skipped, run the repo's tracker sync by hand for that tag (a dry run first), and file a Bug for the workflow, linked to EPIC.When: after release): ask the session of the repo that owns the work each checks to run it and record a manual run: comment, with the steps it can't take as 🙋 Your turn actions ("Manual tests" in the tests adapter). Close each only on a passing run; until then it stays open, and so does the epic.tracker.statuses.ready_for_release: close it by hand, add the version it shipped in as its fix version, and say in a comment where it shipped and how it was verified.release-notes skill (one per feature it shipped; usually one). Only offer: don't write the note unless the user asks. Offer it even while a repo is waiting for the user to say where its PRs landed or what deployed them (above): say its date may change, or it may be held, depending on their answer.Anything the user must do first, in a 🙋 Your turn block (leave it out when there's nothing). Then one line: "PROJ-2306 closed out: 9 tickets to PROJ-2900 (follow-ups), 5 standalone, 0 left open." Then the deferred table from the closing comment. After the release ships: "PROJ-2306 shipped in API 3.20.0 and UI 3.3.0; 0 tickets left open; release syncs checked. Want me to draft its release notes?"
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub beakpoint-insights/roost --plugin roost23 skills in this plugin
/automate-testsAutomate the tests linked to a story or slice. Read each test's scenarios, find which already have automation, write the missing automation at the right layer, run it, and only when every scenario passes mark the test automated. Use when a developer agent is asked to "automate the tests for PROJ-X", "figure out why these tests aren't automated", or to finish the e2e work for a slice./automate-xray-testsThe old name of automate-tests, kept so it still works. Use automate-tests./bug-bashFix a list of bugs from the tracker in this repo, one branch each, test-first, with each fix placed by its parent (on the epic's GitHub stack for a bug in an unreleased epic, or its own PR from main for a standalone bug), moving each ticket through In Progress and Ready for Release. When a fix needs another repo, hand it off with pasteable comments instead of touching it. Use when the user gives a list of bugs to fix, says "bug bash", or pastes a "Big Bug Fix Bash" prompt./build-epicBuild an epic from its tech lead prompt to release QA, through the user's repo sessions (one per repo in the team's roost config). If the stories have no kickoff comments yet, it first sends the epic's tech lead prompt to the lead repo's session, brings the plan to the user for approval, and has the kickoffs posted. Then it runs run-slice for each story in order, slice-handoff between stories, the epic's "before release" work, review-epic, close-out-epic and release-qa. Starts without asking and keeps going on its own; stops only for decisions that are the user's (the plan, each slice's checkpoints, each handoff's sorting table) and for real blockers. Answers "where are we on the epic?" from the tracker, GitHub and its state file. Use when the user says "build PROJ-X", "build the epic", "develop PROJ-X", "start building PROJ-X", "do all the slices", "take this epic to release", or the older "run the epic" and "run the rest of PROJ-X". Run it from a separate orchestrator session, not from inside any of the repos./create-xray-testFile Cucumber scenarios you already have into Jira as Xray Test issues, or update the scenarios on an existing Xray Test, through the browser. Only for teams whose tests are Xray (tests.kind xray); with any other kind, tests are filed as that kind's tests adapter says, not with this skill. Sets the parent epic, Components and the link to the story, and checks what was saved. Doesn't write or check scenarios; use live-verified-bdd to write them for a feature that already runs, or shape-epic for a new epic./cross-repo-handoffWrite a prompt that another repo's agent can run cold, for work this repo needs but must not do itself (for example the API change a UI fix depends on, or the UI change an API fix needs). Posts it as a comment on the ticket or returns it for pasting. Use when the user asks for "a prompt for the API agent", "a prompt for the UI agent", "what should I share back", or when a fix needs changes in the other repo.Other plugins' skills for the same job