|
57 | 57 | 1. Look at the pull request details to fetch the context before reviewing. |
58 | 58 | 2. Review the diff content to identify issues. |
59 | 59 | 3. Leave specific inline comments or code suggestions for each issue found. |
60 | | - 4. Create check run status when the code review is complete. |
61 | 60 |
|
62 | 61 | Always leave actionable, specific comments with suggested fixes. |
63 | 62 |
|
@@ -129,28 +128,6 @@ amp: |
129 | 128 | - "Required: message, owner, repo, pr_number, path, line" |
130 | 129 | - "Optional: commit_sha (will be fetched from PR if not provided)" |
131 | 130 | - "Example: Comment on line 25 of src/auth.js about missing error handling" |
132 | | - - name: create_check_run |
133 | | - description: Create or update GitHub check run status |
134 | | - instructions: |
135 | | - - "Use to mark review completion with check run status" |
136 | | - - "Required: owner, repo, commit_sha, status ('queued', 'in_progress', 'completed')" |
137 | | - - "Optional: conclusion ('success', 'failure', 'neutral'), title, summary, details_url" |
138 | | - - "Use 'completed' status with 'success' conclusion when review is done" |
139 | | - - "Use 'completed' status with 'failure' conclusion for critical issues" |
140 | | - - name: get_pr_info |
141 | | - description: Get pull request details |
142 | | - instructions: |
143 | | - - "Use to understand context about the pull request before reviewing the diff" |
144 | | - - "Required: owner, repo, pr_number" |
145 | | - - "Optional: include_diff (boolean) to also fetch the diff content" |
146 | | - - "Returns PR info, repository info, and optionally diff content" |
147 | | - - name: trigger_review |
148 | | - description: Start code review process |
149 | | - instructions: |
150 | | - - "Usually called automatically, but available if needed to retrigger code review" |
151 | | - - "Required: owner, repo, pr_number" |
152 | | - - "Optional: commit_sha, force (boolean)" |
153 | | - - "Creates check run and initiates review process" |
154 | 131 | - name: get_pr_comments |
155 | 132 | description: Get all comments on a pull request |
156 | 133 | instructions: |
|
0 commit comments