/roost:bug-bashfrom roost
Fixes multiple bugs from a tracker in one session, each on its own branch with test-first approach, moving tickets through In Progress and Ready for Release.
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.
Fix several bugs in one session, each on its own branch, and keep the tracker in step. Each fix goes where its bug belongs: on its epic's stack, or on its own PR from main (see "Where the branch goes").
First, load the team config with roost-config.
Ask for anything missing, in one message:
repos this session is in (its working directory usually says). Every other repo is off-limits.Read the bug's parent in the tracker:
| Bug | Branch | PR | Release |
|---|---|---|---|
| Part of an epic that isn't released yet (see below) | On top of the epic's stack in this repo: the highest branch of that epic, found with gh stack or the epic's Release order comment | On the epic's stack, with the "Stacked on" banner; add it to the epic's Release order comment | Ships with the epic |
| Standalone (no parent, or its epic is already released) | From main | Its own PR, not on any stack | Released on its own once merged |
Released means the epic's code is in production, not that the epic ticket is closed: an epic can stay open after release for its person-owned tasks. It's released when its Close-out comment says what's in production (close-out-epic step 6), or its stories carry a fix version that's released. If neither says so, treat it as unreleased.
Name the branch for the ticket (PROJ-XXXX). Several bugs of the same epic stack on each other in the order given.
tracker.statuses.in_progress.stacked-prs skill.release-qa files one with every behaviour bug), automate its scenario as part of the fix with automate-tests, and mark that test automated once it passes (the tests adapter's "Mark a test automated"). If it has none and the behaviour could regress, add one first ("Create a test"; a new test when the covering one is already marked automated).stack.how).vcs.signed_commits), push, and open the PR: on the epic's stack with the "Stacked on" banner (stacked-prs), or, for a standalone bug, against main. The PR title follows vcs.pr_title, for example fix(PROJ-XXXX): ….tracker.statuses.ready_for_release once it meets the definition of done below.Don't change the other repo. Instead, for that ticket:
cross-repo-handoff skill for their shape.tracker.statuses.todo.vcs.signed_commits is true. If signing is blocked (vcs.signing_blocker), stop and say so in one line; don't keep retrying. The user may be away, so ask them up front to keep it unblocked.stack.how says, and never use stack.never. If the config has stack.telemetry.logs, check the stack's own errors with it before calling a fix done.deploy.migrations_run_on_deploy is false, needs a deploy note: the "Migrations to apply" comment and pre-deploy sub-tasks described in stacked-prs. Add or update them yourself, and say so in the report.Anything the user must do goes first, in its own block headed 🙋 Your turn: one line per action, saying exactly what and where. Leave the block out when there's nothing; never write "nothing needed". Don't hand the user anything you can do yourself (attaching files to the tracker, retitling a PR, checking a setting through a connected tool); only sign-ins, vcs.signing_blocker and decisions are theirs. Then start with the outcome: "All 7 bugs handled: 5 Ready for Release, 2 back in To Do with hand-offs." Then one table:
| Bug | Branch / PR | Status | Note |
|---|---|---|---|
| PROJ-XXXX | PROJ-XXXX-… / #NNN | Ready for Release |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
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./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./close-out-epicClose out an epic before it's released, so that its open-ticket count means something. Lists every open ticket under the epic and proposes, for each, fix before release, move to the epic's follow-up epic, or make standalone, then waits for the user's decisions. Moves the deferred tickets out of the epic with a link back, rewrites each one's description so it still makes sense outside the epic, posts one closing comment on the epic saying what was deferred and where it went, and checks the epic has no open tickets left. Run it again after the release ships, to confirm production runs it, check each release workflow and its tracker sync, close any ticket left waiting to ship with the version it shipped in, rewrite the epic's Release order and Close-out comments as shipped, and offer to draft the epic's release notes. Use when the user says "close out PROJ-X", "get PROJ-X ready to release", "move the leftovers out of the epic", "what's still open in this epic", "wrap up the epic" or "the epic shipped", and from build-epic right before release QA./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