Skip to content
Back to skills

Deployment Process

ASecurity

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

  • 562 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 27, 2026
data-aigitdevopsci/cd

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned September 29, 2026

npx -y skills add echoVic/boss-skill --skill deployment-process --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deployment Process?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deployment Process
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/echovic-deployment-process/badge)](https://www.skillsdirectory.com/skills/echovic-deployment-process)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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时
metadata:
  internal: true
---

# 部署流程与CI/CD

## 部署策略

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

## CI/CD流程

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

### GitHub Actions示例

```yaml
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 | 生产环境 | 真实数据 |

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…