根据一张或多张参考图片、App 定位和可选指定风格,提取可保存复用的 Style Profile,设计视觉一致且体现产品功能的首次启动 Onboarding,输出引导流程、全局及逐页图像/UI/实现提示词和 SwiftUI 等原生实现建议。适用于 App 首次启动引导页设计、参考图风格转译、命名风格复用和成套提示词生成。
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.
参考图决定设计语言,项目类型决定表达内容,指定风格决定视觉方向,统一约束保证稳定性。
交付可落地的设计方案与提示词。只有用户要求出图、编辑设计文件或写代码时才继续执行相应任务;生成方案不依赖某个图像服务或设计工具。
| 输入 | 处理方式 |
|---|---|
project | 名称、类型、核心功能、目标用户;从现有项目上下文推断,未知名称可用工作名。只有连产品用途都无法判断时才询问 |
references | 0~多张图片,可为 Onboarding、App UI、海报、插画或产品展示图 |
style | 可选,如 glassmorphism、skeuomorphic、minimal、3d-playful、editorial,也支持自然语言 |
style_id | 可选,复用保存的完整规范;与泛风格名称 style 不同 |
profile_store | 默认当前项目的 .onboarding-design/styles/;无项目时用当前任务可写目录。保存后给出绝对路径 |
screen_count | 默认 3 页;价值确实需要展开时选 4~5 页,用户明确指定时遵从并记录原因 |
platform / locale | 从项目推断;未知时 iPhone、简体中文。画布默认 393×852 逻辑 pt 的设计基准,并非设备固定尺寸 |
output_dir | 默认当前项目的 onboarding-design-output/;文件与回复语言跟随用户 |
维护本仓库的可分发风格库时,Profile 保存到本 Skill 的 styles/,原图保存到 references/,并同步更新 README.md 目录;不在仓库根目录新建 .onboarding-design/。上表的项目存储默认值适用于在实际产品项目中使用本 Skill 生成用户风格。
缺少非关键参数时直接继续,在结果中列出假设。推断的功能标为待确认,不把它包装为真实能力。没有参考图时如实标明;看不到图片时不得编造观察证据。若图片是唯一设计依据且不可访问,说明需要可访问的原图;其他内容可先形成草案。
优先级:明确指定的风格 > 可见参考图 > 项目适配推荐 > 默认规范。已保存 Profile 是一份完整参考规范,通常直接复用。
style_id 时先用下文命令加载,不要求重新上传图片。找不到时在给定存储目录查找;仍未找到则说明缺失,不能用同一 ID 静默重建。可继续项目流程设计,但风格复用交付需要原 Profile 或用户同意创建新风格。styles/ 目录加载对应完整 JSON(--store <本 Skill 目录>/styles);不要只凭名称重新设计。显式指定的用户存储目录优先;派生修改仍保存到项目存储目录,不覆盖内置文件。retained、translated、dropped,保留仍兼容的签名特征。风格冲突的维度遵从显式要求,禁止写出相互矛盾的指令。以 style-profile.json 为可运行的结构示例,填写本次规范。必须保留 style_id、design_tokens、visual_language、layout_rules、component_rules、composition_rules、motion_rules、negative_constraints 八项;字段约定见 提示词与复用约束。
soft-glass-daylight-v1;项目名、天气图标、唱片等具体内容不得进入可复用核心。derived_from,不覆盖旧规范。下文命令相对本 Skill 目录运行,尖括号部分替换为实际路径。脚本仅使用 Python 标准库。
python3 scripts/onboarding.py save-profile --profile <工作目录>/style-profile.json --store <项目目录>/.onboarding-design/styles
python3 scripts/onboarding.py load-profile --style-id soft-glass-daylight-v1 --store <项目目录>/.onboarding-design/styles
按 设计原则 建立“真实能力 → 用户价值 → 视觉隐喻 → 页面行为”的映射。默认从认识价值、理解关键能力,到开始使用;不要默认以登录、付费或系统权限收尾。
每页一个信息目标,填写 onboarding-flow.json。明确标题、说明、功能、对象、场景、构图、交互、转场、资源及代码分工。每页采用 Profile 中已批准的布局变体与 token;主体、场景和信息必须不同,不能只换标题。若产品仅有一个核心能力,用使用情境/步骤展开,不能发明三个功能。
先读 提示词约束,使用 输出模板。脚本将共享风格锁原样注入每个独立页面提示词,并输出图像/UI/代码三类目标的使用方式。
python3 scripts/onboarding.py validate --profile <工作目录>/style-profile.json --flow <工作目录>/onboarding-flow.json
python3 scripts/onboarding.py build --profile <工作目录>/style-profile.json --flow <工作目录>/onboarding-flow.json --output <工作目录>/design-prompts.md
输出必须包括:
完整样例见 example-output.md,是无参考图情况下的演示,不代表实际看过参考图。模板可直接构建该示例,但每次实际使用都需先填入当前产品事实。
逐项执行 七维验收:风格一致性、产品相关性、构图质量、内容完整性、提示词可执行性、可复用性、可实现性。检查失败时先改 Profile/Flow,再重新构建提示词;不得只把失败项列为最终建议。
脚本只验证结构、引用、同 ID 保存及风格锁拼装,不能证明视觉质量或文案与产品事实相符。人工语义检查需逐项给出证据与修正记录;没有实际出图/运行 App 时写明“方案级检查,渲染与运行验收待执行”,不能声称通过视觉或设备测试。若执行了出图,检查整组图片的材质、色彩、光照、主体差异和移动端文字区域后再交付。
交付给用户:A~F 方案、Profile/Flow/提示词文件、style_id 和保存路径、假设、七项检查结果及实际验证范围。将 Skill 的安装目录视为只读资源;生成文件和用户风格写入项目输出/存储目录。
README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)examples/example-output.md (opens in a new tab)references/design-principles.md (opens in a new tab)references/images/charcoal-lime-map-v1.png (opens in a new tab)references/images/cinematic-teal-photo-v1.png (opens in a new tab)references/images/mint-photo-orbit-v1.png (opens in a new tab)references/images/mint-photo-stack-v1.png (opens in a new tab)references/images/onboarding-six-styles.png (opens in a new tab)references/images/porcelain-pastel-grid-v1.png (opens in a new tab)references/images/sky-cream-dissolve-v1.png (opens in a new tab)references/mint-organic-contours-v1/reference.png (opens in a new tab)references/pastel-bottom-wash-v1/reference.png (opens in a new tab)references/prompt-constraints.md (opens in a new tab)references/six-reference-styles.md (opens in a new tab)references/style-presets.md (opens in a new tab)scripts/onboarding.py (opens in a new tab)styles/charcoal-lime-map-v1.json (opens in a new tab)styles/cinematic-teal-photo-v1.json (opens in a new tab)styles/mint-organic-contours-v1.json (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/hocgin-game-dev-skills:onboarding-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