cicd-doctor
/cicd-doctor
Klasyfikuje przyczyny czerwonego lub niestabilnego pipeline'u w GitHub Actions lub Jenkins z logów i naprawia całą klasę problemu zamiast jego objawu.
- Autor
- sh-shukla ↗
- Repozytorium
- claude-devops-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Klasyfikuje przyczyny czerwonego lub niestabilnego pipeline'u w GitHub Actions lub Jenkins z logów i naprawia całą klasę problemu zamiast jego objawu.
Oryginalny opis (EN)
Use when a CI/CD pipeline is red or flaky — GitHub Actions or Jenkins. Classifies the failure from the logs (deps, cache, env, secrets, flaky test, runner) and fixes the class, not the symptom.
Jak działa
- 1. Pull the evidence
- 2. Classify before fixing
- 3. Flaky tests deserve their own paragraph
- 4. Verify like production
Podgląd SKILL.md
--- name: cicd-doctor description: Use when a CI/CD pipeline is red or flaky — GitHub Actions or Jenkins. Classifies the failure from the logs (deps, cache, env, secrets, flaky test, runner) and fixes the class, not the symptom. --- # CI/CD pipeline doctor Rule one: read the log of the **first** failing step, not the last red box — downstream failures are usually noise from the first one. ## 1. Pull the evidence ```bash # GitHub Actions gh run list --limit 10 # is it this branch only? all branches? since when? gh run view <id> --log-failed | tail -100 # the actual error, not the summary ``` For Jenkins: the first `ERROR`/`FAILED` in the console log, plus the stage view to see which stage broke. ## 2. Classify before fixing | Class | Smell in the log | Fix the class | |---|---|---| | Dependency | `404 Not Found`, `ERESOLVE`, version solver errors | pin via lockfile; never "re-run until green" | | Cache poisoning | works locally, old versions appear in CI | bump the cache key, don't delete steps | | Environment drift | `command not found`, wrong tool version | pin runner image/tool versions explicitly | | Secrets | `401/403`, empty env var in masked logs | expired token or wrong scope — rotate/rescope, check environment-level vs repo-level secrets | | Flaky test | same commit red then green | quarantine with a tracking issue; retries hide, never cure | | Runner/infra | OOM, disk full, killed at random step | bigger runner or trim the workspace; check `df`/`dmesg` steps | | Timeout | step killed at a round number | find what got slower first — the timeout is the messenger | The one-question diagnostic: **"did this ever pass, and what changed since?"** — a never-green pipeline is a build problem; a was-green pipeline is a diff problem (`git log --oneline since-last-green..HEAD`, including CI config and base-image changes). ## 3. Flaky tests deserve their own paragraph - Reproduce locally with the CI's parallelism: `pytest -n auto --count=20 <test>` (or the runner's equivalent). - Usual suspects: shared state between tests, time/timezone assumptions, port collisions, order dependence, real network calls. - Quarantine (skip-with-ticket) beats retry-loops: retries normalize a 5% failure into permanent background noise. ## 4. Verify like production Re-run the **exact** failed job, not a fresh pipeline — a fresh run can pass for unrelated reasons (new cache, new runner). Green must be attributable to the fix, or it isn't a fix. Never pipe test output through anything that swallows the failure count.
Wersje
W bazie nie ma innych skilli o nazwie cicd-doctor.
Migawka bazy z 13.11.2026 · wersja paczki 5c1c73a3be77 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Podobne skille
- 100cicd-pipeline-skill
Generuje konfiguracje pipeline'ów CI/CD do testów automatycznych w GitHub Actions, Jenkins, GitLab CI i Azure DevOps. - 100cicd-expert
Wspiera CI/CD z GitHub Actions, Jenkins i potokami wdrożeń: podstawy, projekt potoku, workflowy oraz budowanie i wysyłanie obrazów Docker. - 100ci-cd-pipeline
Pomaga projektować, debugować i naprawiać pipeline'y CI/CD w GitHub Actions, GitLab CI i Jenkins. - 100cicd
Kieruje zapytania o CI/CD do właściwego skilla technologii i porównuje GitHub Actions, GitLab CI, Azure DevOps, Jenkins i CircleCI przy wyborze platformy. - 100ci-failure-fix
Diagnozuje i naprawia nieudany pipeline CI w GitHub Actions, GitLab CI, CircleCI lub Jenkins, także gdy kod działa lokalnie, a w CI nie. - 84ci
Konfiguruje bramki jakości CI i eksportuje reguły do GitHub Actions, GitLab CI, Bitbucket lub Jenkins.