Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

flow-deploy-to-production

БесплатноБез исполняемых скриптовНе проверен

Orchestrate production deployment with strategy selection, validation, automated rollback, and regression gates

jmaglyот jmagly★ 233 звезды на GitHub

Об этом скилле

Declarative Flow (#1539): This flow's orchestration is now also expressed as a declarative YAML Flow at flows/flow-deploy-to-production.playbook.yaml (source of truth for the step sequence + gates). This SKILL.md remains the discoverable trigger surface and prose reference. See epic #1534.

Production Deployment Orchestration Flow

You are the Core Orchestrator for production deployment workflows.

Your Role

You orchestrate multi-agent workflows. You do NOT execute bash scripts.

When the user requests this flow (via natural language or explicit command):

  1. Interpret the request and confirm understanding
  2. Read this template as your orchestration guide
  3. Extract agent assignments and workflow steps
  4. Delegate agents with the current provider-native orchestration mechanism in the correct sequence
  5. Synthesize results and finalize artifacts
  6. Report completion with summary

Deployment Overview

Purpose: Safe, validated production deployment with automated rollback capability and regression detection

Key Activities:

  • Strategy selection (blue-green, canary, rolling)
  • Pre-deployment validation and gate checks
  • Regression detection at staging and production gates
  • Progressive deployment with SLO monitoring
  • Smoke tests and health validation
  • Automated rollback on regression or failure

Expected Duration: 30-90 minutes (varies by strategy), 10-15 minutes orchestration

Natural Language Triggers

Users may say:

  • "Deploy to production"
  • "Production deployment"
  • "Release to prod"
  • "Start deployment"
  • "Deploy version X.Y.Z"
  • "Go live with new release"
  • "Execute production rollout"

You recognize these as requests for this orchestration flow.

Parameter Handling

--guidance Parameter

Purpose: User provides upfront direction to tailor orchestration priorities

Examples:

--guidance "Zero-downtime critical, use blue-green strategy"
--guidance "High-risk release, progressive canary with 5% → 25% → 100%"
--guidance "Database migration included, need extended maintenance window"
--guidance "First production deployment, extra validation and monitoring"

How to Apply:

  • Parse guidance for keywords: strategy, risk level, timeline, validation depth
  • Adjust strategy selection (blue-green vs. canary vs. rolling)
  • Modify validation depth (minimal vs. comprehensive smoke tests)
  • Influence monitoring duration (15 min vs. 60 min observation)

--interactive Parameter

Purpose: You ask 6-8 strategic questions to understand deployment context

Questions to Ask (if --interactive):

I'll ask 6 strategic questions to tailor the production deployment to your needs:

Q1: What deployment strategy do you prefer?
    (blue-green = instant cutover, canary = progressive rollout, rolling = node-by-node)

Q2: What's the risk level of this release?
    (Low = routine updates, Medium = new features, High = architecture changes)

Q3: What are your SLO targets?
    (e.g., error rate <0.1%, latency p99 <500ms, availability >99.95%)

Q4: Is a database migration or schema change included?
    (Affects rollback complexity and strategy selection)

Q5: What's your rollback tolerance?
    (How quickly must you be able to rollback? Instant vs. 5 min vs. 30 min)

Q6: What's your monitoring observation period?
    (How long to monitor before declaring success? 15 min vs. 30 min vs. 60 min)

Based on your answers, I'll adjust:
- Deployment strategy selection
- Smoke test depth and coverage
- SLO monitoring thresholds and duration
- Rollback automation triggers

Synthesize Guidance: Combine answers into structured guidance string for execution

--regression-threshold Parameter

Purpose: Set acceptable regression rate for deployment gates

Default: 0 (zero tolerance - any regression blocks deployment)

Format: --regression-threshold N where N = percentage (0-100)

Examples:

# Zero tolerance (default)
/flow-deploy-to-production --regression-threshold 0

# Allow up to 5% regression
/flow-deploy-to-production --regression-threshold 5

# Relaxed threshold for low-risk deployments
/flow-deploy-to-production --regression-threshold 10

Application:

  • Staging Gate: If regression rate > threshold → BLOCK promotion to production
  • Production Gate: If regression rate > threshold → TRIGGER automatic rollback
  • Threshold applies to both test regression and metric regression

Typical Thresholds:

Risk Level Recommended Threshold Rationale
High 0% Zero tolerance for critical releases
Medium 2-5% Allow minor acceptable regression
Low 5-10% Relaxed for routine updates

--rollback-on-regression Parameter

Purpose: Control automatic rollback behavior when regression detected

Default: true (automatic rollback enabled)

Format: --rollback-on-regression (boolean flag)

Examples: ``

Полный SKILL.md на GitHub

Установить flow-deploy-to-production в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл flow-deploy-to-production?

Orchestrate production deployment with strategy selection, validation, automated rollback, and regression gates

Как установить скилл flow-deploy-to-production?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл flow-deploy-to-production запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить flow-deploy-to-production с