用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/FlorianBruniaux/claude-code-ultimate-guide --skill validate-changes命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | validate-changes |
| description | Evaluate staged changes using LLM-as-a-Judge before committing |
| effort | medium |
| disable-model-invocation | true |
Evaluate staged git changes using the output-evaluator agent to catch issues before committing.
Run git diff --cached --stat to see what's staged. If nothing is staged, inform the user and exit.
Run git diff --cached to get the complete diff of all staged changes.
Use the Task tool to launch the output-evaluator agent with the diff:
Evaluate these staged changes for correctness, completeness, and safety.
Return a JSON verdict with scores and issues.
Changes:
[paste the git diff here]
Based on the evaluation result:
If APPROVE:
If NEEDS_REVIEW:
If REJECT:
If user confirms, create the commit using the standard commit flow.
/validate-changes
Output:
Evaluating 3 staged files...
VERDICT: NEEDS_REVIEW
Scores:
Correctness: 8/10
Completeness: 6/10
Safety: 9/10
Issues Found:
[MEDIUM] src/api/handler.ts:45
Missing error handling for network failures
[LOW] src/utils/format.ts:12
Consider adding input validation
Suggestion: Add try-catch around the fetch call in handler.ts
How would you like to proceed?
1. Fix issues and re-evaluate
2. Commit anyway (1 medium issue)
3. Abort
This command invokes an LLM evaluation, which uses API tokens:
For automatic evaluation on every commit, see pre-commit-evaluator.sh hook.
This command is the manual alternative when you want control over when evaluation runs.