/roost:automate-testsfrom roost
Automates tests linked to stories or slices by reading scenarios, mapping existing automation, writing missing tests at the correct layer, and running until all pass.
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.
A test's scenarios are the spec. Your job is to make every scenario run as an automated test, or to say exactly why one can't.
First, load the team config with roost-config, and read its tests adapter (tests.kind). Each step below names one of the adapter's operations ("Read a test's scenarios", "Mark a test automated", …); the adapter says how to do it with this team's tests.
Leave manual tests alone, if the adapter has them ("Manual tests"). A manual test is run by hand on purpose and closes on a recorded run. Don't write automation for it, don't propose splitting it, and don't count it as missing automation; list it in the report as "manual".
"Read a test's scenarios", with any shared setup they depend on ("Shared setup"). Never print a credential the adapter uses.
For each test, list each scenario by name with:
When the test is its own automation (an eval case, say): a test drafted on the story but not in the repo is committed first, as drafted, before the change that should make it pass; then make the change until it passes every run.
When scenarios are automated in a repo's suite:
e2e.backend_marker and a comment naming the backend test.e2e.scenarios_dir, the test's key as e2e.tag_style says, and the flag tags (stack.flag_tags and similar) so gated scenarios skip in the wrong flag state. Choose the tags from the local stack's real flag state (stack.flag_state), not from the kickoff text; if they differ, say so in the PR.stack.how says (never stack.never).stack.services. Stub network calls only where the scenario itself describes a stubbed state (a pending or failing request, a 403 the clock would produce).e2e.helpers_hint) before writing new ones.These tests run in CI and on teammates' machines. When something blocks a scenario (a missing capability, an unbuilt slice, a bug), mark it skipped in the repo the way its suite does (for example @skip in a feature file), with a comment giving the reason and the ticket. Setup knowledge (how to create a fixture, which flag state a scenario needs) also goes in comments next to the scenario.
Don't edit a scenario to make a test pass. Only when the behaviour deliberately differs (a decision changed it), update the scenario ("Update a test's scenarios", saving the old text to a local file first and saying where), and tell the user why.
If a scenario should be split because part of it won't be automated, propose the split ("Split a test") and wait for the user's answer.
Mark the test automated ("Mark a test automated") only when every scenario has automation that passed in your run, at any layer. If any scenario is skipped, pending, gated by an unbuilt slice, or a no-op with no backend test, leave the test unmarked. When the tracker requires Components (tracker.components_required), set them on each test that's a ticket as you finish it.
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: "4 of 6 tests automated; 2 blocked." Then one table:
| Test | Scenarios automated | Result | Marked automated | If not done, why |
|---|
Say plainly what passed and what didn't. List anything you couldn't automate and why.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
23 skills in this plugin
/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.npx claudepluginhub beakpoint-insights/roost --plugin roostOther plugins' skills for the same job