一键导入
cpp-coding-standards
Enforces modern C++20 standards, RAII resource management, immutability by default, and memory locality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Enforces modern C++20 standards, RAII resource management, immutability by default, and memory locality.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Guides creation of modular Slint UI components, design tokens, responsive layouts, and modern aesthetics.
Manages C++20 integrations with Slint UI, CMake target linkage, thread-safe data models, and event loop dispatching.
Executes hot-reloading preview sessions and Slint LSP syntax verification for iterative UI development.
Enforces data-oriented design (SoA vs AoS), SIMD loop friendliness, Google Benchmark integration, cache-line alignment, and microbenchmarking best practices.
Directs high-performance Python bindings creation, zero-copy buffer transfers, GIL management, and C++/Python memory safety.
Enforces hyper-dense communication protocols and strict token economy constraints. Eliminates conversational filler, meta-commentary, and redundant explanations.
基于 SOC 职业分类
| name | cpp-coding-standards |
| description | Enforces modern C++20 standards, RAII resource management, immutability by default, and memory locality. |
This skill enforces high-performance, modern C++ (C++20) coding standards across the workspace.
new/delete or malloc/free. Manage all resources via RAII containers (std::unique_ptr, std::shared_ptr, custom RAII handles).const for variables and const for member functions. Use constexpr for values computable at compile time.static_cast, std::bit_cast, or explicit constructors.const&, and sink parameters by value (with std::move). Return structs instead of using output parameters.explicit. Base class destructors must be public virtual or protected non-virtual.std::scoped_lock for multi-mutex locking and always name lock guards.NOLINT, NOLINTNEXTLINE, NOLINTBEGIN, and inline suppression comments. Resolve all linter diagnostics structurally.For deep guideline breakdowns, parameter matrices, and anti-pattern examples, consult the internal reference: