voidvec/drogon-claude-plugin/drogon-gen-file-upload

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.

需要处理文件上传(multipart 解析、类型与大小校验、落盘、路径穿越防护)时生成 drogon handler。

Install

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

SKILL.md

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

drogon-gen-file-upload

生成基于 MultiPartParser 的文件上传 handler 代码。

使用场景

当需要接收 multipart/form-data 文件上传时,使用此技能生成符合 N 组纪律的代码(解析返回值、路径前缀语义、大小校验、路径穿越防护)。

输入参数

  • route: 上传路由(如 /upload)
  • max_files: 允许的文件数(默认 1)
  • save_dir: 落盘目录(可选;默认走 getUploadPath())
  • max_body_size: 请求体上限字符串(如 "20M",可选)

输出

  1. MultiPartParser 解析 handler(正确判断返回值 0=成功)
  2. 文件数量/大小校验
  3. 落盘调用(save() 或服务端重命名 saveAs)
  4. 启动链 setClientMaxBodySize + setUploadPath 提示

示例

/drogon-gen-file-upload route=/upload max_files=1 max_body_size=20M

参考文件

详细实现指南见 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

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

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