Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计通过

deployment-strategy部署策略

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

749

周安装

30

GitHub Stars

10

下载量

242
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deployment-strategy(部署策略)
来源仓库:https://github.com/oakoss/agent-skills
仓库路径:skills/deployment-strategy
安装命令:
npx skills add https://github.com/oakoss/agent-skills --skill deployment-strategy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/oakoss/agent-skills --skill deployment-strategy

简介

聚焦部署模式选择与发布安全,覆盖零停机、故障域控制与环境递进流程。

  • 适合制定蓝绿、金丝雀等部署方案,配置就绪门控与特性开关集成策略。
  • 应优先评估业务容忍度与回滚能力,不替代具体 CI/CD 工具链实现。
  • 从指定 GitHub 仓库安装,适用于需要结构化发布规划的开发协作场景。
  • deployment-strategy 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Deployment Strategy

Overview

Covers deployment strategy selection, rollback safety, and progressive delivery patterns. Focuses on zero-downtime release techniques, blast radius management, and environment promotion workflows from development through production.

When to use: Choosing between blue-green, canary, or rolling deployments, implementing rollback procedures, configuring health checks and readiness gates, planning environment promotion workflows, integrating feature flags for progressive delivery.

When NOT to use: CI/CD pipeline mechanics and GitHub Actions workflows (use ci-cd-architecture skill), infrastructure provisioning and cloud platform selection (use ci-cd-architecture skill), application architecture decisions (use framework-specific skills).

Quick Reference

NeedStrategy
Instant rollbackBlue-green (swap traffic back to previous environment)
Gradual risk validationCanary (route 1-5% traffic, monitor, then expand)
Default Kubernetes updatesRolling (replace pods incrementally with maxSurge/maxUnavail)
Full environment replaceRecreate (stop all old, start all new; accepts brief downtime)
Feature-level controlFeature flags (decouple deploy from release)
Database schema changesExpand-contract migration (additive first, remove later)
Multi-environment promotiondev -> staging -> production with gates between each
Blast radius reductionCanary + feature flags + automated rollback triggers
Health verificationLiveness, readiness, and startup probes at infrastructure level
Rollback without redeployFeature flags to disable problematic code paths

Common Mistakes

MistakeCorrect Pattern
No rollback plan before deployingDefine rollback procedure and verify it works before every production release
Destructive database migrations alongside app deployUse expand-contract: add new columns/tables first, migrate data, remove old later
Canary without automated health monitoringSet error rate and latency thresholds that auto-halt rollout when breached
Blue-green with shared mutable databaseUse backward-compatible schema changes so both versions work against the same database
Feature flags without cleanup lifecycleAssign an owner and removal date to every flag; treat stale flags as tech debt
Skipping staging and deploying directly to productionPromote through environments with automated gates between each stage
Rolling deploy without readiness probesConfigure readiness probes so traffic routes only to healthy instances
Same environment config across all stagesUse environment-specific configuration with secrets management per environment
Manual rollback procedures in incident responseAutomate rollback triggers based on error rate, latency, and health check thresholds
Testing only happy paths before releaseInclude failure scenario testing: rollback drills, chaos testing, degraded mode testing

Delegation

  • Audit deployment safety of existing infrastructure: Use Explore agent to review deployment configs, health check definitions, and rollback procedures
  • Implement a specific deployment strategy: Use Task agent to configure blue-green, canary, or rolling deployment for a target platform
  • Plan migration from one deployment strategy to another: Use Plan agent to evaluate current strategy, define migration steps, and identify risks
If the ci-cd-architecture skill is available, delegate CI/CD pipeline setup and GitHub Actions workflow configuration to it. Otherwise, recommend: npx skills add oakoss/agent-skills --skill ci-cd-architecture

References

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.83%
按下载量换算92

Claude

27.88%
按下载量换算67

Cursor

18.17%
按下载量换算44

Gemini CLI

9.01%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills