基于参考图片沉淀的「设计主题」生成风格高度统一的 Icon 图像提示词。每个主题对应一张参考图,固化其配色、材质、光影、构图、造型与细节规范,并区分固定风格、可变元素与负向约束。根据项目名称、类型与功能定位设计 Icon 主体,支持指定主题或自动选择主题,输出可直接用于 GPT-Image / Midjourney / SD 等图像生成的提示词。当用户需要设计 App 图标、项目 Logo 图标、Tab/功能图标、成套 Icon,或想把一张参考图固化为新的 Icon 主题时使用。
Ships in game-dev-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
把参考图片的视觉语言固化成主题(Theme),再按项目特征生成风格不漂移的 Icon 提示词。
核心原则:风格由主题锁死,创意只发生在「主体造型」上。
icon-design/
├── SKILL.md
├── README.md # 主题目录(含参考图预览,脚本自动生成)
├── themes/
│ ├── index.md # 主题注册表 + 自动选择规则(必读)
│ ├── _template.md # 新主题模板
│ └── <theme-id>/
│ ├── theme.md # 风格规范 + style/negative 提示词块
│ └── reference.* # 参考原图(风格锚点,jpg/png)
├── references/
│ ├── subject-design.md # 项目 → Icon 主体的设计方法
│ └── add-theme.md # 新增主题流程(从参考图提取特征)
└── scripts/
└── build_prompt.py # 确定性拼装最终提示词
从用户输入中提取:
| 字段 | 说明 | 缺失时 |
|---|---|---|
| 项目名称 | 如「云笺」 | 必需,缺失则询问 |
| 项目类型 | App / Web / 小程序 / 插件 / 游戏 / 开源库 | 从描述推断 |
| 功能定位 | 核心功能、目标用户、调性 | 从描述推断 |
| 主题 | theme-id | 自动选择(步骤 2) |
| 用途模式 | showcase / standalone / app-icon | 项目主图标默认 app-icon,功能图标默认 showcase |
| 数量 | 单个 / 成套 | 默认单个 |
python3 scripts/build_prompt.py --auto "项目描述关键词"
themes/<id>/theme.md,需要时查看该主题的参考图确认细节。按 references/subject-design.md 执行:
doodle-buddy 需要可拟人化的软造型,line-dot 需要可用单线表达的几何物体)。必须使用脚本拼装,保证固定风格段逐字一致:
# 单个图标
python3 scripts/build_prompt.py --theme doodle-buddy --mode app-icon \
--subject "a cloud-shaped notebook character with a folded page corner; violet smile arc in the center"
# 成套图标(同一张图内生成,一致性最高)
python3 scripts/build_prompt.py --theme line-dot --mode showcase \
--subject "a home ..." --subject "a magnifier ..." --subject "a bell ..." --subject "a user bust ..."
# 输出 JSON(含参考图绝对路径、推荐尺寸,便于直接调用生图接口)
python3 scripts/build_prompt.py --theme pop-offset --subject "..." --format json
其他命令:--list 列出全部主题;--catalog 重新生成根目录 README.md 预览目录。
按以下格式回复用户:
**主题**:<中文名>(`<theme-id>`)— <选择理由,一句话>
**主体设计**:<隐喻与造型说明,中文 1–3 句>
**Prompt**
<脚本输出的 prompt>
**Negative Prompt**
<脚本输出的 negative>
**推荐参数**:1:1,<模式>;参考图:themes/<id>/reference.*(作为 style reference)
用户需要直接出图时:
image-gen、gpt-image-bridge),把 prompt_with_negatives(不支持负向提示词的模型)或 prompt + negative_prompt 交给它。reference 字段) 作为风格参考,这是抑制风格漂移最有效的手段。style 块是风格的唯一来源,只能通过脚本原样注入,禁止意译、删减或追加形容词。用户提供新参考图并要求新增主题时,按 references/add-theme.md 执行:提取六维特征 → 复制 themes/_template.md 填写 → 保存参考图 → 在 themes/index.md 注册 → 用脚本试生成并自检。
README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)references/add-theme.md (opens in a new tab)references/subject-design.md (opens in a new tab)scripts/build_prompt.py (opens in a new tab)themes/_template.md (opens in a new tab)themes/clay-soft/reference.png (opens in a new tab)themes/clay-soft/theme.md (opens in a new tab)themes/doodle-buddy/reference.jpg (opens in a new tab)themes/doodle-buddy/theme.md (opens in a new tab)themes/flat-object/reference.png (opens in a new tab)themes/flat-object/theme.md (opens in a new tab)themes/frost-glass/reference.png (opens in a new tab)themes/frost-glass/theme.md (opens in a new tab)themes/glow-blob/reference.png (opens in a new tab)themes/glow-blob/theme.md (opens in a new tab)themes/index.md (opens in a new tab)themes/ink-block/reference.png (opens in a new tab)themes/ink-block/theme.md (opens in a new tab)themes/line-dot/reference.jpg (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/hocgin-game-dev-skills:icon-designfrom game-dev-skills
Claude Code refuses to install this plugin
Claude Code refuses to add this marketplace: The name 'agent-skills' is reserved for official Anthropic marketplaces and can only be used with GitHub sources from the 'anthropics' organization.
Claude Code refuses to add this marketplace: The name 'agent-skills' is reserved for official Anthropic marketplaces and can only be used with GitHub sources from the 'anthropics' organization.
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
38 skills in this plugin
/appicon-design从一张或多张 App Icon 案例图中提取设计语言(配色角色、造型语言、材质、光影、质感、细节密度),剥离参考图自身的主体 / 角色 / 布局等 IP,保存为可命名、可复用的「风格主题模板」(设计 DNA + 多版式变体 + 参考 IP 排除),再根据项目名称、类型与核心功能,按指定风格或自动匹配风格,生成原创、不撞脸参考图、符合 iOS App Icon 规范、可直接用于 GPT-Image / Midjourney / SD 等模型的完整提示词(主体描述 + 风格约束 + 版式 + 原创性约束 + 负面约束)。当用户需要设计 App 图标、iOS/macOS 应用图标、备用图标(Alternate App Icon),或想把案例图片沉淀为新的 App Icon 风格时使用。/apple-itunes-apiApple iTunes Search API 完整参考指南。用于搜索 iTunes/Apple Music 目录中的音乐、电影、播客、应用、图书等内容。
触发条件: 用户提及 "iTunes API"、"Apple Music API"、"搜索歌曲"、"查找专辑"、"获取歌词"、
"搜索 App"、"查找播客"、"iTunes 搜索"、"获取封面"、"album art"、"track lookup" 等。
涵盖 Search API、Lookup API、Genre API、RSS Feed Generator 四大端点。
/appstore-product-descriptionOther plugins' skills for the same job