Skip to content

Add code-reviewer agent - READ-ONLY quality gate#688

Draft
Canato wants to merge 1 commit intocnt/claudefrom
cnt/claude-code-reviewer
Draft

Add code-reviewer agent - READ-ONLY quality gate#688
Canato wants to merge 1 commit intocnt/claudefrom
cnt/claude-code-reviewer

Conversation

@Canato
Copy link
Copy Markdown
Member

@Canato Canato commented Apr 19, 2026

Code Reviewer Agent

This PR adds a READ-ONLY code review agent with strict role boundaries.

Key Features

  • READ-ONLY: Cannot Write/Edit (prevents self-approval)
  • Structured Reviews: CRITICAL/HIGH/MEDIUM/LOW severity levels
  • Evidence-Based: All findings cite file:line references
  • Trade-off Analysis: Evaluates architectural decisions
  • Success Criteria: Explicit completion criteria

Agent Configuration

  • Level: 3 (Complex analysis)
  • Model: Sonnet
  • disallowedTools: Write, Edit
  • Role Separation: Reviews only, never implements

Review Template

Standardized output format with:

  • Summary (2-3 sentences)
  • Positive findings
  • Issues by severity with remediation steps
  • Checklist status
  • Trade-offs table
  • File references

Depends On


Wrote by Claude

- READ-ONLY agent (disallowedTools: Write, Edit)
- Reviews code quality, style, API compatibility, security
- Structured output with CRITICAL/HIGH/MEDIUM/LOW severity
- File:line references for all findings
- Trade-off analysis and recommendations

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant