agentleFS
wilstowilsto/claude-code-starter-kit/.claude/skills/ci-watch/SKILL.md

ci-watch

Skill0 starsChanged 8 months agoMITView on GitHub

Check GitHub Actions CI status for the current branch. Reports pass/fail/in-progress. Designed to be used standalone or with /loop: "/loop 2m ci-watch". Triggers: "check CI", "watch build", "is CI passing", "CI status", after any git push.

  • Commits and pushes

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

CI Watch — GitHub Actions Status Check

Purpose

Single-purpose skill: check the current CI run status and report it clearly. Designed to be called once (standalone) or on a loop (/loop 2m ci-watch) after a git push.

Application

Step 1 — Get current branch

git branch --show-current

Step 2 — Fetch CI run status

gh run list --limit 1 --json status,conclusion,name,headBranch,createdAt,url

Step 3 — Interpret and report

statusconclusionReport
completedsuccessCI GREEN — all checks passed.
completedfailureCI RED — run failed. Show URL + failing step.
completedcancelledCI CANCELLED — run was cancelled.
in_progress—CI IN PROGRESS — still running.
queued—CI QUEUED — waiting for runner.

For failures, also run:

gh run view --log-failed

to show the specific failing step.

Step 4 — Advise

  • Green: "CI passed. Safe to continue."
  • Red: "CI failed on [step]. Fix before moving on. Run gh run view --log-failed for details."
  • In progress: "Still running. Run /ci-watch again in ~1 min, or use /loop 2m ci-watch."

Loop Integration

To monitor continuously after a push:

/loop 2m ci-watch

The loop auto-stops when you cancel it (Ctrl+C). Suggest stopping once CI reaches a terminal state (success or failure).

Common Pitfalls

Pitfall 1: No runs found

Symptom: gh run list returns empty. Fix: The push may not have triggered CI (no workflow file, or push to a branch with no triggers). Check .github/workflows/.

Pitfall 2: Multiple concurrent runs

Symptom: --limit 1 returns a run from a different branch. Fix: Filter by branch: gh run list --limit 1 --branch $(git branch --show-current)

References

  • Related skill: /commit — suggests /ci-watch in step 9e post-push
  • Related rule: workflow.md — Loop & Monitoring section
  • Agent: ci-monitor — haiku agent that executes the gh CLI calls above

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.