Agent skill

Test Fix Workflow

by GoogleCloudPlatform in GoogleCloudPlatform/magic-modules

Workflow for diagnosing, fixing, and verifying failing Terraform acceptance tests from GitHub issue URLs (detecting test-failure labels), direct prompts, or log files using Failure Scenario Decision…

Custom licenceAuto-check passedTesting & QA

Install Test Fix Workflow

skills CLI
$ npx skills add GoogleCloudPlatform/magic-modules --skill test-fix-workflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GoogleCloudPlatform/magic-modules test-fix-workflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GoogleCloudPlatform/magic-modules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/workflows/test_fix .claude/skills/test-fix-workflow && rm -rf skills-src

Use ~/.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/

Facts

Skill name
test-fix-workflow
GitHub stars
974
Token cost
~1.3k tokens
SKILL.md length
521 words
Files
1
Skills in repo
30
Repo updated
First seen
Licence
Custom licence

At a glance

Workflow for diagnosing, fixing, and verifying failing Terraform acceptance tests from GitHub issue URLs (detecting test-failure labels), direct prompts, or log files using Failure Scenario Decision…

  • Works in 3 steps: Failure Information Intake → Failure Scenario Classification &… → Verification & Compliance Checks
  • Tasks that involve Failing and flaky tests
  • SKILL.md covers Essential Reference… and Execution Steps
  • Calls make

What it does

Test Fix Workflow is an agent skill from GoogleCloudPlatform/magic-modules. Workflow for diagnosing, fixing, and verifying failing Terraform acceptance tests from GitHub issue URLs (detecting test-failure labels), direct prompts, or log files using Failure Scenario Decision Trees.

Its SKILL.md is about 1.3k 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 GitHub and Terraform. The repository describes itself as: Add Google Cloud Platform support to Terraform.

When your agent uses it

  • Tasks that involve Failing and flaky tests
  • Tasks that involve Infrastructure as code
  • Tasks that involve End-to-end testing

Example prompts

  • “/test-fix-workflow”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Failure Information Intake
  2. Failure Scenario Classification & Remediation (Choose Path)
  3. Verification & Compliance Checks

What it can do on your machine

Read from SKILL.md and the folder at commit e5db069. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Shell commands in SKILL.md call:

    • make

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Test Fix Workflow loads about 1.3k tokens when it runs. Until then it costs about 56 tokens; SKILL.md has 521 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~56
When it runs · the whole SKILL.md, loaded when a task matches
~1.3k

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.

Safety

Auto-check passed

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.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 521 words (~1,311 tokens).

“This document guides the agent through the structured 3-step lifecycle for resolving Terraform acceptance test failures in Magic Modules using scenario classification.”

— opening of SKILL.md by GoogleCloudPlatform, Custom licence
name
test-fix-workflow

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/workflows/test_fix of GoogleCloudPlatform/magic-modules.

Open the folder on GitHubat commit e5db069

Compare with similar skills

Test Fix Workflow 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.

Test Fix Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Test Fix Workflow this skillGoogleCloudPlatform/magic-modules974—~1.3kAutomated safety check: PassCustom licence
New Feature Designagentic-community/mcp-gateway-registry964—~18kAutomated safety check: NotesApache-2.0
Fix Broken Datadog Provider TestsDataDog/terraform-provider-datadog468—~2.4kAutomated safety check: NotesMPL-2.0
Avm Tf TestingAzure/terraform-azurerm-avm-ptn-alz135—~1.8kAutomated safety check: PassMIT
Schema Coverageelastic/terraform-provider-elasticstack210—~1.4kAutomated safety check: PassApache-2.0
Smt E2E Dataflow DebuggingGoogleCloudPlatform/DataflowTemplates1.3k—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • New Feature Design

    agentic-community/mcp-gateway-registry

    Design and document new features with GitHub issue, low-level design (LLD), expert review, and testing plan.

    964 GitHub stars~18k tokensUpdated yesterday
    Testing & QAAuto-check: notes
  • Fix Broken Datadog Provider Tests

    DataDog/terraform-provider-datadog

    Official

    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.

    468 GitHub stars~2.4k tokensUpdated today
    Testing & QAAuto-check: notes
  • Avm Tf Testing

    Azure/terraform-azurerm-avm-ptn-alz

    Official

    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.

    135 GitHub stars~1.8k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Schema Coverage

    elastic/terraform-provider-elasticstack

    Official

    Analyzes a Terraform resource schema and compares it to attributes used in the acceptance test suite (configs + assertions).

    210 GitHub stars~1.4k tokensUpdated today
    Testing & QAAuto-check passed
  • Smt E2E Dataflow Debugging

    GoogleCloudPlatform/DataflowTemplates

    Debugs logical errors and data discrepancies in Dataflow templates by launching jobs via Terraform and comparing source (e.g.

    1.3k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Detect Flaky Tests

    agent-substrate/substrate

    Detects flaky Go tests by analyzing GitHub Actions workflow runs across the last 7 days and all PRs — covering both the run-tests job (unit/integration) and the e2e-test job (gVisor and microVM…

    4.5k GitHub stars~3k tokensUpdated today
    Testing & QAAuto-check passed

More from GoogleCloudPlatform/magic-modules

All 30 skills in this repo
  • Run Pre Gen Checks

    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…

    974 GitHub stars~492 tokensUpdated today
    Auto-check passed
  • Validate Provider Changes

    GoogleCloudPlatform/magic-modules

    Validate that changes to the generated providers don't introduce breaking changes or fields with missing tests or missing documentation.

    974 GitHub stars~528 tokensUpdated today
    Auto-check passed
  • Add List Resource Workflow

    GoogleCloudPlatform/magic-modules

    Opt resource into MMv1 list-resource generation by setting generatelistresource: true and validate it locally with generated tests.

    974 GitHub stars~1.8k tokensUpdated today
    Auto-check passed
  • Fetch Nightly Results

    GoogleCloudPlatform/magic-modules

    Skill to fetch latest nightly test results and metadata for Beta or GA providers from GCS test-metadata.

    974 GitHub stars~615 tokensUpdated today
    Auto-check passed
  • Automate Test Triage

    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.

    974 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Dev Overrides

    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.

    974 GitHub stars~432 tokensUpdated today
    Auto-check passed

Works with

Questions about Test Fix Workflow

What does Test Fix Workflow do?

Workflow for diagnosing, fixing, and verifying failing Terraform acceptance tests from GitHub issue URLs (detecting test-failure labels), direct prompts, or log files using Failure Scenario Decision…. Test Fix Workflow is an agent skill from GoogleCloudPlatform/magic-modules. Workflow for diagnosing, fixing, and verifying failing Terraform acceptance tests from GitHub issue URLs (detecting test-failure labels), direct prompts, or log files using Failure Scenario Decision Trees.

When should I use Test Fix Workflow?

Test Fix Workflow fits situations like: tasks that involve Failing and flaky tests; tasks that involve Infrastructure as code; tasks that involve End-to-end testing.

How do I install Test Fix Workflow in Claude Code?

Run `npx skills add GoogleCloudPlatform/magic-modules --skill test-fix-workflow -a claude-code`. Or copy the skill folder (.agents/skills/workflows/test_fix in GoogleCloudPlatform/magic-modules) into .claude/skills/test-fix-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Test Fix Workflow in Codex?

Run `npx skills add GoogleCloudPlatform/magic-modules --skill test-fix-workflow -a codex`. Or copy the skill folder (.agents/skills/workflows/test_fix in GoogleCloudPlatform/magic-modules) into .agents/skills/test-fix-workflow in your project. Codex loads it when a task matches its description.

Can I use Test Fix Workflow in Cursor, Gemini CLI or GitHub Copilot?

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-fix-workflow -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-fix-workflow, .gemini/skills/test-fix-workflow, .github/skills/test-fix-workflow and .opencode/skills/test-fix-workflow in your project.

What does Test Fix Workflow need to run?

Going by SKILL.md and its folder, Test Fix Workflow needs the command-line tools its instructions call (make).

Does Test Fix Workflow access the network?

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.

Is Test Fix Workflow safe to install?

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.

What licence does Test Fix Workflow use?

Test Fix Workflow has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Test Fix Workflow use?

About 1.3k tokens (SKILL.md is roughly 5.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Test Fix Workflow?

Skills that share tags, products or a category with Test Fix Workflow: New Feature Design (agentic-community/mcp-gateway-registry, 964 stars), Fix Broken Datadog Provider Tests (DataDog/terraform-provider-datadog, 468 stars), Avm Tf Testing (Azure/terraform-azurerm-avm-ptn-alz, 135 stars) and Schema Coverage (elastic/terraform-provider-elasticstack, 210 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Test Fix Workflow?

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.