Overview
semgrep-rule-variant-creator is an open-source testing skill for Claude Code and compatible agents, published by trailofbits. Its author describes it as: “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…”. The project has 6.6k stars on GitHub and is available under the CC-BY-SA-4.0 license. Add it to your setup with `/plugin marketplace add trailofbits/skills`.
What semgrep-rule-variant-creator does
Port an existing Semgrep rule to other languages, one independent test-driven cycle per language.
What’s inside
The SKILL.md for semgrep-rule-variant-creator is organised into these sections:
- Run it as a workflow
- The four phases
- Output
- Scope and reporting
- Rationalizations to Reject
- Quick Reference
- Documentation
Installation
Add semgrep-rule-variant-creator to your agent with:
/plugin marketplace add trailofbits/skills Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- Claude Code — ships a claude code plugin marketplace
License
semgrep-rule-variant-creator is published under the CC-BY-SA-4.0 license.
Strengths
- Clear CC-BY-SA-4.0 license — safe to read and adapt within its terms
- Ships in trailofbits/skills, an established project with 6,646 GitHub stars
- Works with Claude Code
- Actively maintained — repository updated in the last 90 days
Author
Topics
Frequently asked questions
- What does semgrep-rule-variant-creator do?
- 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.
- How do I install semgrep-rule-variant-creator?
- Run /plugin marketplace add trailofbits/skills in your agent, then reload your skills. Review the source at https://github.com/trailofbits/skills before installing.
- Is semgrep-rule-variant-creator free to use?
- Yes. semgrep-rule-variant-creator is free and open source under the CC-BY-SA-4.0 license, so you can read, run, and adapt it within that license's terms.
- Which agents does semgrep-rule-variant-creator work with?
- semgrep-rule-variant-creator lists Claude Code — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does semgrep-rule-variant-creator come from?
- semgrep-rule-variant-creator ships inside trailofbits/skills, a repository that contains 41 catalogued skills in total. The repository's 6,646 GitHub stars apply to that whole collection, not to this skill on its own.