Skip to content
Back to skills

Vet

ASecurity

提交前把关。在看不到对话的子代理里,拿 diff 逐句核对 commit message 草稿和新增注释,标出指不到 diff 的句子、仓库里找不到的编号、讲开发经过的句子、只复述代码的注释、非中文,以及被改动弄得不再成立的旧注释、找不到调用方的新增兼容或回退分支。cm 在 commit 前自动调;写代码中途想查注释和分支也可直接敲

  • 4 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 19, 2026
developmentbash

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add zhaojiannet/canon --skill vet --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vet?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vet
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zhaojiannet-vet/badge)](https://www.skillsdirectory.com/skills/zhaojiannet-vet)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vet
description: 提交前把关。在看不到对话的子代理里,拿 diff 逐句核对 commit message 草稿和新增注释,标出指不到 diff 的句子、仓库里找不到的编号、讲开发经过的句子、只复述代码的注释、非中文,以及被改动弄得不再成立的旧注释、找不到调用方的新增兼容或回退分支。cm 在 commit 前自动调;写代码中途想查注释和分支也可直接敲
argument-hint: "[message 草稿;不带则只查注释和分支]"
allowed-tools: Bash(${CLAUDE_SKILL_DIR}/diff.sh:*)
---

diff 已经写进文件:

!`${CLAUDE_SKILL_DIR}/diff.sh`

1. 上面一行以 `ERROR:` 开头时,只输出这一行,然后结束。不要读这个文件。
2. 用 Agent 工具启动 `flow:vetter`,在前台运行,等它返回。prompt 照下面的格式写,第一行原样照抄上面那行输出,草稿原样照抄调用参数,不改写,不附加别的说明:

   ```
   <上面那行输出>
   message 草稿:
   $ARGUMENTS
   ```

3. 把它的输出原样给我,不改写,不加总结。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.