Skip to main content
在 Manus 中运行任何 Skill
一键导入

slo-rulegen

星标5
分支0
更新时间2026年5月4日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
8 个文件
SKILL.md
readonly