with one click
with one click
| name | favicon |
| description | Triggers on /favicon only. |
Check for and generate favicon files (svg, png, ico) for any project type.
Both scripts live in the same folder as this SKILL.md.
svg-to-png.js - converts SVG to PNG. Usage: node <path-to-skill>/svg-to-png.js <input.svg> <output.png> <size>png-to-ico.js - converts PNG to ICO. Usage: node <path-to-skill>/png-to-ico.js <input.png> <output.ico>png-to-ico.js requires the png-to-ico npm package. Before running it, always check and install if missing:
npm list -g png-to-ico
If not found:
npm install -g png-to-ico
Do this every time, without asking the user.
skipVerification - skip early-out checks and regenerate everything from scratchUse these signals (first match wins):
src-tauri/ folder, tauri.conf.json, or Cargo.toml depending on tauri → taurinext.config.* or next in package.json deps → nextvite.config.* + React deps in package.json → reactvite.config.* without React → viteindex.html + no bundler config → htmlRead the matching platform spec from this skill's platforms/ folder (e.g. platforms/tauri.md). The spec defines:
If no spec exists for the detected type, fall back to platforms/html.md.
Search the entire project for:
favicon.svgfavicon.pngfavicon.icoNote current locations vs. canonical locations from the platform spec.
Move any misplaced favicon files to their canonical paths per the platform spec. Update references in the HTML entry point after moving.
node <path-to-skill>/svg-to-png.js <svg-path> <png-path> 256
node <path-to-skill>/png-to-ico.js <png-path> <ico-path>
skipVerification was not passed, tell the user and stop..portfolio-data/PORTFOLIO.md and README.md if they exist.Follow the platform spec for what HTML changes to make. Some platforms (e.g. Next.js App Router) need no link tags - the spec will say so.
Run any platform-specific extras defined in the spec (e.g. Tauri native icon generation).
Tell the user what was found, what was generated, and what is still missing. Do not commit.
[HINT] Download the complete skill directory including SKILL.md and all related files