/groundwork:staged-rolloutfrom groundwork
Guides staged rollouts behind feature flags with monitoring windows and written rollback plans. Use before shipping user-facing changes to catch issues at low traffic.
Ships in groundwork. 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 change reaches all users gradually, behind a switch you can flip back, while someone watches the signals. Big-bang releases convert a small bug into a full outage. A staged rollout converts the same bug into a contained blip caught at 1% traffic.
Core principle: Every outward-facing change ships behind a flag, advances in stages with a monitoring window between them, and has a rollback plan written before launch — not improvised during the incident.
This depends on the change being observable first: see [[instrument-observability]] for the signals the monitoring window watches.
Skip only for trivially reversible, low-blast-radius changes (a copy fix, an internal doc). When unsure, stage it — the cost is one flag.
Pre-launch checklist. Confirm before any traffic shift:
Feature-flag gating. Put the new behavior behind a flag, default off. The flag must be flippable at runtime without a redeploy — that is what makes rollback fast.
Staged / canary rollout. Define the ramp now; advance through its stages only after the gate below has said go — never in one jump. A typical ramp:
| Stage | Audience | Hold for |
|---|---|---|
| Canary | 1% (or internal/dogfood) | a monitoring window |
| Early | 10% | a monitoring window |
| Majority | 50% | a monitoring window |
| Full | 100% | — |
Monitoring window: between each stage, watch the RED metrics and alerts long enough to span real traffic before promoting. Do not promote on a clean dashboard you've watched for thirty seconds. If a symptom breaches, stop and roll back — do not push forward hoping it settles.
Written rollback plan. Before launch, document: the exact trigger conditions (which metric/alert at which threshold), the precise rollback action (flip flag X to off; revert migration Y), who can execute it, and the expected recovery time. A rollback that requires a redeploy is too slow — prefer the flag.
Conventional artifact locations. Write the rollback plan to {{specs_dir}}/rollouts/<feature-slug>-rollback.md and the pre-launch checklist to {{specs_dir}}/rollouts/<feature-slug>-prelaunch.md (create the directory; the feature slug is the kebab-case change name). {{specs_dir}} is project-scoped, so same-named changes in two monorepo projects cannot overwrite each other. Never leave these "somewhere in the conversation" — the ship gate checks the file.
The gate comes before the first stage. Writing the plan and executing it are two separate things. When ship dispatches this skill, it ends here: ship asks its go/no-go question, and only a Go begins the canary stage. Invoked on its own, ask the user the same question — with AskUserQuestion, before any traffic shifts — and treat No-Go as stop. Until then the flag stays at its default of off.
| Excuse | Reality |
|---|---|
| "It's a small change, ship to everyone" | Small changes cause large outages. The flag costs minutes; the outage costs hours. |
| "I'll write the rollback plan if something breaks" | Mid-incident is the worst time to design recovery. Write it cold, before launch. |
| "Dashboard looked clean, I promoted right away" | A clean dashboard watched for seconds proves nothing. Hold the window across real traffic. |
| "Rollback is just redeploy the old version" | A redeploy is minutes of continued damage. A flag flip is seconds. Gate behind a flag. |
| "Canary at 1% will take forever" | 1% surfaces the catastrophic bugs cheaply. That's the point. |
{{specs_dir}}/rollouts/<feature-slug>-rollback.md naming trigger conditions, the exact rollback action, the owner, and expected recovery timeWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
feature-flags, canary-deploy, rollback-plan, safe-deployment
Generated from the plugin's indexed repository (etr/groundwork) — no native marketplace selected
npx claudepluginhub p/etr-groundwork44 skills in this plugin
/build-unplannedBuild a feature from a description with worktree isolation and TDD. Optional flag - --on-unrelated-failure stop-and-ask|expand-and-fix|ignore-and-merge - how validation treats gate failures unrelated to the active project (default stop-and-ask)./check-specs-alignmentVerify alignment between code and specs./create-tasksGenerate implementation tasks from architecture document./debugUse when investigating bugs, unexpected behavior, test failures, or any code that does not work as expected - enforces systematic root cause analysis before any fixOther plugins' skills for the same job