Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

slo-rulegen

النجوم٥
التفرعات٠
آخر تحديث٤ مايو ٢٠٢٦ في ١٢:٤٨

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