agentsclimarketplace

Ci debug workflow

Skill spences10/skills/ci-debug-workflow

Portable Agent Skills for coding agents, including Svelte/SvelteKit and workflow tooling skills.

Install
npx -y skills add spences10/skills --skill ci-debug-workflow

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 13 stars13 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Debug failing CI pipelines, containers, and reproduce bugs locally. Use when CI is red, containers won't start, or need to reproduce bugs.

SKILL.md

2.0 KB, as published. Nobody here has run it

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.

2. 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

3. 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.

4. 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

5. 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

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.