/roost:run-bugfrom roost
Coordinates multi-repo bug fixes by triaging tickets, assigning sessions, and verifying fixes with tests and CI. Use via slash commands like "fix PROJ-X" or "run bug PROJ-X".
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.
You coordinate a bug fix the way run-slice coordinates a story. You never edit, build or run tests in any repo yourself. One session per repo in the config's repos does the work, through SendMessage. Find them, talk to them and wait for them exactly as run-slice describes ("Find the sessions" and "How to talk to the sessions").
First, load the team config with roost-config.
Being asked to fix the bug is the go-ahead. Don't ask for another one. Tell the user what you started, and stop only for their decisions and real blockers. While a session works, give the user run-slice's 5-minute progress updates, without being asked: its three formats and its update prompt, with {STORY} the bug being worked on and {LOG} the first bug's key (<team.state_dir>/<first bug>-updates.md).
For each ticket, judge it the triage-ticket way, by reading the ticket and the code, without changing anything:
Read each ticket's parent:
| Bug | Where the fix goes | What it waits for |
|---|---|---|
| Part of an epic that isn't released yet | On top of the epic's stack in the repo that owns the code, as its own branch named for the ticket | Ships with the epic. Add its PR to the epic's Release order comment, and keep the epic's Carry-over comment current. |
| Standalone (no parent, or its epic is already released) | A branch from main and its own PR | 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.
Several bugs of one epic stack on each other in the order the user gave.
Which repo: the one whose code is wrong, from the ticket's Components, each repo's owns, and the code. A bug that needs more than one repo follows step 4.
tracker.statuses.in_progress.bug-bash skill for PROJ-X." Then give the branch and base from step 2, for example: "Branch PROJ-X stacked on PROJ-2790-backend" or "Branch PROJ-X from main, its own PR". Add:
vcs.pr_title, for example fix(PROJ-X): …;automate-tests); if it has none and the behaviour could regress, add or update one first (the tests adapter's "Create a test" or "Update a test's scenarios");stack.restart_after_api_change and check the fix on the running stack;file:line, or the query and its result; anything not checked says "unknown", never a guess.Send one session several bugs in one message only when they're in the same repo and the same epic; otherwise one message per bug.
cross-repo-handoff.repos order, each to its session, on its branch from step 2. Wait for each report before the next.depends_on, ask stack.owner_repo's session to stack.restart_after_api_change on the new build, and check yourself that the stack serves the change.contract (for example regenerating a client against the running API, never checking out the other repo).A bug is done when all of these are true:
deploy.migrations_run_on_deploy is false, a deploy note covers it: the Migrations to apply comment and the staging and production pre-deploy sub-tasks, on the epic's deploy ticket or, for a standalone bug, on the bug itself (see stacked-prs). Add or update them if they're missing./code-review on the fix's own diff (its branch against the branch below it, or main for a standalone bug), and each finding is fixed, or decided by the user like any other finding.Then move the ticket to tracker.statuses.ready_for_release (without stacking, once the user has merged its PRs; "Without stacking" in roost-config) (a session that already did is fine; read it back). New problems a session found along the way become tickets for later only with the user's decision: list them in the report with a recommendation.
Anything the user must do first, in a 🙋 Your turn block (leave it out when there's nothing). Then one line: "PROJ-2822 fixed on the PROJ-2306 stack (#580), Ready for Release." Then one row per bug:
| Bug | Where | PR | Test | Status |
|---|---|---|---|---|
| PROJ-2822 | PROJ-2306 stack | #580 | ProcessRequest_SpanWithoutAttributes_… failed first, passes | Ready for Release |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
23 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./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.npx claudepluginhub beakpoint-insights/roost --plugin roostOther plugins' skills for the same job