ci-debug-workflow

Debug failing CI pipelines, containers, and reproduce bugs locally.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ci-debug-workflow" with this command: npx skills add spences10/claude-code-toolkit/spences10-claude-code-toolkit-ci-debug-workflow

CI Debug Workflow

Debug failing CI pipelines, containers, and reproduce bugs locally.

Trigger Patterns

  • "fix failing CI"

  • "debug this pipeline"

  • "why is CI red"

  • "container won't start"

  • "reproduce this bug"

Workflow

  1. Gather Context

Read CI logs first. Identify:

  • Which step failed

  • Error message/stack trace

  • Environment differences from local

For bug reports, extract reproduction steps. See bug-thread-extraction.md.

  1. Reproduce Locally

Never fix blind. Reproduce failure before changing code:

Run same commands CI runs

npm ci && npm test

Or match CI environment

docker build -t debug-image . docker run --rm debug-image npm test

  1. Identify Root Cause

Common CI failure patterns in ci-patterns.md:

  • Dependency version mismatches

  • Missing environment variables

  • Timing/race conditions

  • Platform differences (Linux vs macOS)

Container issues in docker-debug.md.

  1. Apply Fix

Fix the actual issue, not symptoms:

  • Pin dependency versions explicitly

  • Add missing env vars to CI config

  • Fix flaky tests with proper waits

  • Use platform-agnostic paths

  1. Verify

Push fix and confirm CI passes. Do not mark done until green.

git push && gh run watch

Anti-patterns

  • Rerunning CI hoping it passes

  • Fixing locally without reproducing CI environment

  • Disabling failing tests

  • Adding broad || true to mask failures

References

  • ci-patterns.md - Common CI failure patterns

  • docker-debug.md - Container troubleshooting

  • bug-thread-extraction.md - Parse bug reports

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

techdebt-finder

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

terminal-optimization

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

reflect

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

claude-md-maintenance

No summary provided by upstream source.

Repository SourceNeeds Review