Swig Test
swig/swig
Run SWIG test suite for specific languages. An agent skill from swig/swig.
Analyze test failure output to identify root cause and suggest fixes.
$ npx skills add aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install aztfmod/terraform-provider-azurecaf test-failure-diagnosis --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/aztfmod/terraform-provider-azurecaf.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/test-failure-diagnosis .claude/skills/test-failure-diagnosis && 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-diagnosis" agent skill from https://github.com/aztfmod/terraform-provider-azurecaf/tree/main/.github/skills/test-failure-diagnosis into .claude/skills/test-failure-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-diagnosis", 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/aztfmod/terraform-provider-azurecaf/tree/main/.github/skills/test-failure-diagnosisType 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 aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install aztfmod/terraform-provider-azurecaf test-failure-diagnosis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aztfmod/terraform-provider-azurecaf.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/test-failure-diagnosis .agents/skills/test-failure-diagnosis && 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-diagnosis" agent skill from https://github.com/aztfmod/terraform-provider-azurecaf/tree/main/.github/skills/test-failure-diagnosis into .agents/skills/test-failure-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-diagnosis", 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 aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install aztfmod/terraform-provider-azurecaf test-failure-diagnosis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aztfmod/terraform-provider-azurecaf.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/test-failure-diagnosis .cursor/skills/test-failure-diagnosis && 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-diagnosis" agent skill from https://github.com/aztfmod/terraform-provider-azurecaf/tree/main/.github/skills/test-failure-diagnosis into .cursor/skills/test-failure-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-diagnosis", 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/aztfmod/terraform-provider-azurecaf.git --path .github/skills/test-failure-diagnosis--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 aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install aztfmod/terraform-provider-azurecaf test-failure-diagnosis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aztfmod/terraform-provider-azurecaf.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/test-failure-diagnosis .gemini/skills/test-failure-diagnosis && 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-diagnosis" agent skill from https://github.com/aztfmod/terraform-provider-azurecaf/tree/main/.github/skills/test-failure-diagnosis into .gemini/skills/test-failure-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-diagnosis", 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 aztfmod/terraform-provider-azurecaf test-failure-diagnosisInstalls 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 aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/aztfmod/terraform-provider-azurecaf.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/test-failure-diagnosis .github/skills/test-failure-diagnosis && 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-diagnosis" agent skill from https://github.com/aztfmod/terraform-provider-azurecaf/tree/main/.github/skills/test-failure-diagnosis into .github/skills/test-failure-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-diagnosis", 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 aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install aztfmod/terraform-provider-azurecaf test-failure-diagnosis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/aztfmod/terraform-provider-azurecaf.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/test-failure-diagnosis .opencode/skills/test-failure-diagnosis && 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-diagnosis" agent skill from https://github.com/aztfmod/terraform-provider-azurecaf/tree/main/.github/skills/test-failure-diagnosis into .opencode/skills/test-failure-diagnosis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "test-failure-diagnosis", 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-diagnosisAnalyze test failure output to identify root cause and suggest fixes.
Test Failure Diagnosis is an agent skill from aztfmod/terraform-provider-azurecaf. Analyze test failure output to identify root cause and suggest fixes. Use when build or test failures occur. Triggers on: test failures, build errors, CI failures.
Its SKILL.md is about 560 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. The repository describes itself as: Terraform provider for the Terraform platform engineering for Azure. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ac74615. 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:
python3goFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
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 Diagnosis loads about 559 tokens when it runs. Until then it costs about 47 tokens; SKILL.md has 224 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.
The full file from aztfmod/terraform-provider-azurecaf at commit ac74615, republished under its MIT licence (© aztfmod). 224 words, ~559 tokens.
.claude/skills/test-failure-diagnosis/SKILL.md (or your agent's skills folder).Read the failure output and classify:
| Failure type | Indicators | Common cause |
|---|---|---|
| Compilation error | cannot compile, undefined:, syntax error | Bad JSON in resourceDefinition.json, invalid Go syntax |
| JSON parse error | json: cannot unmarshal, unexpected end of JSON | Missing comma, unmatched quotes, bad escapes in resourceDefinition.json |
| Duplicate slug | duplicate key, ambiguity errors | Two resources share the same slug |
| Test assertion failure | FAIL, expected X got Y | Naming logic bug, regex mismatch |
| Regex error | error parsing regexp | Invalid regex pattern in validation_regex or regex field |
| Import error | cannot find package, module not found | Missing dependency, go.mod issue |
From the output, extract:
Test* function(s) that failedBased on the classification, check the most likely source:
For JSON errors:
python3 -c "import json; json.load(open('resourceDefinition.json'))"For duplicate slugs:
grep '"slug":' resourceDefinition.json | sort | uniq -dFor regex issues:
grep -n 'validation_regex\|"regex"' resourceDefinition.json | grep -v '"\"'Provide a specific, actionable fix:
After applying the suggested fix, re-run the failed test:
go test ./azurecaf/ -run "<failed_test_name>" -v© aztfmod, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/test-failure-diagnosis of aztfmod/terraform-provider-azurecaf.
Open the folder on GitHubat commit ac74615
Test Failure Diagnosis 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 Diagnosis this skillaztfmod/terraform-provider-azurecaf | 188 | — | ~559 | Automated safety check: Pass | MIT | |
| Swig Testswig/swig | 6.3k | — | ~2.3k | Automated safety check: Pass | Custom licence | |
| Triage CI FailureDataDog/datadog-agent | 3.8k | — | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Dynamo Jira TicketDynamoDS/Dynamo | 2k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Fix Ready PRsfastrepl/anarlog | 9.5k | — | ~1.4k | Automated safety check: Pass | MIT | |
| Trx Analysismicrosoft/vstest | 969 | — | ~1.8k | Automated safety check: Pass | MIT |
swig/swig
Run SWIG test suite for specific languages. An agent skill from swig/swig.
DataDog/datadog-agent
Classify a failed CI as either caused by an active incident, flakiness, or a true code regression.
DynamoDS/Dynamo
Create structured Jira tickets for Dynamo from bug reports, failing tests, or feature requests.
fastrepl/anarlog
Inspect every open non-draft PR for CI failures and unresolved Cursor Bugbot findings, then fix them on the existing PR branches.
microsoft/vstest
Parse and analyze Visual Studio TRX test result files. An agent skill from microsoft/vstest.
workersio/skills
Testing workflow skill for finding high-value test candidates, writing focused tests, generating realistic workloads, reviewing test value, and diagnosing test-suite health.
aztfmod/terraform-provider-azurecaf
Fetch the latest CAF abbreviations page from Microsoft Learn and compare against resourceDefinition.json official.slug values.
aztfmod/terraform-provider-azurecaf
Update CHANGELOG.md with a new entry under the correct section.
aztfmod/terraform-provider-azurecaf
Ensure documentation files under docs/resources/ and docs/data-sources/ reflect current resource types with accurate examples.
aztfmod/terraform-provider-azurecaf
Parse a 'new resource request' GitHub issue and extract the resource type, slug, and naming constraints to produce a draft resourceDefinition.json entry.
aztfmod/terraform-provider-azurecaf
Re-fetch Azure naming rules for a set of resources and compare against current regex/length/scope values in resourceDefinition.json.
aztfmod/terraform-provider-azurecaf
Accept a list of Azure resource types, batch-research each via azure-naming-research conventions, generate JSON entries, and insert all into resourceDefinition.json.
Categories
Analyze test failure output to identify root cause and suggest fixes. Test Failure Diagnosis is an agent skill from aztfmod/terraform-provider-azurecaf. Analyze test failure output to identify root cause and suggest fixes.
Test Failure Diagnosis fits situations like: test failures occur; : test failures.
Run `npx skills add aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -a claude-code`. Or copy the skill folder (.github/skills/test-failure-diagnosis in aztfmod/terraform-provider-azurecaf) into .claude/skills/test-failure-diagnosis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -a codex`. Or copy the skill folder (.github/skills/test-failure-diagnosis in aztfmod/terraform-provider-azurecaf) into .agents/skills/test-failure-diagnosis 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 aztfmod/terraform-provider-azurecaf --skill test-failure-diagnosis -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-diagnosis, .gemini/skills/test-failure-diagnosis, .github/skills/test-failure-diagnosis and .opencode/skills/test-failure-diagnosis in your project.
Going by SKILL.md and its folder, Test Failure Diagnosis needs the command-line tools its instructions call (python3 and go). Our summary lists: Python 3.
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 Diagnosis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 559 tokens (SKILL.md is roughly 2.2k 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 Diagnosis: Swig Test (swig/swig, 6.3k stars), Triage CI Failure (DataDog/datadog-agent, 3.8k stars), Dynamo Jira Ticket (DynamoDS/Dynamo, 2k stars) and Fix Ready PRs (fastrepl/anarlog, 9.5k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
aztfmod (a GitHub organization) maintains it in aztfmod/terraform-provider-azurecaf, which has 188 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on September 21, 2026.
Source: aztfmod/terraform-provider-azurecaf on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.