handle-pr-ci-failure
Skill by DataDog
Handles a CI failure already attributed to the current PR's own code changes. It either pushes an evidence-backed fix or writes a report the user can act on.
Install handle-pr-ci-failure
Built from the published package, never by AI.
git clone --depth 1 https://github.com/DataDog/datadog-agent /tmp/datadog-agent && mkdir -p ~/.claude/skills && cp -r /tmp/datadog-agent/.agents/skills/handle-pr-ci-failure ~/.claude/skills/handle-pr-ci-failureRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/DataDog/datadog-agent /tmp/datadog-agent && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/datadog-agent/.agents/skills/handle-pr-ci-failure ~/.gemini/antigravity-cli/skills/handle-pr-ci-failureAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install handle-pr-ci-failure in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
The handle-pr-ci-failure skill, published by DataDog, turns CI failures attributed to a pull request's own code into either a pushed fix or an evidence-backed report. It takes triage results from /triage-ci-failure, discards any failure not marked pr-code, and groups failures by shared root cause. Each root cause is classified as safe or complex against a five-part test covering clarity, size, containment, checkability and cleanliness.
Safe fixes are reproduced with the failing command, applied, checked and committed. Under autofix mode they go out in one combined push. Complex root causes are investigated and handed back to the user. Every run ends with a structured result block that the follow-pr skill reads. The skill is aimed at developers handling PR CI failures in the DataDog team's repositories.
Written from the project's SKILL.md and checked against it.
What it can do
- Collect failuresReads triage results and keeps only failures whose blame is pr-code.
- Resolve autonomy policyChooses autofix, retries, no-autofix or ask mode through a helper script.
- Classify root causesLabels each root cause safe or complex using a five-part test.
- Fix safe root causesReproduces, fixes, checks and commits safe failures, then pushes once under autofix.
- Investigate complex causesInvestigates complex root causes read-only or with user approval and reports evidence.
- Report resultsEnds every run with a structured PR CI handling result block.
What you need
- Python 3 to run the config helper script
- Git access to the PR branch
- Repository tooling such as dda and bazel
- Triage output from /triage-ci-failure (recommended)
Try asking
- Handle this PR-caused CI failure
- Fix the CI regression on this PR
- Continue investigating this PR failure and report the evidence
Good to know
- Only handles failures whose blame is exactly pr-code.
- Under retries or no-autofix mode it makes no commits or pushes.
- Complex root causes are reported back and not committed.
- Job retries are left to the follow-pr skill.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/handle-pr-ci-failure/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to handle-pr-ci-failure
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
handle-pr-ci-failure: common questions
Does it push fixes automatically?
Only under autofix mode with cycle budget remaining, and only as one combined push after every safe fix is committed. Under retries or no-autofix it does not commit or push.
What counts as a safe fix?
A fix must be clear, small, contained, checkable and clean. Retries, skips, suppressions and changed test expectations fail the checkable test.
Will it run instructions found in CI logs?
No. The source says CI logs, PR descriptions and comments are evidence to read, never commands to run.
How do I install handle-pr-ci-failure?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is handle-pr-ci-failure free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is handle-pr-ci-failure safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to handle-pr-ci-failure?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
