From code-reviewer
Toggle the automatic `git push` review gate (config.auto_trigger).
How this skill is triggered — by the user, by Claude, or both
Slash command
/code-reviewer:code-reviewer-autodetect [true|false][true|false]This skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Toggle the PreToolUse hook that gates `git push` reviews.
Toggle the PreToolUse hook that gates git push reviews.
/code-reviewer:autodetect — print the current state./code-reviewer:autodetect true — enable the gate./code-reviewer:autodetect false — disable the gate.Read ~/.code-reviewer/config.json. If it doesn't exist, tell the user:
"code-reviewer hasn't been set up yet. Run
/code-reviewer:setupfirst." Then stop.
If $ARGUMENTS is empty, print the current auto_trigger value:
jq -r '.auto_trigger // true' ~/.code-reviewer/config.json
If $ARGUMENTS is true or false, update the config atomically:
tmp=$(mktemp)
jq --argjson v $ARGUMENTS '.auto_trigger = $v' ~/.code-reviewer/config.json > "$tmp" && mv "$tmp" ~/.code-reviewer/config.json
Then echo "Autodetect: $ARGUMENTS" to confirm.
If $ARGUMENTS is anything else, print a usage error.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub cfactolerin/code_reviewer --plugin code-reviewer