Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

slo-rulegen

Sterne5
Forks0
Aktualisiert4. Mai 2026 um 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

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

Datei-Explorer
8 Dateien
SKILL.md
readonly