一键导入
cpp
C++ coding standards, patterns, and best practices. Use when writing, reviewing, or refactoring C++ code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
C++ coding standards, patterns, and best practices. Use when writing, reviewing, or refactoring C++ code.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | cpp |
| description | C++ coding standards, patterns, and best practices. Use when writing, reviewing, or refactoring C++ code. |
| paths | ["**/*.cpp","**/*.hpp","**/*.h","**/*.cc","**/*.cxx","**/CMakeLists.txt"] |
| compatibility | C++17 or later |
| allowed-tools | Bash(cmake *) Bash(make *) Bash(clang-format *) Bash(cppcheck *) |
Covers C++ development standards: clean code, design patterns, testing, static analysis, concurrency, and IPC.
| File | Contents |
|---|---|
clean-code.md | RAII, const correctness, smart pointers, naming |
patterns.md | RAII, Smart Pointers, Strategy, Observer |
testing.md | Google Test + Google Mock, CTest timeouts |
static-analysis.md | Cppcheck config and inline suppression |
parallel.md | std::thread, std::async, parallel algorithms, atomics |
ipc.md | TCP sockets, shared memory, message queues |
| Convention | Rule |
|---|---|
| Classes/structs | PascalCase |
| Functions/variables | camelCase |
| Constants | kCamelCase or UPPER_SNAKE_CASE |
| Private members | trailing_underscore_ |
| Header guards | #pragma once |
const liberallyunique_ptr > shared_ptr > raw pointerstd::move for ownership transferCamoufox persistent browser automation — anti-bot bypass, CAPTCHA solving, SSO/cookie injection, and headless control patterns. Covers the interactive CLI server, route interception, Capsolver integration, PerimeterX/Cloudflare bypass, Angular/React SPA automation, Firefox cookie extraction, and security incident response. Use when user needs persistent browser automation on anti-bot sites or security incident handling. Triggers: Camoufox, anti-bot, CAPTCHA, Cloudflare bypass, cookie injection, stealth browser, session theft, security incident, Clerk revocation
Build, redesign, or critique presentation slides and decks that are grounded in cognitive science — Assertion-Evidence structure, minimal cognitive load, Picture-Superiority, strict visual hierarchy, WCAG accessibility — and free of generic "AI-slop." Use this whenever the user wants to make a presentation, build or improve a slide deck, create a pitch deck, fix ugly / overloaded / text-heavy slides, prepare a talk or lecture, or mentions slides, deck, PowerPoint, Keynote, Google Slides, or Slidev — even if they never say the words "good design." Also use when reviewing an existing deck for clarity, hierarchy, overflow, contrast, or signs of generic AI generation. The skill builds decks as Slidev (Markdown + HTML/CSS) and self-verifies by rendering to images and actually looking at them before delivering.
React/TypeScript coding standards, patterns, and best practices. Use when writing, reviewing, or refactoring React code.
Python coding standards, patterns, and best practices. Use when writing, reviewing, or refactoring Python code.
C# coding standards, patterns, and best practices. Use when writing, reviewing, or refactoring C# code.