Apply review-context.toml rules when a local agent reviews a patch
Categories
(Developer Infrastructure :: AI for Development, enhancement)
Tracking
(Not tracked)
People
(Reporter: dao, Unassigned)
References
Details
Only Review Helper reads review-context.toml. A developer who asks a local agent (e.g. Claude Code) to review a revision gets none of the context the rules name, so a team has to list its review guidance a second time, in a skill description that every session carries, to reach those reviews.
A local reader would take the revision's changed files, match them against the rules the way Review Helper does, and load the files the matching rules name. It could be a review skill that does this as its first step, or a hook that fires when a prompt names a revision. Either way the rules stay in one place, and local reviews cost no resident context.
desktop-theme skills are the first case (bug 2090689): their descriptions stay resident largely to catch local reviews. media-patch-review is a hand-written stand-in for the same gap in dom/media.
Description
•