cpp

Installation
SKILL.md

Google C++ Style Guide

Official Google C++ coding standards for consistent, maintainable code.

Golden Rules

  1. Target C++20 — avoid non-standard extensions
  2. 80-character line limit — for readability
  3. 2-space indentation — no tabs
  4. Use const liberally — for correctness and thread safety
  5. Avoid exceptions — Google code doesn't use C++ exceptions
  6. Smart pointers for ownershipstd::unique_ptr and std::shared_ptr
  7. Header guards — use PROJECT_PATH_FILE_H_ format

Quick Reference

Naming Conventions

| Element | Convention | Example |

Related skills

More from testdino-hq/google-styleguides-skills

Installs
2
GitHub Stars
1
First Seen
Apr 7, 2026