为 iOS 项目快速搜索图标并生成可直接用于 Xcode 的 PNG 图标资源集。
整体风险较低。材料显示其为开源且社区采用度高、无密钥要求;主要留意点是 README 提到可选联网使用 Iconify API,以及生成流程涉及对本地项目图标目录的读写语义。
材料明确标注“无”密钥/环境变量,未见要求 API token、账号凭证或系统级敏感认证信息,凭证泄露与滥用面较小。
README 提到可通过 Iconify API 搜索和生成图标,说明存在可选联网外发;虽未给出具体 host,外发内容看起来主要是图标关键词、集合前缀和图标标识,而非明显敏感数据,但网络行为仍需留意。
系统检查项标记为 prompt-only,未声明需要安装守护进程、提权、长期后台服务或广泛系统控制。README 中虽出现 shell/swift 示例命令,但从审计材料本身看未证明该 Skill 具有超出图标生成场景的执行权限。
材料描述会为 Xcode asset catalogs 生成 PNG imageset,并建议检查或替换项目中的现有图标,意味着其预期会在用户指定输出目录读写图标资源文件;未见申请超出该用途的过度数据访问,但涉及项目文件修改应保持最小范围操作。
来源为 GitHub 开源仓库,且社区采用度极高(约 210k star),这显著降低供应链不透明风险。许可证未声明、维护状态未知是小的审计缺口,但不足以在当前材料下上调为高风险。
复制安装指令,让 AI 自动完成配置 · 推荐新手
请帮我安装 askskill 上的 "ios-icon-gen" 技能: 1. 下载 https://raw.githubusercontent.com/affaan-m/ECC/main/skills/ios-icon-gen/SKILL.md 2. 保存为 ~/.claude/skills/ios-icon-gen/SKILL.md 3. 装好后重载技能,告诉我可以用了
请用 SF Symbols 为我的 iOS 应用生成一个“收藏”图标的 PNG imageset,风格简洁,适配 Xcode asset catalog,并列出生成的尺寸与文件名。
一套可用于 Xcode 的 PNG 图标资源文件,并附带尺寸和命名说明。
帮我从 Iconify 中搜索适合“用户设置”的图标,给出 5 个候选,并将我选中的图标生成 iOS 可用的 PNG imageset。
多个图标候选结果,以及所选图标对应的 iOS PNG 资源集。
为我的 iOS 项目批量生成首页、搜索、通知、个人中心四个标签栏图标的 PNG imagesets,要求风格统一并可直接加入 asset catalog。
一组风格统一的多尺寸图标资源集,可直接导入 Xcode 项目。
Generate PNG icon imagesets for Xcode asset catalogs from two sources.
Both sources produce identical Xcode-compatible imagesets. Choose based on need:
| Source | Icons | Requires | Best for |
|---|---|---|---|
| Iconify API | 275,000+ from 200+ collections | Internet | Wide selection, specific styles, open source icons |
| SF Symbols | 5,000+ Apple symbols | macOS only | Apple-native style, offline use |
Before generating, check the project's existing icons for size, color, and weight consistency.
Both methods produce a complete Xcode imageset:
<output-dir>/<asset-name>.imageset/
Contents.json
<asset-name>.png # 1x (68px default)
<asset-name>@2x.png # 2x (136px default)
<asset-name>@3x.png # 3x (204px default)
Determine icon needs: what the icon represents, preferred style, target color, and size.
If the project already has icons, check existing style:
# Check dimensions of existing icon
sips -g pixelWidth -g pixelHeight path/to/[email protected]
Iconify API (recommended for wide selection):
# Search all collections
$SKILL_DIR/scripts/iconify_gen.sh search "receipt"
# Search within a specific collection
$SKILL_DIR/scripts/iconify_gen.sh search "business card" --prefix mdi
# List available collections
$SKILL_DIR/scripts/iconify_gen.sh collections
SF Symbols (for Apple-native style): Browse the SF Symbols app or reference common names:
| Use Case | Symbol Name |
|---|---|
| Document | doc.text, doc.fill |
| Receipt | doc.text.below.ecg, receipt |
| Person | person.crop.rectangle, person.text.rectangle |
| Camera | camera, camera.fill |
| Scan | doc.viewfinder, qrcode.viewfinder |
| Settings | gearshape, slider.horizontal.3 |
# Iconify preview
$SKILL_DIR/scripts/iconify_gen.sh preview mdi:receipt-text-outline
Iconify API:
# Basic generation
$SKILL_DIR/scripts/iconify_gen.sh mdi:receipt-text-outline editTool_expenseReport
# Custom color and output location
$SKILL_DIR/scripts/iconify_gen.sh mdi:receipt-text-outline myIcon --color 007AFF --output ./Assets.xcassets/icons
Options: --size <pt> (default: 68), --color <hex> (default: 8E8E93), --output <dir> (default: /tmp/icons)
SF Symbols:
# Basic generation
swift $SKILL_DIR/scripts/generate_icons.swift doc.text.below.ecg editTool_expenseReport
# Custom color, weight, and output
swift $SKILL_DIR/scripts/generate_icons.swift person.crop.rectangle myIcon --color 007AFF --weight regular --output ./Assets.xcassets/icons
Options: --size <pt> (default: 68), --color <hex> (default: 8E8E93), --weight <name> (default: thin), --output <dir> (default: /tmp/icons)
cp -r /tmp/icons/<name>.imageset path/to/Assets.xcassets/<group>/
| Prefix | Name | Count | Style |
|---|---|---|---|
mdi | Material Design Icons | 7400+ | Filled + outline variants |
ph | Phosphor | 9000+ | 6 weights per icon |
solar | Solar | 7400+ | Bold, linear, outline |
tabler | Tabler Icons | 6000+ | Consistent stroke width |
lucide | Lucide | 1700+ | Clean, minimal |
…
为 Quarkus 项目执行发布前验证闭环,涵盖构建、测试、扫描与差异审查。
帮助用户搜索、浏览并获取海量开源矢量图标及其使用示例