/major-ai-skills:semgrepfrom major-ai-skills
Write and run Semgrep rules, triage findings, and tune CI scanning to reduce irrelevant alerts.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Semgrep is a lightweight SAST engine that matches code patterns (and taint rules) across many languages. Teams run packs (OWASP, language defaults) plus custom rules in CI. Agents write precise patterns, scope paths, and treat findings as work items with owners - suppressing only with documented justification.
Repo checkout
-> semgrep ci / semgrep scan
-> Rule packs + custom rules (.yaml)
-> Findings (SARIF/JSON)
-> Gate / triage / suppressions
** without review.nosemgrep comments or central allowlists.semgrep --config=auto .
semgrep --config=p/owasp-top-ten --severity=json -o semgrep.json
semgrep --config=./rules/custom.yaml src/
rules:
- id: no-raw-sql-format
languages: [python]
message: "Avoid formatting SQL with f-strings; use parameterized queries"
severity: ERROR
pattern: |
$CURSOR.execute(f"...{$X}...")
| Approach | When to use |
|---|---|
| Fix code | True positive, reachable |
Tighten rule (pattern-not, metavariable-regex) | Recurring false positives |
| Path exclude | Generated code / vendored trees |
Inline nosemgrep | Rare exceptions with ticket link |
@owasp-asvs priorities your team adopted.@codeql).@codeql - deeper semantic analysis in GitHub Advanced Security@owasp-asvs - requirements mapping for findings@snyk - SCA/container companion scanningWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization.Other plugins' skills for the same job
/act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.