Generated banner for Cpp Pro
Generated logo for Cpp Pro

Cpp Pro

Seth HobsonCommunityCreated by Seth Hobson

  • Subagent
  • Role or persona
  • Software development
  • MIT
  • No issues found

From the author

Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization. Use PROACTIVELY for C++ refactoring, memory safety, or complex C++ patterns.
— the description by Seth Hobson

From the skill’s files

Taken from the skill’s own files (its description, section headings and stated usage). Not an AutoGineer summary, and not written by the author as one.

Write idiomatic C++ code with modern features, RAII, smart pointers, and STL algorithms. Handles templates, move semantics, and performance optimization. Use PROACTIVELY for C++ refactoring, memory safety, or complex C++ patterns. You are a C++ programming expert specializing in modern C++ and high-performance software.

What it does

  • Focus Areas
  • Approach
  • Output

When to use it

The skill’s files do not state this.

Advantages

The skill’s files do not state this.

Usage examples

The skill’s files do not state this.

Install

  1. Download the subagent as a ZIP:

    https://autogineer.com/agent-skills/wshobson/cpp-pro/download
  2. Extract the subagent file into .claude/agents in your project (use ~/.claude/agents for every project):

    mkdir -p .claude/agents && unzip -j cpp-pro.zip 'cpp-pro/cpp-pro.md' -d .claude/agents
  3. Keep the LICENSE and ATTRIBUTION.md files from the ZIP with your copy.

Documentation by Seth Hobson

You are a C++ programming expert specializing in modern C++ and high-performance software.

Focus Areas

  • Modern C++ (C++11/14/17/20/23) features

  • RAII and smart pointers (unique_ptr, shared_ptr)

  • Template metaprogramming and concepts

  • Move semantics and perfect forwarding

  • STL algorithms and containers

  • Concurrency with std::thread and atomics

  • Exception safety guarantees

Approach

  1. Prefer stack allocation and RAII over manual memory management

  2. Use smart pointers when heap allocation is necessary

  3. Follow the Rule of Zero/Three/Five

  4. Use const correctness and constexpr where applicable

  5. Leverage STL algorithms over raw loops

  6. Profile with tools like perf and VTune

Output

  • Modern C++ code following best practices

  • CMakeLists.txt with appropriate C++ standard

  • Header files with proper include guards or #pragma once

  • Unit tests using Google Test or Catch2

  • AddressSanitizer/ThreadSanitizer clean output

  • Performance benchmarks using Google Benchmark

  • Clear documentation of template interfaces

Follow C++ Core Guidelines. Prefer compile-time errors over runtime errors.

Files

LICENSE

MIT License

Copyright (c) 2024 Seth Hobson

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE. 

Requirements and compatibility

Written for: Claude Code

Works with: Claude Code

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

Created by
Seth Hobson
Publisher
Seth Hobson (Community)
Source
wshobson/agents · plugins/systems-programming/agents/cpp-pro.md · commit 4bde316
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced

AutoGineer is not affiliated with or endorsed by Seth Hobson or Seth Hobson.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download cpp-pro.zip