Skip to content
icon-generation logo

Icon Generation Skill

icon-generation

Generate app icons (SVG/PNG) and launcher icons for Android Flutter apps. Use when creating UI icons, launcher icons, or platform-ready icon assets. Handles sizing, formats, and flutter_launcher_icons integration.

SKILL.md

Full skill instructions

Icon Generation Skill

Concise, reusable skill for generating app icons (SVG / PNG) and launcher icons for Android Flutter apps. Designed to work with LLMs (Copilot Chat) and image generation models (DALL·E, etc.).

When to Use This Skill

  • Creating consistent, accessible, and platform-ready icons
  • Producing SVG markup or PNG assets
  • Generating image-generation prompts for app icons
  • Setting up launcher icons with flutter_launcher_icons

Important Constraints (Project-Specific)

  • Prefer vector first (SVG) whenever possible
  • Keep icons simple and legible at small sizes (24x24, 48x48)
  • Provide transparent backgrounds for app icons when requested
  • Use the project's color palette or provide color recommendations with hex codes

Flutter Icon Locations

App Icons (Launcher)

  • Android: android/​app/​src/​main/​res/​mipmap-*/ (ic_launcher.png)

UI Icons

  • Place in assets/​icons/ and register in pubspec.yaml
  • Use Flutter's built-in Icons class when possible
  • For custom icons, consider using flutter_svg package

Icon Sizing

Android Launcher (mipmap)

  • mdpi: 48×48 px
  • hdpi: 72×72 px
  • xhdpi: 96×96 px
  • xxhdpi: 144×144 px
  • xxxhdpi: 192×192 px

Master Icon

  • 1024×1024 px for Play Store and source

Example Prompts

1) Generate a small UI icon (SVG)

"Create a simple, single-color search icon for app UI (24x24). Provide:

  • a clean SVG with viewBox 0 0 24 24 and a compact single-path
  • recommended filename assets/​icons/​ic_search.svg
  • one-line alt text for accessibility Constraints: single color (use #1F2937 or suggest a high-contrast color)."

2) Generate app launcher icon

"Design an app launcher icon for a Notes app — style: flat, minimal, rounded corners, primary accent color #0057D9. Provide:

  • a 1024×1024 source image
  • export-ready PNG files for all Android mipmap sizes
  • alt text and recommended filenames Constraints: simple silhouette, good contrast at small sizes."

3) Image-generation prompt

"Create a clean, flat-style app icon. Requirements:

  • Transparent or solid background (specify preference)
  • Simple two-tone palette: primary #0EA5E9, secondary #0F172A
  • Minimalist symbol, centered, no text
  • Provide outputs: PNG 1024x1024 (source), then resize for Android mipmap sizes Negative prompts: avoid photorealism, gradients, text, heavy shadows."

Using flutter_launcher_icons

For automated icon generation, use the flutter_launcher_icons package:

  1. Add to pubspec.yaml:
dev_dependencies:
  flutter_launcher_icons: ^0.13.1

flutter_launcher_icons:
  android: true
  image_path: "assets/​icon/​app_icon.png"
  1. Run: flutter pub run flutter_launcher_icons

Tips

  • Always include primary color hex code and alternate suggestions
  • For UI icons, keep viewBox within 24x24 or 48x48
  • Test icons at small sizes to ensure legibility
  • Consider dark/​light mode variations

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View