git-review-merge-request-ja
Purpose
Section titled “Purpose”Fetches and reviews the diff of an open GitHub Pull Request (PR) or GitLab Merge Request (MR) specified by URL or number. Only when you explicitly approve, it posts the review result once, as a general comment. It also supports GitHub Enterprise and Self-Managed GitLab.
It does not create, change, or delete local files, run tests, fix code, commit, or push.
How to start it
Section titled “How to start it”Put /skill:git-review-merge-request-ja <URL or number> at the start of your input and send it. As the argument, specify exactly one PR / MR to review, by URL (for example, https://github.com/<owner>/<repo>/pull/<number>) or by number (for example, #<number> or !<iid>). You can specify only a number when you are in a Git repository whose origin points to the target repository.
This skill is not manual-start only. The Agent may start it on its own judgment based on your request. Its description says to use it when you ask for a review by specifying the URL or number of a PR / MR, and not to use it to review the diff of the current branch.
When to use it
Section titled “When to use it”- Use it when you want an existing PR / MR reviewed and the result left on the PR / MR as a comment.
- To review the diff of the current branch, use git-branch-code-review-ja instead of this skill.
Example input and result
Section titled “Example input and result”Example input:
/skill:git-review-merge-request-ja #42
According to the skill’s instructions, the result is as follows.
- If the PR / MR is not open, it reports that the PR / MR is out of scope and ends.
- It shows the service and host it determined in one line, and then outputs the review report, the merge decision, and the confirmation for posting the comment, in that order.
- In the review report, it checks the diff for security, correctness, performance, maintainability, tests, and documentation, in that order. It numbers the findings and lists them by file, in the order Critical (🔴), Needs improvement (🟡), and Suggestion (🟢). When the diff is large, it prioritizes files with a large impact, excludes auto-generated files, and writes the excluded range in the report.
- In the merge decision, it chooses one of Mergeable (✅), Mergeable after fixes (⚠️), or Merge not recommended (❌), with the reason. If there is even one Critical finding, it does not choose Mergeable.
- Its answers are in Japanese.
- Finally, it asks whether to post the review result to the PR / MR as one general comment. Only when you explicitly approve, for example with “はい” (yes), it adds the line “(このコメントは JAC Harness の git-review-merge-request-ja により投稿されました)” (This comment was posted by git-review-merge-request-ja of JAC Harness) to the end of the review report and the merge decision, and posts it once. If you decline, it ends without posting; if your answer is ambiguous, it shows the confirmation again.
- If posting fails, it does not retry automatically. It shows the body of the comment and tells you to post it manually.
- It does not approve, request changes, comment on lines, or change labels or the state.
Position in the AI-driven development workflow
Section titled “Position in the AI-driven development workflow”It is the 10th of the 11 steps in the AI-driven development workflow. The previous step is git-push-and-create-merge-request-ja, and the next step is PR merge. For the order of the steps, see “Order in the AI-driven development workflow” in Bundled skills.