Skip to content
Back to skills

Release Rollout

ASecurity

Practice skill: roll out progressively and undo it. Use in an aidd repository for a release, a feature flag or kill switch, an A/B test, a canary, a staged rollout, or a rollback.

  • 2 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 6, 2026
ai-agentsgorailsgitapiperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 17, 2026

npx -y skills add thaithienvanid/aidd --skill release-rollout --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Release Rollout?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Release Rollout
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thaithienvanid-release-rollout/badge)](https://www.skillsdirectory.com/skills/thaithienvanid-release-rollout)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: release-rollout
description: "Practice skill: roll out progressively and undo it. Use in an aidd repository for a release, a feature flag or kill switch, an A/B test, a canary, a staged rollout, or a rollback."
metadata:
  checked: "2026-10-22"
---

# Release and rollout

**Use it when** you plan or run a release, ship behind a flag or add a kill switch, run an A/B test, or a flag's cleanup comes due. It applies to a Spec-first change and the emergency route.

**Do not use when** the change does not reach production on its own: a library, a Spec, or a docs change ships with whatever carries it.

## Standards

<!-- aidd:gen practice:release-rollout -->
| Standard | Edition | Checked | Source |
| --- | --- | --- | --- |
| Progressive delivery (canary, blue-green, feature flags) with automatic rollback, and trunk-based development with short-lived branches | — | 2026-10-16 | — |
| Trunk-based development: everyone commits to one trunk, short-lived branches under a day, incomplete work behind a flag, and a release cut from the trunk rather than a long-lived release branch | — | 2026-10-16 | <https://trunkbaseddevelopment.com/> |
| The OpenFeature specification: a vendor-agnostic flag evaluation API, with a provider per flag system and flagd as its evaluation engine | v0.9.0 | 2026-10-16 | <https://github.com/open-feature/spec/releases> |
| Semantic Versioning | 2.0.0 | 2026-10-16 | <https://semver.org/> |
| Keep a Changelog | 1.1.0 | 2026-10-16 | <https://keepachangelog.com/en/1.1.0/> |
| DORA software delivery performance metrics: change lead time, deployment frequency, failed deployment recovery time, change fail rate, and deployment rework rate | five-metric model | 2026-10-16 | <https://dora.dev/guides/dora-metrics-four-keys/> |
| A tracking plan for product analytics events | — | 2026-10-16 | — |
| Controlled experiments: a power and sample-size calculation, a sample-ratio-mismatch check, and sequential always-valid inference when a test is watched | — | 2026-10-16 | <https://experimentguide.com/> |
<!-- aidd:end -->

## Specify

- The rollout plan uses the project's mechanism (a flag, a canary, blue-green, or a plain release with a tested rollback). It gives waves, percentages, durations, and the metric that holds each one back. The rollback and its trigger go in the Spec's `rollback` and `observe`.
- Sequence migrations so the expand step ships before the code that needs it.

### Feature flags

A flag releases a normal or major user-facing change apart from its deploy, or is a kill switch; never one nobody will flip. One `flags` entry per flag, with a person as `owner`. Its fields, and the provider, the first rung the project already runs, from an OpenFeature in-process provider to flagd on a flag file: [references/flags-and-experiments.md](references/flags-and-experiments.md).

### Experiments

An A/B test is a flag with `purpose` experiment that decides the Spec's `hypothesis`, planned in the Spec's tracking plan. Before launch, set:

- exactly one primary metric, the one the hypothesis names
- `guardrails` that stop the test when they worsen
- a `min_sample` per variant from a power calculation, or a `duration` in whole weeks
- the `decision` rule, written before anyone sees data

Check daily for a sample ratio mismatch: the assignment or the logging is broken, so stop and fix it; no result from it counts. Stop early only on a guardrail breach, the mismatch, or a sequential `decision` rule planned before launch, never on a good primary metric.

## Implement

- Every deploy works beside the previous version during a rollout, which `aidd-team:schema-migration`'s Previous version on the new schema test proves. Schema changes are decoupled from deploys.
- Artifacts are versioned and immutable. Release notes and changelog are part of the change.
- Flags: code against the OpenFeature API. The code falls back to the flag's `default` when the provider fails: default off for a new feature, on for a kill switch. A kill switch stays after launch. Flags are not authorization: a flag decides what a user sees, never what they may do.

## Roll out

- Canary first where there is one, then widen while the SLI holds. Poll the Spec's observe command in the background. On a fired trigger, stop and say so. Humans roll back within minutes, and the loop goes to Learn. A deploy tool may roll back on its own at a threshold a person set before the rollout, but an agent never rolls back or widens on its own judgment.
- Mobile: the store's phased release (`aidd-domains:mobile-apps`). A store binary cannot be recalled, so a server-side flag is the rollback.
- Agents never flip a production flag: a person does. Turning the flag off is the first rollback step. Cleanup is a follow-up Spec that lists the flag in `removes_flags`. A flag left behind is a defect.

## Test commands

| Command | Proves | How |
| --- | --- | --- |
| Deploy dry run | the deploy would apply cleanly | the deploy tool's dry-run mode |
| Canary smoke tests | the canary or release serves the critical path | read-only smoke tests in the observe window, not on the head; a write goes only to the test tenant of `aidd-team:test-design` |
| Rollback rehearsal | the rollback works | in staging if there is one; else the runbook's rollback, rehearsed locally or in the observe window, not on the head |
| Flag states | the Acceptance holds on, and the old behavior holds off | the suite in both states, each a `tests.commands` entry |
| Flag fallback | the code takes the default when the provider is unreachable | a test with the provider down |
| Isolated environment check | a pre-production run never falls back to a shared or production store | the pipeline fails when it cannot create its isolated environment |

## Stop if

- An agent would flip a production flag, or a flag has no person as owner.
- The rollout widens while the SLI or a guardrail is breached.
- An experiment shows a sample ratio mismatch, or someone wants to stop it early on a good number.

## Hand off

- Done: the rollout plan, the flag, and the release notes. Next role: the SRE for the observe window, the author for the merge. Needs: an environment or a flag system the platform lacks. Stopped at: none, or the stop rule's code.

Files in this skill

  • SKILL.md6.1 KB
  • references/flags-and-experiments.md3.7 KB
  • references/open-choices.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.