Skip to main content
在 Manus 中运行任何 Skill
一键导入

cpp-coding-standards

星标2
分支0
更新时间2026年7月9日 00:38

Modern C++ (C++17/20/23) coding standard grounded in the public C++ Core Guidelines. Enforces resource safety (RAII), immutability by default, strong static typing, value semantics, and intent-revealing interfaces. Covers ownership and smart-pointer discipline, the Rule of Zero / Rule of Five, const-correctness, scoped enums, exception-safety, concept-constrained templates, concurrency locking discipline, header hygiene, and naming. Use when authoring, reviewing, or refactoring C++ — when deciding between raw and smart pointers, choosing enum vs enum class, sizing a class's special members, passing parameters, constraining a template, or locking a shared resource. Not for C-only legacy that cannot adopt modern features, or bare-metal contexts where a specific guideline conflicts with hardware.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly