Skip to content
ci-fixer logo

Ci Fixer

ci-fixer

Automated CI/CD pipeline fixer - watches CI, fixes errors locally, commits, and loops until green. Use when CI is failing and you want to automatically fix and verify changes.

SKILL.md

Full skill instructions

<objective> Autonomously fix CI/​CD pipeline failures by: 1. Watching CI runs in real-time 2. Analyzing failures (GitHub Actions, Vercel, Netlify, etc.) 3. Fixing errors and verifying locally (tests, linter - NO skipping, NO hacks) 4. Committing fixes and looping until pipeline is green 5. Cleaning up artifacts when done </​objective>

<quick_start> Basic usage (watch and fix CI):

/​ci-fixer

Auto mode (no confirmations):

/​ci-fixer --auto

With max attempts limit:

/​ci-fixer --max-attempts=3

The skill will:

  1. Detect your current branch's CI run
  2. Watch for failures
  3. Fix errors locally (tests, lint, build)
  4. Commit and push
  5. Loop until green ✅

CRITICAL: Zero tolerance for hacks - fixes must be proper, no @ts-ignore, eslint-disable, or test skipping. </​quick_start>

<parameters> | Flag | Description | |------|-------------| | `-a, --auto` | Auto mode - skip confirmations, auto-proceed | | `-m N, --max-attempts=N` | Maximum fix attempts before asking for help (default: 5) | </​parameters>

<state_variables> Persist throughout all steps:

VariableTypeDescription
{auto_mode}booleanSkip confirmations
{max_attempts}integerMax fix attempts (default: 5)
{current_attempt}integerCurrent attempt number
{run_id}stringCurrent GitHub Actions run ID
{branch}stringCurrent git branch
{last_commit_sha}stringSHA of commit being watched
{artifacts_dir}stringPath to artifacts: .claude/​data/​ci-{run_id}/
{error_source}stringSource of error (github-actions, vercel, netlify)
{error_logs}stringCaptured error logs
{fixes_applied}listList of fixes applied this session
{local_verified}booleanWhether local tests/​lint passed

</​state_variables>

<entry_point> Load steps/​step-00-init.md </​entry_point>

<step_files>

StepFileDescription
0step-00-init.mdParse flags, detect branch, setup state
1step-01-watch-ci.mdFind CI run, monitor status
2step-02-analyze-errors.mdFetch logs/​artifacts, analyze errors
3step-03-fix-locally.mdFix errors, verify locally
4step-04-commit-push.mdCommit and push, loop back
5step-05-cleanup.mdCleanup artifacts, show summary
</​step_files>

<workflow_diagram>

┌──────────┐    ┌──────────┐    ┌──────────┐    ┌──────────┐    ┌──────────┐
│   Init   │───►│  Watch   │───►│ Analyze  │───►│   Fix    │───►│  Commit  │
│ Step 0   │    │   CI     │    │  Errors  │    │ Locally  │    │  & Push  │
└──────────┘    └────┬─────┘    └──────────┘    └──────────┘    └────┬─────┘
                     │                                               │
                     │         ┌─────────────────────────────────────┘
                     │         │ (loop until green or max attempts)
                     │◄────────┘
                     │
                ┌────┴────┐    ┌──────────┐
                │ SUCCESS │───►│ Cleanup  │
                │ or STOP │    │ Step 5   │
                └─────────┘    └──────────┘

</​workflow_diagram>

<artifacts_storage> Artifacts are stored in .claude/​data/​ci-{run_id}/:

.claude/​data/​ci-{run_id}/
├── github/
│   ├── failed-logs.txt      # Failed job logs
│   └── artifacts/           # Downloaded artifacts
├── vercel/
│   ├── deployment.json      # Deployment info
│   └── logs.txt             # Build/​runtime logs
├── netlify/
│   └── build-logs.txt       # Build logs
└── summary.md               # Error analysis summary

</​artifacts_storage>

<core_principles> <zero_tolerance_policy> ZERO TOLERANCE FOR HACKS

If you can't fix it properly, ASK FOR HELP. Never bypass or hack.

  1. NEVER skip tests - All tests must pass locally before committing
  2. NEVER hack around issues - Fix the root cause, don't disable checks
  3. NEVER use bypass flags - No --no-verify, --skip, @ts-ignore, eslint-disable
  4. NEVER disable rules - Don't add to .eslintignore, don't lower strictness
  5. Verify locally first - Always run tests/​lint locally before pushing
  6. Minimal changes - Only fix what's broken, don't refactor unrelated code
  7. Clear commits - Each fix should have a descriptive commit message
  8. Clean up - Delete artifacts when workflow completes

Forbidden hacks include: @ts-ignore, eslint-disable, .skip, as any, --no-verify, --legacy-peer-deps, commenting out tests, changing assertions to match wrong output, adding files to ignore lists. </​zero_tolerance_policy> </​core_principles>

<success_criteria>

  • CI pipeline status successfully monitored
  • Errors analyzed and root cause identified
  • Fixes applied locally and verified (all tests/​lint passing)
  • Changes committed with clear messages
  • CI pipeline green ✅ after fixes
  • Artifacts cleaned up
  • No hacks or bypasses used
  • Maximum attempts limit respected </​success_criteria>
<references> - [CLI Commands](references/cli-commands.md) - GitHub, Vercel, Netlify CLI reference - [Troubleshooting](references/troubleshooting.md) - Common issues and solutions </​references>

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View