/product:deliveryfrom product
Ships changes to production safely using feature flags, expand/contract migrations, and progressive rollout. Picks the cheapest flag mechanism and plans the cleanup slice.
Ships in product. 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.
Read when SKILL.md points to them.
Companion skill:
product:vertical-slice— it decides what each slice contains. This one decides how that slice reaches production while the rest is unfinished, and what gets deleted afterwards. A slice with no delivery strategy is a slice that waits for the others, which defeats the split.
Deploying puts code in production. Releasing exposes behaviour to users. Merging those two is what forces long branches, big-bang integration and "we'll ship it all at the end".
Once they are separate, an unfinished feature can be in production inactive, every slice proves the existing behaviour still holds, and activation becomes a product decision instead of an engineering event.
The objection is always the same — "a feature flag is extra work". It is. So are long branches: re-reviews of a PR that keeps moving, context switching, CI replayed at every update, conflicts cascading across branches, the stabilization when two weeks of work integrate at once, the refactor nobody does because whoever merges second pays for the first. That cost is real but invisible, and it appears in no estimate. The flag's cost is 30 minutes, visible and bounded.
The strategy follows from what the change does to existing behaviour:
| The slice… | Strategy | Detail |
|---|---|---|
| adds something nobody uses yet (new endpoint, new screen, new column) | ship it additive, unflagged | references/additive-change.md §1 |
| changes behaviour users already rely on | flag it — old path stays default | §2 + references/feature-flags.md |
| replaces an existing implementation | branch by abstraction + flag | §3 |
| changes a schema or a contract others read | expand / contract | §4, §5 |
| removes something | only after usage is provably zero | references/cleanup.md |
| is a pure refactor, behaviour identical | ship it, no flag — tests are the proof | — |
When two apply, the stricter one wins. A schema change and a behaviour change is expand/contract plus a flag, sequenced in that order.
When the caller has explicitly allowed breaking changes (in the goal workflow, a
spec whose Delivery mode: is allow-bc-break), do not re-impose the additive path: the
developer was shown the list of consumers that break and chose this. Apply the table to
everything outside that list, and for the items inside it, still name what breaks so
the PR states the contract change. An informed break is a decision; a silent one is a bug.
There is no default answer, and a SaaS flag platform for a solo project is as wrong as a hardcoded constant for a multi-tenant product. Look at the project before deciding — does it already have a flag mechanism? A config layer? A settings table? Reuse it.
Then match the mechanism to what the flag must actually do:
| Need | Cheapest mechanism that works |
|---|---|
| off in prod, on in dev, flipped at the next deploy | env var / build-time config |
| flipped without a deploy, same for everyone | runtime config (DB row, config service, cached) |
| on for a beta panel, internal team, or one tenant | per-user / per-tenant setting (DB) |
| percentage rollout, A/B measurement, targeting rules | a flag platform (Unleash, Flagsmith, LaunchDarkly…) |
| emergency shutdown of an integration | ops kill switch — runtime, no deploy, documented |
Prefer the top of the table. Moving up costs a refactor you may never need; moving down costs nothing. And a flag that needs a deploy to flip is not a rollback plan — if the slice carries real production risk, it needs a runtime mechanism.
references/feature-flags.md covers the four flag types (release, experiment, ops,
permissioning), where to put a flag in the code, how to test both branches, and the
mistakes that create flag debt.
The rule that makes everything else work: never break an existing consumer in the same deploy that introduces its replacement. Add the new thing beside the old one, move traffic, then remove — three steps, three slices, never one.
That applies to database columns, API fields, event payloads, config keys, public
functions and template blocks alike. references/additive-change.md gives the concrete
sequences: expand/contract for schema, additive-only contracts, tolerant reader, branch
by abstraction, strangler fig, and dark launch / parallel run / canary for validating the
new path against the old one under real traffic.
A flag that is never removed is the debt everyone predicted. But cleanup cannot be a vague intention either: it needs a trigger condition (what must be true in production before it may merge), a written diff, and a plan of its own.
Its own plan, not the last slice of the feature's. The trigger only becomes true once the feature is live, so a cleanup slice inside the feature plan would delete the fallback in the very PR that introduces what falls back to it. It stacks as a separate PR instead, and §5 covers what that changes for an unattended run.
Cleanup is a real slice with a real diff, not a checkbox. references/cleanup.md has the
slice template, how to prove the old path is dead before deleting it, and the deletion
order.
Whose cleanup, and when. Two things decide it, and they are worth asking explicitly rather than defaulting:
Writing the cleanup early does not shorten the soak. Its own PR stacks on the feature PR and stays a draft: the feature merges and runs in production with the flag on, the old path still there, and the cleanup waits. The trigger stops gating when the code is written and starts gating when the PR is marked ready. That is the whole point of a second PR, and it is why deleting the old path before the new one is live is the one ordering that cannot work.
Manual mode (you review each iteration): flip the flag yourself when the diff and the metrics convince you. Cleanup can be a quick follow-up you do by hand.
Auto mode (an agent runs the plan unattended): three rules keep an autonomous run from causing production damage.
The reason additive delivery holds is that each slice can be proven not to have broken anything. Three things make that true, and their absence is why teams end up batching releases:
craft:testing-principles §16).If a project lacks these, say so when proposing the strategy: the answer is usually to add the missing test or the missing log in the same slice, not to fall back on a long branch.
references/feature-flags.md §1).2^n
states, n of them exercised.Read the one that matches the slice at hand:
references/feature-flags.md — flag types, mechanism choice, code placement, testing
both branches, naming, flag debt.references/additive-change.md — expand/contract, additive contracts, tolerant reader,
branch by abstraction, strangler fig, dark launch / parallel run / canary.references/cleanup.md — proving the old path is dead, deletion order, the cleanup
slice template.Sources: Martin Fowler — Feature Toggles · Dark Launching · Parallel Change · Branch By Abstraction · Strangler Fig · Thierry de Pauw — On the Evilness of Feature Branching · DORA — Trunk-Based Development
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
feature-flags, progressive-delivery, zero-downtime, migration, rollout
Other plugins' skills for the same job
npx claudepluginhub fabiensalles/claude-marketplace --plugin product3 skills in this plugin
/story-writingACTIVATE whenever a user story, epic, Jira ticket, backlog item or analysis has to be written or rewritten so a PO, a business owner and a developer all understand it fast. ACTIVATE for 'rédige l'US', 'write the story', 'reformule pour le PO', 'compréhensible fonctionnellement', 'problème / solution / critères', 'epic', 'grosse maille', 'fiche de cadrage', 'séparer fonctionnel et technique', 'acceptance criteria'. Gives the reading order (problem, functional solution, criteria, scope), the plain-language rules for the business part, and a technical annex that keeps every finding so nobody redoes the analysis. DO NOT use for: cutting a story into iterations (see product:vertical-slice), how to ship it safely (see product:delivery)./vertical-sliceACTIVATE whenever a functional spec, user story, Jira US, GitHub issue or feature request has to be broken into iterations, slices, tickets or steps — including any planning where you are about to write a list of iterations. ACTIVATE for 'découper', 'split this story', 'too big', 'vertical slicing', 'horizontal slicing', 'INVEST', 'SPIDR', 'iterations', 'MVP first', 'what do we build first', 'this story cannot be split'. Provides 17 splitting techniques, a selection procedure that picks and combines them from the feature's real axis of complexity, the technical constraints and the execution mode (human review vs autonomous agent), plus the anti-patterns that produce fake slices. DO NOT use for: sequencing work inside one already-thin slice (that is TDD — see craft:tdd-workflow-principles), or for how to ship a slice safely (see product:delivery).