Skip to main content
Run any Skill in Manus
with one click

slo-rulegen

Stars5
Forks0
UpdatedMay 4, 2026 at 12:48

Use this skill to generate or extend a Semgrep rule pack for a Rust workspace. In bootstrap mode (no flags), seeds `.semgrep/rust/` with the top-10 Rust CWE classes (CWE-755 panic-DoS, CWE-416 UAF, CWE-697 incorrect-comparison, etc.). In extend mode (`--extend`), takes an agent-found bug summary + fix diff and produces 3-5 variation rules with auto-derived corpus, appended to the existing pack ONLY after `cargo xtask sast-verify gate` passes for every new rule. Trigger when the user says "generate Rust SAST rules", "bootstrap a Semgrep pack", or hits a bug they want to compound into a regression rule. Do NOT run in CI on attacker-supplied PR diffs.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
8 files
SKILL.md
readonly