erbsland-cpp-code-style

Enforce Erbsland C++ code style with indentation, line length, and naming rules.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/erbsland-dev/skills --skill erbsland-cpp-code-style
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: erbsland-cpp-code-style
Source: https://github.com/erbsland-dev/skills/tree/main/erbsland-cpp-code-style
Command: npx skills add https://github.com/erbsland-dev/skills --skill erbsland-cpp-code-style

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardizes and enforces the C++ code style and guidelines across all Erbsland libraries and applications, reducing inconsistency and review effort.

Core Features & Use Cases

  • Enforces indentation (4 spaces), 120-character line length, brace placement on the same line, and consistent naming conventions across codebases.
  • Guides file organization, header guards, include order, and documentation practices to improve readability and maintainability.
  • Use Case: when starting a new Erbsland C++ library or reviewing existing code, apply these guidelines to ensure consistent style across the codebase.

Quick Start

Apply the Erbsland C++ code style guidelines to an existing project by aligning indentation, line length, braces, and naming conventions.

Frequently Asked Questions about erbsland-cpp-code-style

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

FAQPage Schema
How do I enforce consistent C++ code style and naming conventions across my projects?

Enforce C++ code style by applying 4-space indentation, 120-character line length limits, and consistent naming conventions across your codebase. This standardizes formatting and reduces code review effort across all libraries and applications.

What are the standard C++ coding guidelines for file organization and header guards?

Standard C++ coding guidelines require using #pragma once for header guards, following a specific include order, and adding documented API comments. These practices improve readability and maintainability across libraries and applications.

How do I apply C++ code style rules during code reviews and contributor onboarding?

Apply C++ code style rules during code reviews by checking adherence to indentation, line length, brace placement on the same line, and naming conventions. This ensures consistent coding practices when onboarding new contributors to a project.

Does this C++ code style require specific brace placement and indentation rules?

Yes, this C++ code style requires 4-space indentation and mandates placing opening braces on the same line. These formatting rules are enforced alongside 120-character line length limits to maintain consistency across the entire codebase.

Can I use these C++ coding guidelines for both new libraries and existing applications?

Yes, you can use these C++ coding guidelines for both new libraries and existing applications. When starting a new project or reviewing existing code, align indentation, line length, braces, and naming conventions to ensure consistent style.

What is the best way to standardize C++ code formatting across multiple libraries?

The best way to standardize C++ code formatting is to enforce a unified style guide covering indentation, line length, braces, and naming conventions. This reduces inconsistency and minimizes review effort across all project libraries and applications.