cpp-conventions
Modern C++ coding conventions — naming, RAII, smart pointers, const correctness, and standard library usage
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Modern C++ coding conventions — naming, RAII, smart pointers, const correctness, and standard library usage
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Health check procedures D1–D14 for the Audit agent — structural validation, attention budget, version checks, workspace integrity, and static audit
Configure and manage Model Context Protocol servers for external tool access
Review a UI for accessibility — WCAG 2.1 AA compliance, semantic HTML, ARIA usage, keyboard navigation, focus management, colour contrast, and screen reader compatibility
Design or review a REST or GraphQL API — resource modeling, versioning strategy, error contract, OpenAPI/schema-first workflow, and security baseline
Generate a CHANGELOG.md entry from staged changes, a commit range, or a PR diff — following Keep a Changelog format with conventional commit classification
Set up and audit environment variable management — create .env.example, add startup validation, separate secrets from config, and document every variable
| name | cpp-conventions |
| description | Modern C++ coding conventions — naming, RAII, smart pointers, const correctness, and standard library usage |
| compatibility | >=1.4 |
Skill metadata: version "1.0"; license MIT; tags [cpp, c++, conventions, raii, smart-pointers]; recommended tools [codebase, editFiles].
Applies to: **/*.cpp, **/*.hpp, **/*.cc, **/*.hh, **/*.cxx, **/*.hxx, **/*.h
snake_case for functions and variables, PascalCase for types and classes, SCREAMING_SNAKE_CASE for macros.std::unique_ptr over raw new/delete. Use std::shared_ptr only when shared ownership is genuinely needed.std::make_unique and std::make_shared — never raw new except in factory patterns.explicit to prevent implicit conversions.const and constexpr by default. Remove const only when mutation is required.std::string_view over const std::string& for read-only string parameters.std::span over pointer+size pairs (C++20).std::optional for values that may be absent — not sentinel values or out-parameters.std::variant over union types for type-safe alternatives.[[nodiscard]] on functions whose return value must not be ignored.constexpr functions, inline variables, or templates instead.