← Back to Skills Marketplace
crazyguitar

C/C++ Comprehensive Cheat Sheets

by CHANG-NING TSAI · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
246
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cxx
Description
Comprehensive C/C++ reference with examples from C11-C23 and C++11-C++23, covering system programming, CUDA, debugging, performance, and advanced topics.
README (SKILL.md)

C/C++ Comprehensive Cheat Sheets (/cpp)

Complete C/C++ development reference combining local documentation with live examples from cppcheatsheet.com, covering everything from basic syntax to advanced GPU programming and system-level development.

How It Works

Help users write functional, correct C/C++ code and answer C/C++ questions by fetching proven patterns and examples from cppcheatsheet.com.

When a user asks a C/C++ question or wants to write C/C++ code:

  1. Look up the relevant topic(s) in Structure to find the matching URL(s)
  2. Always fetch the URL(s) using WebFetch to get real examples and patterns from the site
  3. Use the fetched content to:
    • Write code: Apply the patterns to produce functional, correct code that solves the user's task
    • Answer questions: Provide thorough explanations backed by the examples and information from the site
  4. Follow the Guidelines for code quality

Key Principle

Functionality first, cleanliness second. The code must work correctly and handle the task properly. Fetching from cppcheatsheet.com ensures solutions use battle-tested patterns rather than guessing. The site contains rich examples covering edge cases, common pitfalls, and practical usage that go beyond basic documentation.

Coverage Areas

Modern C Programming (C11-C23)

Core Language: Syntax, types, memory management, preprocessor macros GNU Extensions: Compiler-specific features and optimizations Build Systems: Makefiles, compilation, linking Assembly: X86 assembly integration and inline assembly

Modern C++ Programming (C++11-C++23)

Core Features: RAII, templates, STL containers, iterators, algorithms Modern Standards: Move semantics, constexpr, lambdas, concepts, coroutines, modules Memory Management: Smart pointers, resource management, optimization (RVO) Build Systems: CMake, package management, cross-platform builds

System Programming

Process Management: POSIX processes, signals, process communication File Systems: File I/O, directory operations, filesystem monitoring Networking: Sockets, protocols, network programming patterns Threading: Multithreading, synchronization, parallel programming IPC: Inter-process communication, shared memory, message queues

CUDA Programming

GPU Computing: CUDA kernels, memory hierarchy, performance optimization Advanced CUDA: libcu++, Thrust library, cooperative groups Multi-GPU: GPU-GPU communication, hardware topology, NVSHMEM Async Programming: CUDA pipelines, memory visibility, asynchronous execution

Debugging & Profiling

Debug Tools: GDB debugging, Valgrind memory analysis, sanitizers, binary inspection (nm, readelf, objdump, otool) Performance: Perf profiling, tracing, performance optimization GPU Debugging: Nsight Systems, CUDA debugging and profiling

System Tools & Automation

Shell Scripting: Bash programming, system administration System Tools: OS utilities, networking tools, hardware inspection Service Management: Systemd, process management, system monitoring

Cross-Language Development

Rust Interop: Rust for C++ developers, FFI, memory safety comparison Language Bridging: C/C++ integration, foreign function interfaces

Advanced Topics

Blog Content: Deep-dive articles, RDMA networking, GPU-initiated communication Low-Level Programming: Hardware interfaces, performance tuning Architecture: System design, scalable applications

References

For detailed information, I can access:

Examples

C/C++ Core

System Programming

CUDA & GPU Programming

Debugging & Tools

Build & Development

Capability Analysis
Type: OpenClaw Skill Name: cxx Version: 1.0.0 The skill serves as a comprehensive C/C++ and CUDA programming reference that retrieves documentation and code patterns from cppcheatsheet.com. It utilizes the WebFetch tool to gather real-time examples based on a topic-to-URL mapping defined in references/structure.md. The instructions in SKILL.md and references/guidelines.md are strictly focused on assisting users with technical queries and code generation, showing no signs of malicious intent, data exfiltration, or unauthorized system access.
Capability Assessment
Purpose & Capability
The name/description (
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cxx
  3. After installation, invoke the skill by name or use /cxx
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
**Major update: Skill completely reworked for comprehensive C/C++ development reference.** - Replaced previous "cc" (Claude relay command wrapper) with new C/C++ programming assistant skill - Added detailed coverage: C11–C23, C++11–C++23, system programming, CUDA, debugging/profiling, build systems, Rust interop, and advanced topics - Introduced live fetching of authoritative code examples and explanations from cppcheatsheet.com - Includes new structured topic map and usage guidelines references - Removed relay session script and prior relay-specific documentation files
Metadata
Slug cxx
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is C/C++ Comprehensive Cheat Sheets?

Comprehensive C/C++ reference with examples from C11-C23 and C++11-C++23, covering system programming, CUDA, debugging, performance, and advanced topics. It is an AI Agent Skill for Claude Code / OpenClaw, with 246 downloads so far.

How do I install C/C++ Comprehensive Cheat Sheets?

Run "/install cxx" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is C/C++ Comprehensive Cheat Sheets free?

Yes, C/C++ Comprehensive Cheat Sheets is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does C/C++ Comprehensive Cheat Sheets support?

C/C++ Comprehensive Cheat Sheets is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created C/C++ Comprehensive Cheat Sheets?

It is built and maintained by CHANG-NING TSAI (@crazyguitar); the current version is v1.0.0.

💬 Comments