DryRunSecurity Skills for AI Coding Assistants
Official skills for AI coding assistants (Claude Code, Cursor, Windsurf, Codex) to work with DryRunSecurity — covering both vulnerability remediation and the full PR/MR review workflow.
What This Does
This repo provides two skills that together cover the complete DryRunSecurity workflow:
Vulnerability Remediation — When DryRunSecurity scans your pull request and leaves a finding, this skill guides your AI assistant to understand and fix it contextually.
PR Review Workflow — Automates the full PR/MR lifecycle: branch, commit, push, open a PR or MR, then poll for and present DryRunSecurity review comments for your decisions.
The Full Flow:
You write code → AI creates branch + commit + PR/MR →
DryRunSecurity scans and comments → AI presents findings →
You decide what to fix → AI remediates and re-submits →
DryRunSecurity approves
Philosophy
Context is King. DryRunSecurity spends significant effort understanding your codebase to identify real vulnerabilities. These skills do the same — they guide AI assistants to:
- Understand your codebase - Existing patterns, tech stack, conventions
- Research authoritative sources - Official docs, OWASP, CWE references
- Apply contextual fixes - Matches your code style, uses your existing utilities
- Explain and verify - Why it was vulnerable, why the fix works
No static cheat sheets. No generic examples. Fixes grounded in your code.
Installation
For Cursor
Download to your project (always latest):
curl -o .cursorrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/main/standalone/.cursorrules
Or pin to a specific version:
curl -o .cursorrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/v1.0.0/standalone/.cursorrules
For Windsurf
Download to your project (always latest):
curl -o .windsurfrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/main/standalone/.windsurfrules
Or pin to a specific version:
curl -o .windsurfrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/v1.0.0/standalone/.windsurfrules
For Claude Code
# Add the marketplace
/plugin marketplace add DryRunSecurity/external-plugin-marketplace
# Install the remediation plugin
/plugin install dryrun-remediation@dryrunsecurity
# Install the PR review workflow plugin
/plugin install dryrun-pr-review@dryrunsecurity
Recommended: pre-approve the CLI tools to avoid repeated permission prompts during the PR workflow. Run this once after installing:
/permissions allow Bash(git:*)
/permissions allow Bash(gh:*)
/permissions allow Bash(glab:*)
Or add them to your project's .claude/settings.json:
{
"permissions": {
"allow": ["Bash(git:*)", "Bash(gh:*)", "Bash(glab:*)"]
}
}
For Other AI Assistants (VS Code, Codex, etc.)
Download or copy standalone/RULES.md into your AI assistant's system prompt or rules configuration.
Versioning
All skill files include a version number in their header:
# Version: 1.0.0
Version Policy
main branch - Always contains the latest version
- Git tags (
v1.0.0, v1.1.0, etc.) - Pinned releases
Staying Up to Date
Option 1: Always latest (recommended for most users)
# Re-run the curl command to get the latest
curl -o .cursorrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/main/standalone/.cursorrules
Option 2: Pin to a version
# Use a specific tag
curl -o .cursorrules https://raw.githubusercontent.com/DryRunSecurity/external-plugin-marketplace/v1.0.0/standalone/.cursorrules
Checking Your Version
Look at the top of your rules file:
# DryRunSecurity AI Assistant Instructions
# Version: 1.0.0
Compare with the latest release.
Usage
Fixing a DryRunSecurity finding
Share the finding with your AI assistant:
"DryRunSecurity found a SQL injection vulnerability in my PR.
Here's the comment: [paste comment]. Can you help me fix it?"
Or point directly to the file:
"Fix the SQL injection in src/handlers/user.go line 45"
The skill guides the assistant to:
- Read and understand your affected code
- Find how similar issues are handled elsewhere in your codebase
- Research the authoritative fix for your framework/version
- Apply a fix that matches your existing patterns
- Explain why it was vulnerable and why the fix works
Creating a PR/MR for DryRunSecurity review
"Create a PR for my changes"
"Submit this for review"
"Push and open a pull request"