review-fix
/review-fix
Fixes the comments on the current PR , Greptile, human reviewers, failing CI. USE WHEN user says 'fix the review comments', 'address the feedback', 'fix the PR', 'resolve the review threads', or there is an open PR with unresolved review comments or red CI. Reads review threads via gh CLI, classifies actionable vs nit, applies fixes, pushes commits, resolves resolved threads in GitHub UI. NOT FOR opening a new PR (use /ship) or reviewing someone else's PR (use /pr-review).
- Author
- mo-cmyk ↗
- Repository
- mazarbul ↗
- Licence
- Apache-2.0
- Last repository change
- 31.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 31.10.2026, without references to retired models or APIs.
Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.
What it does and when to use it
Fixes the comments on the current PR , Greptile, human reviewers, failing CI. USE WHEN user says 'fix the review comments', 'address the feedback', 'fix the PR', 'resolve the review threads', or there is an open PR with unresolved review comments or red CI. Reads review threads via gh CLI, classifies actionable vs nit, applies fixes, pushes commits, resolves resolved threads in GitHub UI. NOT FOR opening a new PR (use /ship) or reviewing someone else's PR (use /pr-review).
Triggers from the description
Arguments
/review-fix [PR-number]
Original author description
Fixes the comments on the current PR , Greptile, human reviewers, failing CI. USE WHEN user says 'fix the review comments', 'address the feedback', 'fix the PR', 'resolve the review threads', or there is an open PR with unresolved review comments or red CI. Reads review threads via gh CLI, classifies actionable vs nit, applies fixes, pushes commits, resolves resolved threads in GitHub UI. NOT FOR opening a new PR (use /ship) or reviewing someone else's PR (use /pr-review).
How it works
- Steps
- Gotchas
SKILL.md preview
---
name: review-fix
description: Fixes the comments on the current PR , Greptile, human reviewers, failing CI. USE WHEN user says 'fix the review comments', 'address the feedback', 'fix the PR', 'resolve the review threads', or there is an open PR with unresolved review comments or red CI. Reads review threads via gh CLI, classifies actionable vs nit, applies fixes, pushes commits, resolves resolved threads in GitHub UI. NOT FOR opening a new PR (use /ship) or reviewing someone else's PR (use /pr-review).
allowed-tools: Bash, Read, Write, Edit, Grep, Glob, Agent
argument-hint: [PR-number]
---
Triage and resolve all review findings on the current PR. Pre-production (0.x) project , **breaking changes are acceptable; prioritize correctness over backwards compatibility**.
## Steps
**Phase 1 , Triage**
If `$ARGUMENTS` is a PR number, use it; otherwise `gh pr view --json number`.
Fetch all open review comments AND CI failure logs:
```bash
PR=$(gh pr view --json number -q .number)
# Review thread comments (line-level)
gh api repos/{owner}/{repo}/pulls/$PR/comments --paginate \
--jq '.[] | {id, author: .user.login, path, line, body, in_reply_to_id}'
# Review summary comments
gh pr view $PR --json reviews --jq '.reviews[] | {author: .author.login, state, body, submittedAt}'
# CI failures
gh pr checks $PR --json name,state,link,bucket --jq '.[] | select(.bucket=="fail")'
```
Classify every finding as one of:
1. **True positive** , A real problem that should be fixed.
2. **False positive** , Not actually an issue (write one-sentence justification).
3. **Ambiguous** , Unclear whether real; needs deeper investigation.
4. **Intentional / out of scope** , Valid concern but not applicable here (explain why).
Present the triage as a markdown summary table **before making any changes**. Columns: `# | Author | Location | Class | Rationale | Action`.
**Phase 2 , Resolve Ambiguous Findings**
For any finding classified Ambiguous, spawn a team of agents IN PARALLEL via the Agent tool:
```
Agent({ subagent_type: "Explore",
description: "Investigate Greptile/reviewer finding #N",
prompt: "..." })
```
Each agent researches the codebase, related code paths, and the relevant best-practice source. Agents reach a consensus. Report the conclusion + reasoning, then reclassify the finding as true or false positive. Update the triage table.
**Phase 3 , Fix True Positives**
For each confirmed true positive, apply the fix following the authoritative standard for that layer:
- Proto/API: Google AIPs, Protobuf Style Guide, project CLAUDE.md
- Go: Google Go Style Guide, idiomatic Go, project conventions
- Frontend: Next.js docs, React 19, Geist/shadcn/TanStack/Connect-ES
- **General**: prefer patterns already established in this codebase
If multiple true positives are independent and touch different files, spawn parallel Agent calls (one per file group) to fix them concurrently. Group related findings that touch the same files.
**Phase 4 , Verify**
After all fixes:
- `mise run lint` (Go)
- `# (no frontend currently) && pnpm tsc --noEmit` (if web/ touched)
- `mise run test` (Go)
- `# (no frontend currently)` (if web/ touched)
Confirm no new issues were introduced.
**Phase 5 , Push & Comment**
```bash
git add <specific paths>
git commit -m "fix: address review feedback"
git push
```
Reply to each thread you addressed with a one-line explanation of the change. If this is a Greptile-only review fix, **prefer `/greptile` over this skill** , it also resolves threads in the UI which `/review-fix` does not do automatically.
For non-Greptile threads (human reviewers), don't mark threads resolved automatically , that's the reviewer's call.
---
**Never force-push. Never bypass `--no-verify`. Pre-production rules: prioritize correctness over backward compatibility.**
## Gotchas
- _(empty)_
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · mo-cmyk/mazarbul | 100 | Apache-2.0 |
| eternalllight/tgc-skills | 100 | MIT |
Database snapshot: 13.11.2026 · package version d14afce8b08f (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Similar skills
- 100greptile
Triages Greptile bot comments on the current PR and resolves UI threads as fixed-or-disagreed. USE WHEN user says 'triage Greptile on this PR', 'fix Greptile', 'address the Greptile comments', or there are open Greptile threads on the current PR. Reads Greptile findings via gh… - 100fix-pr
Reads all unresolved review comments and threads on a change (PR/MR) — and its failing CI checks, which count as feedback too — implements the fixes, pushes, and replies to each thread. Tracker- and host-agnostic — GitHub via gh is the factory default; docs/agents/code-host.md… - 100github-pr-review
Handles PR review comments and feedback resolution. Use when user wants to resolve PR comments, handle review feedback, fix review comments, address PR review, check review status, respond to reviewer, verify PR readiness, review PR comments, analyze review feedback, evaluate PR… - 100v1-address-review
Use when resolving existing PR review comments or threads. Triggers on "address review feedback", "fix review comments", or "resolve review threads". - 100address-pr-comments
Fetch open review comments on the current branch's PR (Greptile, human reviewers, etc.) and remediate each one — either by fixing the code, explaining why the comment does not apply, or flagging it for the user. Use when asked to "address PR comments", "fix Greptile findings",… - 90github:pr-comments
Fetch, reply to, and resolve review threads on a GitHub pull request. Use when checking what review feedback needs addressing, whether threads are resolved, replying to review comments, or clearing AI-reviewer threads after acting on them.