AGENT SKILL

lang-cpp

C/C++ development standards, Google C++ Style, and tooling.

License 许可
MIT
最近更新
2026-08-23
Stars
★ 1
Forks
0

01 前言 Front Matter

name
lang-cpp
description
C/C++ development standards, Google C++ Style, and tooling.

03 SKILL.md 正文

CPP Standards

  • Style: Google C++ Style Guide.
  • Tooling: clang-format, clang-tidy, CMake (3.20+), GoogleTest / Catch2.
  • Modern C++: Use C++20+ features. Prefer auto when type is obvious. Use constexpr and const by default.
  • Memory: RAII everywhere. Smart pointers only (no raw new/delete).
  • Safety: Compile with -Wall -Wextra -Werror. Use sanitizers (ASan, UBSan, TSan) in CI.

Always load clean-code alongside this skill.

04 同仓库更多 Skills