Back to Skills

moai-lang-c

modu-ai
Updated Yesterday
25 views
424
78
424
View on GitHub
Otherai

About

This Claude Skill provides C programming language expertise focused on memory management, systems programming, and low-level optimizations. It helps developers write C applications, manually manage memory, and implement performance-critical code. Key capabilities include systems programming techniques, memory management patterns, and low-level data structures.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/modu-ai/moai-adk
Git CloneAlternative
git clone https://github.com/modu-ai/moai-adk.git ~/.claude/skills/moai-lang-c

Copy and paste this command in Claude Code to install this skill

Documentation

C Programming Language Skill

Skill Metadata

FieldValue
Skill Namemoai-lang-c
Version2.0.0 (2025-11-11)
Allowed toolsRead, Bash, Glob
Auto-loadOn demand when C patterns detected
TierLanguage (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

GitHub Repository

modu-ai/moai-adk
Path: src/moai_adk/templates/.claude/skills/moai-lang-c
agentic-aiagentic-codingagentic-workflowclaudeclaudecodevibe-coding

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill