From imbue-code-guardian
Enables code review stop hook in .reviewer/settings.local.json using jq. Takes optional shell expression for conditional enforcement (defaults to always).
npx claudepluginhub imbue-ai/code-guardian --plugin imbue-code-guardianThis skill is limited to using the following tools:
The user may provide a shell expression as an argument. If provided, use that as the `enabled_when` value. If not provided, default to `"true"` (always enforce).
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Guides building MCP servers enabling LLMs to interact with external services via tools. Covers best practices, TypeScript/Node (MCP SDK), Python (FastMCP).
Generates original PNG/PDF visual art via design philosophy manifestos for posters, graphics, and static designs on user request.
The user may provide a shell expression as an argument. If provided, use that as the enabled_when value. If not provided, default to "true" (always enforce).
Examples of expressions the user might provide:
true -- always enforcetest -n "${CI:-}" -- only in CI environmentstest "$(git rev-parse --abbrev-ref HEAD)" != "main" -- only on feature branchesRun this command, substituting the expression:
jq -n --argjson existing "$(cat .reviewer/settings.local.json 2>/dev/null || echo '{}')" --arg expr "<expression>" '$existing * {"stop_hook": {"enabled_when": $expr}}' > .reviewer/settings.local.json.tmp && mv .reviewer/settings.local.json.tmp .reviewer/settings.local.json
Then confirm that the stop hook has been enabled and show the configured expression.