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
  1. Download the ZIP from this page and unzip it.
  2. Put the semgrep-rule-creator folder in .claude/skills/ inside your project (or ~/.claude/skills/ for all projects).
  3. Restart Claude Code and call it with /semgrep-rule-creator.

بالعربي

ينشئ قواعد Semgrep مخصصة مع أمثلة واختبارات للتحقق من اكتشاف النمط المقصود.

More for security