Skip to main content
semgrep-rule-variant-creatorby Trail of BitsDevelopmentGitHub stars: 7.4k

Semgrep Rule Variant Creator skill: what it does and how to install it

Ports existing Semgrep rules into independent, test-driven variants for named target languages, adapting patterns, tests and metadata.

Summary generated from the skill's documentation.

Install

$ npx skills add trailofbits/skills --skill semgrep-rule-variant-creator

Run it in a terminal. If your agent is already running, start a new session so it picks the skill up.

About this skill

What it does. Runs a separate applicability, test creation, rule translation and validation cycle for each named language. It uses Semgrep ASTs and semgrep --test, then writes an independent rule and idiomatic test file per applicable language, reporting failed, unsupported or inapplicable targets.

When to use it. Use it to port a finished Semgrep rule to specified languages. It is not for creating a new rule, repairing the original, or adding unrequested languages.

History

Repo stars

7.4kAbout +216 since 9 Jul 2026

Before 1 Oct 2026 the curve is estimated from public event data.

Stars are counted for the whole repository, which holds 49 skills.

Show as a table
Repo stars by day
DateRepo stars
5 Oct 20267,370
4 Oct 20267,355
3 Oct 20267,348
2 Oct 20267,340
1 Oct 20267,320
24 Sept 2026 (estimated)7,310
17 Sept 2026 (estimated)7,305
10 Sept 2026 (estimated)7,239
3 Sept 2026 (estimated)7,179
27 Aug 2026 (estimated)7,174
20 Aug 2026 (estimated)7,174
13 Aug 2026 (estimated)7,169
6 Aug 2026 (estimated)7,164
30 Jul 2026 (estimated)7,164
23 Jul 2026 (estimated)7,164
16 Jul 2026 (estimated)7,164
9 Jul 2026 (estimated)7,154

Installs

4.9k

Tracking since . A chart appears once there are 7 days of data.

Installs via skills.sh

Similar skills