cpp-skill-creator/SKILL.md
Use when creating skills for C++20 standard library features, language constructs, remote third-party libraries, or local C++ projects. Keywords: create C++20 skill, create std skill C++, create concept skill, create local C++ skill, 创建 C++20 skill, 创建标准库技能, 创建 concept 技能, 本地库生成 skill, 动态 C++ skill, skill for ranges, skill for coroutines, skill for concepts, generate C++ skill from local path, C++20 技能, 从文档创建 skill, from docs create C++ skill
npx skillsauth add 13eholder/modern-cpp-skills cpp20-skill-creatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Create dynamic skills for C++20 language features, standard library components, remote third-party libraries, and local C++ projects using official documentation or source headers.
This skill handles requests to create skills for:
<ranges>, <coroutine>, <format>, etc.)consteval, requires, etc.)| User Request | Target Type | Input Pattern |
| --------------------------------------------------------- | ------------------------- | ------------------------------------------------------ |
| "create ranges skill" | C++20 std feature | https://en.cppreference.com/w/cpp/ranges |
| "create skill for std::views::filter" | Specific std component | https://en.cppreference.com/w/cpp/ranges/filter_view |
| "create skill for concept std::integral" | C++20 concept | https://en.cppreference.com/w/cpp/concepts/integral |
| "create skill from https://fmt.dev/latest/api.html" | Remote third-party lib | User-provided URL |
| "create skill from local library at ./libs/mynetwork" | Local third-party lib | Local filesystem path |
Use the /create-llms-for-skills command with appropriate flags:
/create-llms-for-skills [requirements]
/create-llms-for-skills --local [requirements]
✅ Supports multiple URLs (space-separated) for online mode.
❌ Local mode accepts only one path.
Examples:
# C++20 ranges
/create-llms-for-skills https://en.cppreference.com/w/cpp/ranges
# Concept
/create-llms-for-skills https://en.cppreference.com/w/cpp/concepts/same_as
# Remote library
/create-llms-for-skills https://fmt.dev/latest/api.html
# Local library (include directory)
/create-llms-for-skills --local /home/user/projects/crypto/include
# Local project root (auto-detect include/)
/create-llms-for-skills --local ./third_party/myalgo
# With focus requirement
/create-llms-for-skills --local ./libs/async_net "Focus on TCP client API and error handling"
🔍 For local paths, the system scans
.h,.hpp,.hxxfiles and parses Doxygen-style comments (///,/** */) to infer public APIs, constraints, and usage notes. If aDoxyfileordocs/xml/exists, it will be used for higher-fidelity extraction.
After llms.txt is generated, use:
/create-skills-via-llms [version]
Examples:
/create-skills-via-llms ranges ~/tmp/20260125-ranges-llms.txt c++20
/create-skills-via-llms fmt ~/tmp/20260125-fmt-llms.txt v10.2.0
/create-skills-via-llms mycrypto ~/tmp/20260125-mycrypto-llms.txt local
Use
localas version for private/internal libraries unless a specific version is known.
| Target | Input Template |
| --------------------- | ------------------------------------------------------ |
| Standard header | https://en.cppreference.com/w/cpp/header/{header} |
| Ranges algorithm/view | https://en.cppreference.com/w/cpp/ranges/{name} |
| Concept | https://en.cppreference.com/w/cpp/concepts/{name} |
| Coroutine utilities | https://en.cppreference.com/w/cpp/coroutine/{type} |
| Language feature | https://en.cppreference.com/w/cpp/language/{feature} |
| Local library | /path/to/lib/ or /path/to/lib/include/ |
Note: cppreference uses flat naming (e.g.,
transform_view, notviews::transformin URL).
| Feature | Category | URL Path |
| ---------------------------------- | ---------- | ---------------------------------------------------------- |
| std::ranges::sort, views::take | Ranges | /w/cpp/ranges/{name} |
| std::integral, std::same_as | Concepts | /w/cpp/concepts/{name} |
| std::coroutine_handle | Coroutines | /w/cpp/coroutine/coroutine_handle |
| std::format | Formatting | /w/cpp/utility/format/format |
| consteval, requires | Language | /w/cpp/language/consteval, /w/cpp/language/constraints |
| Modules (TS) | Modules | /w/cpp/language/modules (note: not fully standardized) |
User: "Create a dynamic skill for C++20 ranges"
Assistant:
1. Identify: C++20 standard library feature "ranges"
2. Execute: /create-llms-for-skills https://en.cppreference.com/w/cpp/ranges
3. Wait for llms.txt generation
4. Execute: /create-skills-via-llms ranges ~/tmp/{timestamp}-ranges-llms.txt c++20
User: "Create a skill for std::regular and std::semiregular concepts"
Assistant:
1. Identify: C++20 concepts
2. Execute: /create-llms-for-skills https://en.cppreference.com/w/cpp/concepts/regular https://en.cppreference.com/w/cpp/concepts/semiregular
3. Wait for llms.txt
4. Execute: /create-skills-via-llms regular_concepts ~/tmp/{timestamp}-regular-llms.txt c++20
User: "Create skill from https://fmt.dev/latest/api.html"
Assistant:
1. Identify: Remote third-party library
2. Execute: /create-llms-for-skills https://fmt.dev/latest/api.html
3. Follow standard workflow → skill name: fmt
User: "Create a skill from my local logging library at ./libs/logger"
Assistant:
1. Identify: Local third-party library
2. Execute: /create-llms-for-skills --local ./libs/logger
3. System scans ./libs/logger/include/logger.hpp, etc., extracts APIs and comments
4. Wait for llms.txt generation
5. Execute: /create-skills-via-llms logger ~/tmp/{timestamp}-logger-llms.txt local
/create-llms-for-skills step.cpp files as public interface in local mode — only headers are analyzedAll generated skills are saved to: ~/.agent/skills/
std::formatrequires clauses or comments. Manual review recommended for critical systems.tools
Common C++ Anti-Patterns. Triggers: global variables, new/delete, C-style cast, macros, void*.
data-ai
C++ Mental Models: Pointer vs Reference, Initialization, Undefined Behavior.
data-ai
Mastering C++ Domain Errors: Exception Hierarchies, System Errors, and Expected.
data-ai
Mastering C++ Lifecycle: RAII, Destructors, Static Initialization, Rule of 5.