
Add favicon
Adds and redesigns local SVG favicons for docs and multi-site monorepos
Add favicon is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Add favicon
This skill guides an agent through creating a clean, transparent-background SVG favicon for documentation sites and frontend projects, with a focus on batches of VitePress sites in one monorepo. It starts by locating each site's config and public folder, then wires the icon into the page head so browsers actually pick it up.
The workflow leans on Iconify and Lucide-style line icons as design inspiration, then asks the agent to simplify and thicken strokes on a 32-unit grid so the mark stays readable at 16 px. It warns against background blocks, text inside icons and copied complex paths, and it suggests a mapping table so each site in a batch gets a distinct, semantically fitting icon.
Verification covers checking the built output for the favicon file and the injected link tag, and for pure Nitro v3 API projects it adds a /favicon.ico redirect route with a test. The skill expects a project with a TypeScript or JavaScript site config and a shell with ripgrep available for searching the repository.
When your agent uses it
为文档站、前端站点或 monorepo 内多个站点补全或重做 favicon.svg。用户提到 favicon、浏览器标签页图标、Iconify、Lucide 风格、VitePress/VuePress 文档站、 public/favicon.svg、head link icon、图标太丑/一团浆糊/不要背景块时必须使用; 尤其适合批量为多个 VitePress 站点设计本地 SVG favicon,并显式配置 head。
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 2 files (10 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the common-tools plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ruan-cat/monorepo
/plugin install common-tools@ruan-cat-toolsOr copy only this skill to ~/.claude/skills/add-favicon:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/add-favicon &&
cp -R "$tmp/ai-plugins/common-tools/skills/add-favicon" ~/.claude/skills/add-favicon &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/add-favicon inside it instead.
Copy the skill folder to ~/.agents/skills/add-favicon to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/add-favicon &&
cp -R "$tmp/ai-plugins/common-tools/skills/add-favicon" ~/.agents/skills/add-favicon &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/add-favicon inside it instead.
Copy the skill folder to ~/.cursor/skills/add-favicon to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/add-favicon &&
cp -R "$tmp/ai-plugins/common-tools/skills/add-favicon" ~/.cursor/skills/add-favicon &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/add-favicon inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/common-tools/skills/add-faviconOr copy the folder to ~/.gemini/skills/add-favicon yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/add-favicon:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/add-favicon &&
cp -R "$tmp/ai-plugins/common-tools/skills/add-favicon" ~/.copilot/skills/add-favicon &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/add-favicon inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ruan-cat/monorepo.gitThen copy monorepo/ai-plugins/common-tools/skills/add-favicon into your agent's skills folder as add-favicon. Agents that support SKILL.md read one folder per skill.
What it does
- Locating site public folders
- Finds VitePress and VuePress config files and works out where the public directory sits for each site.
- Monochrome line icon design
- Guides transparent, outlined SVG icons with rounded strokes and at most two colours.
- Head link configuration
- Adds an explicit SVG icon link to site head settings without duplicating existing entries.
- Batch icon mapping
- Plans a per-site table of semantic icons so a set of documentation sites stays distinct.
- Build and deploy checks
- Lists commands to confirm the favicon file and link tag appear in built output and live sites.
- Nitro favicon fallback
- Provides a redirect route from /favicon.ico to the SVG for pure Nitro v3 API projects.
Good for
- Give my VitePress docs site a proper SVG favicon
- Redesign blurry favicons across several documentation sites in my monorepo
- Add a /favicon.ico fallback to my Nitro API project
- Check that a deployed site serves its favicon correctly
Add favicon FAQ
Where does the skill place the favicon file in a VitePress project?
It places public/favicon.svg under the VitePress source root, such as src/public, and only uses .vitepress/public when the project config moves the public directory there.
Does Add favicon use a background behind the icon?
No. By default it asks for a transparent background with no coloured block, gradient or shadow behind the mark.
Does Add favicon install any dependencies or scripts?
The skill has no bundled scripts. It directs the agent to run ripgrep searches and build or curl checks.
How do I install Add favicon in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/add-favicon to use it in all your projects, or to .claude/skills/add-favicon in one project. Or install the common-tools plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install common-tools@ruan-cat-tools.
Does Add favicon run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Add favicon?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Add favicon?
The closest alternatives to Add favicon are Init pure admin iconify, Vitepress, Create docs, Antfu and Build tooling.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ruan-cat/monorepo

Works through an OpenSpec change's task list, implementing and checking off each task
- Open source
- 5 GitHub stars
- Developer tools

Finalizes a completed OpenSpec change, syncing its specs and moving it to the archive
- Open source
- 5 GitHub stars
- Developer tools

Generates all OpenSpec planning artifacts for a change in one pass
- Open source
- 5 GitHub stars
- Developer tools

Starts a new OpenSpec change and shows its first artifact template for review
- Open source
- 5 GitHub stars
- Developer tools

Checks and normalizes package.json, tsup and tsconfig setup for monorepo Node packages
- Open source
- 5 GitHub stars
- Developer tools

Turns incident reports and repeated failures into durable, verifiable agent skill rules
- Open source
- 5 GitHub stars
- Developer tools



