Semgrep Rule Variant Creator
- For applicability analysis guidance, see [applicability-analysis.md]({baseDir}/references/applicability-analysis.md)
LLM Evaluation
Evaluated by: xiaomi/mimo-v2-flash:free
Last evaluated: May 17, 2026
Prompt Preview
---
name: semgrep-rule-variant-creator
description: Creates language variants of existing Semgrep rules. Use when porting a Semgrep rule to specified target languages. Takes an existing rule and target languages as input, produces independent rule+test directories for each language.
allowed-tools: Bash Read Write Edit Glob Grep WebFetch
---
# Semgrep Rule Variant Creator
Port existing Semgrep rules to new target languages with proper applicability analysis and test-driven validation.
## When...
Full prompt length: 8001 characters
Tools & Technologies
- Java
- java
- go
- Go