File contents CI/CD 管線助手
語言 : English | 繁體中文
引導 CI/CD 管線設計,遵循業界最佳實踐與 DORA 指標。
管線階段參考
BUILD ──► TEST ──► ANALYZE ──► DEPLOY ──► VERIFY
建置 測試 分析 部署 驗證
階段
用途
關鍵活動
Build
編譯與打包
安裝相依、編譯、產出成品
Test
品質驗證
單元、整合、端對端測試
Analyze
程式碼品質
程式碼檢查、安全掃描、覆蓋率
Deploy
發布到環境
預備環境 → 正式環境部署
Verify
部署後驗證
冒煙測試、健康檢查、監控
DORA 指標快速參考
指標
菁英
高
中
低
部署頻率
隨需(每日多次)
每週至每月
每月至半年
> 6 個月
變更前置時間
< 1 小時
1 天至 1 週
1 至 6 個月
> 6 個月
MTTR
< 1 小時
< 1 天
1 天至 1 週
> 6 個月
變更失敗率
0–15%
16–30%
16–30%
> 30%
最佳實踐檢查清單
平台專屬提示
平台
快取
平行化
密鑰
備註
GitHub Actions
actions/cache
matrix 策略
secrets.*
使用 reusable workflows
GitLab CI
cache: 關鍵字
parallel: 關鍵字
CI/CD Variables
使用 include: 模組化
Jenkins
Stash/unstash
parallel {} 區塊
Credentials plugin
使用 shared libraries
使用方式
/ci-cd - 顯示完整管線指引
/ci-cd github-actions - GitHub Actions 專屬提示
/ci-cd --optimize - 管線優化建議
/ci-cd build - 建置階段最佳實踐
下一步引導
/ci-cd 完成後,AI 助手應建議:
管線指引已提供。建議下一步:
執行 /deploy 設定部署策略
執行 /security 檢查管線安全
執行 /testing 設計測試策略
執行 /commit 建立規範化提交
參考
Source: AsiaOstrich/dev-autopilot — distributed by TomeVault .
1 --- 2 name: asiaostrich-dev-autopilot-ci-cd 3 description: CI/CD 管線助手 4 --- 5 6 # CI/CD 管線助手 7 8 > **語言**: [English](../../../../skills/ci-cd-assistant/SKILL.md) | 繁體中文 9 10 引導 CI/CD 管線設計,遵循業界最佳實踐與 DORA 指標。 11 12 ## 管線階段參考 13 14 ``` 15 BUILD ──► TEST ──► ANALYZE ──► DEPLOY ──► VERIFY 16 建置 測試 分析 部署 驗證 17 ``` 18 19 | 階段 | 用途 | 關鍵活動 | 20 |------|------|----------| 21 | **Build** | 編譯與打包 | 安裝相依、編譯、產出成品 | 22 | **Test** | 品質驗證 | 單元、整合、端對端測試 | 23 | **Analyze** | 程式碼品質 | 程式碼檢查、安全掃描、覆蓋率 | 24 | **Deploy** | 發布到環境 | 預備環境 → 正式環境部署 | 25 | **Verify** | 部署後驗證 | 冒煙測試、健康檢查、監控 | 26 27 ## DORA 指標快速參考 28 29 | 指標 | 菁英 | 高 | 中 | 低 | 30 |------|------|-----|-----|-----| 31 | **部署頻率** | 隨需(每日多次) | 每週至每月 | 每月至半年 | > 6 個月 | 32 | **變更前置時間** | < 1 小時 | 1 天至 1 週 | 1 至 6 個月 | > 6 個月 | 33 | **MTTR** | < 1 小時 | < 1 天 | 1 天至 1 週 | > 6 個月 | 34 | **變更失敗率** | 0–15% | 16–30% | 16–30% | > 30% | 35 36 ## 最佳實踐檢查清單 37 38 - [ ] **快速失敗** — 先執行最快的檢查(lint → 單元 → 整合 → E2E) 39 - [ ] **快取相依** — 在執行之間快取 `node_modules`、`.m2`、pip cache 40 - [ ] **平行作業** — 將測試套件分散到平行執行器 41 - [ ] **不可變成品** — 建置一次,將相同成品部署到所有環境 42 - [ ] **環境一致** — 保持預備環境與正式環境一致 43 - [ ] **密鑰管理** — 絕不寫死密鑰;使用 vault/環境變數 44 - [ ] **分支保護** — 要求 CI 通過才能合併 45 - [ ] **回滾策略** — 部署失敗時自動回滾 46 47 ## 平台專屬提示 48 49 | 平台 | 快取 | 平行化 | 密鑰 | 備註 | 50 |------|------|--------|------|------| 51 | **GitHub Actions** | `actions/cache` | `matrix` 策略 | `secrets.*` | 使用 reusable workflows | 52 | **GitLab CI** | `cache:` 關鍵字 | `parallel:` 關鍵字 | CI/CD Variables | 使用 `include:` 模組化 | 53 | **Jenkins** | Stash/unstash | `parallel {}` 區塊 | Credentials plugin | 使用 shared libraries | 54 55 ## 使用方式 56 57 - `/ci-cd` - 顯示完整管線指引 58 - `/ci-cd github-actions` - GitHub Actions 專屬提示 59 - `/ci-cd --optimize` - 管線優化建議 60 - `/ci-cd build` - 建置階段最佳實踐 61 62 ## 下一步引導 63 64 `/ci-cd` 完成後,AI 助手應建議: 65 66 > **管線指引已提供。建議下一步:** 67 > - 執行 `/deploy` 設定部署策略 68 > - 執行 `/security` 檢查管線安全 69 > - 執行 `/testing` 設計測試策略 70 > - 執行 `/commit` 建立規範化提交 71 72 ## 參考 73 74 - 核心規範:[pipeline-integration-standards.md](../../../../core/pipeline-integration-standards.md) 75 - 核心規範:[deployment-standards.md](../../../../core/deployment-standards.md) 76 77 --- 78 > Source: [AsiaOstrich/dev-autopilot](https://github.com/AsiaOstrich/dev-autopilot) — distributed by [TomeVault](https://tomevault.io). 79 <!-- tomevault:4.0:skill_md:2026-06-15 -->
tomevault-io/skills-registry/tree/main/asiaostrich--dev-autopilot--ci-cd commit fc414e55d1
Frequently asked questions How do I install the Asiaostrich Dev Autopilot CI CD skill? Run npx skillmds@latest add tomevault-io/asiaostrich-dev-autopilot-ci-cd in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Asiaostrich Dev Autopilot CI CD skill do? CI/CD 管線助手 It is listed under DevOps & Infra on SkillMD.
Is Asiaostrich Dev Autopilot CI CD safe to use? This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Asiaostrich Dev Autopilot CI CD? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Asiaostrich Dev Autopilot CI CD free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Asiaostrich Dev Autopilot CI CD? tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.