ci-watch-and-fix

Monitor GitHub Actions CI failures, extract logs, apply minimal fixes, and re-push changes.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/bketelsen/truenas-mcp --skill ci-watch-and-fix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ci-watch-and-fix
Source: https://github.com/bketelsen/truenas-mcp/tree/main/.gaai/core/skills/delivery/ci-watch-and-fix
Command: npx skills add https://github.com/bketelsen/truenas-mcp --skill ci-watch-and-fix

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures your code passes Continuous Integration (CI) checks by automatically detecting failures, extracting logs, applying minimal fixes, and re-pushing changes, preventing CI from blocking your delivery pipeline.

Core Features & Use Cases

  • Automated CI Monitoring: Actively watches GitHub Actions CI status after a Pull Request is created.
  • Failure Detection & Log Analysis: Identifies failing checks and analyzes their logs for root causes.
  • Automated Remediation: Applies small, targeted code fixes and retries CI.
  • Flaky Test Handling: Detects and retries suspected flaky tests with a single empty commit.
  • Escalation: If CI doesn't pass after 3 cycles or flaky retries, it generates a report and escalates.
  • Use Case: After creating a Pull Request for a new feature, this Skill will monitor the CI pipeline. If a test fails due to a minor syntax error, it will fix the error, push the change, and wait for CI to pass before you need to intervene.

Quick Start

Use the ci-watch-and-fix skill to monitor CI for pull request number 123 in the repository your-org/your-repo.

Frequently Asked Questions about ci-watch-and-fix

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically fix GitHub Actions CI failures on a pull request?

To automatically fix GitHub Actions CI failures, this skill monitors pull request checks, extracts logs, applies minimal code fixes, and re-pushes changes to resolve issues without manual intervention.

Can CI automation handle flaky tests in GitHub Actions?

Yes, CI automation can handle flaky tests in GitHub Actions by detecting suspected flaky failures and automatically retrying the checks with a single empty commit to clear the pipeline.

Do I need the GitHub CLI to automate continuous integration remediation?

Yes, you need the GitHub CLI installed and configured to automate continuous integration remediation, as the skill relies on it to monitor CI status and push fixes within a specified worktree path.

What happens when automated CI debugging fails to resolve the error?

When automated CI debugging fails to resolve the error after three remediation cycles or detects infrastructure failures, the process stops, generates a report, and escalates the issue for manual review.

What is the best way to prevent minor code errors from blocking continuous delivery?

The best way to prevent minor code errors from blocking continuous delivery is using automated monitoring to detect failing checks, analyze logs, and push targeted fixes to keep the pipeline clear.