voidvec/drogon-claude-plugin/drogon-gen-advice

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.

需要在请求生命周期插入切面(11 个内建 Advice 之一:路由前后、handler 前后、发送前等)时生成 AOP 代码。

Install

npx vskill@latest install voidvec/drogon-claude-plugin/drogon-gen-advice

SKILL.md

The same SKILL.md was published earlier as voidvec/drogon-claude-plugin/drogon-gen-advice.

drogon-gen-advice

生成 drogon AOP(面向切面)Advice 注册代码。drogon 提供 11 个内建切面。

使用场景

当需要插入横切逻辑(统一日志、安全拦截、响应头注入、连接级访问控制、会话生命周期监听)时,使用此技能。

输入参数

  • advice_type: 切面类型,取值之一:
  • sync(同步拦截,返非空 resp 短路)
  • pre_routing_obs / pre_routing_int(观察/拦截)
  • post_routing_obs / post_routing_int
  • pre_handling_obs / pre_handling_int
  • post_handling(观察)
  • pre_sending(观察,含静态响应)
  • http_response_creation
  • beginning
  • new_connection
  • session_start / session_destroy

输出

  1. 对应 register*Advice(...) 注册代码(放在 app().run() 之前)
  2. 拦截型标注"恰好一次回调"纪律
  3. SyncAdvice 返非空短路示例

示例

/drogon-gen-advice advice_type=pre_routing_obs

参考文件

详细实现指南见 references/code-guide.md(含 11 切面签名表、代码模板、禁止模式清单)。生成代码前先读取该文件。

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

7-day trend score
0

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-advice/badge)](https://verified-skill.com/skills/voidvec/drogon-claude-plugin/drogon-gen-advice)

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