semgrep-rule-variant-creator

Installation
SKILL.md

Semgrep Rule Variant Creator

When to Use

  • Extending an existing Semgrep rule to cover additional vulnerability patterns
  • A rule catches one variant but misses similar patterns in different syntax
  • Adapting rules from one framework/language to another
  • Broadening detection after a specific vulnerability is found
  • Creating a family of related rules from a single exemplar

When NOT to Use

  • Writing rules from scratch (use semgrep-rule-creator)
  • Complex cross-function data flow (use CodeQL)
  • Rules for non-code files

Variant Creation Workflow

1. Analyze the Original Rule

Related skills

More from elizaos/eliza

Installs
4
Repository
elizaos/eliza
GitHub Stars
18.4K
First Seen
Apr 2, 2026