Agent skill
debugging-ci-failures
Guidelines for diagnosing and fixing CI build failures. Claude should use this skill when investigating why a CI build failed.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/debugging-ci-failures
SKILL.md
Debugging CI Build Failures
When a CI build fails, follow these guidelines to diagnose and fix the issue correctly.
Read Before You Fix
- Read the FULL error message carefully - note the exact file/class mentioned
- Identify the exact line of code causing the failure
- Understand what that line is trying to do before proposing a fix
- If the error mentions a file not found, determine WHICH file (class? resource? config?)
- Reproduce locally if possible before implementing a fix
- Never assume the cause based on recent code you've seen - verify first
Common Mistakes to Avoid
- Don't assume based on recent changes: Just because you recently modified something doesn't mean it's the cause
- Don't confuse file types: A
FileNotFoundExceptionfor a.ymlfile is different from a missing.classfile - Don't implement fixes without understanding: If you can't explain exactly why the fix works, you don't understand the problem
Verification Steps
- After implementing a fix, run the same command that failed in CI
- Verify the specific test or task that failed now passes
- If CI fails again with the same error, your fix was wrong - go back to step 1
Pattern-Based Problems
When fixing issues caused by naming conventions or patterns:
- Search the entire codebase for similar occurrences before making any changes
- Fix ALL instances in a single commit
- Never commit partial fixes for pattern-based problems
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?