Install any skill in seconds. Free to start, no credit card required.
Get Started Free →waybarrios/semgrep-rule-creator
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns.
Passed 23 of 23 test cases with the skill, and 14 of 23 without it.
and 15 more in the full report
10 fixed15 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
If our rule ID is `xss-express` and target language is JavaScript, what is the exact file path structure where the YAML rule file and test file should be saved?
| Checked | Without skill | With skill |
|---|---|---|
| Places files under a top-level directory named xss-express. | Missed | Passed |
| Saves rule file as xss-express/xss-express.yaml and test file as xss-express/xss-express.js. | Missed | Passed |
The instructions your model reads when the skill loads.
Create production-quality Semgrep rules with proper testing and validation.
Ideal scenarios:
Do NOT use this skill for:
static-analysis skill)When writing Semgrep rules, reject these common shortcuts:
semgrep --test --config <rule-id>.yaml <rule-id>.<ext> to verify. Untested rules have hidden false positives/negatives.Too broad - matches everything, useless for detection:
# BAD: Matches any function call
pattern: $FUNC(...)
# GOOD: Specific dangerous function
pattern: eval(...)
test cases passed, vs 14 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.