favicon
What it does
This skill checks that a website shows a proper small icon for its pages. It is for site owners who want a recognizable brand in tabs and search results.
When to use it
- ✓When your site shows a blank or default icon in browser tabs.
- ✓When you set up a new website or a new page template.
- ✓When search results for your site show no icon.
Skill link
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/favicon/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you check that my website has a correct favicon on every page?”
5 new skills a week. 1 minute to read.
How it works
The agent checks the icon link tags in the page head and confirms that the icon file is reachable over HTTPS. It suggests the file formats and sizes to add.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Add a favicon to every page
Google displays favicons next to search results on mobile devices, making your brand immediately recognisable in the SERP. A missing or inaccessible favicon prevents Google from showing it, reducing visual brand presence in search.
Quick Reference
- Provide a
<link rel="icon">pointing to a favicon file; Google uses it to identify your site in search results - Serve the favicon via HTTPS, ensure it is publicly accessible (not blocked by robots.txt), and at least 48×48px for Google's use
- Include both an ICO fallback and SVG/PNG versions for broad browser and device compatibility
Check
In the page <head>, look for <link rel="icon"> or <link rel="shortcut icon"> elements. Verify: (1) The href points to an accessible URL (returns 200, not blocked by robots.txt). (2) The file is at least 48×48px (for Google Search use). (3) A PNG or SVG version is provided alongside the ICO fallback. (4) The favicon is accessible over HTTPS.
Fix
- Create favicon files:
favicon.ico(16×16 and 32×32, ICO format) — legacy browser fallbackfavicon.svg(scalable, modern browsers)apple-touch-icon.png(180×180 PNG) — iOS home screen
- Place them in the root or
/publicdirectory. - Add to
<head>:<link rel="icon" href="/favicon.ico" sizes="any"> <link rel="icon" href="/favicon.svg" type="image/svg+xml"> <link rel="apple-touch-icon" href="/apple-touch-icon.png"> - Verify the favicon URL returns a 200 response (not 404).
- Check that /robots.txt does not block the favicon path.
- Test Google's display using the URL Inspection tool in Search Console.
Explain
Favicons appear next to your site's name in browser tabs, bookmarks, and Google Search mobile results. Google explicitly states it uses the favicon from <link rel='icon'> for display in search results. A missing, blocked, or too-small favicon means Google cannot show your brand icon, reducing search result click-through rate.
Code Review
Check the <head> for <link rel='icon'> and <link rel='apple-touch-icon'>. Verify the href values are valid relative or absolute paths. Confirm the favicon files exist and return HTTP 200. Flag if only favicon.ico at site root is used without an explicit <link> element (relying on browser default discovery is less reliable).
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
FAQ
What size is recommended?
The skill says the icon should be at least 48 by 48 pixels for Google search use.
Which files does it suggest?
It suggests an ICO fallback, an SVG icon and a 180 by 180 pixel PNG for iPhone home screens.
Why must the icon be reachable?
Google cannot show an icon that is blocked by robots.txt or is not publicly accessible.
Details
Original description by the author
Use when checking whether a site has a correctly configured favicon, auditing `<link rel='icon'>` tags in the `<head>`, or setting up favicon infrastructure for a new project.
Popularity
- GitHub stars
- 75k
- Ranking position
- #2840
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
frontendchecklist
75kChecks frontend code and live pages against 380+ rules for accessibility, speed, SEO and security, using a command-line tool.
frontend-checklist-global
75kAudits a frontend project against all 386 Front-End Checklist rules, and gives a specific fix for each issue found.
404-page
75kChecks that your missing-page screen offers helpful links and returns a real 404 status, to help lost visitors find their way.
about-page
75kReviews whether your site has a clear About page that explains who runs it, to build trust with visitors and search engines.
Similar skills
brand-discovery
280kHelps define a brand's identity through structured interviews. It creates a complete guide with the brand's purpose, audience, and personality.
brand-voice
280kCreates a writing profile based on actual brand texts. It ensures content and communications maintain a consistent and authentic style.
design-md
260kTeaches your agent to write, check, and export a DESIGN.md file that lists a brand's colors, fonts, and style in a form AI tools can read.