rules-cpp

Community

Enforce consistent C++ conventions across teams.

AuthorNSObjects
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It keeps C++ teams from producing inconsistent code by extending universal rules with explicit guidance for naming, formatting, resource management, testing, and modern idioms.

Core Features & Use Cases

  • Naming and Style Discipline: Pick and enforce a single C++ naming convention, manage include organization, and rely on clang-format and clang-tidy across the codebase.
  • Modern C++ and Resource Management: Favor smart pointers, RAII, constexpr, and sanitizer-ready test builds while avoiding raw memory and unsafe casting decisions.
  • Testing and Review Workflow: Specify Google Test or Catch2 usage, validate AddressSanitizer and UBSanitizer coverage, and audit reviews for raw new/delete or missing override qualifiers before committing.

Quick Start

Ask the rules-cpp guidance to align your new C++ work with smart pointer RAII practices, clang-format standards, and sanitizer-backed testing.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rules-cpp
Download link: https://github.com/NSObjects/specpowers/archive/main.zip#rules-cpp

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.