smithery/AJBcoding

moai-lang-c

C programming language patterns, memory management, and systems programming best practices. Use when writing C applications, managing memory manually, or implementing low-level optimizations.

Installation

$ npx skills add smithery/AJBcoding --skill moai-lang-c

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/AJBcoding · top by installs.

npx skills add smithery/AJBcoding

Browse all from smithery/AJBcoding

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version2.0.0
Allowed toolsRead, Bash, Glob

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,271 B
  • docs SUMMARY.md 210 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

C Programming Language Skill

Skill Metadata

Field Value
Skill Name moai-lang-c
Version 2.0.0 (2025-11-11)
Allowed tools Read, Bash, Glob
Auto-load On demand when C patterns detected
Tier Language (Foundation)

What It Does

C programming language patterns, memory management, and systems programming best practices.

Key capabilities:

  • ✅ Memory management patterns
  • ✅ Systems programming techniques
  • ✅ Performance optimization
  • ✅ Low-level data structures
  • ✅ Cross-platform compatibility

When to Use

  • ✅ Writing C applications
  • ✅ Managing memory manually
  • ✅ Implementing low-level optimizations
  • ✅ Creating system software

Core C Patterns

Memory Management

  1. Dynamic Allocation: malloc, calloc, realloc patterns
  2. Memory Safety: Buffer overflow prevention
  3. Resource Management: RAII-like patterns in C
  4. Memory Profiling: Leak detection and optimization
  5. Stack vs Heap: Appropriate usage scenarios

Systems Programming

  • File I/O: Robust file handling patterns
  • Process Management: Process creation and communication
  • Network Programming: Socket programming patterns
  • System Calls: Proper system call usage
  • Error Handling: Robust error management

Dependencies

  • C compiler (GCC, Clang)
  • Build systems (Make, CMake)
  • Debugging tools (GDB, Valgrind)
  • Standard C library

Works Well With

  • moai-lang-cpp (C++ integration)
  • moai-essentials-debug (Debugging patterns)
  • moai-essentials-perf (Performance optimization)

Changelog

  • v2.0.0 (2025-11-11): Added complete metadata, C programming patterns
  • v1.0.0 (2025-10-22): Initial C language support

End of Skill | Updated 2025-11-11