cpp-pro

Scaffold modern C++ projects with CMake, gtest or Catch2, and toolchain presets.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/lgili/skillex --skill cpp-pro-lgili
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cpp-pro
Source: https://github.com/lgili/skillex/tree/main/skills/cpp-pro
Command: npx skills add https://github.com/lgili/skillex --skill cpp-pro-lgili

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Scaffolds modern C++ projects with a robust, repeatable structure tailored for libraries, CLIs, or services.

Core Features & Use Cases

  • Provides a standardized project skeleton with CMake targets, tests (gtest or Catch2), and optional toolchain presets.
  • Includes scaffolding scripts to generate consistent boilerplate, documentation, and packaging configurations for fast onboarding and reproducible builds.
  • Real-world use: kick off a new library with automated build, test, and quality-gating scaffolding, ready for CI.

Quick Start

Run the cpp-pro scaffold to generate a modern C++ project skeleton with library/CLI/service templates.

Frequently Asked Questions about cpp-pro

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a modern C++ project with CMake and testing?

To scaffold a modern C++ project, this skill generates a standardized directory structure with CMake targets, integrated testing via gtest or Catch2, and optional packaging manifests for reproducible builds.

What's the best way to set up reproducible C++ builds with quality gates?

Setting up reproducible C++ builds requires enforcing explicit ownership and modern language features; this skill provides CMake presets and quality tooling configurations to ensure consistent, safe development workflows.

Can I use sanitizers with a newly scaffolded C++ project?

Yes, you can enable sanitizers in a newly scaffolded C++ project; the skill includes optional sanitizer configurations alongside quality-gating presets to support safe, scalable code delivery.

Does the scaffolding support different C++ project types like libraries and CLIs?

Yes, the scaffolding supports different C++ project types; it generates tailored boilerplate and build configurations specifically structured for developing libraries, command-line interfaces, or services.

Why do I need CMake presets for my C++ library?

CMake presets are needed for your C++ library to achieve reproducible builds across different environments; they define explicit toolchain configurations that standardize the build process and enforce quality gates.

How do I generate boilerplate for a C++ service ready for CI?

To generate boilerplate for a C++ service ready for CI, run the scaffold to produce project skeletons with automated build targets, test integration, and documentation configurations for fast onboarding.