跳到正文
cccskills
免费在 GitHub 公开

gz-cli-audit

Use to verify every CLI command has its manpage, headings and index entry.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md2.0 KB
  • agents/openai.yaml184 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

gz cli audit

Overview

Check that every CLI command's documentation exists and agrees with the parser. gz cli audit reads the command roster in config/doc-coverage.json and checks:

  • each command with a manpage surface has docs/user/manpages/<slug>.md, whose first line is # gz <command> and which docs/user/manpages/index.md links;
  • every gz command in the README ## Quick Start block parses against the live CLI;
  • cross-coverage: each command discovered from the parser source has a manpage, an index entry, a reference in the operator runbook and in the governance runbook, and a handler docstring, unless the manifest sets that surface to false; a deprecated verb must instead be absent from both runbooks; a manpage with no matching command is an orphan;
  • each long flag is named in its manpage, and the manpage's usage block does not bracket a required flag as optional or show a valueless flag taking a value.

It is read-only. It exits 0 with CLI audit passed. and exits 1 when it lists any issue. In an adopter project with no config/doc-coverage.json it skips with exit 0; in gzkit's own tree a missing manifest is an issue. gz check runs it as the CLI audit step.

Workflow

  1. Run uv run gz cli audit, or add --json for {valid, issues, cross_coverage}.
  2. On exit 1, fix each named surface: write or retitle the manpage, add its index link, reference the command in the runbook the issue names, add the handler docstring, correct the Quick Start line, or make the usage block match the parser. Remove an orphaned manpage only when its command is gone.
  3. Re-run until it exits 0, then summarize what changed.

Example

uv run gz cli audit
uv run gz cli audit --json

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月21日 更新

Use to file a GitHub issue when a finding needs its own work order or the operator asks; OBPI corrections stay in its change log.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月21日 更新

ghi-close

免费

Use to do the work a GHI describes, verify it and close the issue with evidence in one sweep.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月21日 更新

Use to triage the open GHI queue before planning or choosing what to pull; produces a ranked deliverable.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月21日 更新

git-sync

免费

Run the guarded repository sync ritual; commit-time hooks enforce the cheap gates and the pre-push hook runs gz check.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月21日 更新

git-sync

免费

Run the guarded repository sync ritual; the hooks your pre-commit config declares enforce the quality gates.

中文简介正在准备中。当前显示原文说明。

tvproductions/gzkit92026年10月21日 更新

查看 tvproductions 的全部技能

报告此技能的问题