~ / rigs / taewanu / pr-review-agent

taewanu/pr-review-agent

Automated PR review under your own GitHub identity, built on Claude Code

↗ GitHub ★ 1 MIT updated 4d ago project Claude Code
stack: pytestPython
share on X
ARCHETYPE
Orchestrator
A bench of specialised subagents. The main agent mostly delegates.
CONTEXT TAX · EVERY TURN
~2.5k tokens
Moderate · median rig: 2.3k · breakdown
GUARDRAILS
3/5
Blocks destructive commands · Pre-tool screening hook · No YOLO mode · details
Quality 38/100 Guardrails v2

Copy this rig

# review before running: this installs third-party code
$ npx degit taewanu/pr-review-agent/.claude ./rig-pr-review-agent  # inspect, then merge into .claude/

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 taewanu/pr-review-agent/.claude/skills/code-review .claude/skills/code-review
$ npx degit taewanu/pr-review-agent/.claude/skills/codebase-design .claude/skills/codebase-design
$ npx degit taewanu/pr-review-agent/.claude/skills/diagnosing-bugs .claude/skills/diagnosing-bugs
$ npx degit taewanu/pr-review-agent/.claude/skills/domain-modeling .claude/skills/domain-modeling
$ npx degit taewanu/pr-review-agent/.claude/skills/git-guardrails-claude-code .claude/skills/git-guardrails-claude-code
$ npx degit taewanu/pr-review-agent/.claude/skills/grill-with-docs .claude/skills/grill-with-docs
$ npx degit taewanu/pr-review-agent/.claude/skills/grilling .claude/skills/grilling
$ npx degit taewanu/pr-review-agent/.claude/skills/handoff .claude/skills/handoff
$ npx degit taewanu/pr-review-agent/.claude/skills/implement .claude/skills/implement
$ npx degit taewanu/pr-review-agent/.claude/skills/improve-codebase-architecture .claude/skills/improve-codebase-architecture
$ npx degit taewanu/pr-review-agent/.claude/skills/prototype .claude/skills/prototype
$ npx degit taewanu/pr-review-agent/.claude/skills/setup-matt-pocock-skills .claude/skills/setup-matt-pocock-skills
$ npx degit taewanu/pr-review-agent/.claude/skills/tdd .claude/skills/tdd
$ npx degit taewanu/pr-review-agent/.claude/skills/to-spec .claude/skills/to-spec
$ npx degit taewanu/pr-review-agent/.claude/skills/to-tickets .claude/skills/to-tickets
$ npx degit taewanu/pr-review-agent/.claude/skills/triage .claude/skills/triage
$ npx degit taewanu/pr-review-agent/.claude/skills/wayfinder .claude/skills/wayfinder
$ curl -fsSL --create-dirs -o .claude/agents/review-agent-code.md https://raw.githubusercontent.com/taewanu/pr-review-agent/main/.claude/agents/review-agent-code.md
$ curl -fsSL --create-dirs -o .claude/agents/review-agent-editor.md https://raw.githubusercontent.com/taewanu/pr-review-agent/main/.claude/agents/review-agent-editor.md
$ curl -fsSL --create-dirs -o .claude/agents/review-agent-fix-check.md https://raw.githubusercontent.com/taewanu/pr-review-agent/main/.claude/agents/review-agent-fix-check.md
$ curl -fsSL --create-dirs -o .claude/agents/review-agent-intent.md https://raw.githubusercontent.com/taewanu/pr-review-agent/main/.claude/agents/review-agent-intent.md
$ curl -fsSL --create-dirs -o .claude/agents/review-agent-reply.md https://raw.githubusercontent.com/taewanu/pr-review-agent/main/.claude/agents/review-agent-reply.md

Merge into .claude/settings.json (project) or ~/.claude/settings.json (user). Hook commands reference scripts in the source repo — copy those too.

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command",
            "command": "\"$CLAUDE_PROJECT_DIR\"/.claude/hooks/block-dangerous-git.sh"
          }
        ]
      }
    ]
  }
}

Skills (17)

Subagents (5)

review-agent-codeCode role (ADR 0038): reads the diff, the surrounding code, and the repo's conventions, quarantined from every author claim. One of the two generators; findings union with the intent role's before the
review-agent-editorEditorial pass over a draft review before it posts. Re-reads the PR at HEAD independently, then drops weak or inaccurate findings, sharpens the bodies it keeps, and reconciles the summary to the survi
review-agent-fix-checkJudge whether a prior pr-review-agent Finding's specific defect is gone at the PR's current HEAD, with no Operator reply to go on. Re-reads the flagged location at HEAD on a fresh context and returns
review-agent-intentIntent role (ADR 0035, extended by ADR 0038). Reads what the change says it does, including its stated reasons and its refactor claims, against what the diff actually does. Runs alongside review-agent
review-agent-replyReply to operator inline replies on prior pr-review-agent findings. Verifies each fix claim against the current file at HEAD: a confirmation when the file matches the operator's claim, or a push-back

Hooks (1)

eventmatcherruns
PreToolUseBash"$CLAUDE_PROJECT_DIR"/.claude/hooks/block-dangerous-git.sh

Similar rigs

copied ✓