com um clique
pr-ci-followup
// Use when pushing code to a GitHub PR or GitLab MR, opening/updating a PR/MR, checking CI pipelines, or responding to PR/MR review comments; continue monitoring until CI and actionable comments are resolved.
// Use when pushing code to a GitHub PR or GitLab MR, opening/updating a PR/MR, checking CI pipelines, or responding to PR/MR review comments; continue monitoring until CI and actionable comments are resolved.
| name | pr-ci-followup |
| description | Use when pushing code to a GitHub PR or GitLab MR, opening/updating a PR/MR, checking CI pipelines, or responding to PR/MR review comments; continue monitoring until CI and actionable comments are resolved. |
Use this skill after pushing code to a branch that has, or should have, an open GitHub pull request or GitLab merge request.
Do not stop immediately after git push. Continue until the PR/MR is in a stable handoff state: CI is passing or externally blocked, and all actionable reviewer or bot comments have been handled.
If the user explicitly asked only to push and not to watch, still perform at least one CI/comment check after the push unless they told you not to.
Prefer gh when available.
Useful commands:
git branch --show-current
gh pr status
gh pr view --json number,url,headRefName,baseRefName,state,isDraft,mergeStateStatus,reviewDecision,statusCheckRollup,comments,reviews,latestReviews
gh pr checks --watch
gh pr checks
gh run list --branch "$(git branch --show-current)" --limit 5
gh run view <run-id> --log-failed
gh pr view --comments
When a check fails, inspect the failed job log with gh run view --log-failed before editing. If gh pr checks --watch times out or cannot stream, poll gh pr checks periodically.
For comments:
Prefer glab when available. Load the gitlab skill for GitLab-specific tool details when needed.
Useful commands:
git branch --show-current
glab mr status
glab mr view
glab mr view --comments
glab ci status
glab ci view
glab pipeline list --branch "$(git branch --show-current)"
glab pipeline ci view
If glab cannot expose enough detail, use the GitLab MCP tools or GitLab web/API tooling available in the current environment. Inspect failed jobs before editing.
For discussions:
Keep polling practical and bounded:
When Solo timers are available, use them for long waits instead of busy-waiting in the active turn. Schedule a self-contained reminder to re-check CI and comments for the PR/MR.
Before final response, confirm:
Final response should include the PR/MR URL when known, CI state, comment state, and any remaining blocker.