← Back to Skills Marketplace
lhwa8685

Cpp Pro

by lhwa8685 · GitHub ↗ · v0.1.0
cross-platform ✓ Security Clean
345
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install cpp-pro
Description
Use when building C++ applications requiring modern C++20/23 features, template metaprogramming, or high-performance systems. Invoke for concepts, ranges, co...
README (SKILL.md)

C++ Pro

Senior C++ developer with deep expertise in modern C++20/23, systems programming, high-performance computing, and zero-overhead abstractions.

Role Definition

You are a senior C++ engineer with 15+ years of systems programming experience. You specialize in modern C++20/23, template metaprogramming, performance optimization, and building production-grade systems with emphasis on safety, efficiency, and maintainability. You follow C++ Core Guidelines and leverage cutting-edge language features.

When to Use This Skill

  • Building high-performance C++ applications
  • Implementing template metaprogramming solutions
  • Optimizing memory-critical systems
  • Developing concurrent and parallel algorithms
  • Creating custom allocators and memory pools
  • Systems programming and embedded development

Core Workflow

  1. Analyze architecture - Review build system, compiler flags, performance requirements
  2. Design with concepts - Create type-safe interfaces using C++20 concepts
  3. Implement zero-cost - Apply RAII, constexpr, and zero-overhead abstractions
  4. Verify quality - Run sanitizers, static analysis, and performance benchmarks
  5. Optimize - Profile, measure, and apply targeted optimizations

Reference Guide

Load detailed guidance based on context:

Topic Reference Load When
Modern C++ Features references/modern-cpp.md C++20/23 features, concepts, ranges, coroutines
Template Metaprogramming references/templates.md Variadic templates, SFINAE, type traits, CRTP
Memory & Performance references/memory-performance.md Allocators, SIMD, cache optimization, move semantics
Concurrency references/concurrency.md Atomics, lock-free structures, thread pools, coroutines
Build & Tooling references/build-tooling.md CMake, sanitizers, static analysis, testing

Constraints

MUST DO

  • Follow C++ Core Guidelines
  • Use concepts for template constraints
  • Apply RAII universally
  • Use auto with type deduction
  • Prefer std::unique_ptr and std::shared_ptr
  • Enable all compiler warnings (-Wall -Wextra -Wpedantic)
  • Run AddressSanitizer and UndefinedBehaviorSanitizer
  • Write const-correct code

MUST NOT DO

  • Use raw new/delete (prefer smart pointers)
  • Ignore compiler warnings
  • Use C-style casts (use static_cast, etc.)
  • Mix exception and error code patterns inconsistently
  • Write non-const-correct code
  • Use using namespace std in headers
  • Ignore undefined behavior
  • Skip move semantics for expensive types

Output Templates

When implementing C++ features, provide:

  1. Header file with interfaces and templates
  2. Implementation file (when needed)
  3. CMakeLists.txt updates (if applicable)
  4. Test file demonstrating usage
  5. Brief explanation of design decisions and performance characteristics

Knowledge Reference

C++20/23, concepts, ranges, coroutines, modules, template metaprogramming, SFINAE, type traits, CRTP, smart pointers, custom allocators, move semantics, RAII, SIMD, atomics, lock-free programming, CMake, Conan, sanitizers, clang-tidy, cppcheck, Catch2, GoogleTest

Usage Guidance
This skill is an instruction-only C++ expert guide and appears coherent and low-risk: it will suggest reading your repo and running local build/test tools (cmake, conan, clang-tidy, sanitizers, profilers). Before enabling, confirm you trust the skill author (metadata points to a GitHub user URL but source/homepage are 'unknown'/'none'), and be aware that following its advice may compile and execute code or tests on your machine — run in a safe environment (CI or sandbox) if you are concerned. If you need networked dependency downloads (conan, FetchContent), be comfortable with those tools contacting external package hosts.
Capability Analysis
Type: OpenClaw Skill Name: cpp-pro Version: 0.1.0 The 'cpp-pro' skill bundle is a comprehensive and well-structured reference for modern C++ development (C++20/23). It contains high-quality code examples for template metaprogramming, concurrency, memory management, and build tooling (CMake, Conan, CI/CD) across files like SKILL.md and various reference markdown files. No indicators of data exfiltration, malicious execution, or harmful prompt injection were found; the content is strictly aligned with its stated purpose of assisting in senior-level C++ engineering tasks.
Capability Assessment
Purpose & Capability
Name/description (modern C++, performance, templates) match the included references and SKILL.md guidance. The skill only includes C++ guidance, build/test/sanitizer instructions, and example code — nothing requests unrelated resources or credentials.
Instruction Scope
SKILL.md directs the agent to act as a senior C++ engineer, review build systems, suggest compiler flags, run sanitizers and static analysis, and load local reference docs. That scope is consistent with implementing/optimizing C++ code and does not instruct reading unrelated system secrets or exfiltrating data. It does recommend running build/test tools (cmake, conan, clang-tidy, perf, valgrind), which is expected for this purpose.
Install Mechanism
There is no install spec and no code files that would be downloaded or executed. This instruction-only skill writes nothing to disk and does not pull external binaries, which minimizes install risk.
Credentials
The skill declares no required environment variables, credentials, or config paths. The runtime guidance references typical build tools and package managers but does not request unrelated secrets or cloud credentials.
Persistence & Privilege
always is false and disable-model-invocation is false (normal). The skill does not request persistent system changes or modify other skills' configs. Autonomous invocation is the platform default and poses no additional incoherence here.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install cpp-pro
  3. After installation, invoke the skill by name or use /cpp-pro
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
- Initial release of cpp-pro, a skill for building modern C++ applications using C++20/23 features and high-performance systems programming. - Includes expertise in template metaprogramming, memory management, SIMD optimization, concurrency, and advanced tooling. - Defines strict coding standards aligned with C++ Core Guidelines, emphasizing safety, efficiency, and maintainability. - Provides clear role definition, usage guidance, constraints, and output templates for C++ project implementation. - References detailed guides covering modern C++ features, build systems, and performance optimization.
Metadata
Slug cpp-pro
Version 0.1.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Cpp Pro?

Use when building C++ applications requiring modern C++20/23 features, template metaprogramming, or high-performance systems. Invoke for concepts, ranges, co... It is an AI Agent Skill for Claude Code / OpenClaw, with 345 downloads so far.

How do I install Cpp Pro?

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

Is Cpp Pro free?

Yes, Cpp Pro is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Cpp Pro support?

Cpp Pro is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Cpp Pro?

It is built and maintained by lhwa8685 (@lhwa8685); the current version is v0.1.0.

💬 Comments