跳到正文
Skillpedia
品牌75k · #2841

favicons

它能做什么

这项技能检查网站是否拥有适用于不同浏览器和设备的完整图标文件。适用于希望网站在各处都显得精致的开发者。

适用场景

  • ✓当你的网站图标在手机主屏幕上模糊或缺失的时候。
  • ✓当你希望使用支持深色模式的现代 SVG 图标的时候。
  • ✓当你构建的网页应用需要能安装到设备上的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/favicons/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我设置网站在手机和浏览器标签页中需要的图标。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会检查图标标签,并建议一套基础图标文件,以及 SVG 版本和网页应用的 manifest 条目。它还可以推荐图标生成工具。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Implement favicons for all devices

Missing or low-quality favicons make sites look unprofessional in browser tabs, bookmarks, and home screens—damaging brand recognition and user trust.

Quick Reference

  • Minimum: favicon.ico (32x32) + apple-touch-icon.png (180x180)
  • Modern: SVG favicon with dark mode support
  • PWA: Include in manifest.json with multiple sizes
  • Use RealFaviconGenerator or favicons npm package

Check

Verify that all necessary favicon formats and sizes are implemented correctly for optimal display across different browsers, devices, and platforms.

Fix

Generate and implement a complete favicon set including ICO, PNG, SVG, and mobile/PWA icons with proper HTML declarations.

Explain

Explain how proper favicon implementation improves brand recognition, user experience, and ensures consistent display across all browsers and devices.

Code Review

Review templates, server-rendered HTML, and shared components that output markup related to Implement favicons for all devices. Flag exact elements, attributes, and routes where the rendered HTML violates the rule.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/html/favicons

常见问题

最低要求是什么?

这项技能提到 32 x 32 像素的 favicon.ico,以及 180 x 180 像素的 apple-touch-icon PNG。

manifest 有什么作用?

它为已安装的网页应用列出多种尺寸的图标。

它提到了哪些工具?

它提到了 RealFaviconGenerator 和 favicons npm 包。

详情

作者的原始描述

Use when reviewing templates, rendered HTML, or shared components related to Implement favicons for all devices. Validate the final browser-facing markup, not just the source framework abstraction.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2841
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能