rule
review scope overrides
Honor explicitly provided base branches in review artifacts
prisma/prisma-next/blob/HEAD/.agents/rules/review-scope-overrides.mdcofficiallistedunreviewednot running here yet
Set up
Skills are installed by placing their folder where your agent loads skills.
Part of the collection prisma/prisma-next.
Copy the text of review-scope-overrides.mdc into the instructions file your agent reads (CLAUDE.md, AGENTS.md, .cursor/rules, …). Written for AI coding agents in general (from where the project keeps it; we have not run it).
README
synced Oct 14, 2026Review scope overrides
When producing local PR/branch review artifacts (walkthroughs, code reviews, design reviews), honor an explicitly-provided base/parent branch.
Rules
- If the user specifies a parent branch (e.g.
spec/prisma-next-psl-contract-authoring), use that as the base for the review range:origin/<base>...HEAD
- Do not “helpfully” substitute
origin/HEAD/origin/mainwhen a base is explicitly given. - If the base branch name is ambiguous (local vs remote), resolve it to
origin/<base>when possible and record the resolved range in the review artifacts.