semgrep-rule-variant-creator
Ports Semgrep rules to new languages using a strict test-driven methodology and applicability analysis.
Install
npx skills add https://github.com/trailofbits/skills --skill semgrep-rule-variant-creatorStats
| Total installs | 1,159 |
| Weekly installs | 1.2K |
| GitHub stars | 4.0K |
| First seen | Jan 20, 2026 |
| Source | @trailofbits/skills |
Summary
- Takes an existing Semgrep rule and target languages as input; produces independent rule and test directories for each applicable language
- Requires mandatory applicability analysis per language before porting, rejecting shortcuts like assuming identical patterns across different ASTs
- Enforces test-first methodology: write minimum 2 vulnerable and 2 safe test cases before creating the rule for each language
- Completes a full 4-phase cycle (applicability analysis, test creation, rule creation, validation) per language before moving to the next
Tags
Related skills
| Skill | Installs | vs semgrep-rule-variant-creator |
|---|---|---|
| asc-notarization | 1,144 | -15 |
| cosmos-vulnerability-scanner | 1,187 | +28 |
| constant-time-analysis | 1,194 | +35 |
| ton-vulnerability-scanner | 1,172 | +13 |
| testing-handbook-generator | 1,189 | +30 |
FAQ
- How many installs does semgrep-rule-variant-creator have?
- semgrep-rule-variant-creator has 1,159 total installs and 1.2K installs this week.
- Where is semgrep-rule-variant-creator hosted?
- semgrep-rule-variant-creator is published by @trailofbits/skills at https://github.com/trailofbits/skills.
- How many GitHub stars does semgrep-rule-variant-creator have?
- semgrep-rule-variant-creator has 4.0K GitHub stars.
- When was semgrep-rule-variant-creator first indexed?
- OrangeBot.AI first indexed semgrep-rule-variant-creator on Jan 20, 2026.
- How do I install semgrep-rule-variant-creator?
- Run: npx skills add https://github.com/trailofbits/skills --skill semgrep-rule-variant-creator