freshness
Skill này làm gì
Skill này kiểm tra xem bài viết có hiển thị lần cập nhật gần nhất cho người đọc và công cụ tìm kiếm hay không. Skill dành cho chủ site và người viết giữ nội dung luôn mới.
Khi nào nên dùng
- ✓Khi bạn cập nhật một bài viết và muốn công cụ tìm kiếm nhận ra thay đổi.
- ✓Khi bài blog của bạn không hiển thị ngày cập nhật gần nhất.
- ✓Khi nội dung của bạn bao quát tin tức, hướng dẫn hoặc đánh giá thay đổi thường xuyên.
Liên kết skill
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/freshness/SKILL.mdSao 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
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Bạn có thể thêm ngày cập nhật vào bài viết của tôi để công cụ tìm kiếm thấy chúng mới không?”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent kiểm tra header Last-Modified và trường dateModified trong dữ liệu bài viết. Agent gợi ý đặt cả hai đúng cách và thêm ngày cập nhật hiển thị cho người đọc.
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.
Show content freshness signals
Google's Query Deserves Freshness (QDF) algorithm boosts recent or recently updated content for time-sensitive queries. Missing or stale freshness signals mean your updated content competes without the freshness advantage it deserves.
Quick Reference
- Set the
Last-ModifiedHTTP response header and includedateModifiedin Article JSON-LD on all content pages - Update
dateModifiedonly when content substantively changes — trivial edits should not alter the date - For time-sensitive topics (news, tutorials, product reviews), freshness directly influences Google's ranking of your content
Check
For each article or blog page: (1) Check the HTTP response Last-Modified header — is it set and recent? (2) Check the JSON-LD for a dateModified property in ISO 8601 format. (3) Is a visible 'Last updated' date shown to users? (4) Is the dateModified in JSON-LD consistent with the visible date and the Last-Modified header?
Fix
- Configure your web server to send
Last-Modifiedheaders based on the file modification time:- Nginx:
add_header Last-Modified $date_gmt; - Apache: ensure
mod_headersis enabled; static files serve Last-Modified automatically.
- Nginx:
- Update Article JSON-LD to include
dateModified:{ "@type": "Article", "dateModified": "2024-11-20T14:30:00Z" } - Add a visible "Last updated" date to the article template.
- Hook your CMS to update
dateModifiedonly when content is substantively changed (not on metadata-only saves). - If using a static site generator (Next.js, Astro), pass the frontmatter
updatedAtfield through to the JSON-LD and<time>elements.
Explain
Google's freshness algorithm (QDF — Query Deserves Freshness) actively boosts recently published or updated content for searches where recency matters. If your dateModified is stale or absent, Google may not credit your content with the freshness it deserves, ranking older competitors above you even after you have updated the article.
Code Review
Check that the Last-Modified response header is present on article pages. Verify Article JSON-LD includes dateModified in ISO 8601 format. Confirm that the build or deployment system updates dateModified only for content files that actually changed — not a blanket timestamp update on all pages during deploy.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Câu hỏi thường gặp
Mọi chỉnh sửa nhỏ có nên đổi ngày không?
Không. Skill nói chỉ nên cập nhật ngày khi nội dung thay đổi đáng kể.
dateModified là gì?
Đó là một trường trong dữ liệu có cấu trúc Article của trang, ghi lại lần nội dung được thay đổi gần nhất.
Những trang nào hưởng lợi nhiều nhất?
Skill nói các chủ đề nhạy thời gian như tin tức, hướng dẫn và đánh giá sản phẩm hưởng lợi nhiều nhất.
Chi tiết
Mô tả gốc của tác giả
Use when auditing content pages for freshness signals, setting up HTTP Last-Modified headers in a web server config, or ensuring Article JSON-LD dateModified is updated when CMS content changes.
Độ phổ biến
- Sao GitHub
- 75k
- Vị trí xếp hạng
- #2861
- Giấy phép
- MIT
- Cập nhật
- 31/10/2026
Bình luận
- …
Thêm skill từ kho mã này
frontendchecklist
75kKiểm tra mã frontend và trang trực tiếp theo hơn 380 quy tắc về khả năng tiếp cận, tốc độ, SEO và bảo mật, bằng một công cụ dòng lệnh.
frontend-checklist-global
75kKiểm toán một dự án frontend theo đủ 386 quy tắc của Front-End Checklist, và đưa cách sửa cụ thể cho từng vấn đề tìm thấy.
404-page
75kKiểm tra xem trang báo thiếu của bạn có đưa ra các liên kết hữu ích và trả về mã trạng thái 404 thật hay không, để giúp khách bị lạc tìm đường.
about-page
75kKiểm tra xem trang web có trang Giới thiệu rõ ràng giải thích ai điều hành nó hay không, để xây dựng niềm tin với khách và công cụ tìm kiếm.
Skill tương tự
competitive-platform-analysis
280kGiúp bạn hiểu rõ đối thủ cạnh tranh. Công cụ xác định, phân loại và lọc các công ty cạnh tranh trước khi phân tích sâu hơn.
competitive-report-structure
280kTạo báo cáo đối thủ cạnh tranh toàn diện. Kết hợp thông tin để thể hiện bức tranh chung, đề xuất và giúp đồng đội thống nhất hướng đi.
lead-intelligence
280kGiúp agent tìm và liên hệ với những người quan trọng. Phân tích khách hàng tiềm năng, gợi ý cách tiếp cận và quản lý việc liên lạc qua email và mạng xã hội.