agentleFS
ClarentCinematicsClarentCinematics/Codex-Skills-for-Enterprise/skills/ci-failure-triage/SKILL.md

ci-failure-triage

Skill2 starsChanged 6 months agoMITView on GitHub

Diagnose failed CI runs, build logs, test output, deployment checks, or pipeline summaries and produce a root-cause hypothesis, reproduction path, likely owner, fix plan, and escalation guidance. Use when Codex needs to triage broken builds, flaky tests, failed checks, or release-blocking automation failures.

7 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use dependency-cve-sweep, fastapi-route-change and 5 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • berntpoppSkill

    dependency-cve-sweep

    Use when handling Dependabot PRs, CodeQL/Trivy alerts, or doing a routine dependency/CVE sweep for this repo.

    Also in 5 projects that use this

  • berntpoppSkill

    fastapi-route-change

    Use when adding, renaming, or modifying this backend's FastAPI routes, dependencies, middleware, or response behavior.

    Also in 5 projects that use this

  • DauQuangThanhSkill

    code-quality-review

    Conducts comprehensive code quality reviews including code smells detection, maintainability assessment, complexity analysis, design pattern evaluation, naming conventions, code duplication, technical debt identification, and best practices validation. Produces detailed review reports with specific issues, severity ratings, metrics analysis, and actionable improvement recommendations. Use when reviewing code quality, analyzing code maintainability, detecting code smells, checking coding standards, measuring code complexity, identifying technical debt, or when users mention "code quality review", "code quality check", "maintainability analysis", "code smells", "clean code", "refactoring candidates", or "technical debt assessment".

    Also in 5 projects that use this

  • Microsoft AzureSkill

    release-readiness

    Complete ODIN release documentation and validation checks before declaring user-visible work complete, preparing a release, or opening the Release-to-main pull request.

    Also in 5 projects that use this

  • SentrySkill

    security-review

    Finds exploitable application security vulnerabilities in code changes. Use for Warden security scans, appsec review, OWASP-style checks, authentication or authorization bugs, injection, XSS, SSRF, path traversal, secrets, unsafe crypto, webhook verification, open redirects, or sensitive data exposure.

    Also in 5 projects that use this

  • +2 more from berntpopp

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this structure by default:

    line 22
  2. Distinctive:

    Do not treat the last log line as root cause without supporting evidence.

    line 34
  3. Distinctive:

    Prefer fast unblock steps when production, release, or merge flow is blocked.

    line 37
  4. Very specific:

    Read references/triage-patterns.md when the failure involves noisy logs, flaky tests, infrastructure failures, or release-blocking checks.

    line 41

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

CI Failure Triage

Workflow

  1. Identify the failing system, job, step, command, test, environment, and recent change context.
  2. Separate primary failure signals from downstream noise, retries, warnings, and unrelated log output.
  3. Form a ranked root-cause hypothesis using the smallest reliable evidence set.
  4. Map the failure to likely ownership by component, file path, service, team, or changed area when available.
  5. Produce a practical fix path with reproduction steps, investigation commands, and escalation needs.

Script-Assisted Workflow

When given a long raw CI log, run scripts/extract_ci_signal.py --input <log> first to extract the primary failure candidate, likely failure class, detected commands/tests, context, and caveats. Use --json when another tool or report needs structured output. Treat the script output as evidence for triage, not as a final root-cause decision.

Output Standard

Use this structure by default:

  • Failure Summary: system, job, step, and business impact.
  • Primary Signal: exact failing command, test, assertion, error, or status.
  • Likely Root Cause: ranked hypotheses with evidence and confidence.
  • Likely Owner: component, team, or file area; use Not stated if unclear.
  • Reproduction Path: local or CI reproduction steps from provided material.
  • Fix Path: concrete next actions and validation checks.
  • Escalation: release risk, infrastructure dependency, or human decision needed.

Rules

  • Do not treat the last log line as root cause without supporting evidence.
  • Mark missing context explicitly instead of inventing branch names, owners, or commands.
  • Flag flaky-test, environment, dependency, and secret/config possibilities separately.
  • Prefer fast unblock steps when production, release, or merge flow is blocked.

References

Read references/triage-patterns.md when the failure involves noisy logs, flaky tests, infrastructure failures, or release-blocking checks.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.