std-cpp

Provides C++ coding guidelines based on the Google C++ Style Guide for use when writing or reviewing .cc/.cpp/.h files.

Last repository push
GitHub Stars
159
Forks
47
Issues / PRs
1

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "std-cpp" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-58242ec4d168f3e28aab20061b62453c2981bdb5debf84c284e0a44e66dd2fd0. Verify the upstream source and version against https://github.com/davidYichengWei/agentic-engineering-framework before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Provides C++ coding guidelines based on the Google C++ Style Guide for use when writing or reviewing .cc/.cpp/.h files.

0 Downloads

Introduction source: third_party · davidYichengWei · 0.0.1 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: std-cpp
description: 提供 C++ 编码规范(基于 Google C++ Style Guide)。当编写或 review C++ 代码(.cc/.cpp/.h 文件)时使用。

C++ 编码规范

基于 Google C++ Style Guide,使用 C++17。

核心规则速查

类别 必须遵守
版本 C++17,不用 C++2a 功能
头文件 self-contained,#pragma once,include 顺序规范
命名空间 必须使用,禁止头文件全局 using
类 构造函数禁止调用虚函数,单参数构造函数加 explicit
命名 类型 PascalCase,变量 snake_case,常量 kCamelCase
转换 使用 C++ 风格(static_cast 等),禁止 C 风格
自增 迭代器用前置 ++i

完整规范

详见 reference/full-standards.md,包含:

  • 规范等级定义(必须/推荐/可选)
  • 头文件、作用域、类、函数规范
  • 命名、注释、格式规范

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 为 C++ 开发者提供了权威且实用的编码规范参考
  • 覆盖编写与审查两大高频场景,受众广泛
Trigger Precision95/100

Highlights

  • 触发词精准完整,覆盖多种变体(编写、review、.cc/.cpp/.h)
  • 边界清晰,不易与其他 Skill 重叠
Structure and Standards90/100

Highlights

  • 文档结构清晰,包含核心规则速查表与完整规范入口
  • frontmatter 完整,单文件长度适中
Execution Reliability100/100

Areas to improve

  • 引用文件缺失 Reported severity: Minor

    SKILL.md 引用了 reference/full-standards.md 文件,但该文件未传入

    Recommendation: 请补充 reference/full-standards.md 文件以确保内容完整性

Highlights

  • 内容为静态文档和规范说明,无动态执行逻辑,无执行失败风险
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.