Orion build platform icons

From OrionUE/Orion_FreeEdition · View interactive version

Orion build platform icons is an AI agent skill from the GitHub repository OrionUE/Orion_FreeEdition. Use when replacing, generating, validating, or routing Unreal Engine project Build folder application icons and logos from a source image, including Build/Windows/Application.ico, Build/Mac/Application.icns, Build/Linux/Application.png, Android res/drawable icon.png, icon_bg.png, adaptive icon XML,

How to use this skill

Skill file

Unreal Build Platform Icons

本 Skill 用于把一张源 Logo 转成 Unreal 项目 Build/<Platform> 下各平台应用图标,不用于普通 Content/UI 图标、Content/Splash 启动图或运行时加载屏。

工作流

  1. 先读取 references/build-platform-icons.zh-CN.md,确认目标平台文件、尺寸和 Android adaptive icon 规则。
  2. 检查源图是否存在,优先使用高分辨率正方形 PNG;非正方形源图必须居中等比适配到正方形画布,不要拉伸。
  3. 先读取当前项目 Build 下已有图标文件,按现有文件集覆盖;不要删除 drawable-anydpi-v26/icon.xml 或随意新增未被引用的图层。
  4. 运行 scripts/update-build-platform-icons.ps1 -SourceLogo <SOURCE_LOGO> 生成 Windows、Mac、Linux、Android 图标。
  5. 生成后重新读取输出,确认 ICO/ICNS 多尺寸条目和 PNG 尺寸都符合 reference 表格。
  6. 如果修改了本 Skill 的脚本,按当前仓库的代码格式要求运行对应脚本校验 touched script files。
  7. 如果更新了本 Skill 或路由,运行 skill-creator 的 quick_validate.py,再运行 ../orion-framework-skill-authoring/scripts/check-skill-portability.ps1 -CheckCRLF -RequireRouting。

脚本

powershell -NoProfile -ExecutionPolicy Bypass -File .agents\skills\orion-build-platform-icons\scripts\update-build-platform-icons.ps1 -SourceLogo <SOURCE_LOGO>

可选参数:

脚本依赖当前环境的 python 和 Pillow。如果环境变量 PYTHON 指向指定解释器,脚本会优先使用它。

路由

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.