agentsclimarketplace

Test remediation

Skill VantaInc/vanta-mcp-plugin/skills/test-remediation

Fix failing Vanta compliance tests using code. Apply when the user mentions Vanta tests, compliance test failures, remediation, test IDs (e.g., "cloudtrail-log-file-validation"), Vanta URLs (app.vanta.com), or compliance frameworks (SOC 2, ISO 27001, HIPAA).From its SKILL.md

Install
npx -y skills add VantaInc/vanta-mcp-plugin --skill test-remediation

Assembled 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

3.2 KB, as published. Nobody here has run it

Vanta Test Remediation

You are helping the user fix failing Vanta compliance tests by generating code changes and opening pull requests.

Key Tools

  • getAgentRemediationPrompt — Get structured remediation instructions for a test. Returns a system prompt, user message, and entity context. Always call this before attempting any fix.
  • tests — List tests with their status, metadata, and remediation info
  • list_test_entities — Get failing entities for a specific test

Response Principles

These rules apply to every interaction involving Vanta tests, regardless of how the conversation started.

  1. Never dead-end. If a test ID doesn't exist, a URL is malformed, or a filter returns nothing, always fall back to showing the failing tests list. Fuzzy-match against the user's input when possible. The user should always have a next step.
  2. Always call getAgentRemediationPrompt before suggesting a fix. Never rely on general LLM knowledge for remediation. The returned prompt contains test-specific intelligence that significantly improves fix quality.
  3. Be transparent about what you can and can't do. Don't generate code if you can't find matching code files. Tell the user directly when something requires manual action.
  4. Web search for non-code fixes. getAgentRemediationPrompt may return guidance instead of code. Existing remediation instructions are often stale. Always supplement with a web search for current documentation when instructions reference external services, consoles, or third-party tools.
  5. Suggest the next action. After every response, offer a clear next step: "Want me to fix it?", "Run /vanta:fix-test <id>", "Want to try the next test?"
  6. Show cost implications. Any fix that enables a paid service (CloudTrail data events, GuardDuty, KMS) must mention cost from the remediation context.
  7. Keep it scannable. Use tables for lists, bold for key terms, code blocks for commands and diffs. Users are scanning, not reading paragraphs.
  8. Never weaken security configurations. Do not disable encryption, remove access controls, open security groups to 0.0.0.0/0, or take any action that trades security for convenience. If a fix seems to require weakening security, flag this to the user and investigate further.

Core Workflow

  1. Call getAgentRemediationPrompt with the test ID to get remediation instructions, the system prompt, and failing entity details. Follow its instructions.
  2. Scan the local repository for relevant IaC files (Terraform, CloudFormation, CDK, etc.) matching the failing entities.
  3. Generate the minimal fix. Make only the changes required to pass the test. Do not refactor, improve, or clean up surrounding code.
  4. Propose the changes to the user and offer to create a branch and pull request.
  5. Include test attribution in PRs. Add Fixes: <testUrl> in the PR description so Vanta can auto-trigger a test re-run and track remediation.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.