[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DQNA00AF8VRJ4EGC4CV171":3,"skill-same:01M6DQNA00AF8VRJ4EGC4CV171":115},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":54,"repositoryHtmlUrl":55,"repositoryHomepageUrl":6,"ownerHtmlUrl":56,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":57,"install":58,"resources":71},"01M6DQNA00AF8VRJ4EGC4CV171","cpp-pro",null,"Writes, optimizes, and debugs C++ applications using modern C++20\u002F23 features, template metaprogramming, and high-performance systems techniques. Use when building or refactoring C++ code requiring concepts, ranges, coroutines, SIMD optimization, or careful memory management — or when addressing performance bottlenecks, concurrency issues, and build system configuration with CMake.","AntifragileTech\u002Fantifragile-claude-code","AntifragileTech","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F174357194?v=4","01M6DQCYMK4CDSQQAN0ZC72NTV","01M6DQCYS9YPW1WKMQ5TJMPQ43",9,"MIT","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fcpp-pro\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"cpp","cpp pro","c++","memory","coroutines","engineer","use","programming","system","careful","embedded-systems","applications","Optimization","simd","metaprogramming","issues","code","cmake","rust","performance","2026-11-10 10:12:30",false,"---\nname: cpp-pro\ndescription: Writes, optimizes, and debugs C++ applications using modern C++20\u002F23 features, template metaprogramming, and high-performance systems techniques. Use when building or refactoring C++ code requiring concepts, ranges, coroutines, SIMD optimization, or careful memory management — or when addressing performance bottlenecks, concurrency issues, and build system configuration with CMake.\nlicense: MIT\nmetadata:\n  author: https:\u002F\u002Fgithub.com\u002FJeffallan\n  version: \"1.1.0\"\n  domain: language\n  triggers: C++, C++20, C++23, modern C++, template metaprogramming, systems programming, performance optimization, SIMD, memory management, CMake\n  role: specialist\n  scope: implementation\n  output-format: code\n  related-skills: rust-engineer, embedded-systems\n---\n\n# C++ Pro\n\nSenior C++ developer with deep expertise in modern C++20\u002F23, systems programming, high-performance computing, and zero-overhead abstractions.\n\n## Core Workflow\n\n1. **Analyze architecture** — Review build system, compiler flags, performance requirements\n2. **Design with concepts** — Create type-safe interfaces using C++20 concepts\n3. **Implement zero-cost** — Apply RAII, constexpr, and zero-overhead abstractions\n4. **Verify quality** — Run sanitizers and static analysis; if AddressSanitizer or UndefinedBehaviorSanitizer report issues, fix all memory and UB errors before proceeding\n5. **Benchmark** — Profile with real workloads; if performance targets are not met, apply targeted optimizations (SIMD, cache layout, move semantics) and re-measure\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Modern C++ Features | `references\u002Fmodern-cpp.md` | C++20\u002F23 features, concepts, ranges, coroutines |\n| Template Metaprogramming | `references\u002Ftemplates.md` | Variadic templates, SFINAE, type traits, CRTP |\n| Memory & Performance | `references\u002Fmemory-performance.md` | Allocators, SIMD, cache optimization, move semantics |\n| Concurrency | `references\u002Fconcurrency.md` | Atomics, lock-free structures, thread pools, coroutines |\n| Build & Tooling | `references\u002Fbuild-tooling.md` | CMake, sanitizers, static analysis, testing |\n\n## Constraints\n\n### MUST DO\n- Follow C++ Core Guidelines\n- Use concepts for template constraints\n- Apply RAII universally\n- Use `auto` with type deduction\n- Prefer `std::unique_ptr` and `std::shared_ptr`\n- Enable all compiler warnings (-Wall -Wextra -Wpedantic)\n- Run AddressSanitizer and UndefinedBehaviorSanitizer\n- Write const-correct code\n\n### MUST NOT DO\n- Use raw `new`\u002F`delete` (prefer smart pointers)\n- Ignore compiler warnings\n- Use C-style casts (use static_cast, etc.)\n- Mix exception and error code patterns inconsistently\n- Write non-const-correct code\n- Use `using namespace std` in headers\n- Ignore undefined behavior\n- Skip move semantics for expensive types\n\n## Key Patterns\n\n### Concept Definition (C++20)\n```cpp\n\u002F\u002F Define a reusable, self-documenting constraint\ntemplate\u003Ctypename T>\nconcept Numeric = std::integral\u003CT> || std::floating_point\u003CT>;\n\ntemplate\u003CNumeric T>\nT clamp(T value, T lo, T hi) {\n    return std::clamp(value, lo, hi);\n}\n```\n\n### RAII Resource Wrapper\n```cpp\n\u002F\u002F Wraps a raw handle; no manual cleanup needed at call sites\nclass FileHandle {\npublic:\n    explicit FileHandle(const char* path)\n        : handle_(std::fopen(path, \"r\")) {\n        if (!handle_) throw std::runtime_error(\"Cannot open file\");\n    }\n    ~FileHandle() { if (handle_) std::fclose(handle_); }\n\n    \u002F\u002F Non-copyable, movable\n    FileHandle(const FileHandle&) = delete;\n    FileHandle& operator=(const FileHandle&) = delete;\n    FileHandle(FileHandle&& other) noexcept\n        : handle_(std::exchange(other.handle_, nullptr)) {}\n\n    std::FILE* get() const noexcept { return handle_; }\nprivate:\n    std::FILE* handle_;\n};\n```\n\n### Smart Pointer Ownership\n```cpp\n\u002F\u002F Prefer make_unique \u002F make_shared; avoid raw new\u002Fdelete\nauto buffer = std::make_unique\u003Cstd::array\u003Cstd::byte, 4096>>();\n\n\u002F\u002F Shared ownership only when genuinely needed\nauto config = std::make_shared\u003CConfig>(parseArgs(argc, argv));\n```\n\n## Output Templates\n\nWhen implementing C++ features, provide:\n1. Header file with interfaces and templates\n2. Implementation file (when needed)\n3. CMakeLists.txt updates (if applicable)\n4. Test file demonstrating usage\n5. Brief explanation of design decisions and performance characteristics\n","# C++ Pro\n\nSenior C++ developer with deep expertise in modern C++20\u002F23, systems programming, high-performance computing, and zero-overhead abstractions.\n\n## Core Workflow\n\n1. **Analyze architecture** — Review build system, compiler flags, performance requirements\n2. **Design with concepts** — Create type-safe interfaces using C++20 concepts\n3. **Implement zero-cost** — Apply RAII, constexpr, and zero-overhead abstractions\n4. **Verify quality** — Run sanitizers and static analysis; if AddressSanitizer or UndefinedBehaviorSanitizer report issues, fix all memory and UB errors before proceeding\n5. **Benchmark** — Profile with real workloads; if performance targets are not met, apply targeted optimizations (SIMD, cache layout, move semantics) and re-measure\n\n## Reference Guide\n\nLoad detailed guidance based on context:\n\n| Topic | Reference | Load When |\n|-------|-----------|-----------|\n| Modern C++ Features | `references\u002Fmodern-cpp.md` | C++20\u002F23 features, concepts, ranges, coroutines |\n| Template Metaprogramming | `references\u002Ftemplates.md` | Variadic templates, SFINAE, type traits, CRTP |\n| Memory & Performance | `references\u002Fmemory-performance.md` | Allocators, SIMD, cache optimization, move semantics |\n| Concurrency | `references\u002Fconcurrency.md` | Atomics, lock-free structures, thread pools, coroutines |\n| Build & Tooling | `references\u002Fbuild-tooling.md` | CMake, sanitizers, static analysis, testing |\n\n## Constraints\n\n### MUST DO\n- Follow C++ Core Guidelines\n- Use concepts for template constraints\n- Apply RAII universally\n- Use `auto` with type deduction\n- Prefer `std::unique_ptr` and `std::shared_ptr`\n- Enable all compiler warnings (-Wall -Wextra -Wpedantic)\n- Run AddressSanitizer and UndefinedBehaviorSanitizer\n- Write const-correct code\n\n### MUST NOT DO\n- Use raw `new`\u002F`delete` (prefer smart pointers)\n- Ignore compiler warnings\n- Use C-style casts (use static_cast, etc.)\n- Mix exception and error code patterns inconsistently\n- Write non-const-correct code\n- Use `using namespace std` in headers\n- Ignore undefined behavior\n- Skip move semantics for expensive types\n\n## Key Patterns\n\n### Concept Definition (C++20)\n```cpp\n\u002F\u002F Define a reusable, self-documenting constraint\ntemplate\u003Ctypename T>\nconcept Numeric = std::integral\u003CT> || std::floating_point\u003CT>;\n\ntemplate\u003CNumeric T>\nT clamp(T value, T lo, T hi) {\n    return std::clamp(value, lo, hi);\n}\n```\n\n### RAII Resource Wrapper\n```cpp\n\u002F\u002F Wraps a raw handle; no manual cleanup needed at call sites\nclass FileHandle {\npublic:\n    explicit FileHandle(const char* path)\n        : handle_(std::fopen(path, \"r\")) {\n        if (!handle_) throw std::runtime_error(\"Cannot open file\");\n    }\n    ~FileHandle() { if (handle_) std::fclose(handle_); }\n\n    \u002F\u002F Non-copyable, movable\n    FileHandle(const FileHandle&) = delete;\n    FileHandle& operator=(const FileHandle&) = delete;\n    FileHandle(FileHandle&& other) noexcept\n        : handle_(std::exchange(other.handle_, nullptr)) {}\n\n    std::FILE* get() const noexcept { return handle_; }\nprivate:\n    std::FILE* handle_;\n};\n```\n\n### Smart Pointer Ownership\n```cpp\n\u002F\u002F Prefer make_unique \u002F make_shared; avoid raw new\u002Fdelete\nauto buffer = std::make_unique\u003Cstd::array\u003Cstd::byte, 4096>>();\n\n\u002F\u002F Shared ownership only when genuinely needed\nauto config = std::make_shared\u003CConfig>(parseArgs(argc, argv));\n```\n\n## Output Templates\n\nWhen implementing C++ features, provide:\n1. Header file with interfaces and templates\n2. Implementation file (when needed)\n3. CMakeLists.txt updates (if applicable)\n4. Test file demonstrating usage\n5. Brief explanation of design decisions and performance characteristics\n",{"name":5,"license":14,"metadata":43,"description":7},{"role":44,"scope":45,"author":46,"domain":47,"version":48,"triggers":49,"output-format":34,"related-skills":50},"specialist","implementation","https:\u002F\u002Fgithub.com\u002FJeffallan","language","1.1.0","C++, C++20, C++23, modern C++, template metaprogramming, systems programming, performance optimization, SIMD, memory management, CMake","rust-engineer, embedded-systems","master","c73386b305dec167db7654e0e6feacb462d4f9dc","assets\u002Fskills\u002Fdev\u002Fcpp-pro",1,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code","https:\u002F\u002Fgithub.com\u002FAntifragileTech","2026-10-02 14:22:14",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add AntifragileTech\u002Fantifragile-claude-code --skill cpp-pro",{"tool":64,"command":65},"bunx","bunx skills add AntifragileTech\u002Fantifragile-claude-code --skill cpp-pro",{"tool":67,"command":68},"pnpm","pnpm dlx skills add AntifragileTech\u002Fantifragile-claude-code --skill cpp-pro","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fcpp-pro\u002FSKILL.md",true,[72,78,82,86,90,94,98,102,106,112],{"path":73,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":76,"sourceHtmlUrl":77},"index.json","REFERENCE","参考文档",1339,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Findustrial\u002Fics\u002Fprotocols\u002Fmodbus\u002Fmonitor\u002Findex.json",{"path":79,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fapi-reference.md",4973,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Findustrial\u002Fics\u002Fprotocols\u002Fmodbus\u002Fmonitor\u002Freferences\u002Fapi-reference.md",{"path":83,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fbuild-tooling.md",9761,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fcpp-pro\u002Freferences\u002Fbuild-tooling.md",{"path":87,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fconcurrency.md",10918,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fcpp-pro\u002Freferences\u002Fconcurrency.md",{"path":91,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":92,"sourceHtmlUrl":93},"references\u002Findex.json",84,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Findustrial\u002Fics\u002Fprotocols\u002Fmodbus\u002Fmonitor\u002Freferences\u002Findex.json",{"path":95,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":96,"sourceHtmlUrl":97},"references\u002Fmemory-performance.md",9104,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fcpp-pro\u002Freferences\u002Fmemory-performance.md",{"path":99,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":100,"sourceHtmlUrl":101},"references\u002Fmodern-cpp.md",6565,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fcpp-pro\u002Freferences\u002Fmodern-cpp.md",{"path":103,"resourceType":74,"resourceTypeDesc":75,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Ftemplates.md",7908,"https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fdev\u002Fcpp-pro\u002Freferences\u002Ftemplates.md",{"path":107,"resourceType":108,"resourceTypeDesc":109,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fagent.py","SCRIPT","脚本",25277,"https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Findustrial\u002Fics\u002Fprotocols\u002Fmodbus\u002Fmonitor\u002Fscripts\u002Fagent.py",{"path":113,"resourceType":108,"resourceTypeDesc":109,"sizeBytes":92,"sourceHtmlUrl":114},"scripts\u002Findex.json","https:\u002F\u002Fgithub.com\u002FDCx7C5\u002Fai-marketplace\u002Fblob\u002Fmain\u002Fskills\u002Findustrial\u002Fics\u002Fprotocols\u002Fmodbus\u002Fmonitor\u002Fscripts\u002Findex.json",[116,128,140,153,166,178],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":38},"01M6DT9Q6VYA615SCXR757TZZ7","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-skills\u002FSKILL.md",[],[123,124,24,125,126,127],"writing skills","writing","editing","work","deployment",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":38},"01M6DT9GFHDNY90P41WGAE1TV0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwriting-plans\u002FSKILL.md",[],[135,136,124,137,138,24,34,139],"plans","writing plans","requirements","task","spec",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":38},"01M6DT9C6PFGD86WS3HY7YE3XG","docs:write-concisely","Apply writing rules to any documentation that humans will read. Makes your writing clearer, stronger, and more professional.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwrite-concisely\u002FSKILL.md",[],[147,148,149,150,151,152,124],"docs:write concisely","write","docs","read","Rules","documentation",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"publishedAt":38},"01M6DT98AWQ27P0N1CG97WAG66","kaizen:why","Iterative Five Whys root cause analysis drilling from symptoms to fundamentals","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fwhy\u002FSKILL.md",[],[155,160,161,162,163,164,165],"why","kaizen","issue","five whys","analysis","root cause analysis",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":38},"01M6DT93EH25NAX19R3WGE1P53","verification-loop","A comprehensive verification system for Claude Code sessions.","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-loop\u002FSKILL.md",[],[173,174,175,176,34,177,26],"verification loop","verification","loop","sessions","claude code sessions",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"publishedAt":38},"01M6DT90GW7Z7VCN98P9DVYSNC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FAntifragileTech\u002Fantifragile-claude-code\u002Fblob\u002Fmaster\u002Fassets\u002Fskills\u002Fthinking\u002Fverification-before-completion\u002FSKILL.md",[],[185,174,186,126,24,187,188,189],"verification before completion","commands","evidence","claim","complete"]