ci-failure-investigator
Skill0 starsChanged 20 days agoMITView on GitHub
Diagnose failing CI jobs from the exact failing step, logs, environment, and reproducible local checks. Use when a pipeline fails or an agent proposes speculative workflow edits.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- completion-claims-auditorSkill
- existing-work-preservationSkill
- mcp-reliability-auditorSkill
- multi-agent-integration-reviewerSkill
- project-context-recoverySkill
- requirement-traceability-auditorSkill
- scope-drift-guardSkill
- architecture-complexity-auditorSkill
- dependency-cycle-auditorSkill
- database-schema-reviewerSkill
- data-consistency-auditorSkill
- migration-safety-reviewerSkill
- loop-breakerSkill
- reproduction-builderSkill
- root-cause-debuggerSkill
- dependency-grounding-auditorSkill
- cross-platform-readiness-auditorSkill
- environment-config-auditorSkill
- environment-parity-auditorSkill
- production-readiness-auditorSkill
- documentation-accuracy-auditorSkill
- token-efficient-workflowSkill
- accessibility-auditorSkill
- dead-feature-detectorSkill
- responsive-design-auditorSkill
- ux-state-completeness-auditorSkill
- release-verification-agentSkill
- agent-tool-trust-auditorSkill
- authentication-security-auditorSkill
- authorization-boundary-auditorSkill
- dependency-vulnerability-auditorSkill
- injection-risk-auditorSkill
- input-validation-auditorSkill
- secret-leakage-detectorSkill
- security-misconfiguration-auditorSkill
- api-contract-auditorSkill
- integration-reality-checkerSkill
- missing-test-detectorSkill
- regression-detectorSkill
- test-quality-auditorSkill
- ui-flow-verifierSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Read applicable repository instructions before edits.
- Distinctive: line 27
Commit/ref under test
- Distinctive: line 46
Do not expose secrets from logs or broaden token permissions as a convenience fix.
- Distinctive: line 63
When hosted CI cannot be rerun, report local verification separately and leave hosted status pending rather than claiming success.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Purpose
Turn a red CI run into a localized cause and verified repair.
When to activate
A CI workflow, build, test, lint, packaging, or permission job fails.
When not to activate
The failure is an acknowledged external provider outage with no repository change to make.
Preconditions
- Read applicable repository instructions before edits.
- Preserve unrelated working-tree changes and establish a baseline when the workflow can modify code.
- Identify which tools and environments are actually available; do not claim unavailable checks ran.
Required inputs
- Workflow/run URL or logs
- Commit/ref under test
- Relevant CI configuration
Workflow
- Identify the first failing job and first causally relevant failing step, not only the final job status.
- Extract the exact command, exit code, environment/runner, and error output.
- Classify the cause: repository code/test, dependency, workflow syntax, permission/secret, cache/artifact, platform, or external service.
- Reproduce the command locally/containerized when the environment permits; otherwise isolate the workflow condition.
- Make the smallest code/configuration change that addresses the classified cause.
- Re-run the narrow check and then the affected workflow when accessible.
- Confirm no required step was skipped or changed to continue-on-error merely to obtain green status.
Relevant tools
CI logs, workflow files, local runner/container, GitHub Actions APIs when available.
Safety restrictions
Do not expose secrets from logs or broaden token permissions as a convenience fix.
Validation
- The original failing command/job passes or the external blocker is independently confirmed.
- Required tests remain enabled and failure propagation remains intact.
- Workflow permissions are no broader than required.
Expected output
- Failing job/step and evidence
- Cause classification
- Patch rationale
- Local and hosted validation status
Failure handling
When hosted CI cannot be rerun, report local verification separately and leave hosted status pending rather than claiming success.
Completion criteria
The skill is complete only when every applicable validation item above has observed evidence or is explicitly marked not executed with the concrete blocker. Do not replace missing evidence with confidence language.
Research mapping
This skill was selected from research problems: P042. See research/vibe-coding-problems.md and research/problem-evidence.csv in the Vibe Coding Skills repository.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

