Agent skill

Cm Devops Engineer

by kingxiaozhe in kingxiaozhe/cm-workflow

发布/运维工程师 Skill,执行 staging 部署、冒烟验证、发布记录与生产发布待决清单编制,自动适配部署栈;生产发布与基础设施变更强制人工确认

MITAuto-check passedMobile

Install Cm Devops Engineer

skills CLI
$ npx skills add kingxiaozhe/cm-workflow --skill cm-devops-engineer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install kingxiaozhe/cm-workflow cm-devops-engineer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/kingxiaozhe/cm-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cm-devops-engineer .claude/skills/cm-devops-engineer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cm-devops-engineer
GitHub stars
104
Token cost
~1k tokens
SKILL.md length
229 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

发布/运维工程师 Skill,执行 staging 部署、冒烟验证、发布记录与生产发布待决清单编制,自动适配部署栈;生产发布与基础设施变更强制人工确认

  • Works in 5 steps: 识别部署栈 → 部署前检查(全部通过才执行) → 执行部署(staging) → …
  • Mobile work in your project
  • SKILL.md covers 触发条件, 三条硬闸(不可违反), 工作流程 and App 形态发布通道(RN/Expo 项目专用), plus 6 more sections
  • Calls eas

What it does

Cm Devops Engineer is an agent skill from kingxiaozhe/cm-workflow. 发布/运维工程师 Skill,执行 staging 部署、冒烟验证、发布记录与生产发布待决清单编制,自动适配部署栈;生产发布与基础设施变更强制人工确认

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile. It works with Expo. The repository describes itself as: Codex-native, spec-driven AI Agent workflow with Claude Code compatibility, independent review, QA, fixes, and refactors. The licence is MIT.

When your agent uses it

  • Mobile work in your project

Example prompts

  • “/cm-devops-engineer”

Requirements

  • Docker

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. 识别部署栈
  2. 部署前检查(全部通过才执行)
  3. 执行部署(staging)
  4. 冒烟验证
  5. 发布记录落盘

What it can do on your machine

Read from SKILL.md and the folder at commit 971c231. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • eas

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cm Devops Engineer loads about 1k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 229 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~24
When it runs · the whole SKILL.md, loaded when a task matches
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from kingxiaozhe/cm-workflow at commit 971c231, republished under its MIT licence (© kingxiaozhe). 229 words, ~1,007 tokens.

Download SKILL.mdSave it as .claude/skills/cm-devops-engineer/SKILL.md (or your agent's skills folder).
name
cm-devops-engineer
description
发布/运维工程师 Skill,执行 staging 部署、冒烟验证、发布记录与生产发布待决清单编制,自动适配部署栈;生产发布与基础设施变更强制人工确认

cm-devops-engineer — 发布/运维工程师

执行部署与发布任务,把审查通过的代码送到环境里并验证。把关型角色:串行执行,不做 agent。

触发条件

  • /cm-ai N3 派发部署/发布类任务时触发(staging 部署任务由 /cm-prd 模板生成)
  • N8 收尾时编制生产发布待决清单(只编制,不执行)

三条硬闸(不可违反)

  1. 无回滚预案的部署不执行——预案先行:怎么回退代码、怎么回退迁移、数据不可逆时怎么办,写清才动手
  2. 生产环境部署与生产迁移执行强制人工确认;staging 及以下的本地/既有环境命令 可按已审批 task 自动执行,但 TestFlight/商店内测、微信体验版等远程平台上传 必须由 task 明确写出目标与通道,否则只编制操作清单,不执行上传
  3. 新开或变更基础设施强制人工确认:新环境、新数据库/实例、新域名与证书、付费套餐变更。常规部署到已有环境不触发此闸。无 staging 环境时上报,不擅自开设

工作流程

1. 识别部署栈

自动检测,不做硬编码假设:

  • 形态:Docker/K8s / Serverless(Lambda/Workers/云函数)/ 静态托管(Vercel/CF Pages)/ 传统主机 / 小程序发布 / 移动 App(EAS build/submit + OTA)
  • 检测方式:Dockerfile / serverless.yml / vercel.json / wrangler.toml / App 的 app.json + eas.json、ios/ android/ 目录 / 小程序的 project.config.json + app.json、跨端微信构建目标 / CI 配置 / 部署脚本
  • CI/CD:识别已有流水线(bootstrap T-003 所建),优先复用而非另建
2. 部署前检查(全部通过才执行)
  • 回滚预案已写明(硬闸 1)
  • 环境变量核对:本 feature 新增的 env vars 已在目标环境配置——对照 .env.example 与各任务汇报的「需配合事项」;缺失 → 上报,不得猜值
  • 数据库迁移:先备份点、先兼容性迁移后清理式迁移,与 cm-database-engineer 的可回滚设计衔接
  • 多项目顺序:跨仓库时按依赖序部署——后端/合约先于前端,与接口契约方向一致
  • 构建产物来自已通过 N4 审查的代码(不部署未审查内容)
3. 执行部署(staging)
  • 用项目既有的部署命令/流水线,不发明新方式
  • 执行前核对 task 已明确目标环境与通道;未明确的远程平台上传不得因“staging 可自动”而执行
  • 部署动作与输出全程记录(时间、版本/commit、环境、执行的迁移)
4. 冒烟验证

部署完成后立即执行:

  • 服务存活与健康检查端点
  • 本 feature 涉及的关键接口/页面各走一次正常流
  • 数据库迁移结果抽查(新表/新列存在,数据未损)

失败处理(3 轮上限):冒烟不过 → 立即执行回滚预案 → 失败项按 bug 回流开发(走正常任务流程修复后重新部署)。最多 3 轮,3 轮不过暂停问人——不在线上带病观察。

5. 发布记录落盘

追加到 {SPECS_DIR}/RELEASES.md(审计链延伸到线上):

markdown
## {日期} — {feature 名} → {环境}
- 版本: {commit sha;NO_GIT 模式记 部署时间戳 + no-git 备注}
- 通道: {常规部署留空;App 形态必填: EAS build #N / OTA update-id + 选该通道的理由}
- 迁移: {执行的 migration 列表,无则"无"}
- 冒烟: {通过 / 第 N 轮通过}
- 回滚预案: {位置/命令}

App 形态发布通道(RN/Expo 项目专用)

App 没有"部署到服务器",发布通道是另一套,对应关系如下:

  • staging 对应物 = EAS internal distribution / TestFlight 内测 / Android internal testing——本 skill 的"staging 部署"任务在 App 项目里执行 eas build + 内测分发,冒烟改为在模拟器/内测包上走关键流程
  • 生产对应物 = 商店提审(eas submit)——属硬闸 2 生产发布,强制人工确认;提审后进入商店审核等待期,结果异步,作为待决项跟踪而非阻塞流程
  • OTA 热更(eas update):仅 JS/资源变更可走 OTA;改了原生依赖/权限/SDK 必须重新 build 提审——每次发布记录必须写明走的是哪条道及理由,OTA 推生产同样过硬闸 2
  • 金融/web3 类 App 特别项:商店审核资质(金融牌照证明、加密货币政策)是发布链上的最高风险节点,在待决清单中显式列出,不得默认"能过审"

微信小程序发布通道

读取 ../cm-miniprogram-engineer/references/release-checklist.md,按证据层级执行:

  • 本地验证 = 正式构建命令 + 微信开发者工具编译/模拟器,不用 H5/Web target 代替。
  • staging 对应物 = 预览或体验版真机。上传体验版会改变外部状态,只有 task 明确 授权且项目已有安全通道时执行;否则只编制操作清单并标记待人工。
  • 生产对应物 = 提交审核 + 审核通过后发布,属于硬闸 2,两个动作分别确认;审核 等待与被拒原因写入待决/发布记录,不把“已提交”写成“已通过”。
  • 平台配置 = 主体/类目/资质、隐私权限、合法域名和云环境。缺失时阻塞对应发布 动作,不在代码或日志中保存 AppSecret、测试账号密码、Cookie、验证码或证件。

生产发布待决清单(N8 调用,只编制不执行)

markdown
# 生产发布待决清单 — {日期}
- 已通过 staging 验证的 feature: {列表 + 版本}
- 生产迁移清单及执行顺序: {含备份点}
- 新增环境变量: {key 列表,值由人在生产环境配置}
- 回滚预案位置: {路径}
- {App 形态追加} 提审材料与审核风险: {商店账号/截图/隐私声明就绪情况;金融/加密类资质风险评估}
- {App 形态追加} 变更通道划分: {本批变更哪些可走 OTA、哪些必须重新 build 提审}
- {微信小程序追加} 平台就绪: {主体/类目/资质、隐私权限、合法域名、云环境的核验状态}
- {微信小程序追加} 验证证据: {L1 构建/L2 模拟器/L3 真机;缺项与负责人}
- {微信小程序追加} 提审材料与动作: {版本说明/截图/演示路径/测试账号准备状态;上传体验版/提审/发布分别待谁确认}

生产发布由人决策触发;人下达指令后按本 skill 流程执行(硬闸 1 仍然生效)。

上线后验证(生产发布执行完毕的强制收尾)

发布"执行完"不等于"活着"——生产发布流程跑完后必须做上线后验证,结果追加 RELEASES.md:

  • 按本次 feature 的波及面清单(无则关键路径),在真实生产环境逐项冒烟一遍
  • Web → 真实域名访问关键流;小程序 → 正式版关键流;App → 商店过审后真机安装验证(OTA 则热更到达验证)
  • 记录格式:线上验证: 通过({N}项) / 异常({具体项})——异常立即执行回滚预案并按 bug 回流
  • 不做上线后验证的发布记录视为未完成(验证闭环的最后一环,不许止于"发出去了")

凭证纪律

  • 凭证只从环境变量 / 密钥管理读取
  • 不得要求用户在对话中粘贴密钥,不得将凭证写入任何文件或日志

常见坑

问题处理
部署失败第一大原因:环境变量缺失部署前核对清单(步骤 2),缺失上报不猜值
迁移与旧代码不兼容导致部署窗口报错先兼容性迁移(加列)随本次发布,清理式迁移(删列)随下次发布
前端先于后端上线,调用不存在的接口严格按依赖序:后端/合约 → 前端
回滚了代码忘了回滚迁移回滚预案必须同时覆盖代码与迁移,不可逆迁移显式标注
Serverless 冷启动导致冒烟误报健康检查先预热一次再计入结果

输出

  • 部署结果(环境、版本、迁移执行情况)
  • 冒烟验证结果(通过项 / 失败项及处理)
  • RELEASES.md 追加记录
  • 需人工决策的事项(生产发布、基础设施变更)

© kingxiaozhe, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/cm-devops-engineer of kingxiaozhe/cm-workflow.

Open the folder on GitHubat commit 971c231

Compare with similar skills

Cm Devops Engineer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cm Devops Engineer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cm Devops Engineer this skillkingxiaozhe/cm-workflow104—~1kAutomated safety check: PassMIT
Expo Cicd WorkflowsCherryHQ/cherry-studio-app4k6 repos~870Automated safety check: PassMIT
Find Skillsrohitg00/skillkit1.5k—~1.2kAutomated safety check: PassApache-2.0
Eas Workflowsexpo/skills2.7k—~1.2kAutomated safety check: PassMIT
React Native Best Practicesvercel-labs/openreview1.7k17 repos~1.1kAutomated safety check: PassMIT
UI Kitten Showcase QAakveo/react-native-ui-kitten11k—~2.3kAutomated safety check: PassMIT

Similar skills

  • Expo Cicd Workflows

    CherryHQ/cherry-studio-app

    Helps understand and write EAS workflow YAML files for Expo projects.

    4k GitHub starsUsed in 6 repos~870 tokens
    MobileAuto-check passed
  • Find Skills

    rohitg00/skillkit

    Discovers, searches, and installs skills from multiple AI agent skill marketplaces (400K+ skills) using the SkillKit CLI.

    1.5k GitHub stars~1.2k tokensUpdated 4 mo ago
    MobileAuto-check passed
  • Eas Workflows

    expo/skills

    Official

    Helps understand and write EAS workflow YAML files for Expo projects.

    2.7k GitHub stars~1.2k tokensUpdated today
    DevOps & CloudAuto-check passed
  • React Native Best Practices

    vercel-labs/openreview

    Official

    A prioritized rule set for React Native and Expo apps covering list performance, animation, navigation, UI patterns, state, rendering, monorepos and configuration.

    1.7k GitHub starsUsed in 17 repos~1.1k tokens
    MobileAuto-check passed
  • UI Kitten Showcase QA

    akveo/react-native-ui-kitten

    Drives the Expo showcase app in an iOS simulator with agent-device to sweep every UI Kitten component in all theme and mapping combinations, reporting regressions with evidence.

    11k GitHub stars~2.3k tokensUpdated yesterday
    MobileAuto-check passed
  • Expo Module

    bbplayer-app/BBPlayer

    Guide for creating and writing Expo native modules and views using the Expo Modules API (Swift, Kotlin, TypeScript).

    1.1k GitHub starsUsed in 3 repos~1.4k tokens
    MobileAuto-check passed

More from kingxiaozhe/cm-workflow

All 23 skills in this repo
  • Cm AI

    kingxiaozhe/cm-workflow

    用户明确说“规格已确认,开始实现”或要求按已审批 CM specs 开发时使用。新任务默认由 JS workflow 驱动 N1-N8,完成开发、独立审查、QA 与文档同步;模糊点子、未审规格和单独一句“继续”不能触发编码批准。

    104 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Cm Check

    kingxiaozhe/cm-workflow

    用户说“检查工作流是否安装正确”“为什么找不到 cm 命令”时使用。默认查询 npm 稳定版,有新版自动升级已管理的 CM 安装,再检查插件、核心 Skills、兼容包装与模板引用;不测试或修改业务代码。

    104 GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Cm Fix

    kingxiaozhe/cm-workflow

    用户说“修复这个可复现 bug”或要求根据失败报告修代码时使用。执行红灯测试、根因定位、最小修复、独立审查和回归;尚未确认的问题先用 cm-test,新功能和架构重设计转交 cm-prd。

    104 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Cm Idea

    kingxiaozhe/cm-workflow

    用户说“我有个点子”“帮我梳理产品”或需要先聊清目标时使用。通过逐题访谈整理为可交给 cm-prd 的 PRD;已有明确需求文档时改用 cm-prd,不写代码、不拆开发任务。

    104 GitHub stars~419 tokensUpdated yesterday
    Auto-check passed
  • Cm Init

    kingxiaozhe/cm-workflow

    用户说“第一次接管这个项目”“分析仓库并生成项目规则”时使用。分析已有代码并生成 Codex AGENTS.md 与 CM/Claude 兼容规则;仅适用于非空存量项目,不创建脚手架、不承接普通代码修改。

    104 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Cm Miniprogram Engineer

    kingxiaozhe/cm-workflow

    微信小程序开发工程师 Skill,执行小程序开发任务,自动适配项目技术栈(原生小程序/Taro/uni-app 等),支持 Figma/Stitch 设计稿还原与云开发

    104 GitHub stars~1.2k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Cm Devops Engineer

What does Cm Devops Engineer do?

发布/运维工程师 Skill,执行 staging 部署、冒烟验证、发布记录与生产发布待决清单编制,自动适配部署栈;生产发布与基础设施变更强制人工确认. Cm Devops Engineer is an agent skill from kingxiaozhe/cm-workflow.

When should I use Cm Devops Engineer?

Cm Devops Engineer fits situations like: mobile work in your project.

How do I install Cm Devops Engineer in Claude Code?

Run `npx skills add kingxiaozhe/cm-workflow --skill cm-devops-engineer -a claude-code`. Or copy the skill folder (skills/cm-devops-engineer in kingxiaozhe/cm-workflow) into .claude/skills/cm-devops-engineer in your project. Claude Code loads it when a task matches its description.

How do I install Cm Devops Engineer in Codex?

Run `npx skills add kingxiaozhe/cm-workflow --skill cm-devops-engineer -a codex`. Or copy the skill folder (skills/cm-devops-engineer in kingxiaozhe/cm-workflow) into .agents/skills/cm-devops-engineer in your project. Codex loads it when a task matches its description.

Can I use Cm Devops Engineer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add kingxiaozhe/cm-workflow --skill cm-devops-engineer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cm-devops-engineer, .gemini/skills/cm-devops-engineer, .github/skills/cm-devops-engineer and .opencode/skills/cm-devops-engineer in your project.

What does Cm Devops Engineer need to run?

Going by SKILL.md and its folder, Cm Devops Engineer needs the command-line tools its instructions call (eas). Our summary lists: Docker.

Does Cm Devops Engineer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cm Devops Engineer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cm Devops Engineer use?

Cm Devops Engineer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cm Devops Engineer use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cm Devops Engineer?

Skills that share tags, products or a category with Cm Devops Engineer: Expo Cicd Workflows (CherryHQ/cherry-studio-app, 4k stars), Find Skills (rohitg00/skillkit, 1.5k stars), Eas Workflows (expo/skills, 2.7k stars) and React Native Best Practices (vercel-labs/openreview, 1.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cm Devops Engineer?

kingxiaozhe (a GitHub user) maintains it in kingxiaozhe/cm-workflow, which has 104 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 6, 2026.

Source: kingxiaozhe/cm-workflow on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.