voidvec/drogon-claude-plugin/drogon-gen-cmake

Claude Code and agent skill by voidvec/drogon-claude-plugin

Trust tier 2
  • community
LLM review pending
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-cmake

SKILL.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 项目配置。

示例

/drogon-gen-cmake project_name=myapp enable_orm=true cxx_standard=20 use_coroutine=true

生成 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/voidvec/drogon-claude-plugin/drogon-gen-cmake/badge)](https://verified-skill.com/skills/voidvec/drogon-claude-plugin/drogon-gen-cmake)

Something wrong with this skill or its page? Tell us.