ionic-app-icon-splash
Generate every iOS and Android app icon and splash screen size from a single source PNG using @capacitor/assets. Trigger when adding app icons, generating splash screens, replacing the default Capacitor icon, or shipping any Ionic Capacitor app to a store (icons are non-optional).
How do I install this agent skill?
npx skills add https://github.com/erkamyaman/ionic-capacitor-skills --skill ionic-app-icon-splashIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides standard instructions for generating mobile app icons and splash screens using the official Capacitor assets tool. It does not contain any malicious code, obfuscation, or risky commands.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
App Icon & Splash Generation
iOS and Android each need ~25 icon sizes and 4+ splash variants. @capacitor/assets generates all of them from one source PNG (icon) and one source PNG (splash) and copies them into the right native folders. Replace the default Capacitor icon before any store submission.
When to consult
- Source asset specs + generation command: generate.md
- iOS / Android specifics + light/dark splashes: platform-specifics.md
Hard rules
- ✅ Source icon: 1024×1024 PNG, no transparency, no rounded corners (iOS adds the mask).
- ✅ Source splash: 2732×2732 PNG, centered logo, solid background.
- ✅ Re-run
npx capacitor-assets generatewhenever the source PNG changes. - ✅ Run
npx cap syncafter generation so the new files end up in the native projects. - ❌ Don't hand-edit the generated files in
ios/App/App/Assets.xcassets/AppIcon.appiconset/orandroid/app/src/main/res/mipmap-*/— the next generation overwrites them. - ❌ Don't ship the default Capacitor compass icon. App Review notices.
Library
npm install --save-dev @capacitor/assets
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/erkamyaman/ionic-capacitor-skills/ionic-app-icon-splash">View ionic-app-icon-splash on skillZs</a>