~ / rigs / Jose-Ribeir / claude-code-review-gate

Jose-Ribeir/claude-code-review-gate

Native Claude Code AI code review + blocking pre-commit gate on your Claude subscription. Per-file reviewer subagents, severity/confidence verdicts. open-code-review, done compliantly.

↗ GitHub ★ 3 Apache-2.0 updated 1d ago project Claude Code Claude plugin
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~536 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
0/5
No committed guardrails · details
Quality 0/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit Jose-Ribeir/claude-code-review-gate/agents ./rig-claude-code-review-gate/agents
$ npx degit Jose-Ribeir/claude-code-review-gate/commands ./rig-claude-code-review-gate/commands
$ npx degit Jose-Ribeir/claude-code-review-gate/skills ./rig-claude-code-review-gate/skills
$ npx degit Jose-Ribeir/claude-code-review-gate/hooks ./rig-claude-code-review-gate/hooks

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit Jose-Ribeir/claude-code-review-gate/skills/review .claude/skills/review
$ curl -fsSL --create-dirs -o .claude/agents/code-filter.md https://raw.githubusercontent.com/Jose-Ribeir/claude-code-review-gate/main/agents/code-filter.md
$ curl -fsSL --create-dirs -o .claude/agents/code-resolver.md https://raw.githubusercontent.com/Jose-Ribeir/claude-code-review-gate/main/agents/code-resolver.md
$ curl -fsSL --create-dirs -o .claude/agents/code-reviewer.md https://raw.githubusercontent.com/Jose-Ribeir/claude-code-review-gate/main/agents/code-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/context-spotter.md https://raw.githubusercontent.com/Jose-Ribeir/claude-code-review-gate/main/agents/context-spotter.md
$ curl -fsSL --create-dirs -o .claude/agents/deep-reviewer.md https://raw.githubusercontent.com/Jose-Ribeir/claude-code-review-gate/main/agents/deep-reviewer.md
$ curl -fsSL --create-dirs -o .claude/agents/docs-checker.md https://raw.githubusercontent.com/Jose-Ribeir/claude-code-review-gate/main/agents/docs-checker.md

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 16.2k rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(./.env.*)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(git push --force:*)",
      "Read(**/*.pem)",
      "Read(.env)",
      "Read(~/.aws/**)",
      "Read(**/*.key)",
      "Read(**/.env.*)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Bash(rm -rf *)",
      "Bash(sudo *)",
      "Bash(sudo:*)",
      "Bash(rm -rf /)",
      "Bash(git push -f:*)",
      "Read(.env.*)",
      "Bash(git reset --hard*)",
      "Bash(rm -rf /*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(gh pr merge *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(gh pr merge:*)",
      "Bash(gh pr create *)",
      "Bash(git reset --hard:*)",
      "Bash(npm publish:*)",
      "Bash(git rebase *)"
    ]
  }
}

Skills (1)

Subagents (6)

code-filterIndependent falsify pass for review-gate findings. Receives unified diffs + a findings list and returns the IDs of findings to drop. Spawned by the /review-gate:review orchestrator after the code-revi
code-resolverRe-checks prior findings after a code fix. Given the prior findings (untrusted), diffs of newly changed files, per-finding since-raised diffs, and the tip worktree, decides whether each finding was ad
code-reviewerReviews all changed files in a change set in an isolated context and returns structured findings as JSON. Spawned by the /review-gate:review orchestrator. Not for general questions.
context-spotterReads a trimmed diff and returns the context demands the change structurally requires — callers to check, docs to load, event couplings, references to resolve — plus a risk score. Never returns findin
deep-reviewerDeep slow-lane review of a risk-escalated change set. Browses the repo for minutes with read-only tools (including read-only git log/show for artifact probes) and returns structured findings as JSON.
docs-checkerDocumentation enforcement pass for review-gate. Receives the push diffs plus the repository's documentation context (untrusted) and returns findings in the exact code-reviewer shape when the change co

Slash commands (2)

/dismiss/doctor

Similar rigs

copied ✓