Fix test
Fix a failing Vanta compliance test by generating code changes and opening a pull requestFrom its SKILL.md
npx -y skills add VantaInc/vanta-mcp-plugin --skill fix-testAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.9 KB, as published. Nobody here has run it
Fix the failing Vanta test specified in $ARGUMENTS.
Steps
- Parse the test ID. If
$ARGUMENTSis a URL (e.g.,https://app.vanta.com/c/<slug>/tests/<testId>), extract the test ID from the path. If it's a plain string, use it directly as the test ID. - Get remediation context. Call
getAgentRemediationPromptwith the test ID and follow instructions. - Follow the returned prompt. The
getAgentRemediationPromptresponse contains a system prompt and user message with test-specific remediation intelligence. Follow these instructions to scan the local repository and generate the fix.
Edge cases
- Test ID not found: Call
teststo fetch the failing tests list, fuzzy-match against the provided ID, and present the closest matches. "I couldn't find a test called[id]. Did you mean one of these?" Never dead-end. - Test is already passing: "This test is currently passing. No remediation needed." Then show the failing tests list so the user can pick something else.
- Malformed or non-test URL: "I couldn't parse a test ID from that URL." Then show the failing tests list.
- Ambiguous description (no ID): If
$ARGUMENTSdoesn't match a test ID, calltestsand filter by keyword. If one match, proceed. If multiple, show candidates with entity counts and ask which one. If none, show the full failing tests list. - No IaC files in directory: "I have the fix for this test, but I don't see any IaC files in this directory." Offer options: open Claude Code in the right repo, generate new Terraform files, or provide CLI commands.
- IaC files found but no matching resources: "I found Terraform files, but none manage the failing resources." Offer: import + fix, fix in a different repo, or CLI commands.