std-cpp

Standardize C++ coding practices for .cc, .cpp, and .h files.

159|47|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/davidYichengWei/agentic-engineering-framework --skill std-cpp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: std-cpp
Source: https://github.com/davidYichengWei/agentic-engineering-framework/tree/main/skills/std-cpp
Command: npx skills add https://github.com/davidYichengWei/agentic-engineering-framework --skill std-cpp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes C++ coding practices to improve consistency and maintainability across a codebase.

Core Features & Use Cases

  • Guides naming conventions, header usage, include order, and modern C++ practices.
  • Use Case: When reviewing or writing C++ files (.cc/.cpp/.h), apply the standard to ensure consistency across a large codebase.

Quick Start

Audit and adjust your C++ sources to match Google-style conventions.

Frequently Asked Questions about std-cpp

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

FAQPage Schema
How do I enforce Google-style C++ naming conventions in my codebase?

To enforce Google-style C++ naming conventions, you apply this standard to guide naming patterns across your sources. It standardizes naming conventions, header usage, and include order to improve consistency and maintainability across C++ files.

What modern C++ practices are required for C++17 code review?

Modern C++ practices for C++17 code review require using C++17 features, Google-style naming, header guards, explicit constructors, and self-contained headers. Applying these standards ensures consistency and maintainability across .cc, .cpp, and .h files.

How do I standardize header usage and include order for C++ source files?

Standardizing header usage and include order for C++ source files involves applying specific enforceable requirements. The standard mandates self-contained headers, proper header guards, and a consistent include order to maintain codebase consistency.

Can I use this standard to audit existing .cc and .h files for consistency?

Yes, you can use this standard to audit existing .cc, .cpp, and .h files for consistency. It applies to C++ sources and review tasks, guiding adjustments to naming conventions, header usage, and modern C++ practices to match Google-style conventions.

When do I need to specify explicit constructors and header guards in C++?

You need to specify explicit constructors and header guards in C++ when applying enforceable Google-style requirements. These practices prevent implicit type conversions and multiple inclusions, ensuring self-contained headers and maintaining codebase consistency.

What is the best way to improve C++ codebase maintainability across multiple files?

The best way to improve C++ codebase maintainability across multiple files is to standardize coding practices using Google-style conventions. This involves enforcing C++17 usage, proper naming, header guards, and explicit constructors to ensure long-term consistency.