pre-commit-review

仓库创建 2025年9月25日最近提交 7 小时前SkillHot 收录 20 天前
▸ 精选理由

把多种审查器并行运行在本地 diff 上,能在提交前一次性发现质量与覆盖问题。

▸ 风险提示

需要读取仓库代码并可能执行本地分析脚本,注意本地执行风险与敏感代码暴露。

这个 Skill 做什么

在提交前对未暂存的 git diff 启动多位专责审查代理,汇总问题提示开发者修正。

在正式 git add 之前对当前未暂存的 diff 启动多位专责审查代理,一次性把 CLAUDE.md 违规、潜在静默失败、注释失效和测试覆盖缺口等问题列出来。适合在完成一个功能块准备提交前把问题提前发现并修正。特点是并行多检查器汇总发现但不会自动提交,保留开发者最后决定权。

▸ 展开 SKILL.md 英文原文

Run pr-review-toolkit agents over the current `git diff` before staging a commit. Catches CLAUDE.md violations, silent failures, comment rot, and test-coverage gaps in one shot.

开发编程代码审查pre-commit质量保障通用
44
Stars
36
Forks
0
仓库内 Skill
+7
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/syswonder/robonix/dev/.claude/skills/pre-commit-review/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/syswonder/robonix/dev/.claude/skills/pre-commit-review/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# pre-commit-review

Run this **after** finishing a logical chunk of work and **before** staging
to git. It launches several specialised review agents in parallel on the
current unstaged diff, surfaces their findings to the user, and stops
short of committing — the human still decides whether to fix and commit.

## When to use

- A function / file / feature is done and you're about to `git add`.
- After resolving a bug fix, before pushing.
- After any rename / refactor that touched more than a couple of files.

Skip for trivial edits (typo fixes, comment-only changes) — the agent
fan-out cost isn't worth it.

## What it does

1. Read `git diff HEAD` (staged + unstaged) so the agents see the 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有