Snyk

From slackapi/slack-cli · View interactive version

Snyk is an AI agent skill from the GitHub repository slackapi/slack-cli. Run Snyk security scans to find dependency vulnerabilities and source code issues. Use for monthly security reviews or when checking for new vulnerabilities.

How to use this skill

Skill file

Run a Snyk security scan on this project.

1. Check prerequisites

Run which snyk to verify Snyk is installed. If not found, tell the user to install it with brew install snyk or npm install -g snyk.

Run snyk auth check or snyk whoami to verify authentication. If not authenticated, tell the user to run ! snyk auth to log in interactively.

2. Run `snyk test` (dependency vulnerabilities — primary scan)

Run snyk test to scan Go module dependencies for known vulnerabilities.

This is the most important scan. Summarize the results:

3. Run `snyk code test` (source code analysis — secondary scan)

Run snyk code test to scan the project's own Go source code for security issues.

This scan is optional and secondary. Summarize the results:

4. Present a prioritized action plan

Combine both scan results into a single prioritized plan:

  1. Fix now — dependency upgrades with available fixes (propose commands)
  2. Fix now — simple source code issues from snyk code test
  3. Defer — dependency vulnerabilities waiting on upstream fixes
  4. Defer — complex source code issues that need more investigation

Ask the user which items they'd like to tackle, then help resolve them.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.