Semgrep Rule Creator
Writes custom Semgrep rules with examples and tests to prove they catch the intended pattern.
How to use it
Install it with the open Skills CLI (needs Node.js), then restart your agent:
npx skills add trailofbits/skills --skill semgrep-rule-creator- Download the ZIP from this page and unzip it.
- Put the
semgrep-rule-creatorfolder in.claude/skills/inside your project (or~/.claude/skills/for all projects). - Restart Claude Code and call it with
/semgrep-rule-creator.
بالعربي
ينشئ قواعد Semgrep مخصصة مع أمثلة واختبارات للتحقق من اكتشاف النمط المقصود.
More for security
- /security-review (built into Claude Code): Runs a full security review of the pending changes on your branch.
- Security Review: Reviews auth, input handling, secrets and APIs before release, using a practical security checklist.
- Audit Context Building: Builds a precise picture of code flow, assumptions and dependencies before a security audit, so findings have context.