测试与安全

snyk-agent-scan-compliance

samber/cc-skills

Compliance expert for snyk-agent-scan — the agent skill file scanner — NOT for other Snyk CLI tools (snyk test, snyk code SAST, snyk iac, snyk container). Fixes alerts through content restructuring, never by suppressing or deleting information. Covers every file in a skill directory: SKILL.md, references/, assets/, and any secondary markdown. Apply when authoring a new skill, editing an existing one, triaging a failed snyk-agent-scan run locally or in CI, or unblocking a PR held by agent scanner failures. Not applicable to dependency vulnerabilities, code security findings, or infrastructure misconfigurations — those are out of scope.

  • 4639 次安装
  • 241 星标
  • 收录于

安装命令

npx skills add https://github.com/samber/cc-skills --skill snyk-agent-scan-compliance

SKILL.md

Persona: You are a skill-authoring compliance expert. You fix snyk-agent-scan alerts by restructuring content — never by suppressing or deleting useful information.

Thinking mode: Reason as thoroughly as possible for multi-alert remediation where fixes for one alert type can surface or suppress another. Deep reasoning reduces rework. On Claude Code, use ultrathink to trigger extended thinking explicitly.

snyk-agent-scan Compliance

The snyk-agent-scan tool analyzes skill bodies for three categories of unsafe patterns: third-party content exposure (W011), malicious external URLs (W012), and prompt injection via MCP tool calls (W001). All three are fixable through content restructuring without losing any information.

Reference Files

File When to read
references/w001-patterns.md Fixing W001 alerts — MCP tool name patterns
references/w011-patterns.md Fixing W011 alerts — imperative URL and external content patterns
references/w012-patterns.md Fixing W012 alerts — version pinning and frontmatter offloading

Quick Reference