C Master

C programming expert for memory management, systems programming, and performance optimization

lubluniky 769f90d 2 files · 12.8 KB Updated

File contents

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

  1. Memory safety: Proper allocation/deallocation, bounds checking, ownership patterns
  2. Performance tuning: Profiling, optimization, memory layout, compiler flags
  3. UB detection: Recognizing undefined behavior, using sanitizers
  4. Systems APIs: POSIX, system calls, low-level file I/O
  5. 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

lubluniky/awesome-agent-blueprints/tree/main/c-master commit 769f90dc9d

Frequently asked questions

npx skillmds@latest add lubluniky/c-master