用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/imbue-ai/code-guardian --skill reviewer-autofix-enable命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | reviewer-autofix-enable |
| description | Enable the autofix gate in .reviewer/settings.local.json |
| allowed-tools | Bash(jq *) |
This gate is configured per reviewed directory. By default it edits the root repo's .reviewer/settings.local.json. If the user named a target directory below, edit that directory's .reviewer/settings.local.json instead: prefix each .reviewer/settings.local.json path in the command with <dir>/. Each reviewed repo (the root plus any stop_hook.additional_git_directories) keeps its own local settings.
Target directory (optional):
$ARGUMENTS
Run this command:
jq -n --argjson existing "$(cat .reviewer/settings.local.json 2>/dev/null || echo '{}')" '$existing * {"autofix": {"is_enabled": true}}' > .reviewer/settings.local.json.tmp && mv .reviewer/settings.local.json.tmp .reviewer/settings.local.json
Then confirm that the autofix gate has been enabled.