Resolve PR/MR review comments with AI. Fetches a comment (or all open comments on the current PR/MR), applies the code fix, commits, pushes, and replies with the commit hash.
# Fix all open review comments on the current PR/MRgit fix-pr-comments# Fix a specific GitHub PR review commentgit fix-pr-comments https://github.com/owner/repo/pull/1#discussion_r123# Fix a specific GitLab MR commentgit fix-pr-comments https://gitlab.com/owner/repo/-/merge_requests/1#note_456# Fewer permission promptsgit fix-pr-comments --yolo
git fix-pr-comments
Resolve PR/MR review comments with AI. Fetches a comment (or all open comments on the current PR/MR), applies the code fix, commits, pushes, and replies with the commit hash.
Usage
Options
--yoloFeatures
This command shares a single source of truth with the
fix-pr-commentsskill — both use the same workflow, platform references, and helper scripts.Examples
Prerequisites
gh) or GitLab CLI (glab) installed and authenticatedpython3available to run the helper scriptsgit pr-ai config)