CtrlK
BlogDocsLog inGet started
Tessl Logo
PluginPublic

testland/semgrep-rules

Use for any question or task about Semgrep, writing a rule that flags a code pattern, or a lighter static analysis (SAST) gate than CodeQL that needs no code database: Registry rulesets and custom YAML rules, semgrep ci with diff-aware baselines, nosemgrep suppressions, path filters, severity filters and JSON, SARIF, GitLab or JUnit output.

Quality

94%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Low

Low-risk findings worth noting

Overview
Quality
Evals
Security
Files

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

Excellent skill content: a clearly sequenced six-step workflow with real validation checkpoints, fully executable commands and configs, and clean progressive disclosure to a single purposeful reference file. The only improvement area is trimming the Overview's background on what Semgrep is and the repeated citation framing.

DimensionReasoningScore

Conciseness

The body is dense and table-driven with every step carrying executable commands, but minor over-explanation could be trimmed — the Overview explains what Semgrep is ('Semgrep is a fast pattern-based static analyzer covering 30+ languages...') which Claude already knows, and the repeated 'Per [sg-quick]' / 'Per [sg-cli]' citation framing adds tokens without adding guidance. This sits above level 3 (only minor trimming needed) but below the lean-every-token-earns-its-place anchor.

4 / 5

Actionability

Fully executable, copy-paste-ready guidance throughout: install commands per platform, concrete scan invocations with pinned rulesets, a complete custom-rule YAML with metadata, ruleid:/ok: test fixtures, a full GitHub Actions workflow with SARIF upload, and a filled-in nosemgrep justification template — covering the common cases exactly as the top anchor requires.

5 / 5

Workflow Clarity

Steps 1–6 are clearly sequenced (install → first scan → author+test rules → CI with baseline → false-positive triage → CLI reference) with explicit validation checkpoints: 'semgrep validate --config .semgrep.yml', 'semgrep --test rules/' guarding against both false positives and false negatives, exit-code gating (0/1/2), and the note that the baseline commit must exist locally so 'fetch-depth: 0' is required — a genuine validate-before-gating feedback loop.

5 / 5

Progressive Disclosure

The SKILL.md acts as a workflow spine with exactly one well-signaled, one-level-deep reference — 'The full output-format flags, performance-tuning flags, and complete exit-code table are in references/cli-reference.md' — and that file exists and contains precisely the promised format/flag/exit-code tables, so exhaustive detail is appropriately split out while the spine stays navigable.

5 / 5

Total

19

/

20

Passed

Description

92%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description: it explicitly states when to use the skill with concrete trigger phrases, comprehensively enumerates capabilities, and carves out a distinct niche against CodeQL. The only weakness is moderate synonym coverage for natural trigger terms.

DimensionReasoningScore

Specificity

The description lists multiple concrete capabilities — 'writing a rule that flags a code pattern', 'custom YAML rules, semgrep ci with diff-aware baselines, nosemgrep suppressions, path filters, severity filters and JSON, SARIF, GitLab or JUnit output' — giving comprehensive coverage of the skill's actions with no material gaps, matching the top anchor rather than the 'minor gaps' level 4.

5 / 5

Completeness

Both 'what' and 'when' are explicit: 'Use for any question or task about Semgrep, writing a rule that flags a code pattern, or a lighter static analysis (SAST) gate than CodeQL' provides concrete trigger phrases, and the colon-delimited capability list fully answers what the skill does — matching the top anchor.

5 / 5

Trigger Term Quality

Natural terms users would say are present — 'Semgrep', 'static analysis (SAST)', 'CodeQL', 'rule', 'suppressions' — giving good keyword coverage, but common variations like 'lint', 'code scanning', or 'security scan' are missing, placing it just below the comprehensive-synonyms anchor at 5 and clearly above level 3.

4 / 5

Distinctiveness Conflict Risk

The description names its niche explicitly and differentiates from the closest competitor ('a lighter static analysis (SAST) gate than CodeQL that needs no code database'), so it is clearly distinguishable with minimal risk of triggering for the wrong skill.

5 / 5

Total

19

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

On this page