Chuyển đến nội dung
Skillpedia
SEO75k · #2955

nosnippet

Skill này làm gì

Skill này kiểm tra thẻ meta robots và header trên các trang chính để tìm cài đặt ẩn đoạn trích kết quả tìm kiếm. Skill dành cho chủ website muốn các trang quan trọng hiển thị mô tả trong kết quả tìm kiếm.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu agent kiểm tra xem các trang chính có chặn đoạn trích trong kết quả tìm kiếm không.
  • ✓Khi trang quan trọng chỉ hiện tiêu đề và liên kết trong kết quả tìm kiếm mà không có mô tả.
  • ✓Khi bạn rà soát thẻ robots trên trang đích, trang bài viết hoặc trang sản phẩm.

Liên kết skill

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

“Một số trang quan trọng của tôi không có mô tả trên Google. Bạn có thể kiểm tra xem có cài đặt đoạn trích nào đang chặn nó không?”

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

Cách hoạt động

Agent kiểm tra thẻ meta robots và header X-Robots-Tag trên từng trang quan trọng để tìm nosnippet hoặc max-snippet:0. Agent đánh dấu các trang đó và thay cài đặt bằng max-snippet:-1 hoặc xóa nó đi.

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.

Avoid nosnippet on important pages

Pages with nosnippet display without a description in search results, reducing click-through rates and making it harder for users to understand whether the result is relevant to their query.

Quick Reference

  • nosnippet prevents Google from showing a description under your title in search results
  • Pages without snippets have significantly lower click-through rates
  • Use max-snippet:-1 to explicitly allow unlimited snippet length instead
  • Only use nosnippet deliberately on legally sensitive content

Check

Check the <meta name='robots'> tag and X-Robots-Tag response header for each important page. Flag any that contain 'nosnippet' or 'max-snippet:0'. Confirm these pages intentionally suppress snippets.

Fix

Remove 'nosnippet' from the <meta name='robots'> content attribute on important pages. Replace with 'max-snippet:-1' to explicitly allow full-length snippets, or simply omit snippet directives to use the default (allowed).

Explain

The nosnippet directive tells Google not to display a text snippet (description) for your page in search results. Without a snippet, users see only the page title and URL—this reduces click-through rates and is rarely the intended behaviour for content pages.

Code Review

Check all pages for <meta name='robots' content='...'> tags. Parse the content value and flag any that include 'nosnippet' or 'max-snippet:0'. Generate a report of affected URLs, their page type, and whether the nosnippet directive is intentional. Also check X-Robots-Tag response headers.


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

Rule page: https://frontendchecklist.io/rules/seo/nosnippet

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

nosnippet làm gì?

Nó bảo Google không hiển thị mô tả văn bản cho trang trong kết quả tìm kiếm, chỉ để lại tiêu đề và URL.

max-snippet:-1 là gì?

Nó cho phép rõ ràng đoạn trích có độ dài bất kỳ, và skill gợi ý dùng thay thế.

Khi nào nosnippet được chấp nhận?

Skill nói chỉ nên dùng có chủ ý, với nội dung nhạy cảm về mặt pháp lý.

Chi tiết

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

Use when auditing robots meta tags. Applies to any important landing page, article, or product page that should appear with a description in search results.

repo: thedaviddias/Front-End-Checklist

Độ phổ biến

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