Skip to content
Development
Command

/watch-ci

Monitor CI/CD pipeline and automatically fix failures. Watches GitHub Actions runs and applies fixes when tests fail.

From plugin
fusengine-agents
2233 skills43 agents33 commands
Install
$ npx -y skills add fusengine/agents --agent claude-code

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/watch-ci

Context preview

What this command does when you run it.

Monitor CI/CD pipeline and automatically fix failures. Watches GitHub Actions runs and applies fixes when tests fail.

Command definition

watch-ci.md
description: Monitor CI/CD pipeline and automatically fix failures. Watches GitHub Actions runs and applies fixes when tests fail.
disable-model-invocation: false

Watch CI/CD

Monitor and auto-fix CI failures:

1. **Get Latest CI Run**:

   gh run list --limit 1
   gh run view [RUN_ID]

2. **Check Status**:

  • ✅ Success → Done
  • 🔄 In Progress → Wait (sleep 30s, check again)
  • ❌ Failed → Proceed to fix

3. **Analyze Failures**:

   gh run view [RUN_ID] --log-failed

Extract:

  • Which jobs failed
  • Error messages
  • Stack traces
  • File locations

4. **Categorize Failures**:

  • **Linter Errors**: Run linters locally, fix with sniper
  • **Test Failures**: Identify failing tests, fix logic
  • **Build Errors**: Resolve compilation/build issues
  • **Dependency Issues**: Update/fix package conflicts

5. **Apply Fixes**: Based on failure type:

  • > Use sniper for linter errors
  • > Use research-expert for framework-specific issues
  • Fix code logic for test failures
  • Update dependencies for build issues

6. **Verify Locally**:

   bun run lint
   bun test
   bun run build

7. **Commit and Push**:

   git commit -m "$(cat <<'EOF'
   fix(ci): Resolve CI pipeline failures

   - [Fix 1]
   - [Fix 2]


   EOF
   )"
   git push

8. **Monitor New Run**: Wait for new CI run and repeat if needed.

**Arguments**:

  • $ARGUMENTS can specify specific job to watch

**Example Usage**:

  • `/watch-ci` → Monitor latest CI run
  • `/watch-ci test` → Watch only test jobs
Read more
Ships withfusengine-agents

A plugin ecosystem that turns Claude Code into a supervised, multi-agent development environment.

Get the whole plugin, auto-invoked
Stats
22
Stars
1
Views
3
Forks
Active
Maintenance
CSS
Language
MIT
License
4d ago
Last commit
7mo ago
Created

Repo: fusengine/agents