CtrlK
BlogDocsLog inGet started
Tessl Logo

testland/semgrep-rules

Configures and runs Semgrep - pattern-based SAST across 30+ languages with the Semgrep Registry rulesets (`p/owasp-top-ten`, `p/default`, `auto`) plus custom YAML rules; integrates `semgrep ci` for PR-blocking gates with `--baseline-commit` diff-aware scanning, per-finding inline `nosemgrep` suppressions, `--exclude` / `--include` path filters, output formats (`--json` / `--sarif` / `--gitlab-sast` / `--junit-xml`), and severity filter (INFO/WARNING/ERROR). Use when the user runs Semgrep, asks about pattern rules, or needs a low-friction SAST gate without semantic-DB setup.

75

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

85%

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

A well-structured, highly actionable skill body with clear sequencing, a validation checkpoint, and proper progressive disclosure via the cli-reference bundle file. The only weakness is mild redundancy in the Overview, which restates Semgrep basics already present in the description.

Suggestions

Trim the Overview prose — keep only the doc-citation link anchors and the scan-vs-ci exit-code distinction, since the description already establishes what Semgrep is.

Condense the scan-vs-ci blockquote to one line; the same point reappears in the Anti-patterns table ('semgrep scan in CI ... doesn't return failing exit code').

DimensionReasoningScore

Conciseness

Mostly lean and command-dense, but the Overview paragraph restates what Semgrep is ('fast pattern-based static analyzer covering 30+ languages with a registry of community + paid rulesets') — territory the description already covers and Claude already knows — so it could be tightened.

2 / 3

Actionability

Copy-paste-ready guidance throughout: brew/pipx/uv/docker install, `semgrep scan --config`, a complete YAML rule, a GitHub Actions workflow, and a real `nosemgrep` justification template.

3 / 3

Workflow Clarity

Steps 1–6 are clearly sequenced with an explicit validation checkpoint (`semgrep validate --config .semgrep.yml`) and a mandatory triage template plus a quarterly audit cadence acting as a feedback loop.

3 / 3

Progressive Disclosure

The body acts as a spine, offloading exhaustive output-format, performance, and exit-code tables to a real, one-level-deep references/cli-reference.md that is clearly signaled in Step 6.

3 / 3

Total

11

/

12

Passed

Description

100%

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, specific description that pairs a concrete capability list with an explicit 'Use when...' trigger clause and a clear differentiator from semantic-DB SAST tools. It is dense rather than fluffy, though its length sits at the upper edge of what a description should carry.

DimensionReasoningScore

Specificity

Lists many concrete actions — configures/runs Semgrep, registry rulesets (`p/owasp-top-ten`, `p/default`, `auto`), custom YAML rules, `semgrep ci` PR gates with `--baseline-commit`, `nosemgrep` suppressions, path filters, output formats, and severity filter.

3 / 3

Completeness

Explicitly answers both what it does (the capability list) and when to use it ('Use when...'), with an explicit trigger clause rather than an implied one.

3 / 3

Trigger Term Quality

'Use when the user runs Semgrep, asks about pattern rules, or needs a low-friction SAST gate' uses phrasing a user would naturally say, covering the common invocation cases.

3 / 3

Distinctiveness Conflict Risk

Semgrep-specific triggers plus the 'without semantic-DB setup' differentiator clearly separate it from the CodeQL/SonarQube sister scanners mentioned in the body.

3 / 3

Total

12

/

12

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.

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Reviewed

Table of Contents