cpp-formatting

Community

Keep C/C++ style, only change what matters.

AuthorRedtropig
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Maintains consistent C/C++ code formatting while minimizing diff noise by formatting only changed lines, reducing review overhead.

Core Features & Use Cases

  • Changed-lines formatting: formats only lines that have changed, preserving stable code.
  • Project-wide style adherence: respects a root-level or LLVM-based .clang-format configuration to enforce a consistent style.
  • Targeted application: can be used during development sessions or before committing changes to ensure clean diffs.

Quick Start

Format the currently edited C/C++ files using clang-format, applying changes only to the modified lines.

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: cpp-formatting
Download link: https://github.com/Redtropig/harness-anchor/archive/main.zip#cpp-formatting

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 510,000+ vetted skills library on demand.