fix-broken-integration-tests
Skill by DataDog
Diagnoses and fixes failing Datadog Terraform provider integration tests. It is for maintainers of the provider who need a guided path from a failing test to a draft pull request.
Install fix-broken-integration-tests
Built from the published package, never by AI.
git clone --depth 1 https://github.com/DataDog/terraform-provider-datadog /tmp/terraform-provider-datadog && mkdir -p ~/.claude/skills && cp -r /tmp/terraform-provider-datadog/.claude/skills/fix-broken-integration-tests ~/.claude/skills/fix-broken-integration-testsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install fix-broken-integration-tests in Claude Code
git clone --depth 1 https://github.com/DataDog/terraform-provider-datadog /tmp/terraform-provider-datadog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/terraform-provider-datadog/.claude/skills/fix-broken-integration-tests ~/.gemini/antigravity-cli/skills/fix-broken-integration-testsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install fix-broken-integration-tests in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill runs an end-to-end workflow for a failing Datadog Terraform provider integration test. It accepts test function names, an error message, a resource name, or a ticket ID as input. It then checks recent CI runs on master, reproduces the failure locally with the dd-tf-provider-test-runner skill, and matches the error against a fix pattern reference.
Before changing any code, the skill asks the user to confirm the proposed fix. It then applies the change, re-records or replays cassettes, commits, and opens a draft pull request with the ci/integrations label. It monitors the integration workflow and reports whether the target tests pass. It is aimed at engineers working on the DataDog terraform-provider-datadog repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Identify failing testsFinds Go test functions from test names, error text, resource names, or a Jira ticket.
- Validate in CIChecks the last recent integration workflow runs on master to confirm the tests still fail.
- Reproduce locallyRuns the failing tests against the real API using the dd-tf-provider-test-runner skill.
- Plan the fixMatches the error to a fix pattern and asks the user to confirm the plan before editing.
- Execute the fixCreates a branch, applies the code change, and validates it by cassette replay.
- Open a draft PRCommits the change and opens a draft pull request with a changelog label.
- Monitor and reportPolls the integration workflow run and reports whether the target tests pass.
What you need
- GitHub CLI (gh) with access to the DataDog terraform-provider-datadog repository
- Git and a local clone of the repository
- Access to the real Datadog API for local test runs
- Jira CLI (acli) if a ticket ID is used as input
Try asking
- Fix the failing TestAccDatadogMonitor_basic integration test
- Diagnose why the sweeper error appears in the synthetics integration tests
- Check whether ticket ABC-123 tests still fail on master
Good to know
- Local reproduction runs against the real API, not recorded cassettes
- The integration CI run typically takes 35 to 45 minutes
- Monitoring stops after 90 minutes and the user must check the run manually
- Skipping tests in live API mode is described as a last resort
Security check
B- Allowed to use Write, Edit, Bash without limitsIn
SKILL.md
Checked automatically: .claude/skills/fix-broken-integration-tests/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: ReadWriteEditGlobGrepBashAgentSkillTaskCreateTaskUpdateTaskGetAskUserQuestion
Alternatives to fix-broken-integration-tests
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
fix-broken-integration-tests: common questions
What kind of input does this skill accept?
It accepts Go test function names, a free-form description or error message, or a Jira ticket ID. The source says it takes any input pointing at specific tests.
Does it change code without asking?
No. The source says the skill asks the user to confirm the fix plan before making any changes.
Does it open a ready-for-review pull request?
No. The skill opens a draft pull request and suggests moving it out of draft after the tests pass.
How do I install fix-broken-integration-tests?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is fix-broken-integration-tests free?
The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.
Is fix-broken-integration-tests safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality B. Security check: grade B (allowed to use write, edit, bash without limits). Review the code before you install. How grades work.
What are alternatives to fix-broken-integration-tests?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
