This is a solid reference for modern C++ that cuts straight to the practical stuff. You get concrete examples of C++20/23 features like concepts, ranges, and coroutines, plus the fundamentals you actually need: smart pointers, move semantics, RAII patterns. The code samples are complete enough to compile and run, which beats hunting through Stack Overflow when you need to remember how to write a proper move constructor or chain range views. It leans heavily on showing rather than explaining, so you'll want some C++ experience already. Best used when you're upgrading legacy code to modern standards or need a quick syntax check on the newer language features without wading through committee proposals.

skills.sh installs
248
GitHub stars
44
last updated
Aug 21, 2026

Install

$ npx -y skills add personamanagmentlayer/pcl --skill cpp-expert --agent claude-code

Installs into .claude/skills of the current project.

Files

C++ Expert

Expert guidance for modern C++ development including C++20/23 features, STL, templates, memory management, and high-performance programming.

Core Concepts

Modern C++ Features (C++20/23)

  • Concepts and constraints
  • Ranges and views
  • Coroutines
  • Modules
  • Three-way comparison (spaceship operator)
  • std::format
  • std::span
  • Designated initializers
  • consteval and constinit

Memory Management

  • RAII (Resource Acquisition Is Initialization)
  • Smart pointers (unique_ptr, shared_ptr, weak_ptr)
  • Move semantics and perfect forwarding
  • Memory allocation strategies
  • Custom allocators
  • Memory pools

Performance

  • Zero-cost abstractions
  • Inline optimization
  • Template metaprogramming
  • Compile-time computation (constexpr)
  • Cache-friendly data structures
  • SIMD operations

STL Containers

Sequential Containers

#include <vector>
#include <deque>
#include <list>
#include <array>

// vector - dynamic array
std::vector<int> vec = {1, 2, 3, 4, 5};
vec.push_back(6);
vec.emplace_back(7); // Construct in-place
vec.reserve(100); // Pre-allocate capacity

Sponsors

Details

Repository
github.com/personamanagmentlayer/pcl
Category
Debugging
First seen
Jun 3, 2026

More from personamanagmentlayer/pcl

All 99

Recommended

More Debugging
1existential-birds avatarswift-code-reviewexistential-birds/beagleReviews Swift code for concurrency safety, error handling, memory management, and common mistakes. Use when reviewing .swift files for async/await patterns, act247skills.sh installs
2levnikolaevich avatarln-654-resource-lifecycle-auditorlevnikolaevich/claude-code-skillsChecks session scope mismatch, missing cleanup, pool config, error path leaks, resource holding. Use when auditing resource lifecycle.247skills.sh installs
3davila7 avatarsecurity-best-practicesdavila7/claude-code-templatesPerform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best pr246skills.sh installs
4pproenca avatarrust-implementpproenca/dot-skillsWrite production-grade Rust code using a multi-pass approach. Design types first, then implement, then simplify, then verify with automated lint. Use this skill246skills.sh installs
5thedivergentai avatargodot-export-buildsthedivergentai/gd-agentic-skillsExpert patterns for multi-platform exports including export templates (Windows/Linux/macOS/Android/iOS/Web), command-line exports (headless mode), platform-spec246skills.sh installs
6davila7 avatariterate-prdavila7/claude-code-templatesIterate on a PR until CI passes. Use when you need to fix CI failures, address review feedback, or continuously push fixes until all checks are green. Automates245skills.sh installs