Agent skill

Cpp Naming Check

by ClickHouse in ClickHouse/pg_stat_ch

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

Apache-2.0Auto-check passedWriting & Content

Install Cpp Naming Check

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

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

GitHub CLI
$ gh skill install ClickHouse/pg_stat_ch cpp-naming-check --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-naming-check .claude/skills/cpp-naming-check && 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-naming-check
GitHub stars
124
Token cost
~701 tokens
SKILL.md length
163 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • Works in 4 steps: Identify the entity type (class,… → Apply the corresponding naming rule → Check for consistency with surrounding… → …
  • Checking if names follow conventions
  • SKILL.md covers Naming Rules Quick Check, Common Mistakes, Abbreviations and Check Process
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cpp Naming Check is an agent skill from ClickHouse/pg_stat_ch. Check C++ naming conventions against Google Style Guide. Use when checking if names follow conventions or when renaming identifiers.

Its SKILL.md is about 700 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 Writing & Content. It works with C++, ClickHouse and PostgreSQL. The licence is Apache-2.0.

When your agent uses it

  • Checking if names follow conventions
  • Renaming identifiers

Example prompts

  • “/cpp-naming-check”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Identify the entity type (class, function, variable, etc.)
  2. Apply the corresponding naming rule
  3. Check for consistency with surrounding code
  4. Flag any Hungarian notation or other outdated styles

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 (its code samples are cpp).

    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 Naming Check loads about 701 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 163 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
~701

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). 163 words, ~701 tokens.

Download SKILL.mdSave it as .claude/skills/cpp-naming-check/SKILL.md (or your agent's skills folder).
name
cpp-naming-check
description
Check C++ naming conventions against Google Style Guide. Use when checking if names follow conventions or when renaming identifiers.

C++ Naming Convention Checker

Verify names follow Google C++ Style Guide conventions.

Naming Rules Quick Check

EntityConventionPatternExamples
Fileslowercase + _ or -snake_case.ccmy_class.cc, http-parser.h
ClassesPascalCase[A-Z][a-zA-Z0-9]*MyClass, UrlParser
StructsPascalCase[A-Z][a-zA-Z0-9]*Point, HttpRequest
Type aliasesPascalCase[A-Z][a-zA-Z0-9]*DataMap, StringList
EnumsPascalCase[A-Z][a-zA-Z0-9]*ErrorCode, State
EnumeratorskPascalCasek[A-Z][a-zA-Z0-9]*kOk, kNotFound
FunctionsPascalCase[A-Z][a-zA-Z0-9]*ProcessData(), GetValue()
Accessorssnake_case[a-z][a-z0-9_]*count(), set_count()
Variablessnake_case[a-z][a-z0-9_]*table_name, num_items
Class memberssnake_case_[a-z][a-z0-9_]*_value_, data_map_
Struct memberssnake_case[a-z][a-z0-9_]*width, height
ConstantskPascalCasek[A-Z][a-zA-Z0-9]*kMaxSize, kPi
MacrosUPPER_CASE[A-Z][A-Z0-9_]*MY_MACRO, DEBUG_LOG
Namespacessnake_case[a-z][a-z0-9_]*my_project, internal
Template paramsVariesType=T, value=nT, InputIterator, N

Common Mistakes

❌ Wrong → ✅ Correct
cpp
// Classes
class myClass;        → class MyClass;
class HTTPParser;     → class HttpParser;  // Treat acronyms as words

// Variables
int TableName;        → int table_name;
int tablename;        → int table_name;    // Use underscores

// Class members
int value;            → int value_;        // Trailing underscore
int m_value;          → int value_;        // No Hungarian notation

// Functions
void process_data();  → void ProcessData();
void getValue();      → void GetValue();   // Or get_value() if accessor

// Constants
const int MAX_SIZE;   → const int kMaxSize;
const int maxSize;    → const int kMaxSize;

// Enumerators
enum { ERROR_OK };    → enum { kErrorOk };
enum { Ok };          → enum { kOk };

// Macros (must be UPPER_CASE with prefix)
#define DEBUG         → #define MYPROJECT_DEBUG

Abbreviations

  • OK: Listed in Wikipedia or universally known (i, n, id, url)
  • Capitalize as word: StartRpc() not StartRPC()
  • Don't delete letters: customer not cstmr

Check Process

  1. Identify the entity type (class, function, variable, etc.)
  2. Apply the corresponding naming rule
  3. Check for consistency with surrounding code
  4. Flag any Hungarian notation or other outdated styles

© 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-naming-check of ClickHouse/pg_stat_ch.

Open the folder on GitHubat commit 10be897

Compare with similar skills

Cpp Naming Check 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 Naming Check compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cpp Naming Check this skillClickHouse/pg_stat_ch124—~701Automated safety check: PassApache-2.0
Chdb Datastorevemetric/vemetric3942 repos~1.4kAutomated safety check: PassApache-2.0
PgjevrealZachi/pg-jev1k—~2.9kAutomated safety check: PassCustom licence
Chdb SQLvemetric/vemetric3941 repos~1.2kAutomated safety check: PassApache-2.0
Observal AdminObserval/Observal4.1k—~774Automated safety check: PassApache-2.0
Backend Dev Guidelineslitefuse/litefuse1001 repos~5.8kAutomated safety check: PassCustom licence

Similar skills

  • Chdb Datastore

    vemetric/vemetric

    A skill your agent uses when the user has tabular data (pandas DataFrame, parquet, csv, Arrow, json) and wants to filter, group, aggregate, join, or speed up slow pandas.

    394 GitHub starsUsed in 2 repos~1.4k tokens
    Data & AnalyticsAuto-check passed
  • Pgjev

    realZachi/pg-jev

    Install, configure, query and explain pgjev (the jev PostgreSQL extension that filters, ranks and classifies rows with plain-language conditions via TypeSafe's Jev model).

    1k GitHub stars~2.9k tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Chdb SQL

    vemetric/vemetric

    A skill your agent uses when the user wants to run SQL — especially analytical SQL — on local files (parquet/csv/json), URLs, S3 paths, or remote databases (Postgres, MySQL, MongoDB, ClickHouse…

    394 GitHub starsUsed in 1 repo~1.2k tokens
    DatabasesAuto-check passed
  • Observal Admin

    Observal/Observal

    Administers Observal users, settings, diagnostics, review queues, security events, audit logs, SAML, SCIM, the local Observal server, its upgrades and rollback, and its own PostgreSQL and ClickHouse…

    4.1k GitHub stars~774 tokensUpdated today
    DatabasesAuto-check passed
  • Backend Dev Guidelines

    litefuse/litefuse

    Comprehensive backend development guide for Litefuse's Next.js 14/tRPC/Express/TypeScript monorepo.

    100 GitHub starsUsed in 1 repo~5.8k tokens
    Backend & APIsAuto-check passed
  • Querying Tempo

    tempoxyz/tidx

    Query indexed Tempo chain data via tidx HTTP API and CLI. An agent skill from tempoxyz/tidx.

    107 GitHub stars~3.1k tokensUpdated today
    DatabasesAuto-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 Review

    ClickHouse/pg_stat_ch

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

    124 GitHub stars~609 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 Naming Check

What does Cpp Naming Check do?

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

When should I use Cpp Naming Check?

Cpp Naming Check fits situations like: checking if names follow conventions; renaming identifiers.

How do I install Cpp Naming Check in Claude Code?

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

How do I install Cpp Naming Check in Codex?

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

Can I use Cpp Naming Check 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-naming-check -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-naming-check, .gemini/skills/cpp-naming-check, .github/skills/cpp-naming-check and .opencode/skills/cpp-naming-check in your project.

What does Cpp Naming Check need to run?

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

Does Cpp Naming Check 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 Naming Check 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 Naming Check use?

Cpp Naming Check 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 Naming Check use?

About 701 tokens (SKILL.md is roughly 2.8k 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 Naming Check?

Skills that share tags, products or a category with Cpp Naming Check: Chdb Datastore (vemetric/vemetric, 394 stars), Pgjev (realZachi/pg-jev, 1k stars), Chdb SQL (vemetric/vemetric, 394 stars) and Observal Admin (Observal/Observal, 4.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cpp Naming Check?

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.