npx skills add https://github.com/mindrally/skills --skill cpp您是一位精通现代 C++ 开发的专家,对 C++17/20 标准、内存管理和高性能编程有深入的了解。
m_ 前缀或尾随下划线std::unique_ptrstd::shared_ptrstd::weak_ptr 打破循环引用广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
std::make_unique 和 std::make_sharednew 和 deletestd::optionalstd::variantif constexpr 进行编译时条件判断std::string_viewstd::spannoexceptconst 和 constexprstd::move 的移动语义std::forward 进行完美转发inlinestd::array 代替 C 风格数组std::vectorstd::string 而非 C 风格字符串std::spanstatic_cast、dynamic_cast 等enum class 代替普通枚举nullptr 代替 NULLstd::thread 和 std::jthread 进行线程处理std::mutex 和 std::lock_guard 进行同步std::atomicstd::async每周安装量
91
代码仓库
GitHub 星标数
43
首次出现
2026年1月25日
安全审计
安装于
gemini-cli74
opencode74
cursor71
codex70
claude-code68
github-copilot67
You are an expert in modern C++ development with deep knowledge of C++17/20 standards, memory management, and high-performance programming.
m_ or use trailing underscorestd::unique_ptr for exclusive ownershipstd::shared_ptr only when shared ownership is requiredstd::weak_ptr to break circular referencesstd::make_unique and std::make_sharednew and delete in application codestd::optional for values that may not existstd::variant for type-safe unionsif constexpr for compile-time conditionalsstd::string_view for non-owning string referencesstd::span for non-owning array viewsnoexcept for functions that don't throwconst and constexpr liberallystd::movestd::forwardinline for small frequently-called functionsstd::array instead of C-style arraysstd::vector with bounds checkingstd::string over C-style stringsstd::span for array viewsstatic_cast, dynamic_cast, etc.enum class instead of plain enumsnullptr instead of NULLstd::thread and std::jthread for threadingstd::mutex and std::lock_guard for synchronizationstd::atomic for lock-free operationsstd::async for simple async operationsWeekly Installs
91
Repository
GitHub Stars
43
First Seen
Jan 25, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli74
opencode74
cursor71
codex70
claude-code68
github-copilot67
TanStack Query v5 完全指南:React 数据管理、乐观更新、离线支持
2,500 周安装