favicon
Skill18 starsChanged 7 months agoMITView on GitHub
Generate a full favicon bundle — favicon.ico (16/32/48 multi-res), icon.svg with prefers-color-scheme dark support, apple-touch-icon.png 180×180 opaque, and PWA 192/512/512-maskable — from a brand mark or a mark prompt.
7 other projects use a version of this.
Adopted by
Most recently taken up by
- arilivigni/bento-deck-studiotheir own version, first seen Nov 15, 2026
- sambulosenda/Skillstheir own version, first seen Nov 8, 2026
- joelhooks/joelclawtheir own version, first seen Oct 8, 2026
- brianlovin/claude-configtheir own version, first seen Oct 8, 2026
- abineetsingh/ClaudeSkillstheir own version, first seen Jun 12, 2026
- cpiprint/skillstheir own version, first seen Jan 24, 2026
Other versions7 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 7
- brianlovin/claude-config★ 376same name
- joelhooks/joelclaw★ 66same name
- sambulosenda/Skills★ 2same name
- abineetsingh/ClaudeSkills★ 1same name
- cpiprint/skills★ 1same name
- VALL-dikss/skills★ 1same name
- arilivigni/bento-deck-studio★ 0same 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 repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/prompt-enhancer.mdcCursor rule
- .cursor/rules/prompt-to-asset.mdcCursor rule
- app-iconSkill
- asset-enhancerSkill
- asset-validation-debugSkill
- brand-consistencySkill
- illustrationSkill
- logoSkill
- og-imageSkill
- svg-authoringSkill
- t2i-prompt-dialectSkill
- transparent-bgSkill
- ui-mockup-promptSkill
- vectorizeSkill
- app-iconSkill
- asset-enhancerSkill
- asset-validation-debugSkill
- brand-consistencySkill
- faviconSkill
- illustrationSkill
- logoSkill
- og-imageSkill
- svg-authoringSkill
- t2i-prompt-dialectSkill
- transparent-bgSkill
- ui-mockup-promptSkill
- vectorizeSkill
The file
We split this skill into the rules it gives an agent
2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 32
Reuse existing mark: If a brand logo-mark.svg exists in the brand bundle, use it directly.
- Distinctive: line 57
No detail <2px stroke at 16×16 size.
“Common” is measured: kept by at least 6 in 10 of the 7 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
Favicon generation
What modern browsers actually want (see research 11)
<link rel="icon" href="/favicon.ico" sizes="any">
<link rel="icon" type="image/svg+xml" href="/icon.svg">
<link rel="icon" type="image/svg+xml" href="/icon-dark.svg" media="(prefers-color-scheme: dark)">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/manifest.webmanifest">| File | Size | Alpha | Notes |
favicon.ico | 16, 32, 48 packed | yes | legacy compatibility; <15KB |
icon.svg | vector | yes | primary modern icon |
icon-dark.svg | vector | yes | prefers-color-scheme: dark |
apple-touch-icon.png | 180×180 | no — opaque | iOS home-screen; transparent = black background on iOS |
pwa/192.png, pwa/512.png | 192, 512 | yes | manifest any purpose |
pwa/512-maskable.png | 512, 80% safe zone padding | opaque | manifest maskable purpose |
Generation strategy
SVG-first. Three paths, in order of preference:
- Reuse existing mark. If a brand
logo-mark.svgexists in the brand bundle, use it directly. Optimize with SVGO. Generate color variants by re-coloring SVG paths. - LLM-author SVG. For simple geometric marks (letter, glyph, shape), ask Claude/GPT to emit raw SVG with fixed viewBox, ≤40 paths, palette as hex list. Validate with
@resvg/resvg-jsrasterization. - Generate raster + vectorize. Prompt at 1024² (see
skills/logo/SKILL.md), BiRefNet matte, K-means 4-color (favicons benefit from low color count),potrace --colororvtracer --mode polygon, SVGO.
Prompt scaffold for raster fallback
A simple, memorable [letter | glyph | shape] representing [SUBJECT].
Bold silhouette. Two or three colors maximum: [#primary, #bg].
Subject fills 70% of frame, centered.
Solid pure white background.
No text, no details that vanish at 16x16.
1:1 square, 1024x1024.Dark-mode variant
Option A (recommended): generate two separate SVGs — light on white, dark on black. Never algorithmically invert (loses WCAG contrast).
Option B (compromise): re-color SVG paths via data-driven palette swap from brand.light and brand.dark.
Validation (critical for favicons)
- Render SVG at 16×16 with
@resvg/resvg-js. - WCAG AA contrast ratio ≥ 4.5:1 between foreground and both white and dark browser chrome.
- No detail <2px stroke at 16×16 size.
.icofile size <15KB.apple-touch-icon.pngis opaque — reject if alpha channel present.pwa/512-maskable.pngsubject fits inside 80% center circle.
Output
favicon/
├── favicon.ico # 16/32/48 packed
├── icon.svg # primary modern icon
├── icon-dark.svg # prefers-color-scheme dark
├── apple-touch-icon.png # 180² opaque
├── pwa/192.png
├── pwa/512.png
├── pwa/512-maskable.png
├── head-snippet.html # <link> tags ready to paste
└── meta.jsonDoes 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.

