cpp-pro by 404kidwiz/claude-supercode-skills
npx skills add https://github.com/404kidwiz/claude-supercode-skills --skill cpp-pro提供专业的 C++20 编程能力,专注于现代 C++ 特性(概念、模块、范围、协程)、性能优化和系统级编程。擅长构建高性能应用程序、嵌入式系统、游戏引擎和底层系统软件,并确保内存安全和资源的最佳利用。
在以下情况下调用此技能:
在以下情况下请勿调用:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
C++20 Feature Decision
├─ 需要类型约束
│ └─ 使用概念而非 SFINAE
│ • 更清晰的错误信息
│ • 更易读的模板
│
├─ 头文件管理
│ └─ 新项目使用模块
│ • 更快的编译
│ • 更好的封装
│
├─ 数据转换
│ └─ 使用范围进行惰性求值
│ • 可组合的算法
│ • 内存高效
│
├─ 异步操作
│ └─ I/O 密集型工作使用协程
│ • 高效的状态机
│ • 可读的异步代码
│
└─ 错误处理
├─ 可恢复错误 → std::expected
├─ 异常情况 → 异常
└─ 低级代码 → 返回码
| 瓶颈 | 解决方案 | 复杂度 |
|---|---|---|
| CPU 密集型计算 | SIMD、并行化 | 高 |
| 内存分配 | 内存池、分配器 | 中 |
| 缓存未命中 | 面向数据的设计 | 高 |
| 锁竞争 | 无锁结构 | 非常高 |
| 编译时间 | 模块、预编译头文件 | 低 |
每周安装次数
71
代码仓库
GitHub 星标数
42
首次出现
2026年1月24日
安全审计
安装于
opencode58
claude-code54
codex54
gemini-cli50
cursor45
github-copilot45
Provides expert C++20 programming capabilities specializing in modern C++ features (concepts, modules, ranges, coroutines), performance optimization, and system-level programming. Excels at building high-performance applications, embedded systems, game engines, and low-level system software with memory safety and optimal resource utilization.
Invoke this skill when:
Do NOT invoke when:
C++20 Feature Decision
├─ Type constraints needed
│ └─ Use concepts instead of SFINAE
│ • Clearer error messages
│ • More readable templates
│
├─ Header file management
│ └─ Use modules for new projects
│ • Faster compilation
│ • Better encapsulation
│
├─ Data transformations
│ └─ Use ranges for lazy evaluation
│ • Composable algorithms
│ • Memory efficient
│
├─ Async operations
│ └─ Use coroutines for I/O-bound work
│ • Efficient state machines
│ • Readable async code
│
└─ Error handling
├─ Recoverable errors → std::expected
├─ Exceptional cases → exceptions
└─ Low-level code → return codes
| Bottleneck | Solution | Complexity |
|---|---|---|
| CPU-bound computation | SIMD, parallelism | High |
| Memory allocation | Memory pools, allocators | Medium |
| Cache misses | Data-oriented design | High |
| Lock contention | Lock-free structures | Very High |
| Compilation time | Modules, precompiled headers | Low |
Weekly Installs
71
Repository
GitHub Stars
42
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
opencode58
claude-code54
codex54
gemini-cli50
cursor45
github-copilot45
GSAP 框架集成指南:Vue、Svelte 等框架中 GSAP 动画最佳实践
2,800 周安装