用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/imbue-ai/code-guardian --skill reviewer-blocking-enable命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | reviewer-blocking-enable |
| description | Restore the stop hook to blocking mode (default: block up to 3 times before letting through) |
Run this command to remove the max_consecutive_blocks override, restoring the default (3):
jq -n --argjson existing "$(cat .reviewer/settings.local.json 2>/dev/null || echo '{}')" '$existing | if .stop_hook then .stop_hook |= del(.max_consecutive_blocks) | if .stop_hook == {} then del(.stop_hook) else . end else . end' > .reviewer/settings.local.json.tmp && mv .reviewer/settings.local.json.tmp .reviewer/settings.local.json
Then confirm that the stop hook has been restored to blocking mode (default: 3 consecutive blocks before safety hatch).