Release
jrswab/axe
Prepare code for release (version bumps, changelog, README updates) and create an annotated tag to trigger the GoReleaser workflow.
文档同步 Skill,开发完成后自动更新 README、.claude/ 配置、specs CHANGELOG,保持文档与代码一致
$ npx skills add kingxiaozhe/cm-workflow --skill cm-doc-syncer -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install kingxiaozhe/cm-workflow cm-doc-syncer --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/kingxiaozhe/cm-workflow.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cm-doc-syncer .claude/skills/cm-doc-syncer && rm -rf skills-srcUse ~/.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/
Install the "cm-doc-syncer" agent skill from https://github.com/kingxiaozhe/cm-workflow/tree/main/skills/cm-doc-syncer into .claude/skills/cm-doc-syncer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cm-doc-syncer", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/kingxiaozhe/cm-workflow/tree/main/skills/cm-doc-syncerType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add kingxiaozhe/cm-workflow --skill cm-doc-syncer -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install kingxiaozhe/cm-workflow cm-doc-syncer --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kingxiaozhe/cm-workflow.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/cm-doc-syncer .agents/skills/cm-doc-syncer && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "cm-doc-syncer" agent skill from https://github.com/kingxiaozhe/cm-workflow/tree/main/skills/cm-doc-syncer into .agents/skills/cm-doc-syncer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cm-doc-syncer", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kingxiaozhe/cm-workflow --skill cm-doc-syncer -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install kingxiaozhe/cm-workflow cm-doc-syncer --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kingxiaozhe/cm-workflow.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/cm-doc-syncer .cursor/skills/cm-doc-syncer && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "cm-doc-syncer" agent skill from https://github.com/kingxiaozhe/cm-workflow/tree/main/skills/cm-doc-syncer into .cursor/skills/cm-doc-syncer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cm-doc-syncer", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/kingxiaozhe/cm-workflow.git --path skills/cm-doc-syncer--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add kingxiaozhe/cm-workflow --skill cm-doc-syncer -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install kingxiaozhe/cm-workflow cm-doc-syncer --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kingxiaozhe/cm-workflow.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/cm-doc-syncer .gemini/skills/cm-doc-syncer && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "cm-doc-syncer" agent skill from https://github.com/kingxiaozhe/cm-workflow/tree/main/skills/cm-doc-syncer into .gemini/skills/cm-doc-syncer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cm-doc-syncer", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install kingxiaozhe/cm-workflow cm-doc-syncerInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add kingxiaozhe/cm-workflow --skill cm-doc-syncer -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/kingxiaozhe/cm-workflow.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/cm-doc-syncer .github/skills/cm-doc-syncer && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "cm-doc-syncer" agent skill from https://github.com/kingxiaozhe/cm-workflow/tree/main/skills/cm-doc-syncer into .github/skills/cm-doc-syncer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cm-doc-syncer", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add kingxiaozhe/cm-workflow --skill cm-doc-syncer -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install kingxiaozhe/cm-workflow cm-doc-syncer --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/kingxiaozhe/cm-workflow.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/cm-doc-syncer .opencode/skills/cm-doc-syncer && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "cm-doc-syncer" agent skill from https://github.com/kingxiaozhe/cm-workflow/tree/main/skills/cm-doc-syncer into .opencode/skills/cm-doc-syncer/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "cm-doc-syncer", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
cm-doc-syncer文档同步 Skill,开发完成后自动更新 README、.claude/ 配置、specs CHANGELOG,保持文档与代码一致
Cm Doc Syncer is an agent skill from kingxiaozhe/cm-workflow. 文档同步 Skill,开发完成后自动更新 README、.claude/ 配置、specs CHANGELOG,保持文档与代码一致
Its SKILL.md is about 1.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 Development, covering Changelog and release notes and Technical documentation. It works with Git. 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.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 82d43f0. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
gitFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Cm Doc Syncer loads about 1.1k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 310 words of instructions outside code blocks.
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.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
- **不得触碰文档之外的文件**:代码、配置、`.env*`、CI 一律只读;发现问题只上报「待人工」,不代修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.
The full file from kingxiaozhe/cm-workflow at commit 82d43f0, republished under its MIT licence (© kingxiaozhe). 310 words, ~1,089 tokens.
.claude/skills/cm-doc-syncer/SKILL.md (or your agent's skills folder).在所有开发任务完成后,自动同步更新项目文档。确保文档和代码保持一致。
由 /cm-ai 在最后任务的独立审查前调用;收口阶段只核验已审文档。
对每个代码项目,先读其 CLAUDE.md「版本控制」字段,按值选变更识别方式(显式分支,不得自行发明):
remote / local → git diff {基线}..HEAD 获取已提交候选;基线先取上一份 CHANGELOG 的 base-commit,无则取已确认的 scaffold/初始 commit。无法确认时记录基线缺口,改用下述本批次任务证据,不把全量文件当变更集none 或项目无 .git → 用本批次 handoff/diff 和开工快照定位文件,再核实当前内容;tasks 只确定任务清单,不能仅凭勾选项推断真实改动.git → 按 local 处理本轮范围是当前 specs 批次的全部 feature/task,恢复后仍按同一批次;不等于最后一个任务。 从有效批准清单、tasks 和各任务已有 handoff/diff 记录汇总变更路径;旧任务只读已绑定记录, 最后任务使用正在定稿的真实 diff。不能只凭 checkbox、时间、文件名或任意旧 Review 认定归属。
将本轮已提交差异与所有任务尚未提交的 staged、unstaged、新建/删除文件合并,按当前代码净变化去重。 早期任务已完成却仍未提交的改动属于本轮,不能因它出现在最后任务的开工快照里就当作用户原改动排除。 对照各任务开工快照和实际 diff 按片段排除用户原有改动;同文件混有他人修改、来源或批次不明时只报告缺口,不猜归属。
汇总仅用于读取;最后任务仍只写事先批准的文档范围,不重新修改旧任务源码、状态或凭证。 没有可信证据时明确“同步范围待确认”,不得按全量文件清单替代变更归属证明或宣称全部同步。
随后(与版本控制方式无关):
按 ../codebase-context/references/writeback.md 复用本次变更证据:更新相关章节,
没有地图时创建最小局部地图,项目指定文档优先。不得因目录不存在直接跳过,
不得触发全量 scan;所需文档必须在本任务批准范围内,结果进入同一 handoff 与 Review。
对每个代码项目的 README 进行精炼更新:
必须覆盖:
原则:
检查变更是否影响项目结构,保持 ≤150 行:
检查变更中是否出现了新的模式或约定,按下表判据决定(满足才建,不满足不建,无中间态):
| 变更特征 | 动作 |
|---|---|
新增 ≥2 个路由/接口文件(如 src/api/**) | 创建 rules/backend-api.md |
| 新增 migration 目录或 ORM 配置 | 创建 rules/database.md |
新增 contracts/** 或合约框架配置 | 创建 rules/smart-contract.md |
| 仅模型/工具文件、无 ORM | 约定并入最近的既有 rules,不另建 |
| 已有 rules 的 globs 与实际目录不符 | 更新 globs 路径 |
新建 rules 一律从当前 Skill 向上解析 workflow root,使用 {CM_WORKFLOW_ROOT}/templates/rules/{名称}.md 骨架(frontmatter 含 description + globs),模板不存在则参照项目内既有 rules 的格式。
本步完成后回到步骤 3 回填 CLAUDE.md 的 rules 引用列表(步骤 3 执行时 rules 尚未定稿,引用列表以本步结果为准)。
LESSONS.md 超过 50 条时执行归档:
{SPECS_DIR}/LESSONS-archive.md(全文保留)- {feature名} {N} 条 → archive),不逐条留行——逐条索引会让主文件列表项总数不降,归档失去防膨胀意义在 specs 文件夹下创建 CHANGELOG 文件,文件名日期取执行同步的当日(不是 feature 提交日),如 CHANGELOG-2026-04-12.md;同日重复执行则覆盖更新同名文件:
# 变更日志 — 2026-04-12
> base-commit: {本次同步时的 HEAD hash;版本控制 none 的项目写 none} # 下次同步的 diff 基线,步骤 1 读取
## Feature 1: {feature名}
### 新增
- {功能描述}
### 关键文件
- `{path}` — {说明}
### 架构决策
- {从 LESSONS.md 中提取的相关决策}
## Feature 2: {feature名}
...多次开发产生多个日期文件,形成完整的变更历史。
最后检查:
.env.example 一致发现不一致时按两态处理(修复方向一律以代码/配置为准改文档,不得反向改代码):
.env.example 缺失、脚本指向不存在的文件)→ 不修,在输出「一致性」行报「发现 N 处待人工」——doc-syncer 无权创建或修改文档之外的任何文件.env*、CI 一律只读;发现问题只上报「待人工」,不代修📝 文档同步完成
README: {更新/新建} {N} 个项目
CLAUDE.md: {更新/无变化}
Rules: {新增 N 个 / 更新 N 个 / 无变化}
CHANGELOG: {N} 个 feature
业务地图: {已更新/已建局部地图/无需更新/项目规则豁免/待同步} {路径或原因}
一致性: {PASSED / 有 N 处已修复 / 发现 N 处待人工} # 三态可并存,如「2 处已修复,1 处待人工」© kingxiaozhe, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/cm-doc-syncer of kingxiaozhe/cm-workflow.
Open the folder on GitHubat commit 82d43f0
Cm Doc Syncer 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Cm Doc Syncer this skillkingxiaozhe/cm-workflow | 104 | — | ~1.1k | Automated safety check: Notes | MIT | |
| Releasejrswab/axe | 896 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| CommitLennartHennigs/Button2 | 565 | — | ~562 | Automated safety check: Pass | MIT | |
| Qkeymapper Release NotesZalafina/QKeyMapper | 756 | — | ~1.3k | Automated safety check: Pass | GPL-3.0 | |
| Doc-Code Sync Checkfancyboi999/open-tag | 203 | — | ~1.7k | Automated safety check: Pass | Apache-2.0 | |
| CommitLennartHennigs/ESPRotary | 188 | — | ~590 | Automated safety check: Pass | MIT |
jrswab/axe
Prepare code for release (version bumps, changelog, README updates) and create an annotated tag to trigger the GoReleaser workflow.
LennartHennigs/Button2
Stage and commit current changes for Button2 — checks for needed CHANGELOG/README/CLAUDE.md updates, creates a branch if on master, writes a commit message, and commits
Zalafina/QKeyMapper
为 QKeyMapper 编写 README.md 的中文 release note,并默认联动 qkeymapper-readme-en-sync 定向同步更新英文版 READMEen.md。收集最近正式 release tag 之后的已提交更新,先展示中英双语完整草稿供审阅,批准实施后分阶段原子提交两个 README。用于发布说明、更新日志和中英文版本信息维护。
fancyboi999/open-tag
Reconciles documentation with code at the end of a change or as a periodic audit, following a repo rule that code changes and doc changes land in one commit.
LennartHennigs/ESPRotary
Stage and commit current changes for ESPRotary — checks for needed CHANGELOG/README/CLAUDE.md updates, creates a branch if on master, writes a commit message, and commits
alexeykrol/claude-code-starter
Фоновое обслуживание проекта: актуальность README, CHANGELOG, версии, .gitignore, метафайлов.
kingxiaozhe/cm-workflow
用户明确说“规格已确认,开始实现”或要求按已审批 CM specs 开发时使用。新任务默认由 JS workflow 驱动 N1-N8,完成开发、独立审查、QA 与文档同步;模糊点子、未审规格和单独一句“继续”不能触发编码批准。
kingxiaozhe/cm-workflow
用户说“检查工作流是否安装正确”“为什么找不到 cm 命令”时使用。默认查询 npm 稳定版,有新版自动升级已管理的 CM 安装,再检查插件、核心 Skills、兼容包装与模板引用;不测试或修改业务代码。
kingxiaozhe/cm-workflow
用户说“修复这个可复现 bug”或要求根据失败报告修代码时使用。执行红灯测试、根因定位、最小修复、独立审查和回归;尚未确认的问题先用 cm-test,新功能和架构重设计转交 cm-prd。
kingxiaozhe/cm-workflow
用户说“我有个点子”“帮我梳理产品”或需要先聊清目标时使用。通过逐题访谈整理为可交给 cm-prd 的 PRD;已有明确需求文档时改用 cm-prd,不写代码、不拆开发任务。
kingxiaozhe/cm-workflow
用户说“第一次接管这个项目”“分析仓库并生成项目规则”时使用。分析已有代码并生成 Codex AGENTS.md 与 CM/Claude 兼容规则;仅适用于非空存量项目,不创建脚手架、不承接普通代码修改。
kingxiaozhe/cm-workflow
微信小程序开发工程师 Skill,执行小程序开发任务,自动适配项目技术栈(原生小程序/Taro/uni-app 等),支持 Figma/Stitch 设计稿还原与云开发
Works with
Categories
文档同步 Skill,开发完成后自动更新 README、.claude/ 配置、specs CHANGELOG,保持文档与代码一致. Cm Doc Syncer is an agent skill from kingxiaozhe/cm-workflow.
Cm Doc Syncer fits situations like: tasks that involve Changelog and release notes; tasks that involve Technical documentation.
Run `npx skills add kingxiaozhe/cm-workflow --skill cm-doc-syncer -a claude-code`. Or copy the skill folder (skills/cm-doc-syncer in kingxiaozhe/cm-workflow) into .claude/skills/cm-doc-syncer in your project. Claude Code loads it when a task matches its description.
Run `npx skills add kingxiaozhe/cm-workflow --skill cm-doc-syncer -a codex`. Or copy the skill folder (skills/cm-doc-syncer in kingxiaozhe/cm-workflow) into .agents/skills/cm-doc-syncer in your project. Codex loads it when a task matches its description.
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-doc-syncer -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-doc-syncer, .gemini/skills/cm-doc-syncer, .github/skills/cm-doc-syncer and .opencode/skills/cm-doc-syncer in your project.
Going by SKILL.md and its folder, Cm Doc Syncer needs the command-line tools its instructions call (git).
SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.
Cm Doc Syncer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Cm Doc Syncer: Release (jrswab/axe, 896 stars), Commit (LennartHennigs/Button2, 565 stars), Qkeymapper Release Notes (Zalafina/QKeyMapper, 756 stars) and Doc-Code Sync Check (fancyboi999/open-tag, 203 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
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 9, 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.