xiaohongshu
xiaohongshu
android-app-icon
Generate Android adaptive icons from Iconify's 200k+ open source icons
Full skill instructions
Generate Android adaptive icons using VectorDrawables from Iconify's 200k+ icon library.
This skill uses executable scripts for reliable, deterministic icon generation. The agent's role is to:
Scripts location: ~/claude-devtools/skills/android-app-icon/scripts/
| Script | Purpose |
|---|---|
search-icons.sh <term> | Search Iconify for icons |
generate-app-icons.sh <icon-id> | Generate all icon assets |
minSdk >= 26 → Verifycurl is installedpython3 is installedrsvg-convert is installed → Install instructionsapp/src/main/res/drawable/ic_launcher_foreground.xml existsapp/src/main/res/drawable/ic_launcher_background.xml existsapp/src/main/res/mipmap-anydpi-v26/ic_launcher.xml existsapp/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml existsfastlane/metadata/android/en-US/images/icon.png exists./gradlew assembleDebug succeedsCheck app/build.gradle.kts or app/build.gradle:
android {
defaultConfig {
minSdk = 26 // Must be 26 or higher
}
}
macOS:
brew install librsvg
Ubuntu/Debian:
sudo apt install librsvg2-bin
Verify:
rsvg-convert --version
Check for legacy raster icons that are not needed for minSdk 26+:
find app/src/main/res/mipmap-mdpi app/src/main/res/mipmap-hdpi \
app/src/main/res/mipmap-xhdpi app/src/main/res/mipmap-xxhdpi \
app/src/main/res/mipmap-xxxhdpi \
\( -name "ic_launcher*.webp" -o -name "ic_launcher*.png" \) \
2>/dev/null
If files are found, present to user:
"I found existing legacy icon files:
mipmap-mdpi/ic_launcher.webpmipmap-hdpi/ic_launcher.webp- ... (list all)
These are not needed for minSdk 26+ (VectorDrawables are used instead).
Would you like me to delete them? (y/n)"
If user confirms deletion:
find app/src/main/res/mipmap-mdpi app/src/main/res/mipmap-hdpi \
app/src/main/res/mipmap-xhdpi app/src/main/res/mipmap-xxhdpi \
app/src/main/res/mipmap-xxxhdpi \
\( -name "ic_launcher*.webp" -o -name "ic_launcher*.png" \) \
-delete 2>/dev/null
Auto-detect from project context:
# From package name in build.gradle.kts
grep -E 'namespace|applicationId' app/build.gradle.kts 2>/dev/null
# From app name in strings.xml
grep 'name="app_name"' app/src/main/res/values/strings.xml 2>/dev/null
Present to user:
"Based on your project, I suggest searching for:
{detected_term}Would you like to:
- Use
{detected_term}- Enter a different search term"
Run the search script with the confirmed search term:
~/claude-devtools/skills/android-app-icon/scripts/search-icons.sh "<search-term>"
Present results to user:
"Found icons matching '{search-term}':
mdi:heart-pulse- Material Design Icons (Apache 2.0)healthicons:health-worker- Health Icons (MIT)- ...
Preview: https://icon-sets.iconify.design/mdi/heart-pulse/
Enter a number to select, or type a different search term:"
Run the generate script from the project root:
cd /path/to/android/project
~/claude-devtools/skills/android-app-icon/scripts/generate-app-icons.sh "<icon-id>"
The script auto-detects:
themes.xml → colors.xmlOptional overrides (if user requests):
ICON_BACKGROUND="#2196F3" ICON_SCALE="1.2" \
~/claude-devtools/skills/android-app-icon/scripts/generate-app-icons.sh <icon-id>
./gradlew assembleDebug
Check all files exist:
test -f app/src/main/res/drawable/ic_launcher_foreground.xml && echo "✓ foreground"
test -f app/src/main/res/drawable/ic_launcher_background.xml && echo "✓ background"
test -f app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml && echo "✓ ic_launcher"
test -f app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml && echo "✓ ic_launcher_round"
test -f fastlane/metadata/android/en-US/images/icon.png && echo "✓ play store icon"
Reduce scale: ICON_SCALE=1.0 generate-app-icons.sh <icon>
Verify icon ID at https://icon-sets.iconify.design/
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
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...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
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...
Display project status, active tracks, and next actions
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.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience