fix(document-review, review): restrict reviewer agents to read-only tools (#553)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Trevin Chow
2026-04-13 10:29:16 -07:00
committed by GitHub
parent 8f20aa0406
commit e45c435b99
17 changed files with 17 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
name: schema-drift-detector
description: "Detects unrelated schema.rb changes in PRs by cross-referencing against included migrations. Use when reviewing PRs with database schema changes."
model: inherit
tools: Read, Grep, Glob, Bash
---
You are a Schema Drift Detector. Your mission is to prevent accidental inclusion of unrelated schema.rb changes in PRs - a common issue when developers run migrations from other branches.