You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/agents/code-reviewer.agent.md
+41-36Lines changed: 41 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,13 @@ handoffs:
13
13
- label: Apply Approved Remarks
14
14
agent: coder
15
15
prompt: |
16
-
Foreach remark in [REMARKS], apply only those that improve code quality without deviating from the detailed design for issue #{issue-id}
17
-
send: false
16
+
Foreach remark in report at [REVIEW_REPORT_PATH], apply only those that improve code quality without deviating from the detailed design for issue #{issue-id}
17
+
send: true
18
18
- label: Fix Failing Tests
19
19
agent: coder
20
20
prompt: |
21
-
Foreach failing test in [TESTS], fix the implementation code to build and to make the tests pass for issue #{issue-id}
22
-
send: false
21
+
Foreach failing test in [TESTS_LIST], fix the implementation code to build and to make the tests pass for issue #{issue-id}
22
+
send: true
23
23
---
24
24
25
25
# Code Reviewer Agent
@@ -47,29 +47,6 @@ This agent does NOT modify code — it produces structured review feedback.
47
47
- Every remark must explain **what** is wrong and **why**
48
48
- Suggest a fix direction without writing full implementation code
49
49
50
-
## Input Variables
51
-
-**issueId** (required): GitHub issue number — extracted via `#(\d+)`
52
-
-**fileList** (required): List of changed files to review (provided in prompt)
53
-
-**deviations** (optional): Deviations reported by coder (`none` or list)
54
-
55
-
## Prepared Prompts
56
-
57
-
```
58
-
@code-reviewer Review the implementation for issue #[NUMBER]
59
-
Files: [FILE-LIST]
60
-
Deviations: [DEVIATIONS-OR-NONE]
61
-
```
62
-
63
-
```
64
-
@code-reviewer Review only architecture compliance for issue #[NUMBER]
65
-
Files: [FILE-LIST]
66
-
```
67
-
68
-
```
69
-
@code-reviewer Review only unit tests for issue #[NUMBER]
70
-
Files: [FILE-LIST]
71
-
```
72
-
73
50
## Review Dimensions
74
51
75
52
The review covers five dimensions in order. Each dimension produces remarks categorized by severity.
@@ -219,17 +196,45 @@ In case of not being able to use the skill, report a error and produce a simple
219
196
- Does NOT run build or tests — relies on status provided by coder or reads existing results
220
197
- Does NOT review design documents — that is done by architect and detailed-designer
221
198
222
-
## Error Recovery
199
+
## Completion Protocol
200
+
201
+
After completing all review dimensions, output this block verbatim before triggering any handoff:
0 commit comments