voidvec/drogon-claude-plugin/drogon-gen-cmake
Claude Code and agent skill by voidvec/drogon-claude-plugin
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
需要为 drogon 项目编写 CMakeLists.txt(ORM / Redis / 协程 / CSP 视图、Conan 2 或 MSVC 特例)时生成构建脚本。
Install
npx vskill@latest install voidvec/drogon-claude-plugin/drogon-gen-cmakeSKILL.md
The same SKILL.md was published earlier as voidvec/drogon-claude-plugin/drogon-gen-cmake.
drogon-gen-cmake
生成 drogon 项目的 CMakeLists.txt,支持 ORM、Redis、WebSocket、C++20、协程等特性。
使用场景
当创建一个新的 drogon 项目或需要更新 CMake 配置时,使用此技能快速生成符合 drogon 约定的 CMakeLists.txt。
输入参数
project_name: 项目名称(如myapp)enable_orm: 是否启用 ORM(true/false,默认false)enable_redis: 是否启用 Redis(true/false,默认false)enable_websocket: 是否启用 WebSocket(true/false,默认false)cxx_standard: C++ 标准(17/20,默认20)use_coroutine: 是否启用协程(true/false,默认false)
输出
生成 CMakeLists.txt 文件,包含完整的 drogon 项目配置。
示例
生成 CMakeLists.txt,包含:
find_package(Drogon CONFIG REQUIRED)target_link_libraries(your_app PRIVATE Drogon::Drogon)(ORM / Redis / WebSocket 都在这一个目标里,无独立库目标)set(CMAKE_CXX_STANDARD 20)+CMAKE_CXX_STANDARD_REQUIRED ON(协程由 drogon 自身的USE_COROUTINE开关决定,不要在下游写target_compile_definitions(... USE_COROUTINE),对已安装的Drogon::Drogon无效)
参考文件
详细实现指南见 references/code-guide.md(含参数验证、代码模板、禁止模式清单)。生成代码前先读取该文件。
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/drogon-gen-cmake/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/voidvec/drogon-claude-plugin/drogon-gen-cmake)