review-agent-setup

Configure human approval gates for AI review actions with Cedar policies.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/Jhabbig/Habbig --skill review-agent-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-agent-setup
Source: https://github.com/Jhabbig/Habbig/tree/main/.claude/plugins/wshobson/review-agent-governance/skills/review-agent-setup
Command: npx skills add https://github.com/Jhabbig/Habbig --skill review-agent-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents an AI agent from taking review-surface actions without explicit human approval, reducing the risk of unreviewed comments, merges, release actions, or CI changes.

Core Features & Use Cases

  • Human-in-the-loop gating: Requires a deliberate approval window before Claude Code can post reviews, comments, merge pull requests, or close issues.
  • Auditable receipts: Produces signed approval and denial records so every attempted action can be verified later.
  • Policy enforcement: Uses Cedar-based rules to block sensitive actions and support locked-down or compliance-focused workflows.
  • Practical use case: A maintainer can approve a single PR review session, let the agent act, and then close the window immediately after the action completes.

Quick Start

Install the plugin, copy the default policy into your project, create the receipts and approval files, and then let the agent operate only during an explicitly opened approval window.

Frequently Asked Questions about review-agent-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I require human approval before an AI agent merges pull requests?

Cedar policy checks enforce human-in-the-loop approval gates by blocking sensitive AI review actions like posting comments or merging pull requests. Cedar rules evaluate whether an approval window is explicitly opened before allowing Claude Code to execute tool calls.

How do I set up an approval gate for Claude Code pull request reviews?

To set up an approval gate for Claude Code reviews, install the plugin, copy the default Cedar policy into your project, and create the receipts and approval files. The agent can then only operate during an explicitly opened approval window.

Can I use Cedar policy to block AI agents from editing CI workflows?

Yes, you can use Cedar policy to block AI agents from editing CI and protected branch workflows. Cedar-based rules enforce compliance-focused workflows by preventing sensitive actions unless explicit human approval is granted.

How do I generate auditable receipts for AI pull request review actions?

Auditable receipts for AI review actions are generated automatically as signed approval and denial records. Every attempted tool call by the agent produces a signed receipt so the action can be verified later for compliance.

What are the limitations of using approval windows for AI agent gating?

Approval windows require active human management to open and close, meaning the agent cannot act autonomously outside that window. Maintainers must deliberately close the approval window immediately after the review action completes to maintain security.

Does human-in-the-loop gating work for triaging issues and publishing releases?

Human-in-the-loop gating works for triaging issues and publishing releases by requiring a deliberate approval window before Claude Code can perform these actions. Signed receipts and Cedar policy checks ensure every attempted action is auditable.