Skip to content
Development
Skill

/deployment-process

部署流程和CI/CD配置,确保安全可靠的部署

From plugin
boss
55928 skills16 agents7 commands
Install
$ npx -y skills add echoVic/boss-skill --skill deployment-process --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/deployment-process

Context preview

The summary Claude sees to decide when to auto-load this skill.

部署流程和CI/CD配置,确保安全可靠的部署

SKILL.md

deployment-process.SKILL.md
name: devops/deployment-process
description: 部署流程和CI/CD配置,确保安全可靠的部署
version: 1.0.0
agent: devops
type: methodology
user-invocable: false
agent-invocable: true
dependencies:
  - shared/tech-stack-detection
triggers:
  - 需要配置部署流程时
  - 需要设置CI/CD时

部署流程与CI/CD

部署策略

| 策略 | 说明 | 适用场景 | |------|------|----------| | 蓝绿部署 | 两套环境切换 | 需要快速回滚 | | 滚动部署 | 逐步替换实例 | 零停机部署 | | 金丝雀部署 | 小流量验证 | 风险较高的更新 |

CI/CD流程

代码提交 → 自动构建 → 自动测试 → 部署到测试环境 → 部署到生产环境

GitHub Actions示例

name: CI/CD
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Install
        run: npm install
      - name: Test
        run: npm test
      - name: Build
        run: npm run build
      - name: Deploy
        run: npm run deploy

环境配置

| 环境 | 用途 | 数据 | |------|------|------| | local | 本地开发 | 测试数据 | | dev | 开发测试 | 测试数据 | | staging | 预发布 | 生产数据副本 | | prod | 生产环境 | 真实数据 |

Ships withboss

Boss is an auditable agent-team workflow for coding agents. It turns one coding agent into a structured engineering team: PM, Architect, UI Designer, Tech Lead, Scrum Master, Frontend, Backend, QA, and DevOps.

Get the whole plugin