app-icon-generator

Generate 1024x1024 app icon variants and Contents.json for asset catalogs.

Updated Jun 2, 2026
One-click install
npx skills add https://github.com/ano4l/SiteRent --skill app-icon-generator-ano4l
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: app-icon-generator
Source: https://github.com/ano4l/SiteRent/tree/main/skills/generators/app-icon-generator
Command: npx skills add https://github.com/ano4l/SiteRent --skill app-icon-generator-ano4l

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automates the production-quality app icon creation process for macOS and iOS by generating standardized icon assets from a CoreGraphics Swift script, ensuring consistent sizing and integration with asset catalogs.

Core Features & Use Cases

  • Generates 3 icon variants at 1024x1024 and outputs to icon-variants, then creates the Contents.json for the asset catalog.
  • Produces production-ready sizes for macOS and iOS integration and updates the Xcode asset catalog automatically.
  • Supports Apple HIG-compliant design presets and quick-start customization via the script.

Quick Start

Run the Swift script to generate app icon variants for your macOS/iOS project.

Frequently Asked Questions about app-icon-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate macOS and iOS app icons using a Swift script?

To generate app icons, you run a self-contained Swift script that uses CoreGraphics to create three 1024x1024 icon variants. The script outputs these images to an icon-variants directory and automatically generates the Contents.json file needed for your asset catalog.

Can I automatically update my Xcode asset catalog with generated app icons?

Yes, generating app icons automatically updates the Xcode asset catalog. The Swift script produces production-ready sizes for macOS and iOS integration and creates the Contents.json file required to map those assets correctly within the catalog.

Do I need external dependencies to create Apple HIG-compliant app icons?

No, you do not need external dependencies to create Apple HIG-compliant app icons. The skill uses a self-contained Swift script leveraging CoreGraphics to apply design presets and generate the required icon sizes without relying on third-party libraries.

What is the best way to automate app icon creation for iOS and macOS projects?

The best way to automate app icon creation is running a Swift script that generates three 1024x1024 design variants. It automatically writes the production-ready sizes to an icon-variants folder and builds the Contents.json file for direct asset catalog integration.

Does the app icon generation script support custom design inputs?

Yes, the app icon generation script supports quick-start customization via design inputs. It processes these inputs through CoreGraphics to produce standardized, production-quality icon assets that comply with Apple HIG presets for your macOS and iOS apps.

Why are my generated app icons output at 1024x1024?

Generated app icons are output at 1024x1024 because this is the master resolution required by Apple. The Swift script creates three 1024x1024 variants, which serve as the source for deriving all other production-ready sizes needed for macOS and iOS integration.