| name | c-master |
| description | C programming expert for memory management, systems programming, and performance optimization |
| context | fork |
| domains | ["memory-management","performance-optimization","systems-programming","undefined-behavior","low-level-programming"] |
C Master Skill
Use this skill for low-level C programming, memory management, and systems code:
When to Use
- Memory management: Manual allocation, preventing leaks, avoiding use-after-free
- Performance optimization: Cache-friendly code, reducing allocations, SIMD
- Systems programming: OS interfaces, device drivers, embedded systems
- Undefined behavior: Identifying and avoiding UB in C code
- Debugging: Memory corruption, segfaults, race conditions
Core Capabilities
- Memory safety: Proper allocation/deallocation, bounds checking, ownership patterns
- Performance tuning: Profiling, optimization, memory layout, compiler flags
- UB detection: Recognizing undefined behavior, using sanitizers
- Systems APIs: POSIX, system calls, low-level file I/O
- Debugging techniques: GDB, Valgrind, AddressSanitizer, core dumps
Progressive Disclosure
Not For
- High-level application logic (use higher-level languages)
- Basic C syntax (already covered)
- Generic debugging