Skip to content
Development
Skill

/zcf-update-docs

Bring docs/ (en, zh-CN, ja-JP) and AGENTS.md in line with code changes since the last release tag

From plugin
zcf
6.1k12 skills1 agent

Claude Code

$ npx -y skills add UfoMiao/zcf --skill zcf-update-docs --agent claude-code

SKILL.md

zcf-update-docs.SKILL.md
name: zcf-update-docs
description: Bring docs/ (en, zh-CN, ja-JP) and AGENTS.md in line with code changes since the last release tag
disable-model-invocation: true
allowed-tools: Read, Write, Edit, Grep, Glob, Bash(git:*), Bash(pnpm:*)

ZCF Update Docs

Find user-visible changes since the last tag and update the documentation that describes them.

Usage: `/zcf-update-docs [--check-only]`. With `--check-only`, report what is out of date and change nothing. Arguments: $ARGUMENTS

Steps

1. **Scope.** Last tag: `git describe --tags --abbrev=0`. List changed files with `git diff --name-only <tag>..HEAD` and read the diffs of the source files that the map below covers. Ignore test-only and internal refactor changes that do not alter behavior. 2. **Map code to pages.** For each user-visible change, open the matching page in `docs/en/guide/` and compare it with the code (commands, options, defaults, file paths, and strings from `packages/cli/src/i18n.ts`). For a changed string, find where its key is used (`rg "'<key>'" packages`) and check the page for that command or feature. Only pages touched by the changes need checking. 3. **Report or update.** With `--check-only`, list each mismatch as file, what the doc says, and what the code does, then stop. Otherwise fix `docs/en/` first, then make the same change in `docs/zh-CN/` and `docs/ja-JP/` so the three stay structurally parallel. Quote notices and errors with the wording in `i18n.ts` for each locale; the CLI has no Japanese strings, so `ja-JP` pages quote the English wording. Add new pages to each language's `SUMMARY.md` and the VitePress sidebar. Update `AGENTS.md` only if commands, layout or development rules changed. 4. **Verify.** Run `pnpm docs:build`; it fails on dead links and broken markdown. Fix any errors. 5. **Summarize** the pages changed and any mismatches you left alone and why.

Do not delete documented features unless the code shows they were removed. Keep brand names, URLs and command names identical across languages.

Code → documentation map

Paths are relative to `docs/<lang>/guide/`.

| Code | Page | |------|------| | `packages/core/src/schema/` | `config.md` | | `packages/cli/src/main.ts` (commands, options, exit codes) | `commands.md` | | `packages/core/src/adapters/<tool>.ts` | That tool's section of `tools.md` | | `packages/core/src/mirror.ts`, mirror handling in adapters | `mirrors.md` | | `packages/core/src/presets.ts`, `presets/providers.json` (format, not entries) | `providers.md` | | `packages/ui-kit/`, `packages/cli/src/tui/`, `packages/web/`, `packages/cli/src/server.ts` | `ui.md` | | `packages/core/src/io/` (backups), `notice.*` strings in `i18n.ts` | `troubleshooting.md` | | Supported tools, install or apply behavior | `index.md`, and the tools table in `docs/<lang>/index.md` | | `package.json` scripts, package layout | `contributing.md` |

Read more
@ufomiao
Ships withzcf

Zero-Config Code Flow for Claude code & Codex

6.1k12 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
6.1k
Star history of UfoMiao/zcf on GitHub, a chart by star-history.com

Other skills on zcf.

zcf-add-sponsor

zcf-add-sponsor

Quickly add a new corporate sponsor to ZCF — sponsor list by default, with optional API preset and documentation ad placements

@ufomiao@ufomiaoInstall Skill
zcf-pr

zcf-pr

Create a pull request for the current branch with a description based on the project PR template

@ufomiao@ufomiaoInstall Skill
zcf-release

zcf-release

Prepare a ZCF release with changesets, a bilingual changelog, a release branch and a pull request

@ufomiao@ufomiaoInstall Skill
git-clean-branches

git-clean-branches

Safely find and clean up merged or stale Git branches with dry-run mode and custom base/protected branches support

@ufomiao@ufomiaoInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about zcf-update-docs.

Which coding agents can use zcf-update-docs?
zcf-update-docs installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.