Logo di Staged Rollout

Staged Rollout

Community
etr
staged-rollout

Roll out a change in stages behind a feature flag with a monitoring window and a written rollback plan - use before shipping anything user-facing, instead of flipping it on for everyone at once

Panoramica

Autoreetr
Repositorygroundwork
Nome della skillstaged-rollout
Stelle
45
Fork
4
File inclusi
Solo istruzioni
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da etr su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Staged Rollout in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/etr/groundwork/tree/main/skills/staged-rollout
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Nuova skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella nella cartella delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/etr/groundwork.git /tmp/groundwork
mkdir -p .claude/skills
cp -r /tmp/groundwork/skills/staged-rollout .claude/skills/staged-rollout
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Staged Rollout in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Staged Rollout non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Staged Rollout non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Staged Rollout

Overview

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.

When to Use

  • Any user-facing or externally-observable change (new endpoint, UI, behavior change, schema migration)
  • Risky internal changes where a bad deploy degrades many users at once

Skip only for trivially reversible, low-blast-radius changes (a copy fix, an internal doc). When unsure, stage it — the cost is one flag.

Process

  1. Pre-launch checklist. Confirm before any traffic shift:

    • Validation and review already passed (see [[validate]] / [[review-pr]])
    • Instrumentation is live and the dashboards read real data
    • The feature flag exists and defaults to off
    • The rollback plan is written (step 4)
  2. 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.

  3. Staged / canary rollout. Advance through stages, not in one jump. A typical ramp:

    StageAudienceHold for
    Canary1% (or internal/dogfood)a monitoring window
    Early10%a monitoring window
    Majority50%a monitoring window
    Full100%—

    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.

  4. 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.

  5. 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.

Rationalizations

ExcuseReality
"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.

Red Flags

  • Going straight to 100% with no canary stage
  • A flag that needs a redeploy to toggle
  • Promoting between stages without watching the metrics in between
  • No documented trigger condition or named rollback action before launch
  • "We'll roll it back by reverting the commit" as the entire plan

Verification

  • Pre-launch checklist complete; flag exists and defaults to off
  • The change is gated behind a runtime-flippable feature flag
  • A staged/canary ramp is defined with a monitoring window between stages
  • A written rollback plan exists at {{specs_dir}}/rollouts/<feature-slug>-rollback.md naming trigger conditions, the exact rollback action, the owner, and expected recovery time
  • The plan was written before launch, not after the first stage

Domande frequenti

Cosa fa la skill IA Staged Rollout?

Roll out a change in stages behind a feature flag with a monitoring window and a written rollback plan - use before shipping anything user-facing, instead of flipping it on for everyone at once

Perché usare Staged Rollout su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Staged Rollout è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Staged Rollout in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/etr/groundwork/tree/main/skills/staged-rollout. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Staged Rollout?

Qualsiasi modello che colleghi in TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Staged Rollout?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Staged Rollout: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Staged Rollout è gratuita?

Sì. È pubblicata su GitHub da etr con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, modelli o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇