Skip to main content

fix-semgrep-grammar

Fix the Semgrep extension grammar for a language until `test-lang <lang>` passes. Use when the semgrep grammar build/test fails — typically after an upstream tree-sitter grammar was bumped: parser-generation errors, corpus mismatches, failed example files, or Blank-node warnings under `lang/semgrep-grammars/src/semgrep-<lang>/`. Edits only this repo's semgrep grammar/tests; never the upstream submodule or the CST→AST translation.

Jump to install

Source facts

Repository
semgrep/ocaml-tree-sitter-semgrep
Last source activity
July 27, 2026 at 22:02
Detected SKILL.md language
English
Stars
16
Forks
25

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.