drogon
v0.3.0Drogon C++ 后端开发规则与技能: 基于 Drogon 框架编写正确的异步代码, 避开回调/事件循环等高频陷阱。适用于 Claude Code、ZCode、Codex、Cursor、VS Code (Copilot)、Gemini CLI 等 coding agent。
By voidvecLicense: MIT1 GitHub starsUpdated 3 days ago
Directory evidence
- Runtimes
- Codex and Claude Code
- Parsed components
- 22 skill or MCP entries
- Source updated
- Sep 21, 2026
- Manifest status
- Canonical path parsed
The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology →
Install drogon for Codex and Claude Code
codex plugin marketplace add voidvec/drogon-claude-plugin
codex plugin marketplace upgrade drogon-claude-plugin
codex plugin add drogon@drogon-claude-pluginPaste and run these commands in a terminal with Codex. They add and refresh the drogon-claude-plugin catalog, then install this plugin.
Compatibility: the page URL and API slug “drogon” remain stable.
- Codex:
drogon@agent-plugin-marketplace→drogon@drogon-claude-plugin
The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.
Get the source manually
git clone https://github.com/voidvec/drogon-claude-pluginClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The repository root is the plugin root.
Plugin files
├── .codex-plugin/plugin.json├── .claude-plugin/plugin.json├── skills/drogon-create-controller/SKILL.md├── skills/drogon-gen-advice/SKILL.md├── skills/drogon-gen-cmake/SKILL.md├── skills/drogon-gen-coroutine-handler/SKILL.md├── skills/drogon-gen-csp-view/SKILL.md├── skills/drogon-gen-db-config/SKILL.md├── skills/drogon-gen-file-upload/SKILL.md├── skills/drogon-gen-filter/SKILL.md├── skills/drogon-gen-http-client/SKILL.md├── skills/drogon-gen-lambda-handler/SKILL.md├── skills/drogon-gen-middleware/SKILL.md├── skills/drogon-gen-monitoring/SKILL.md├── skills/drogon-gen-orm-crud/SKILL.md├── skills/drogon-gen-orm-model/SKILL.md├── skills/drogon-gen-plugin/SKILL.md├── skills/drogon-gen-rate-limiter/SKILL.md├── skills/drogon-gen-redis-config/SKILL.md├── skills/drogon-gen-session-auth/SKILL.md├── skills/drogon-gen-stream/SKILL.md├── skills/drogon-gen-test/SKILL.md├── skills/drogon-gen-websocket/SKILL.md└── skills/drogon-setup-config/SKILL.md
Included Skills22
生成 drogon 控制器代码(.h + .cc),支持 HttpSimpleController、HttpController、WebSocketController 三种类型。
生成 drogon AOP Advice 代码(11 个内建切面之一),区分拦截型/观察型,含 SyncAdvice 短路。
生成 drogon 项目的 CMakeLists.txt,支持 ORM、Redis、WebSocket、C++20、协程等特性。
生成 drogon 协程 handler / 协程中间件 / 协程 ORM 调用,正确区分 Task/AsyncTask,强制裸 handler 参数按值传递。
生成 drogon CSP 视图模板(.csp 文件)及对应的控制器渲染代码,支持布局模板、C++ 逻辑嵌入、HttpViewData 填充。
生成 drogon 项目的数据库配置(config.json 片段),支持 PostgreSQL、MySQL、SQLite3。
生成 drogon 文件上传 handler(MultiPartParser 解析 + 校验 + 落盘),含 setClientMaxBodySize 配置提示。
生成 drogon Filter(请求拦截器)类及注册代码,支持认证、限流、输入校验等过滤类型。
生成 drogon 出站 HTTP 请求代码(异步回调 / 协程 / 反向代理 forward),含 ReqResult 检查与 timeout。
生成 drogon 现代 lambda 路由代码(app().registerHandler),含 {N} 路径参数绑定与 constraints 混传。
生成 drogon Middleware(全局请求处理链)类及注册代码,支持日志、CORS、性能计时等类型。
需要接入 Prometheus 指标/Counter/Gauge/Histogram/自定义业务监控时,生成 PromExporter 配置与指标采集代码。
生成符合 drogon 约定的 ORM CRUD 代码,支持回调式和协程式,覆盖 PostgreSQL、MySQL、SQLite3。
需要从数据库表生成 drogon ORM 模型类(drogon_ctl create model + model.json)、配置关系映射、或把生成模型接入 CMake 时使用。
生成 drogon Plugin(系统级扩展)类及配置声明,用于连接池、第三方 SDK 初始化等应用级生命周期管理。
需要 drogon 限流/防滥用、编写 Hodor 插件配置、自定义 429 拒绝响应或编程式 RateLimiter 时使用。
生成 drogon 项目的 Redis 配置(config.json 片段)。
生成基于 drogon Session 的登录/登出/鉴权 handler 代码,含 changeSessionIdToClient 防 fixation。
需要流式处理大文件上传/GB级上传/流式下载/chunked 响应时,生成基于 RequestStream 与 newAsyncStreamResponse 的流式 handler 代码。
生成 drogon DROGON_TEST 测试用例,支持单元测试、集成测试、异步数据库测试等类型。
需要 WebSocket 服务端/推送/广播/连接管理时,生成 drogon WebSocketController 代码,含心跳与跨循环纪律。
生成 drogon 项目的配置文件(config.json 或 config.yaml),包含监听地址、SSL、会话、日志等配置。
Plugin manifests2
{
"name": "drogon",
"version": "0.3.0",
"description": "Drogon C++ 后端开发规则与技能: 基于 Drogon 框架编写正确的异步代码, 避开回调/事件循环等高频陷阱。适用于 Claude Code、ZCode、Codex、Cursor、VS Code (Copilot)、Gemini CLI 等 coding agent。",
"author": {
"name": "voidvec"
},
"homepage": "https://github.com/voidvec/drogon-claude-plugin#readme",
"repository": "https://github.com/voidvec/drogon-claude-plugin",
"license": "MIT",
"keywords": [
"drogon",
"cpp",
"c++",
"web-framework",
"async",
"http-server",
"orm",
"backend"
],
"skills": "./skills/",
"hooks": "./hooks/hooks.json",
"interface": {
"displayName": "Drogon C++ Backend",
"shortDescription": "Drogon C++ 后端开发规则与技能(异步回调/事件循环纪律 + 22 个代码生成技能)",
"category": "Software development"
}
}{
"name": "drogon",
"version": "0.3.0",
"description": "Drogon C++ 后端开发规则与技能: 基于 Drogon 框架编写正确的异步代码, 避开回调/事件循环等高频陷阱。适用于 Claude Code 与 ZCode。",
"author": {
"name": "voidvec"
},
"license": "MIT",
"repository": "https://github.com/voidvec/drogon-claude-plugin",
"homepage": "https://github.com/voidvec/drogon-claude-plugin#readme",
"keywords": [
"drogon",
"cpp",
"c++",
"web-framework",
"async",
"http-server",
"orm",
"backend"
]
}For maintainers
If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.
[drogon on Agent Plugins Marketplace](https://pluginsmp.com/plugins/drogon)