dev-review-pr
Handle automated PR review feedback and merge when ready
от Nebulavenus★ 51 звезда на GitHub
Установить dev-review-pr в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Check GitHub Actions status, review feedback from automated reviewers (Code Rabbit, Claude), implement or respond to feedback, and merge the PR when all feedback is resolved.
MANDATORY: Run
/dev-local-reviewbefore every commit and push. This applies to step 5 (commit and push fixes) and any other commit made during this workflow. Do NOT push code that has not passed a local review. Skipping this step wastes a GitHub review round on issues that could have been caught locally for free.
The user provides:
- PR number: the pull request number to review (optional - infers from current branch)
Workflow
1. Check GitHub Actions status
Use gh pr checks <pr-number> to see if automated reviews are complete.
Important: This command returns exit code 8 if any checks are pending, and
outputs them to stderr. Handle both stdout and stderr to capture all check
statuses. Output format: check-name status duration url
If any checks are still running (pending):
- Report which checks are pending
- Exit with message: "GitHub Actions still running. Run this skill again when checks complete."
- DO NOT sleep or wait — let the user run the skill again later
If checks failed:
- Report which checks failed
- Show the failure URL from the output
- If markdown linting failed, offer to run it locally and fix issues (see step 1.5)
- Otherwise exit and ask user to investigate
If all checks passed:
- Proceed to step 2 (fetch review comments)
1.5. Fix markdown linting failures (if needed)
If the "Markdown Lint" check failed:
Run locally to see errors:
npx markdownlint-cli2 "**/*.md"Attempt auto-fix:
npx markdownlint-cli2 --fix "**/*.md"Manually fix remaining errors (especially MD040 - missing language tags)
Verify all errors resolved:
npx markdownlint-cli2 "**/*.md"Commit and push fixes:
git add <fixed-files> git commit -m "Fix markdown linting errors Co-Authored-By: Claude <[email protected]>" git pushExit and wait for checks to re-run — user should invoke
/dev-review-pragain after checks pass
1.7. Check CodeRabbit review status
CodeRabbit is configured to auto-pause after the first reviewed commit
(reviews.auto_review.auto_pause_after_reviewed_commits: 1 in .coderabbit.yaml). This means
after every push, CodeRabbit reviews once and then pauses. The "Reviews paused"
banner in the PR comment is normal and expected — it does NOT mean something
went wrong or that the review is missing.
Key insight: CodeRabbit completes its review before pausing. The review comments and review body are already available.
How to check:
Look at the CodeRabbit check status from step 1:
- If CodeRabbit shows
pass— the review is done. Proceed directly to step 2 to fetch the review comments. Ignore the "Reviews paused" banner — it just means future commits won't be auto-reviewed. - If CodeRabbit shows
pendingor no CodeRabbit check yet — the review hasn't started or is still running. Exit and ask the user to re-run later.
After implementing feedback and pushing fixes (step 5):
Since auto-pause is on, CodeRabbit will NOT automatically review the new commit. Post a single comment to request a fresh review:
gh pr comment <pr-number> --body "@coderabbitai review"
Do NOT post @coderabbitai resume — we want it to stay paused
after each review to avoid review thrashing from rapid commits.
If CodeRabbit shows "Currently processing new changes":
- The review is actively running. Exit and tell the user to re-run later.
- Do NOT fetch review comments yet — they may be incomplete.
1.7a. Detect clean re-review (no actionable comments)
After CodeRabbit re-reviews a fix commit, it sometimes finds nothing new to
flag. When this happens, CodeRabbit does not post an APPROVED review.
Instead, it posts an issue comment (not a review comment) containing:
No actionable comments were generated in the recent review.
The review state from step 6 may still show CHANGES_REQUESTED or
COMMENTED from a previous round — that's stale and misleading.
How to detect:
# Get the latest "no actionable comments" timestamp
NO_ACTION_TS=$(gh api repos/{owner}/{repo}/issues/{pr-number}/comments --paginate \
| jq -r -s '(add // []) | map(select(.user.login == "coderabbitai[bot]"
and (.body | contains("No actionable comments"))))
| sort_by(.created_at) | last | .created_at // empty')
# Get the latest CHANGES_REQUESTED or COMMENTED review timestamp
LAST_REVIEW_TS=$(gh api repos/{owner}/{repo}/pulls/{pr-number}/reviews --paginate \
| jq -r -s '(add // []) | map(select(.user.login == "coderabbitai[bot]"
and (.state == "CHANGES_REQUESTED" or .state == "COMMENTED")))
| sort_by(.submitted_at) | last | .submitted_at // empty')
# Compare timestamps (lexicogr
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл dev-review-pr?
Handle automated PR review feedback and merge when ready
Как установить скилл dev-review-pr?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл dev-review-pr запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…