Przejdź do treści
Biblioteka skilli
Programowanie · Przegląd i audyt

favicon

/favicon

Sprawdza, czy strona ma poprawnie skonfigurowany favicon, audytuje znaczniki link rel icon w head i przygotowuje infrastrukturę faviconów dla nowego projektu.

Licencja
MIT
Ostatnia zmiana repozytorium
06.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 06.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Sprawdza, czy strona ma poprawnie skonfigurowany favicon, audytuje znaczniki link rel icon w head i przygotowuje infrastrukturę faviconów dla nowego projektu.

Wyzwalacze z opisu

icon
Oryginalny opis (EN)

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.

Jak działa

  1. Quick Reference
  2. Check
  3. Fix
  4. Explain
  5. Code Review
Sekcje z nagłówków SKILL.md, w oryginale · 48 linii, 369 słów
Podgląd SKILL.md
---
name: favicon
description: "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."
metadata:
  category: seo
  priority: medium
  difficulty: intermediate
  estimatedTime: "10"
  source: frontendchecklist.io
  url: https://frontendchecklist.io/rules/seo/favicon
---

# 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

1. Create favicon files:
   - `favicon.ico` (16×16 and 32×32, ICO format) — legacy browser fallback
   - `favicon.svg` (scalable, modern browsers)
   - `apple-touch-icon.png` (180×180 PNG) — iOS home screen
2. Place them in the root or `/public` directory.
3. Add to `<head>`:
   ```html
   <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">
   ```
4. Verify the favicon URL returns a 200 response (not 404).
5. Check that /robots.txt does not block the favicon path.
6. 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`.

Rule page: https://frontendchecklist.io/rules/seo/favicon
Pliki w paczce (2)
  • SKILL.md 3 KB
  • references/rule.md 4 KB

Wersje

W bazie nie ma innych skilli o nazwie favicon.

Migawka bazy z 13.11.2026 · wersja paczki 5135c5d1ebe9 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100favicon-icon-generator
    Generuje i waliduje zestawy faviconów i ikon aplikacji dla projektów webowych: ikony SVG, manifesty i zasoby wieloplatformowe.
  • 100add-favicon
    Tworzy lub przerabia favicon.svg dla witryn dokumentacji, frontendowych i wielu stron w monorepo, w tym dla VitePress, z lokalnym SVG i jawną konfiguracją head.
  • 95favicon-generator
    Wdraża, optymalizuje i audytuje favicony i ikony aplikacji: favicon.ico, apple-touch-icon, ikony PWA i rozmiary ikon.
  • 100bm-favicon-creator
    Generuje komplet favikon (SVG, PNG, wielorozdzielczy .ico, ikona Apple touch) z ikony Lucide lub własnego SVG i dodaje odpowiednie meta tagi do kodu.
  • 95favicon-generator
    Pomaga wdrażać, optymalizować i audytować favicony oraz ikony aplikacji: rozmiary, touch icon i ikony PWA.
  • 100favicon-gen
    Generuje własne favicony z logo, tekstu lub kolorów marki: favicon.svg, favicon.ico, apple-touch-icon.png, ikony 192 i 512 oraz manifest webowy.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.