mohamedabdallah-14/prompt-to-asset/favicon
Claude Code and agent skill by mohamedabdallah-14/prompt-to-asset
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
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.
Install
npx vskill@latest install mohamedabdallah-14/prompt-to-asset/faviconSKILL.md
Favicon generation
What modern browsers actually want (see research 11)
| 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
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
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/favicon/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mohamedabdallah-14/prompt-to-asset/favicon)