agentleFS
oleg494oleg494/coding-kit/skills/shipping-and-launch/SKILL.md

shipping-and-launch

Skill3 starsChanged 11 days agoMITView on GitHub

Use when releasing to production: pre-launch readiness review, staged rollout or canary, feature-flag plan, rollback plan, post-launch verification. Decides what to deploy, at what exposure, and when to reverse it. Not for adding logs, metrics, traces or alerts (observability-and-instrumentation) and not for code-level hardening (security-and-hardening).

65 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use constraint-driven-development, deprecation-and-migration and 9 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MrCipherSmithSkill

    constraint-driven-development

    Use when a project needs a persistent, measurable quality bar — starting a project without documented standards, 'set up constraints', or when coverage/perf/a11y thresholds get re-debated per-PR. Produces CONSTRAINTS.md with enforceable numbers, ratchets, and a guard against silent weakening. NOT for throwaway prototypes or a one-off CI setup.

    Also in 16 projects that use this

  • HK-hubSkill

    deprecation-and-migration

    Manages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when deciding whether to maintain or sunset existing code.

    Also in 41 projects that use this

  • seikaikyoSkill

    doubt-driven-development

    對非平凡決策啟動新鮮 context 對抗審查(找碴不背書),在修正還便宜的時候抓出錯誤方向。適用:高風險改動(production、資安敏感邏輯、不可逆操作)、不熟的程式碼、要宣稱「這樣是安全的 / 可行的」之前。機械性操作與一行修改不適用。

    Also in 46 projects that use this

  • HK-hubSkill

    source-driven-development

    Grounds every implementation decision in official documentation. Use when you want authoritative, source-cited code free from outdated patterns. Use when building with any framework or library where correctness matters.

    Also in 41 projects that use this

  • skytiger6724Skill

    brainstorm-experiments-existing

    Design experiments to test assumptions for an existing product — prototypes, A/B tests, spikes, and other low-effort validation methods. Use when validating assumptions, testing feature ideas cheaply, or planning product experiments.

    Also in 4 projects that use this

  • skytiger6724Skill

    prioritize-assumptions

    Prioritize assumptions using an Impact × Risk matrix and suggest experiments for each. Use when triaging a list of assumptions, deciding what to test first, or applying the assumption prioritization canvas.

    Also in 4 projects that use this

  • +1 more from HK-hub
  • +2 more from skytiger6724

The file

Files
SKILL.md

Shipping and launch

A launch decides exposure: what artifact runs, for whom, on what evidence, and how it reverses. Failure modes and reversal costs differ by system type.

Readiness, gated by system type

  • Always: risk-matched tests at the level the change can break; a reviewer other than the author; no debug prints or bypasses on shipped paths.
  • Deployed runtime: secrets from the platform store; target-env config; health endpoint answers; logs and errors reach a human.
  • New surface, dependencies: boundary validated, route authorized, unauthenticated endpoints rate-limited and body-capped; no reachable critical/high advisory.
  • Data: migration applied and reversible, or converted to expand/contract.
  • Surface-specific: bundle budget, Core Web Vitals, no N+1; store lead time and rollout controls on mobile; changelog if kept.

Name skipped lines in the launch note.

Release shape

Direct deploy (reversal is the previous artifact), feature flag (code ships dark, exposure switched separately), canary (a slice of real traffic; needs routing and volume), blue-green (atomic switch), migration first (expand/contract). A flag has an owner, a removal criterion and a reminder; not nested; CI runs both states.

Rollback plan, written before deploy

  1. Signal to reverse — observable and baseline-relative: error rate ("above 2x baseline for ten minutes", not "it feels wrong"), latency regression, saturation, a business KPI.
  2. Reversal action — flag off, previous artifact, or forward fix; dry-run it before you need it.
  3. Data. A redeploy does not undo a destructive schema change. Reversible pattern is expand/contract: add the new column or table, dual-write, backfill, switch reads, drop the old shape later. A genuinely irreversible migration (destructive ALTER, dropped table, backfill over originals) makes the plan a forward fix plus a retained backup with a tested restore.
  4. Who decides, who is told — named before exposure.

Staged rollout, driven by gates

Staging runs the same artifact → production at zero exposure (deployed, not serving; health and errors checked) → internal cohort → a small share of real traffic → all, in steps sized by detection speed. Hold until the window beats the noise floor. Thresholds set before exposure, against a baseline measured on this service:

SignalAdvanceHoldReverse
Error rateat baselineabove, cause unknown~2x baseline, sustained
p95/p99 latencywithin ~20%20–50% aboveabove ~50%
Saturationwithin headroomclimbingat the limit
Business KPIflat or betterdown, uncleardown and falling
New client-side errornoneunder 0.1%rising

A service already at 3% errors needs a different red line.

Verification window after full exposure

First window where every step of the flow served real traffic: health answers, error volume comparable with no new type, no latency or saturation step change at deploy time, the critical flow works end to end, logs and traces arrive with expected event names (an empty stream is a failure), reversal still available (flag reachable, artifact retrievable, forward fix written). Record version, signals and decisions.

Red flags: no reversal path or an unexercised one; no way to see whether the new path works; big-bang exposure of a user-visible failure; flags outliving their code; nobody on call.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.