What problem does it solve? When a test, lint, build, security, or CI job goes red, it is easy to guess at causes, over-fix, or widen scope into unrelated work. This Skill enforces a disciplined loop: read the full failing log first, classify the root cause, apply the smallest fix, and verify the check is green again. ## Core Features & Use Cases - Log-first diagnosis: Captures the exact failing command, ref, environment, and full output before any editing, and reproduces locally when deterministic and cheap. - Root-cause classification: Sorts failures into code defect, test defect, flaky test, environment, dependency, or CI configuration before choosing a fix. - Smallest-fix discipline: Applies or proposes only the change that addresses the root cause, explicitly avoiding drive-by refactors, scope creep, and self-approval. - Use Case: A CI lint job fails on a pull request. The Skill reads the CI log, identifies a dependency version mismatch as the root cause, pins the dependency, reruns the original command to confirm green, and emits a production-handoff record for reviewers. ## Quick Start Ask the agent to diagnose the failing CI job, find its root cause from the logs, and apply the smallest fix that makes the check pass again.