.claude/skills/wait-and-fix/SKILL.md
Wait for Copilot code review to complete, then address any review comments.
npx skillsauth add poitch/Ciel wait-and-fixInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Wait for the "Copilot code review" check to complete on a pull request, then address all review comments.
If the user provided a PR number as $ARGUMENTS, use that. Otherwise, detect the PR for the current branch:
gh pr view --json number,title,url,headRefName
If no PR is found, inform the user and stop.
First, get the Copilot code review workflow ID:
gh api repos/{owner}/{repo}/actions/workflows --jq '.workflows[] | select(.name == "Copilot code review") | .id'
If no workflow is found, inform the user that no Copilot code review workflow was detected and stop.
Then poll the most recent run for that workflow on the PR's head branch:
gh api repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs --jq '.workflow_runs[] | select(.head_branch == "refs/pull/{number}/head") | {id, status, conclusion}' | head -1
status is completed, proceed to Step 3.status is in_progress or queued, wait 60 seconds and poll again.Once the Copilot check has completed, invoke the pr-comments skill to address the comments:
/pr-comments {number}
development
Pull all file comments from the current GitHub pull request and address them by making code changes.
data-ai
Squash-merge the current PR, delete the branch, and switch back to main.
data-ai
Create a new branch from main, commit all changes, push, and open a pull request.
tools
Stage all changes, commit with an auto-generated message, and push to the remote.