Fix Broken Datadog Provider Tests
DataDog/terraform-provider-datadog
Runs an end-to-end workflow to diagnose, reproduce, fix and validate a failing integration test in the Datadog Terraform provider, ending with a draft PR.
Classification decision tree and remediation strategies for diagnosing Terraform acceptance test failures across all workflows.
$ npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install GoogleCloudPlatform/magic-modules test-failure-decision-tree --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/utils/test-failure-decision-tree .claude/skills/test-failure-decision-tree && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "test-failure-decision-tree" agent skill from https://github.com/GoogleCloudPlatform/magic-modules/tree/main/.agents/skills/utils/test-failure-decision-tree into .claude/skills/test-failure-decision-tree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-decision-tree", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/GoogleCloudPlatform/magic-modules/tree/main/.agents/skills/utils/test-failure-decision-treeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install GoogleCloudPlatform/magic-modules test-failure-decision-tree --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/utils/test-failure-decision-tree .agents/skills/test-failure-decision-tree && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "test-failure-decision-tree" agent skill from https://github.com/GoogleCloudPlatform/magic-modules/tree/main/.agents/skills/utils/test-failure-decision-tree into .agents/skills/test-failure-decision-tree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-decision-tree", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install GoogleCloudPlatform/magic-modules test-failure-decision-tree --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/utils/test-failure-decision-tree .cursor/skills/test-failure-decision-tree && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "test-failure-decision-tree" agent skill from https://github.com/GoogleCloudPlatform/magic-modules/tree/main/.agents/skills/utils/test-failure-decision-tree into .cursor/skills/test-failure-decision-tree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-decision-tree", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/GoogleCloudPlatform/magic-modules.git --path .agents/skills/utils/test-failure-decision-tree--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install GoogleCloudPlatform/magic-modules test-failure-decision-tree --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/utils/test-failure-decision-tree .gemini/skills/test-failure-decision-tree && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "test-failure-decision-tree" agent skill from https://github.com/GoogleCloudPlatform/magic-modules/tree/main/.agents/skills/utils/test-failure-decision-tree into .gemini/skills/test-failure-decision-tree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-decision-tree", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install GoogleCloudPlatform/magic-modules test-failure-decision-treeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/utils/test-failure-decision-tree .github/skills/test-failure-decision-tree && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "test-failure-decision-tree" agent skill from https://github.com/GoogleCloudPlatform/magic-modules/tree/main/.agents/skills/utils/test-failure-decision-tree into .github/skills/test-failure-decision-tree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-decision-tree", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install GoogleCloudPlatform/magic-modules test-failure-decision-tree --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/utils/test-failure-decision-tree .opencode/skills/test-failure-decision-tree && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "test-failure-decision-tree" agent skill from https://github.com/GoogleCloudPlatform/magic-modules/tree/main/.agents/skills/utils/test-failure-decision-tree into .opencode/skills/test-failure-decision-tree/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-decision-tree", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
test-failure-decision-treeClassification decision tree and remediation strategies for diagnosing Terraform acceptance test failures across all workflows.
Test Failure Decision Tree is an agent skill from GoogleCloudPlatform/magic-modules. Classification decision tree and remediation strategies for diagnosing Terraform acceptance test failures across all workflows.
Its SKILL.md is about 4.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Testing & QA, covering Failing and flaky tests, Infrastructure as code and End-to-end testing. It works with Terraform. The repository describes itself as: Add Google Cloud Platform support to Terraform.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit e5db069. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
makegcloudFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use gcloud, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Test Failure Decision Tree loads about 4.2k tokens when it runs. Until then it costs about 39 tokens; SKILL.md has 1,854 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 1,854 words (~4,167 tokens).
“This document provides a standardized classification catalog for diagnosing, isolating, and fixing failing Terraform acceptance tests in magic-modules. It is designed to be consulted by any workflow (test_fix, new_resource, add_list_resource, default) whenever make testacc fails.”
Just SKILL.md in .agents/skills/utils/test-failure-decision-tree of GoogleCloudPlatform/magic-modules.
Open the folder on GitHubat commit e5db069
Test Failure Decision Tree next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Test Failure Decision Tree this skillGoogleCloudPlatform/magic-modules | 974 | — | ~4.2k | Automated safety check: Pass | Custom licence | |
| Fix Broken Datadog Provider TestsDataDog/terraform-provider-datadog | 468 | — | ~2.4k | Automated safety check: Notes | MPL-2.0 | |
| Avm Tf TestingAzure/terraform-azurerm-avm-ptn-alz | 135 | — | ~1.8k | Automated safety check: Pass | MIT | |
| Schema Coverageelastic/terraform-provider-elasticstack | 210 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| New Feature Designagentic-community/mcp-gateway-registry | 964 | — | ~18k | Automated safety check: Notes | Apache-2.0 | |
| Smt E2E Dataflow DebuggingGoogleCloudPlatform/DataflowTemplates | 1.3k | — | ~1.8k | Automated safety check: Pass | Apache-2.0 |
DataDog/terraform-provider-datadog
Runs an end-to-end workflow to diagnose, reproduce, fix and validate a failing integration test in the Datadog Terraform provider, ending with a draft PR.
Azure/terraform-azurerm-avm-ptn-alz
A skill your agent uses for AVM Terraform validation, provider-mocked unit tests, real-Azure integration tests, E2E example tests, PowerShell hooks, OIDC, policy checks, and Avm.Authoring CI behavior.
elastic/terraform-provider-elasticstack
Analyzes a Terraform resource schema and compares it to attributes used in the acceptance test suite (configs + assertions).
agentic-community/mcp-gateway-registry
Design and document new features with GitHub issue, low-level design (LLD), expert review, and testing plan.
GoogleCloudPlatform/DataflowTemplates
Debugs logical errors and data discrepancies in Dataflow templates by launching jobs via Terraform and comparing source (e.g.
aztfmod/terraform-provider-azurecaf
Run end-to-end tests (make teste2e or make teste2equick), parse results, and produce a structured summary.
GoogleCloudPlatform/magic-modules
Run fast static checks that don't require generating downstreams, including git submodule verification, gofmt formatting, YAML linting, template validation (version-guard and unused-tmpl), mmv1 core…
GoogleCloudPlatform/magic-modules
Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation.
GoogleCloudPlatform/magic-modules
Opt resource into MMv1 list-resource generation by setting generatelistresource: true and validate it locally with generated tests.
GoogleCloudPlatform/magic-modules
Skill to fetch latest nightly test results and metadata for Beta or GA providers from GCS test-metadata.
GoogleCloudPlatform/magic-modules
Skill to automatically triage failing tests by reading test-metadata status files, matching GitHub issues, and generating a multi-section failure report.
GoogleCloudPlatform/magic-modules
Configures Terraform CLI with developer overrides to test locally built provider binaries without full Go acceptance tests, enabling rapid plan/apply cycles.
Works with
Categories
Classification decision tree and remediation strategies for diagnosing Terraform acceptance test failures across all workflows. Test Failure Decision Tree is an agent skill from GoogleCloudPlatform/magic-modules. Classification decision tree and remediation strategies for diagnosing Terraform acceptance test failures across all workflows.
Test Failure Decision Tree fits situations like: tasks that involve Failing and flaky tests; tasks that involve Infrastructure as code; tasks that involve End-to-end testing.
Run `npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a claude-code`. Or copy the skill folder (.agents/skills/utils/test-failure-decision-tree in GoogleCloudPlatform/magic-modules) into .claude/skills/test-failure-decision-tree in your project. Claude Code loads it when a task matches its description.
Run `npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a codex`. Or copy the skill folder (.agents/skills/utils/test-failure-decision-tree in GoogleCloudPlatform/magic-modules) into .agents/skills/test-failure-decision-tree in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GoogleCloudPlatform/magic-modules --skill test-failure-decision-tree -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/test-failure-decision-tree, .gemini/skills/test-failure-decision-tree, .github/skills/test-failure-decision-tree and .opencode/skills/test-failure-decision-tree in your project.
Going by SKILL.md and its folder, Test Failure Decision Tree needs the command-line tools its instructions call (make and gcloud).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Test Failure Decision Tree has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 4.2k tokens (SKILL.md is roughly 17k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Test Failure Decision Tree: Fix Broken Datadog Provider Tests (DataDog/terraform-provider-datadog, 468 stars), Avm Tf Testing (Azure/terraform-azurerm-avm-ptn-alz, 135 stars), Schema Coverage (elastic/terraform-provider-elasticstack, 210 stars) and New Feature Design (agentic-community/mcp-gateway-registry, 964 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
GoogleCloudPlatform (a GitHub organization) maintains it in GoogleCloudPlatform/magic-modules, which has 974 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on October 7, 2026.
Source: GoogleCloudPlatform/magic-modules on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.