代碼質素
Systems Programming Principles Skill
Enforces Clean Code, DRY, YAGNI, and KISS principles and safe concurrent memory management using atomic operations (Test-and-Set, Compare-and-Swap) in C, C++, and Rust. Trigger this skill automatically and proactively whenever the user is working with, writing, reviewing, refactoring, or discussing any .c, .cpp, .h, .hpp, .cc, or .rs file — even if they don't explicitly ask for clean code or memory safety advice. Also trigger when the user asks about mutexes, locks, shared state, concurrency, atomic operations, or synchronization in systems languages. This skill should feel like a permanent co-pilot for all systems-level C/C++/Rust work.