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

tel-mailto

Skill này làm gì

Skill này kiểm tra thông tin liên hệ trên trang web và biến chúng thành liên kết bấm được. Skill dành cho chủ doanh nghiệp và nhóm web muốn khách truy cập liên lạc dễ dàng.

Khi nào nên dùng

  • ✓Khi trang liên hệ hiển thị số điện thoại mà khách phải tự chép tay.
  • ✓Khi địa chỉ email trên website chỉ là văn bản thường thay vì liên kết.
  • ✓Khi rà soát một trang có liệt kê thông tin liên hệ của doanh nghiệp.

Liên kết skill

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/tel-mailto/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/tel-mailto/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

“Khách trên website phải chép số điện thoại của tôi để gọi. Bạn có thể làm cho số đó chạm để gọi được không?”

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

Cách hoạt động

Agent tìm số điện thoại và email trên trang rồi bọc chúng trong liên kết. Liên kết điện thoại dùng định dạng quốc tế, không có khoảng trắng hay dấu gạch.

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.

Tel & Mailto Links

On mobile devices, tel: and mailto: links trigger the native phone dialer and email client with one tap; plain-text contact info forces copy-paste and measurably reduces contact conversion rates.

Quick Reference

  • Wrap phone numbers in <a href="tel:+15551234567"> for click-to-call on mobile devices
  • Wrap email addresses in <a href="mailto:contact@example.com"> for one-click email compose
  • Use E.164 format for tel: links: + followed by country code and number, no spaces or dashes
  • Plain text phone numbers and emails require users to copy-paste — a UX and conversion friction point

Check

Scan the HTML for phone numbers (patterns like \+?[0-9\s\-().]{7,}) and email addresses ([\w.-]+@[\w.-]+\.[a-z]{2,}). Verify that phone numbers are wrapped in <a href="tel:..."> and emails in <a href="mailto:...">. Flag any that appear as plain text.

Fix

Wrap each phone number in an anchor tag: <a href="tel:+15551234567">+1 (555) 123-4567</a>. Wrap each email in: <a href="mailto:contact@example.com">contact@example.com</a>. Format tel: values using E.164 (+[country][number]) without spaces.

Explain

Explain how tel: and mailto: URI schemes work in HTML, why E.164 format is required for international compatibility, and how these links improve mobile UX and contact conversion rates.

Code Review

Review metadata generation, rendered HTML, structured data, and response headers related to Tel & Mailto Links. Flag exact routes or templates where search-facing output violates the rule, and describe how to verify the final page output.


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

Rule page: https://frontendchecklist.io/rules/seo/tel-mailto

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

Định dạng số điện thoại quốc tế là gì?

Skill gợi ý định dạng E.164, bắt đầu bằng dấu cộng và mã quốc gia, không có khoảng trắng hay dấu gạch.

Số điện thoại có còn trông như cũ không?

Có. Văn bản hiển thị có thể giữ nguyên, còn liên kết mang số sạch hơn.

Việc này có giúp ích trên máy tính để bàn không?

Skill tập trung vào điện thoại, nơi một lần chạm sẽ mở trình quay số hoặc ứng dụng email.

Chi tiết

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

Use when applies to contact pages, business listing pages, headers/footers, and any page displaying a phone number or email address. Use when auditing contact UX or schema-marked LocalBusiness pages.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

Sao GitHub
75k
Vị trí xếp hạng
#3049
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ự