원클릭으로
review-fix
Fetch PR/MR review comments (GitHub or GitLab), plan fixes, get Codex review, then implement, verify, commit and push.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Fetch PR/MR review comments (GitHub or GitLab), plan fixes, get Codex review, then implement, verify, commit and push.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | review-fix |
| description | Fetch PR/MR review comments (GitHub or GitLab), plan fixes, get Codex review, then implement, verify, commit and push. |
| user_invocable | true |
| argument_description | [PR/MR number] — optional, auto-detects from current branch if omitted |
Fetches unresolved review comments from a GitHub PR or GitLab MR, builds a fix plan, sends it through Codex review, presents it to the user for approval, implements the fixes, verifies everything passes, and commits+pushes.
/review-fix 144)Determine whether this is a GitHub or GitLab repo by inspecting the remote URL:
git remote get-url origin
github.com → GitHub mode (use gh CLI)gitlab → GitLab mode (use glab CLI).gitlab-ci.yml (GitLab) or .github/ directory (GitHub)Set PLATFORM=github or PLATFORM=gitlab for the rest of the skill.
Detect the PR. If no number given:
gh pr view --json number -q '.number'
Fetch review comments:
gh api "repos/{owner}/{repo}/pulls/<PR_NUMBER>/reviews"
gh api "repos/{owner}/{repo}/pulls/<PR_NUMBER>/comments"
Filter to human reviewer comments only:
bot, [bot], github-actions)Detect the MR. If no number given:
glab mr view --json iid -q 2>/dev/null | python3 -c "import json,sys; print(json.load(sys.stdin)['iid'])"
Fallback: glab mr list --source-branch=$(git branch --show-current)
Detect the project path from the remote URL. URL-encode it (replace / with %2F).
Fetch all notes and discussions:
glab api "projects/<encoded-path>/merge_requests/<MR_ID>/notes?per_page=100&sort=asc"
glab api "projects/<encoded-path>/merge_requests/<MR_ID>/discussions?per_page=100"
Filter to human reviewer comments only:
system: true notesbot, gsa_, ci-)resolved: false or standalone notes## <PR #N | MR !N> — Review Comments
Found <N> reviewer comments (<M> unresolved):
### From @<reviewer1>
1. [file:line] <summary of comment>
2. [general] <summary of comment>
### From @<reviewer2>
...
If there are no unresolved comments, inform the user and stop.
Read the relevant source files mentioned in the comments. Also read surrounding context to understand the codebase patterns.
Create a fix plan addressing each reviewer comment. For each comment:
Present the plan:
## Fix Plan
### 1. <Comment summary> (@reviewer)
**Fix:** <what you'll do>
**Files:** <file paths>
### 2. ...
/codex-review skill to send the fix plan through OpenCode/Codex for review.The plan has been reviewed by Codex and is ready for implementation.
Shall I proceed with these changes?
Run all verification scripts. Check package.json for available scripts and run whichever of these exist:
# Run each that exists in package.json scripts
npm run check 2>&1
npm run lint 2>&1
npm run format 2>&1
npm run build 2>&1
npm run test 2>&1
Stage all changed files (only files you modified, not unrelated changes):
git add <specific files>
Create a single commit with a message referencing the PR/MR:
fix: address PR #<number> review feedbackfix: address MR !<number> review feedbackBody:
- <brief summary of fix 1>
- <brief summary of fix 2>
- ...
Push to the remote branch:
git push origin HEAD
Confirm by showing the push result and a link to the PR/MR.
Interact with local Chrome browser session (only on explicit user approval after being asked to inspect, debug, or interact with a page open in Chrome)
Send the current plan to OpenCode CLI with GPT-5.3-Codex for iterative review. Claude and OpenCode go back-and-forth until the plan is approved.
Create a new Cloudflare Workers project with modern tooling. Use when the user wants to start a new Cloudflare Worker, create a Workers project, or scaffold a CF worker.
Set up a git worktree for a repo in ~/Documents/Github, branch off origin/main, research context, then plan and implement together with the user.