Saltar al contenido
Skillpedia
Marca75 mil · #2840

favicon

Qué hace

Esta skill comprueba que un sitio web muestre un icono pequeño adecuado para sus páginas. Es para dueños de sitios que quieren una marca reconocible en las pestañas y en los resultados de búsqueda.

Cuándo usarla

  • ✓Cuando tu sitio muestra un icono en blanco o por defecto en las pestañas del navegador.
  • ✓Cuando configuras un sitio web nuevo o una plantilla de página nueva.
  • ✓Cuando los resultados de búsqueda de tu sitio no muestran ningún icono.

Link de la skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/favicon/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/favicon/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Puedes comprobar que mi sitio web tenga un favicon correcto en todas las páginas?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente revisa las etiquetas de enlace de icono en el head de la página y confirma que el archivo del icono es accesible por HTTPS. Sugiere los formatos y tamaños de archivo que hay que añadir.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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

  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>:
    <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

Preguntas frecuentes

¿Qué tamaño se recomienda?

La skill dice que el icono debe medir al menos 48 por 48 píxeles para el uso en la búsqueda de Google.

¿Qué archivos sugiere?

Sugiere un respaldo ICO, un icono SVG y un PNG de 180 por 180 píxeles para la pantalla de inicio del iPhone.

¿Por qué el icono debe ser accesible?

Google no puede mostrar un icono que esté bloqueado por robots.txt o que no sea accesible públicamente.

Detalles

Descripción original del autor

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.

repo: thedaviddias/Front-End-Checklist

Popularidad

Estrellas en GitHub
75 mil
Posición en el ranking
#2840
Licencia
MIT
Actualizada
31/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas