new-cpp-project

Initialize C++ CMake projects with directory structure, git seeding, and CI/CD workflows.

Updated Jun 10, 2026
One-click install
npx skills add https://github.com/jambolo/claude-skills --skill new-cpp-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-cpp-project
Source: https://github.com/jambolo/claude-skills/tree/main/new-project/new-cpp-project
Command: npx skills add https://github.com/jambolo/claude-skills --skill new-cpp-project

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires git, cmake, npx, and includes references (resource) components.

What problem does it solve?

This skill eliminates the manual overhead of setting up a new C++ project by automating the creation of directory structures, build configurations, and CI/CD pipelines.

Core Features & Use Cases

  • Standardized Scaffolding: Automatically generates CMakeLists.txt, MIT licenses, .gitignore, and GitHub Actions workflows.
  • Flexible Project Types: Supports both executable and library project structures with appropriate build and test configurations.
  • Use Case: When starting a new C++ library, this skill sets up the source layout, Doxygen documentation, GTest integration, and coverage reporting in one command.

Quick Start

Use the new-cpp-project skill to scaffold a new C++ library named math-utils in the current directory.

Frequently Asked Questions about new-cpp-project

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

FAQPage Schema
How do I scaffold a new C++ project with CMake and GitHub Actions?

Scaffolding a C++ project with CMake and GitHub Actions is automated by this skill, which generates directory structures, CMakeLists.txt files, and CI/CD workflows. It bootstraps executable or library projects with integrated testing and documentation instantly.

What is the best way to bootstrap a C++ library with GTest and Doxygen?

Bootstrapping a C++ library with GTest and Doxygen is handled by this scaffolding skill, which sets up the source layout, documentation, testing integration, and coverage reporting. It generates standard build configurations and ignore files automatically.

Do I need git and cmake installed to generate a C++ project structure?

Yes, git, cmake, and npx are required dependencies to generate a C++ project structure. These tools are needed to seed the git repository, configure the standardized build system, and execute the scaffolding automation.

Can I set up both executable and library C++ project types with automated CI/CD pipelines?

Yes, both executable and library C++ project types with automated CI/CD pipelines can be set up. This skill supports flexible project structures and applies appropriate build, test, and GitHub Actions workflow configurations for each type.

What files are included when automating CMake project initialization?

Automating CMake project initialization generates CMakeLists.txt, MIT licenses, .gitignore, and GitHub Actions workflows. The process also seeds a git repository and establishes the standardized source directory layout.