Chuyển đến nội dung
Skillpedia
Website và giao diện (frontend)75k · #3083

web-app-manifest

Skill này làm gì

Skill này thêm và kiểm tra file manifest cho phép website được cài như một ứng dụng. Nó dành cho lập trình viên xây dựng progressive web app hoặc website mà người dùng lưu lên màn hình chính.

Khi nào nên dùng

  • ✓Khi một website không có liên kết manifest trong phần head của HTML.
  • ✓Khi manifest thiếu các trường bắt buộc như icons hoặc start_url.
  • ✓Khi một website muốn cài được như một progressive web app.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/web-app-manifest/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi muốn website của mình mở như một ứng dụng khi ai đó lưu nó lên màn hình chính. Tôi cần thêm gì?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent tạo hoặc kiểm tra file manifest với tên, icon và URL bắt đầu, rồi liên kết nó từ phần head của trang. Nó cũng thiết lập các tùy chọn display và theme color.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Link a Web App Manifest for installability

A Web App Manifest is the minimum requirement for a site to be installable as a Progressive Web App. Installed PWAs launch in their own window, appear in app switchers, and can receive push notifications. Even for non-PWA sites, the manifest improves the experience when users bookmark to their home screen and provides metadata for browser share dialogs.

Quick Reference

  • Link manifest.json with <link rel="manifest" href="/manifest.json">
  • Include name, short_name, icons (192px and 512px minimum), and start_url
  • Set display: standalone to hide browser chrome when launched from home screen
  • Set theme_color to control the browser address bar and OS taskbar color

Check

Check if this HTML file has a Web App Manifest linked. If so, verify the manifest has all required fields for installability.

Fix

Create a minimal Web App Manifest with the required fields and link it from the HTML head.

Explain

Explain the Web App Manifest format, which fields are required for installability, and how icons work across different platforms.

Code Review

Review templates, server-rendered HTML, and shared components that output markup related to Link a Web App Manifest for installability. 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/web-app-manifest

Câu hỏi thường gặp

Cần những kích thước icon nào?

Skill nhắc tới icon 192 và 512 pixel là tối thiểu.

display standalone làm gì?

Nó ẩn các điều khiển của trình duyệt khi website được mở từ màn hình chính.

Điều này có giúp các website không phải ứng dụng không?

Có. Skill cho biết manifest vẫn cải thiện dấu trang trên màn hình chính và hộp thoại chia sẻ.

Chi tiết

Mô tả gốc của tác giả

Use when reviewing templates, rendered HTML, or shared components related to Link a Web App Manifest for installability. Validate the final browser-facing markup, not just the source framework abstraction.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#3083
Giấy phép
MIT
Cập nhật
31/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự