{"id":7336,"plugin_id":"plugin_asdk_app_6a033addd77881918cea85cd71109f80","kind":"skill","collection_source":null,"comparison_source":null,"observed_at":"2026-09-30T22:50:22.534Z","digest":"dbb129fd1c9c23be1be5ef2fa54d9dac885d4e7206a95bf1a0b5a8c9806310ed","against":null,"payload":{"description":"Fix a failing Vanta compliance test by generating code changes and opening a pull request","included_files":[],"name":"fix-test","skill_md_contents":"---\nname: fix-test\ndescription: Fix a failing Vanta compliance test by generating code changes and opening a pull request\nargument-hint: test ID or Vanta test URL\n---\n\nFix the failing Vanta test specified in $ARGUMENTS.\n\n## Steps\n\n1. **Parse the test ID.** If `$ARGUMENTS` is 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.\n2. **Get remediation context.** Call `getAgentRemediationPrompt` with the test ID and follow instructions. \n3. **Follow the returned prompt.** The `getAgentRemediationPrompt` response contains a system prompt and user message with test-specific remediation intelligence. Follow these instructions to scan the local repository and generate the fix.\n\n## Edge cases\n\n- **Test ID not found:** Call `tests` to 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.\n- **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.\n- **Malformed or non-test URL:** \"I couldn't parse a test ID from that URL.\" Then show the failing tests list.\n- **Ambiguous description (no ID):** If `$ARGUMENTS` doesn't match a test ID, call `tests` and 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.\n- **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.\n- **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.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}