Agent skill

image-gen

图片生成, 架构图, 流程图, 时序图, 泳道图, diagram, architecture, flowchart, sequence, swimlane, image generation, nano banana, 生图, 画图, 画一个, 生成图片, generate image, draw diagram

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill image-gen-codingsamss-all-my-ai-needs-3 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Path: skills/ai-llm/image-gen-codingsamss-all-my-ai-needs-3/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Image Gen Skill 通用图片生成技能,支持自由生图和结构化图表生成(架构图、流程图、时序图、泳道图)。通过可配置的 API Provider 调用图片生成模型。 ## Prerequisites 1. Python3 可用。 2. 已配置 API Provider(编辑 `~/.codex/skills/image-gen/providers.json` 填入 api_key)。 ## Script Path ``` CODEX_HOME="${CODEX_HOME:-$HOME/.codex}" SCRIPT="${CODEX_HOME}/skills/image-gen/scripts/image-gen.py" ``` ## Config(配置管理) ### 查看当前配置 **Triggers:** "image-gen 配置", "查看生图配置", "image config" ```bash python3 "$SCRIPT" config ``` ### 切换 Provider **Triggers:** "切换生图 provider", "switch image provider" ```bash python3 "$SCRIPT" config --switch <provider_key> ``` 可选 provider_key: `huan`, `undying`, `google` ## Generate(自由生图) **Triggers:** "生成图片", "画一个", "generate image", "生图", "画图" 直接传入 prompt 生成图片: ```bash python3 "$SCRIPT" generate "一个微服务架构图,包含网关、用户服务、订单服务和数据库" ``` 可选参数: - `--output <path>`:指定输出路径(默认 `/tmp/image-gen-<timestamp>.png`) - `--ratio <16:9>`:宽高比(默认 `16:9`) - `--style <clean>`:风格 `clean` / `detailed` / `minimal`(默认 `clean`) - `--debug-raw`:将原始请求/响应 JSON 落盘,便于排查接口返回问题 - `--debug-dir <path>`:调试文件目录(默认 `/tmp/image-gen-debug`) ## Diagram(图表模式) 根据图表类型自动包装专业 prompt 模板,生成高质量技术图表。 ### 架构图 Architecture **Triggers:** "画架构图", "architecture diagram", "系统架构" ```bash python3 "$

What's inside
Steps it walks through
  1. Prerequisites
  2. Script Path
  3. Config(配置管理)
  4. 查看当前配置
  5. 切换 Provider
  6. Generate(自由生图)
  7. Diagram(图表模式)
  8. 架构图 Architecture
  9. 流程图 Flowchart
  10. 时序图 Sequence
  11. 泳道图 Swimlane
  12. 从文件读取描述
  13. Diagram 通用可选参数
  14. 输出约定
Ships with 1 file
  • metadata.json
Commands it runs
python3 "$SCRIPT" config
python3 "$SCRIPT" config --switch <provider_key>
python3 "$SCRIPT" generate "一个微服务架构图,包含网关、用户服务、订单服务和数据库"
python3 "$SCRIPT" diagram --type architecture --input "Client -> API Gateway -> Auth Service, User Service -> PostgreSQL"
python3 "$SCRIPT" diagram --type flowchart --input "用户注册流程:输入信息->验证邮箱->创建账号->发送欢迎邮件"
python3 "$SCRIPT" diagram --type sequence --input "Browser->Server: HTTP Request; Server->DB: Query; DB->Server: Result; Server->Browser: Response"
python3 "$SCRIPT" diagram --type swimlane --input "前端: 发送请求; 网关: 鉴权转发; 服务: 业务处理; 数据库: 读写数据"
python3 "$SCRIPT" diagram --type architecture --file description.txt
More from claude-skill-registry
All skills →
About this skill
What does the image-gen skill do?

图片生成, 架构图, 流程图, 时序图, 泳道图, diagram, architecture, flowchart, sequence, swimlane, image generation, nano banana, 生图, 画图, 画一个, 生成图片, generate image, draw diagram

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill image-gen-codingsamss-all-my-ai-needs-3 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going