hay-kot/dotfiles/ci-watch

Claude Code and agent skill by hay-kot/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Monitor CI and review comments for the current branch's PR. Use with /loop to automatically fix failing CI checks or address PR review comments at a set interval. Trigger when the user says "watch CI", "monitor my PR", "fix CI in a loop", "babysit my PR", "keep an eye on CI", or similar phrases. Exits cleanly when CI passes and no unresolved comments remain.

Install

npx vskill@latest install hay-kot/dotfiles/ci-watch

SKILL.md

CI Watch

Monitor a PR's CI and review comments. Each loop iteration takes exactly one action (fix CI, address comments, or exit) and lets the loop re-fire to re-check.

Step 1: Fetch PR Status

Run the status script, passing the PR number if one was provided as an argument:

bash
bash ~/.claude/skills/ci-watch/scripts/pr-status.sh [PR_NUMBER_IF_PROVIDED]

Parse the JSON output. If the script exits non-zero or produces invalid JSON, print the raw output and exit.

Step 2: Check PR State

Read pr_state from the JSON:

  • no_pr → print "No open PR found for current branch." and exit
  • closed or merged → print "PR #{pr_number} is {pr_state}. Nothing to watch." and exit

Step 3: Act on action_needed

`none` Print: PR #{pr_number} ({pr_title}): CI green, no pending comments. Done. Exit. (Tell the loop to stop.)

`wait` Print: PR #{pr_number} ({pr_title}): CI is {ci_status}. Waiting for results. List any failing_checks names if present. Exit. (Loop re-fires at the configured interval.)

`ci` Spawn a sub-agent with this prompt (fill in values from the JSON):

Fix the failing CI checks for PR #{pr_number}: "{pr_title}"
Failing checks:
{for each failing_check: "- {name}: {url}"}
Inspect the failure output at the URLs above. Identify the root cause and fix it
in the source code.
Do NOT commit. Leave changes staged or unstaged. Report:
- What was failing and why
- What you changed
- Files modified

`comments` Spawn a sub-agent with this prompt (fill in values from the JSON):

Address the review comments on PR #{pr_number}: "{pr_title}"
Review comments:
{for each review_comment:
"- {author} on {file}:{line}
{body}
"
}
For each comment:
1. Navigate to the file and line
2. Understand what the reviewer is asking
3. Make the change if it is correct and reasonable
4. If a comment is unclear or you disagree, note it in your report but skip it
Do NOT commit. Leave changes staged or unstaged. Report:
- Each comment and how you addressed it (or why you skipped it)
- Files modified

Step 4: Review and Commit

After the sub-agent reports back:

  1. Read git diff --staged and git diff to review all changes
  2. If changes look correct, stage relevant files and commit:

``bash git add <files> git commit -m "<imperative summary of what was fixed>" ``

  1. Print a brief summary of what was fixed/addressed
  2. Exit. (Loop re-fires to re-check CI status.)

One action per iteration. Never fix CI and address comments in the same run.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
12
Repository forks
2
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hay-kot/dotfiles/ci-watch/badge)](https://verified-skill.com/skills/hay-kot/dotfiles/ci-watch)

Something wrong with this skill or its page? Tell us.