Delegate independent tasks to specialized agents working concurrently with isolated context.
.NET MAUI App Icons & Splash Screens
maui-app-icons-splash
.NET MAUI app icon configuration, splash screen setup, SVG to PNG conversion at build time, composed/adaptive icons, and platform-specific icon and splash screen requirements for Android, iOS, Mac Catalyst, and Windows. USE FOR: "app icon", "splash screen", "MauiIcon", "MauiSplashScreen", "adapti...
SKILL.md
Full skill instructions
.NET MAUI App Icons & Splash Screens
Common Pitfalls
❌ Android adaptive icon clipping
Android adaptive icons crop to a circular or squircle safe zone. If the foreground fills the canvas, it will be clipped.
<!-- ❌ Single-layer icon — foreground fills entire canvas, gets clipped -->
<MauiIcon Include="Resources\AppIcon\appicon.svg"
Color="#512BD4" />
<!-- ✅ Composed icon with scaled foreground — stays in safe zone -->
<MauiIcon Include="Resources\AppIcon\appicon.svg"
ForegroundFile="Resources\AppIcon\appiconfg.svg"
ForegroundScale="0.65"
Color="#512BD4" />
❌ Transparent splash screen Color
Some platforms ignore alpha in the splash Color and show black instead.
<!-- ❌ Transparent color — may render as black on some platforms -->
<MauiSplashScreen Include="Resources\Splash\splash.svg"
Color="#00FFFFFF" />
<!-- ✅ Opaque color -->
<MauiSplashScreen Include="Resources\Splash\splash.svg"
Color="#512BD4" />
❌ Confusing Color vs TintColor
Color= background fill behind the icon/splash.TintColor= recolors the foreground image itself.
Setting only TintColor without visible foreground paths results in a blank icon.
⚠️ SVG rendering issues at build time
Complex SVGs with gradients, filters, or masks may not rasterize correctly via the Microsoft.Maui.Resizetizer MSBuild task.
<!-- Workaround: supply a pre-made PNG and skip resizing -->
<MauiIcon Include="Resources\AppIcon\appicon.png"
Resize="false" />
⚠️ BaseSize mismatch
If your SVG viewBox doesn't match the desired logical size, set BaseSize explicitly — otherwise the output dimensions may be wrong.
<!-- SVG viewBox is 100x100 but you want 456x456 logical output -->
<MauiIcon Include="Resources\AppIcon\appicon.svg"
BaseSize="456,456"
Color="#512BD4" />
Best Practices
- Use SVG whenever possible — one file, infinite scaling, smaller repo.
- Set
BaseSizeexplicitly when the SVG viewBox doesn't match the desired logical size. - Keep splash images simple — large or complex SVGs slow the build and may render with artifacts.
- Test on real devices — emulator densities mask icon cropping, especially Android adaptive icon safe zones.
- Use composed icons for Android —
ForegroundFile+ForegroundScale="0.65"ensures the foreground stays within the safe zone.
Quick Troubleshooting
| Symptom | Likely fix |
|---|---|
| Icon appears blank or white | Check Color vs TintColor; ensure SVG paths exist |
| Splash shows default .NET logo | Verify MauiSplashScreen item is in the .csproj |
| Android icon looks clipped | Use composed icon with ForegroundScale="0.65" |
| Build error on SVG | Simplify SVG or switch to PNG with Resize="false" |
| Icon wrong size on one platform | Set BaseSize explicitly in the .csproj |
Checklist
-
MauiIconitem exists in.csprojwithColorset -
MauiSplashScreenitem exists in.csprojwithColorandBaseSize - Android: using composed icon with
ForegroundScalefor safe zone compliance - SVG sources are simple (no gradients/filters) or PNG fallback with
Resize="false" - Tested on a real device (not just emulator) for density and cropping
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
