/roost:write-runbookfrom roost
Writes operational runbooks in a structured, gated format with literal commands per environment, pass/fail gates, rollback steps, and alignment with rollout ticket sub-tasks.
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.
First, load the team config with roost-config. Runbooks live in deploy.runbooks.dir in the deploy.runbooks.repo repo. If the config names a model runbook (deploy.runbooks.model), read it before writing and follow its shape. Follow every rule in deploy.runbooks.house_rules as well as the rules below.
cp docs/runbooks/<file>.md ~/<key>-run-$(date +%Y%m%d).mdscript -a ~/<key>-run-$(date +%Y%m%d).logfail in any gate stops the run.deploy.runbooks.config_sources. Production gets its own commands; never "same as staging".deploy.secret_read), or use a clear placeholder for the secret value only.on: triggers (the image build, the staging and production deploys, the release tool, any tracker sync) and any hosting platform's production branch (deploy.frontend_host), and state in the runbook what starts each deploy, naming the file. Don't assume a merge deploys anything.deploy.release_tool opens one (Release Please does). Merging a repo's stack opens or updates its release PR. Merge it right after the stack, then build and deploy the release commit, so production runs the released version. Say what merging it starts by itself (a build, a tracker sync), and which of those to cancel.-e NAME. If a step needs a script, commit it without secrets first.team.shell (zsh by default). Keep ! out of double quotes (set such values first in single quotes), and check each command pastes and runs as one line.gh stack merge <top PR> --<vcs.merge_method> (atomic); first check gh stack view --short lists exactly those PRs, since the merge takes every PR in the stack. When a release PR follows (deploy.release_tool), after it updates run git fetch origin, then check git diff --name-only origin/main origin/<release branch> shows only the release files (manifest, changelog, version) before merging it. Before it, check the stack's base is current main; if main has moved, the owning session rebases the stack and CI goes green first.The runbook and the rollout ticket's sub-tasks list the same work, in the same order, one to one. Whoever runs the rollout can work from either and miss nothing.
## 3. Staging: apply the database migrations (PROJ-1234).Check both ways before you finish: list the stages and the sub-tasks side by side. Every stage has its sub-task with the same number and title, and every open sub-task on the ticket is a stage. Put that table in the report.
Comment on the rollout ticket with the runbook's path and branch (for example docs/runbooks/workos-user-migration.md on PROJ-2729-…, PR #543) and a one-line summary of its stages. Whoever runs the rollout starts from the ticket. When the runbook changes later, add a new comment saying what changed, rather than editing the old one.
Lead with what changed and whether any command was run. Then the stage-and-sub-task table, then anything the operator must decide or supply.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
runbook, deployment, operations, rollback, incident-response
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