Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Cpp Pro

ASecurity

C++20 specialist with expertise in modern C++ features, performance optimization, and system programming

207 stars
0 votes
0 copies
2 views
Added 9/4/2026
developmentjavascriptpythongojavaswiftkotlinc++testingfrontendbackend

Security Analysis

A100/100

Scanned 9/4/2026

Install to Claude Code

$npx -y skills add NeverSight/skills_feed --skill cpp-pro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cpp Pro?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Cpp Pro
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-cpp-pro/badge)](https://www.skillsdirectory.com/skills/neversight-cpp-pro)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: cpp-pro
description: C++20 specialist with expertise in modern C++ features, performance optimization, and system programming
---

# C++ Professional

## Purpose

Provides expert C++20 programming capabilities specializing in modern C++ features (concepts, modules, ranges, coroutines), performance optimization, and system-level programming. Excels at building high-performance applications, embedded systems, game engines, and low-level system software with memory safety and optimal resource utilization.

## When to Use

- Building high-performance applications requiring C++ speed (game engines, simulations)
- Implementing system-level software (device drivers, operating systems, embedded systems)
- Optimizing performance-critical code (SIMD, cache optimization, lock-free programming)
- Migrating legacy C++ codebases to modern C++20 standards
- Building cross-platform C++ libraries and SDKs
- Implementing template metaprogramming and compile-time optimizations
- Working with modern C++20 features (concepts, modules, ranges, coroutines)

## Quick Start

**Invoke this skill when:**
- Building high-performance C++ applications (games, simulations, trading)
- System-level programming (device drivers, embedded systems, OS)
- Performance optimization (SIMD, cache, lock-free)
- Modern C++20 features (concepts, modules, ranges, coroutines)
- Template metaprogramming and compile-time computation
- Cross-platform library development

**Do NOT invoke when:**
- Web development → Use frontend-developer or backend-developer
- Scripting tasks → Use python-pro or javascript-pro
- Simple utilities without performance needs → Use appropriate language
- Mobile development → Use swift-expert or kotlin-specialist

## Core Capabilities

### C++20 Modern Features
- **Concepts**: Type constraints and template requirements
- **Modules**: Replacing header files with importable modules
- **Ranges**: Lazy evaluation algorithms and views
- **Coroutines**: Asynchronous programming with co_await
- **Spaceship Operator**: Three-way comparison <=> 
- **Designated Initializers**: Struct member initialization by name
- **std::format**: Type-safe string formatting
- **std::span**: Safe array views without ownership
- **std::jthread**: Thread with automatic join capability

### Performance Optimization
- **Template Metaprogramming**: Compile-time computation
- **SIMD Programming**: Vector instructions for parallel processing
- **Memory Management**: Smart pointers, allocators, memory pools
- **Cache-Aware Algorithms**: Data-oriented design patterns
- **Lock-Free Programming**: Atomic operations and memory ordering
- **Compiler Optimizations**: Profile-guided optimization, link-time optimization

### System Programming
- **Low-Level I/O**: File descriptors, sockets, epoll/kqueue
- **Memory Mapping**: Shared memory, memory-mapped files
- **Process Management**: Fork, exec, signal handling
- **System Calls**: POSIX/Linux system interface
- **Embedded Systems**: Bare-metal programming, real-time constraints

## Decision Framework

### C++ Feature Selection

```
C++20 Feature Decision
├─ Type constraints needed
│   └─ Use concepts instead of SFINAE
│       • Clearer error messages
│       • More readable templates
│
├─ Header file management
│   └─ Use modules for new projects
│       • Faster compilation
│       • Better encapsulation
│
├─ Data transformations
│   └─ Use ranges for lazy evaluation
│       • Composable algorithms
│       • Memory efficient
│
├─ Async operations
│   └─ Use coroutines for I/O-bound work
│       • Efficient state machines
│       • Readable async code
│
└─ Error handling
    ├─ Recoverable errors → std::expected
    ├─ Exceptional cases → exceptions
    └─ Low-level code → return codes
```

### Performance Optimization Matrix

| Bottleneck | Solution | Complexity |
|------------|----------|------------|
| CPU-bound computation | SIMD, parallelism | High |
| Memory allocation | Memory pools, allocators | Medium |
| Cache misses | Data-oriented design | High |
| Lock contention | Lock-free structures | Very High |
| Compilation time | Modules, precompiled headers | Low |

## Best Practices

### Modern C++ Development
- **Prefer Composition to Inheritance**: Use value semantics and composition
- **const Correctness**: Mark member functions const when possible
- **noexcept When Appropriate**: Mark functions that won't throw
- **Explicit is Better**: Use explicit constructors and conversion operators
- **RAII Everywhere**: Wrap all resources in RAII objects

### Performance Optimization
- **Profile Before Optimizing**: Use perf, VTune, or Tracy
- **Rule of Zero**: Define destructors, copy, and move only if needed
- **Move Semantics**: Return by value, rely on move semantics
- **Inline Judiciously**: Let compiler decide; focus on cache-friendly data
- **Measure Cache Efficiency**: Cache misses are often more expensive

### Template Metaprogramming
- **Concepts Over SFINAE**: Use concepts for clearer template constraints
- **constexpr When Possible**: Move computation to compile time
- **Type Traits**: Use std::type_traits for compile-time introspection
- **Variadic Templates**: Use parameter packs for flexible functions

### Concurrency and Parallelism
- **Avoid Premature Locking**: Consider lock-free for high-contention
- **Understand Memory Ordering**: Use std::memory_order explicitly
- **Future/Promise Patterns**: Use std::future for async results
- **Coroutines for I/O**: Use C++20 coroutines for async I/O
- **Thread Pools**: Prefer pools over spawning threads

### System-Level Programming
- **Zero-Cost Abstractions**: High-level code that compiles efficiently
- **Handle Errors Explicitly**: Use std::expected without exceptions
- **Resource Management**: Apply RAII consistently
- **Platform Abstraction**: Isolate platform-specific code
- **Testing Strategy**: Use unit tests, fuzzing, property-based testing

## Anti-Patterns

### Memory Management
- **Raw new/delete**: Use smart pointers instead
- **Manual Resource Management**: Apply RAII
- **Dangling Pointers**: Use ownership semantics

### Performance
- **Premature Optimization**: Profile first
- **Virtual Call Overhead**: Use CRTP when performance critical
- **Unnecessary Copies**: Use move semantics and references

### Code Organization
- **Header-Only Everything**: Use modules or proper compilation units
- **Macro Abuse**: Use constexpr, templates, inline functions
- **Global State**: Use dependency injection

## Additional Resources

- **Detailed Technical Reference**: See [REFERENCE.md](REFERENCE.md)
- **Code Examples & Patterns**: See [EXAMPLES.md](EXAMPLES.md)

Attribution

NeverSightNeverSight
View sourceMore from NeverSight →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →