Agent skill

Cpp Review

by ClickHouse in ClickHouse/pg_stat_ch

Review C++ code against Google C++ Style Guide. An agent skill from ClickHouse/pg_stat_ch.

Apache-2.0Auto-check passedDevelopment

Install Cpp Review

skills CLI
$ npx skills add ClickHouse/pg_stat_ch --skill cpp-review -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ClickHouse/pg_stat_ch cpp-review --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ClickHouse/pg_stat_ch.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/cpp-review .claude/skills/cpp-review && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cpp-review
GitHub stars
124
Token cost
~609 tokens
SKILL.md length
198 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

Review C++ code against Google C++ Style Guide. An agent skill from ClickHouse/pg_stat_ch.

  • Reviewing C++ code
  • SKILL.md covers Review Checklist, Feedback Format and Example Review Comment
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Asked to check code style compliance

What it does

Cpp Review is an agent skill from ClickHouse/pg_stat_ch. Review C++ code against Google C++ Style Guide. Use when reviewing C++ code, pull requests, or when asked to check code style compliance.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with C++, ClickHouse and PostgreSQL. The licence is Apache-2.0.

When your agent uses it

  • Reviewing C++ code
  • Asked to check code style compliance

Example prompts

  • “/cpp-review”

What it can do on your machine

Read from SKILL.md and the folder at commit 10be897. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cpp Review loads about 609 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 198 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~609

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ClickHouse/pg_stat_ch at commit 10be897, republished under its Apache-2.0 licence (© ClickHouse). 198 words, ~609 tokens.

Download SKILL.mdSave it as .claude/skills/cpp-review/SKILL.md (or your agent's skills folder).
name
cpp-review
description
Review C++ code against Google C++ Style Guide. Use when reviewing C++ code, pull requests, or when asked to check code style compliance.

C++ Code Review (Google Style)

Review C++ code for compliance with the Google C++ Style Guide.

Review Checklist

Naming
  • Types use PascalCase
  • Functions use PascalCase (accessors use snake_case)
  • Variables use snake_case
  • Class members have trailing underscore: member_
  • Constants use kPascalCase
  • Macros use UPPER_CASE with project prefix
Headers
  • Has #define guard: PROJECT_PATH_FILE_H_
  • Self-contained (includes all dependencies)
  • Includes ordered: related header, C system, C++ stdlib, other libs, project
  • No forward declarations unless necessary
Classes
  • Single-argument constructors are explicit
  • Data members are private
  • Copy/move semantics explicit (= default, = delete)
  • No virtual calls in constructors
  • Uses composition over inheritance when appropriate
Functions
  • Returns values instead of output parameters when possible
  • Parameters ordered: inputs before outputs
  • Functions are ≤40 lines (prefer smaller)
  • Uses override/final for virtual overrides
Modern C++
  • Uses nullptr (not NULL or 0)
  • Uses C++ casts (not C-style)
  • Uses range-based for loops where appropriate
  • Uses auto appropriately (not excessively)
  • Smart pointers for ownership (unique_ptr, shared_ptr)
Formatting
  • 80 character line limit
  • 2-space indent
  • Braces on same line as control structures
  • Spaces around binary operators

Feedback Format

Use severity levels:

  • 🔴 MUST FIX: Style violations or bugs that must be fixed
  • 🟡 SHOULD FIX: Strong recommendations for improvement
  • 🟢 CONSIDER: Optional enhancements or suggestions

Example Review Comment

🔴 **MUST FIX**: Missing `explicit` on single-argument constructor
Line 45: `Foo(int value)` should be `explicit Foo(int value)` to prevent
implicit conversions.

🟡 **SHOULD FIX**: Function too long
Lines 78-145: `ProcessData()` is 67 lines. Consider breaking into smaller
functions for readability and testability.

🟢 **CONSIDER**: Use structured bindings
Line 23: `auto [iter, success] = map.insert({key, value});` would be clearer
than separate `.first` and `.second` access.

© ClickHouse, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/cpp-review of ClickHouse/pg_stat_ch.

Open the folder on GitHubat commit 10be897

Compare with similar skills

Cpp Review next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cpp Review compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cpp Review this skillClickHouse/pg_stat_ch124—~609Automated safety check: PassApache-2.0
Git PR Flowwgzhao/Addax1.4k—~216Automated safety check: PassApache-2.0
pybind11 Release Preparationpybind/pybind1118k—~1.7kAutomated safety check: PassCustom licence
SeekDB Code Reviewoceanbase/seekdb3.1k—~2.1kAutomated safety check: PassApache-2.0
PlotJuggler Ship CheckPlotJuggler/PlotJuggler6.2k—~1.3kAutomated safety check: PassMPL-2.0
Mz CommitMaterializeInc/materialize6.4k—~2.3kAutomated safety check: PassCustom licence

Similar skills

  • Git PR Flow

    wgzhao/Addax

    Standard branch, commit, and pull-request workflow for this repo.

    1.4k GitHub stars~216 tokensUpdated today
    DevelopmentAuto-check passed
  • Opens the pybind11 release-preparation pull request: picking the release base, bumping the version in common.h and integrating the changelog, following docs/release.rst.

    18k GitHub stars~1.7k tokensUpdated today
    DevelopmentAuto-check passed
  • SeekDB Code Review

    oceanbase/seekdb

    Reviews seekdb pull requests and diffs for real defects in correctness, resources, concurrency, security and tests, reporting only Blocker or Major findings.

    3.1k GitHub stars~2.1k tokensUpdated 3 days ago
    DevelopmentAuto-check passed
  • PlotJuggler Ship Check

    PlotJuggler/PlotJuggler

    Runs a gated finish-line checklist before committing a PlotJuggler PJ4 change: build proof, red-test triage, hooks, docs freshness and a diff self-review.

    6.2k GitHub stars~1.3k tokensUpdated 6 days ago
    DevelopmentAuto-check passed
  • Mz Commit

    MaterializeInc/materialize

    Trigger: "commit", "prepare commit", "create PR", "push", "open pull request", or mentions committing, pre-commit checks, pull requests in Materialize.

    6.4k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed
  • OpenROAD PR Review

    The-OpenROAD-Project/OpenROAD

    Reviews an OpenROAD pull request in the project's priority order and prints draft review notes for a human reviewer to inspect and post.

    3.2k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed

More from ClickHouse/pg_stat_ch

  • Cpp Header Template

    ClickHouse/pg_stat_ch

    Generate C++ header files following Google Style Guide. An agent skill from ClickHouse/pg_stat_ch.

    124 GitHub stars~772 tokensUpdated yesterday
    Auto-check passed
  • Cpp Naming Check

    ClickHouse/pg_stat_ch

    Check C++ naming conventions against Google Style Guide. An agent skill from ClickHouse/pg_stat_ch.

    124 GitHub stars~701 tokensUpdated yesterday
    Auto-check passed
  • Google Cpp Style

    ClickHouse/pg_stat_ch

    Google C++ Style Guide rules for writing clean, maintainable C++ code.

    124 GitHub stars~951 tokensUpdated yesterday
    Auto-check passed
  • Create New Release

    ClickHouse/pg_stat_ch

    Create and push a new semver release tag. An agent skill from ClickHouse/pg_stat_ch.

    124 GitHub stars~488 tokensUpdated yesterday
    Auto-check passed

Questions about Cpp Review

What does Cpp Review do?

Review C++ code against Google C++ Style Guide. An agent skill from ClickHouse/pg_stat_ch. Cpp Review is an agent skill from ClickHouse/pg_stat_ch. Review C++ code against Google C++ Style Guide.

When should I use Cpp Review?

Cpp Review fits situations like: reviewing C++ code; asked to check code style compliance.

How do I install Cpp Review in Claude Code?

Run `npx skills add ClickHouse/pg_stat_ch --skill cpp-review -a claude-code`. Or copy the skill folder (.claude/skills/cpp-review in ClickHouse/pg_stat_ch) into .claude/skills/cpp-review in your project. Claude Code loads it when a task matches its description.

How do I install Cpp Review in Codex?

Run `npx skills add ClickHouse/pg_stat_ch --skill cpp-review -a codex`. Or copy the skill folder (.claude/skills/cpp-review in ClickHouse/pg_stat_ch) into .agents/skills/cpp-review in your project. Codex loads it when a task matches its description.

Can I use Cpp Review in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ClickHouse/pg_stat_ch --skill cpp-review -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cpp-review, .gemini/skills/cpp-review, .github/skills/cpp-review and .opencode/skills/cpp-review in your project.

What does Cpp Review need to run?

SKILL.md names no scripts, command-line tools or credentials: Cpp Review is instructions for the agent only.

Does Cpp Review access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cpp Review safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cpp Review use?

Cpp Review is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cpp Review use?

About 609 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cpp Review?

Skills that share tags, products or a category with Cpp Review: Git PR Flow (wgzhao/Addax, 1.4k stars), pybind11 Release Preparation (pybind/pybind11, 18k stars), SeekDB Code Review (oceanbase/seekdb, 3.1k stars) and PlotJuggler Ship Check (PlotJuggler/PlotJuggler, 6.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cpp Review?

ClickHouse (a GitHub organization) maintains it in ClickHouse/pg_stat_ch, which has 124 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 6, 2026.

Source: ClickHouse/pg_stat_ch on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.