Security guidelines for writing secure code. Use when writing code, reviewing code for vulnerabilities, or asking about secure coding practices like 'check for…
Code Security Guidelines Comprehensive security rules for writing secure code across 15+ languages. Covers OWASP Top 10, infrastructure security, and coding best practices with 28 rule categories. How to Use This Skill Proactive mode — When writing or reviewing code, automatically check for relevant vulnerabilities based on the language and patterns present. You don't need to wait for the user to ask about security. Reactive mode — When the user asks about security, use the categories below to find the relevant rule file, then read it for detailed vulnerable/secure code examples. Workflow Identify the language and what the code does (handles input? queries a DB? reads files?) Check the relevant rules below — focus on Critical and High impact first Read the specific rule file from rules/ for detailed code examples in that language Apply the secure patterns, or flag the vulnerable patterns if reviewing Language-Specific Priority Rules When writing code in these languages, check these rules first:
don't have the plugin yet? install it then click "run inline in claude" again.
by @openai