Google C++ Style Guide в контексте Claude

★ 7.2 · vibe-coding

google-cpp-style is a Claude Code skill that embeds the complete Google C++ Style Guide for C++20 directly into the model's context. It covers naming conventions (PascalCase for types and functions, snake_case for variables, kPascalCase for constants, UPPER_CASE for macros), formatting rules (80-character lines, 2-space indentation, no tabs), header file structure with #define guards, class design principles, and prohibited patterns such as using namespace directives, C-style casts, and exceptions. The skill includes a quick-reference table, ready-to-use header file and class declaration templates, and links to detailed sections on headers, scoping, classes, functions, and formatting. Use it when writing or reviewing C++ code where consistency with Google's coding standard is required.