app-icon
Skill17 starsChanged 12 days agoMITView on GitHub
Windows app icon drawn as an SVG (Icon/AppIcon.svg), rendered by tools/make-icon.ps1 into a multi-size AppIcon.ico and AppIcon.png, and reviewed on light and dark taskbar and Start backgrounds, with hand-tuned small sizes. Use when the user wants an app icon, a better icon, or a taskbar or Start icon.
4 other projects use a version of this.
Adopted by
Most recently taken up by
- Stijnus/dsh-rev-engtheir own version, first seen Nov 8, 2026
- Conceptual-Machines/magda-coretheir own version, first seen Nov 7, 2026
- daveebbelaar/bamatheir own version, first seen Nov 1, 2026
- MohamedAbdallah-14/prompt-to-assettheir own version, first seen May 6, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- daveebbelaar/bama★ 1.7ksame name
- Conceptual-Machines/magda-core★ 258same name
- MohamedAbdallah-14/prompt-to-asset★ 18same name
- Stijnus/dsh-rev-eng★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- agent-cliSkill
- csharp-winuiSkill
- improve-architectureSkill
- os-integrationsSkill
- performanceSkill
- design-from-appSkill
- design-kitSkill
- design-systemSkill
- layout-gridSkill
- ux-designSkill
- windows-designSkill
- cloneSkill
- researchSkill
- user-storiesSkill
- build-and-verifySkill
- distributeSkill
- improve-loopSkill
- test-windows-appSkill
- app-briefSkill
- bawaSkill
- new-windows-appSkill
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 5 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 21
Start, the taskbar pin) and the window's icon (AppWindow.SetIcon).
- Distinctive: line 48
Keep the silhouette and the colors of the big icon.
- Distinctive: line 60
No text, no letters. The app's name shows next to the icon everywhere.
- Very specific: line 84
Read docs/BRIEF.md. Write three icon concepts in one line each: the object, the colors, the layers.
- Distinctive: line 88
Check: one concept is chosen and it uses no text and no system glyph.
- Very specific: line 90
Write Icon/AppIcon.svg: a square viewBox, filled shapes (rect with rx, circle, path), and linearGradient fills.
- Very specific: line 94
Check: the viewBox is square.
- Very specific: line 104
Read the PNG. The icon reads at 256 px on all four backgrounds, and at 16 and 24 px it is still recognizable.
- Distinctive: line 108
Check: both "wrote" lines print.
- Very specific: line 119
If Start or a taskbar pin still shows the old icon, Windows cached it.
- Very specific: line 120
Run ie4uinit.exe -show to refresh the icon cache.
- Distinctive: line 133
After using filters, masks, or clip paths, check the review sheet.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
App icon
The icon is one SVG in git: Icon/AppIcon.svg, on a square canvas
(256 x 256 in the template). You write it by hand. Windows adds nothing
to an unpackaged app's icon: no plate, no mask, no shadow. What you draw
is what the taskbar shows, at every size.
tools/make-icon.ps1renders it withtools/IconTool(Svg.Skia) intosrc/<App>/Assets/AppIcon.ico(16, 20, 24, 32, 40, 48, 64, and 256 px) andAppIcon.png(256 px).build.ps1runs it when the SVG changed.tools/make-icon.ps1 -Reviewalso writes one review sheet you read: every size on the light and dark taskbar and Start colors, small sizes enlarged 4 times with no smoothing, so you see their real pixels.- The
.icois the exe's icon (ApplicationIconin the csproj: Explorer, Start, the taskbar pin) and the window's icon (AppWindow.SetIcon). The.pngis the icon in theTitleBarcontrol.
Older app without these files: copy Icon/, tools/make-icon.ps1, and
tools/IconTool/ from the new-windows-app template, the icon block of
its build.ps1, and the ApplicationIcon and Content lines of its
csproj.
Other cases: more-cases.md.
- A packaged (MSIX) app, which needs PNG assets per size and theme.
- Converting an existing icon (an
.icoor PNGs) to an SVG. - A window icon that changes with a theme or a state.
Small sizes by hand
At 100% scale Windows shows the icon at 16 px in the title bar, context menus, and the system tray, and at 24 px on the taskbar. A 256 px drawing scaled to 16 px turns thin lines into gray blur. So the small sizes get their own drawing:
Icon/AppIcon-16.svg(and-20,-24,-32when needed) replaces the scaled main drawing at that size.make-icon.ps1prints16 px from AppIcon-16.svgfor each one it uses. If it prints nothing, the app'stools/IconTool/Program.csis older than this feature: copy it from thenew-windows-apptemplate.- Draw on a canvas of that size (
viewBox="0 0 16 16"), with edges on whole pixels and lines 1 or 2 px thick. - Keep the silhouette and the colors of the big icon. Drop what does not survive: sheens, the third line of text, small details. One shape that reads beats three that blur.
What makes it look like Windows made it
From Microsoft's app icon guidelines (Microsoft Learn, "Design guidelines for Windows app icons" and "Construct your Windows app's icon"):
- One idea. A single metaphor that says what the app does, two at most: an envelope for mail, a check for tasks. A literal metaphor beats an abstract one.
- No text, no letters. The app's name shows next to the icon everywhere.
- Front facing. Draw it straight on. Slight perspective only when the object does not read without it (a cylinder needs its top) or the app is about 3D.
- Simple shapes, as few corners as possible, a clear silhouette, no extremes of thick and thin. Rounded corners: 2 px outside and 1 px inside on a 48 px grid.
- Flat layers, few of them. A soft shadow between layers separates them. Detail goes only on the top layer.
- A soft gradient, if any: one or two steps, about 120 degrees, light from the top left. Never a tight gradient that looks like a reflection.
- Colors from dark, medium, and light, and at least half the icon at 3:1 contrast on both a light and a dark background. Yellow fails on light, red is hard on dark.
- A transparent background looks best. A colored tile (the template's) is fine for a brand; then check it on both backgrounds.
- Your own drawing. Never a Segoe Fluent Icons glyph: it reads as a Windows control, not as an app.
- Distinct from the apps next to it on the taskbar. List the pinned
apps without a screenshot:
Get-ChildItem "$env:APPDATA\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar".
Steps
Read
docs/BRIEF.md. Write three icon concepts in one line each: the object, the colors, the layers. Pick one with the user, or pick the one that is easiest to recognize at 16 px.Check: one concept is chosen and it uses no text and no system glyph.
Write
Icon/AppIcon.svg: a squareviewBox, filled shapes (rectwithrx,circle,path), andlinearGradientfills. Leave the background transparent unless the concept has a tile.Check: the
viewBoxis square. A wide one stretches the icon.Render and review:
tools/make-icon.ps1 -Review # wrote src\<App>\Assets\AppIcon.ico and AppIcon.png # wrote %TEMP%\<App>-icon-review.pngRead the PNG. The icon reads at 256 px on all four backgrounds, and at 16 and 24 px it is still recognizable. If 16 or 24 px blurs, add
Icon/AppIcon-16.svgor-24.svg(Small sizes by hand).Check: both "wrote" lines print. On an error, fix the file it names.
- Iterate two or three times. Change one thing per round: the shape's size, a color, a small-size drawing.
Install and look at the taskbar and Start:
./build.ps1 -OpenIf Start or a taskbar pin still shows the old icon, Windows cached it. Run
ie4uinit.exe -showto refresh the icon cache. As a last resort, unpin and pin the app again.
Gotchas
build.ps1re-renders when an icon SVG is newer than the.ico. An olderbuild.ps1checks onlyAppIcon.svg: after changing only anAppIcon-<size>.svg, runtools/make-icon.ps1yourself.- The exe embeds the
.icowhen it builds. Rendering a new icon changes nothing until./build.ps1runs again. - Text in an SVG renders with whatever fonts this PC has. Turn letters into paths, or better, leave them out.
- Rectangles, circles, paths, gradients, and opacity render reliably. After using filters, masks, or clip paths, check the review sheet.
- Windows picks the exact size from the
.ico, else the next larger one scaled down. At 125% the taskbar wants 30 px and gets 32 scaled down; a hand-tuned 32 px drawing helps there too.
Done when tools/make-icon.ps1 -Review succeeds, the sheet shows a clear
icon on all four backgrounds and at 16 and 24 px, the icon has no text
and no system glyph, and the taskbar and Start show the new icon.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

