代码生成
SkillDev toolsRun code generation and check for changes. Use after modifying API specs (api-specs/ YAML) or sandbox OpenAPI/protobuf.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the 代码生成 skill
What this skill tells your AI
The instructions your AI receives, as published by qiniu/go-sdk in .agents/skills/gen/SKILL.md and read by ahel’s review.
开始时声明:"我正在使用 gen skill 运行代码生成。"
执行步骤
步骤 1:记录当前状态
git diff --stat
步骤 2:运行代码生成
默认运行 API 代码生成(storagev2、iam、media、audit):
make generate
如果用户提到 sandbox,则运行:
make generate-sandbox
步骤 3:检查变更
git diff --stat
对比生成前后的变更,列出生成产生的文件差异。
步骤 4:验证编译
go build ./...
确认编译通过。
输出格式
列出生成的文件变更清单和编译结果。如果没有变更,说明"代码生成未产生新变更"。
系统规范(AGENTS.md)
执行本 skill 时同时遵守 AGENTS.md 中的系统规范;与本 skill 冲突时以本 skill 为准。
Signals
- GitHub stars
- 158
- Forks
- 66
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
gen-qiniu- Source
- github.com/qiniu/go-sdk