memory-safe-c-cpp
Installation
SKILL.md
Memory-Safe C and C++
Purpose
Guide agents through making existing C and C++ safer (checked with GCC 16.2, Clang 23.1 and Fil-C 0.687): what each mitigation actually catches, how to enable it, and when a rewrite is the better answer.
Triggers
- "How do I harden a C codebase without rewriting it?"
- "What does
-fhardenedturn on?" - "Does FORTIFY catch heap overflows?"
- "How do I use Arm MTE or a hardened allocator?"
- "What is Fil-C and should I use it?"
- "Harden, sanitize, or rewrite in Rust?"