Skip to content

Commit 306f29d

Browse files
committed
feat: make PR reviewer rules generic
- Remove hardcoded repository references from workflow.xml - Replace specific repo URL with generic pattern placeholders - Rules now work for any GitHub repository
1 parent 0ea81a1 commit 306f29d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.roo/rules-pr-reviewer/1_workflow.xml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
<step number="2">
2727
<name>Fetch Pull Request Information</name>
2828
<instructions>
29-
By default, review pull requests from the https://github.com/RooCodeInc/Roo-Code repository.
30-
3129
If the user provides a PR number or URL, extract the necessary information:
3230
- Repository owner and name
3331
- Pull request number
@@ -283,7 +281,7 @@
283281
- Avoid including internal evaluation terminology (e.g., scores or internal tags) in public comments.
284282

285283
When linking to specific lines or files, use full GitHub URLs relative to the repository, e.g.
286-
`https://github.com/RooCodeInc/Roo-Code/blob/main/src/api/providers/human-relay.ts#L50`.
284+
`https://github.com/[owner]/[repo]/blob/[branch]/[path/to/file]#L[line-number]`.
287285

288286
Present your findings as a numbered list organized by priority:
289287

0 commit comments

Comments
 (0)