claude-issue-solver 1.23.0 → 1.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/review.js +12 -22
- package/package.json +1 -1
package/dist/commands/review.js
CHANGED
|
@@ -167,10 +167,10 @@ Review the code changes in this PR. Look for:
|
|
|
167
167
|
6. Performance problems
|
|
168
168
|
|
|
169
169
|
## How to Leave Feedback
|
|
170
|
-
Use the gh CLI to post
|
|
170
|
+
Use the gh CLI to post comments with suggestions. For each issue you find:
|
|
171
171
|
|
|
172
172
|
\`\`\`bash
|
|
173
|
-
gh pr
|
|
173
|
+
gh pr comment ${prNumber} --body "**File: path/to/file.ts**
|
|
174
174
|
|
|
175
175
|
Description of the issue...
|
|
176
176
|
|
|
@@ -182,21 +182,16 @@ Description of the issue...
|
|
|
182
182
|
|
|
183
183
|
The \`suggestion\` code block will create a "Commit suggestion" button on GitHub.
|
|
184
184
|
|
|
185
|
-
For a final review summary
|
|
185
|
+
For a final review summary:
|
|
186
186
|
\`\`\`bash
|
|
187
|
-
gh pr
|
|
187
|
+
gh pr comment ${prNumber} --body "## Review Summary
|
|
188
188
|
|
|
189
189
|
- Issue 1: ...
|
|
190
190
|
- Issue 2: ...
|
|
191
|
-
|
|
192
|
-
Overall: [APPROVE/REQUEST_CHANGES/COMMENT]"
|
|
191
|
+
"
|
|
193
192
|
\`\`\`
|
|
194
193
|
|
|
195
|
-
|
|
196
|
-
\`\`\`bash
|
|
197
|
-
gh pr review ${prNumber} --approve --body "LGTM! Code looks good."
|
|
198
|
-
gh pr review ${prNumber} --request-changes --body "Please address the issues above."
|
|
199
|
-
\`\`\`
|
|
194
|
+
Note: You cannot approve or request changes on your own PR. Just post suggestions as comments.
|
|
200
195
|
|
|
201
196
|
## PR Diff
|
|
202
197
|
${diffContent ? `\n\`\`\`diff\n${diffContent.slice(0, 50000)}\n\`\`\`\n` : 'Run `gh pr diff ' + prNumber + '` to see the changes.'}
|
|
@@ -406,10 +401,10 @@ Review the code changes in this PR. Look for:
|
|
|
406
401
|
6. Performance problems
|
|
407
402
|
|
|
408
403
|
## How to Leave Feedback
|
|
409
|
-
Use the gh CLI to post
|
|
404
|
+
Use the gh CLI to post comments with suggestions. For each issue you find:
|
|
410
405
|
|
|
411
406
|
\`\`\`bash
|
|
412
|
-
gh pr
|
|
407
|
+
gh pr comment ${pr.number} --body "**File: path/to/file.ts**
|
|
413
408
|
|
|
414
409
|
Description of the issue...
|
|
415
410
|
|
|
@@ -421,21 +416,16 @@ Description of the issue...
|
|
|
421
416
|
|
|
422
417
|
The \`suggestion\` code block will create a "Commit suggestion" button on GitHub.
|
|
423
418
|
|
|
424
|
-
For a final review summary
|
|
419
|
+
For a final review summary:
|
|
425
420
|
\`\`\`bash
|
|
426
|
-
gh pr
|
|
421
|
+
gh pr comment ${pr.number} --body "## Review Summary
|
|
427
422
|
|
|
428
423
|
- Issue 1: ...
|
|
429
424
|
- Issue 2: ...
|
|
430
|
-
|
|
431
|
-
Overall: [APPROVE/REQUEST_CHANGES/COMMENT]"
|
|
425
|
+
"
|
|
432
426
|
\`\`\`
|
|
433
427
|
|
|
434
|
-
|
|
435
|
-
\`\`\`bash
|
|
436
|
-
gh pr review ${pr.number} --approve --body "LGTM! Code looks good."
|
|
437
|
-
gh pr review ${pr.number} --request-changes --body "Please address the issues above."
|
|
438
|
-
\`\`\`
|
|
428
|
+
Note: You cannot approve or request changes on your own PR. Just post suggestions as comments.
|
|
439
429
|
|
|
440
430
|
## PR Diff
|
|
441
431
|
${diffContent ? `\n\`\`\`diff\n${diffContent.slice(0, 50000)}\n\`\`\`\n` : 'Run `gh pr diff ' + pr.number + '` to see the changes.'}
|