article
它能做什么
这项技能添加 Article 标记,即一段向搜索引擎描述页面的隐藏代码。适合希望文章在搜索结果中更突出的发布者和博主。
适用场景
- ✓当你在网站上发布文章、博客或新闻报道时。
- ✓当你的文章页面在搜索中没有显示更丰富的结果时。
- ✓当你需要检查页面代码中是否包含必要的文章信息时。
技能链接
https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/article/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在我的博客文章模板中添加有效的文章结构化数据,包括标题、日期和作者。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会在每个文章页面中添加一个 JSON-LD 代码块,其中包括文章类型和必要信息,例如标题(headline)、图片(image)、发布日期(datePublished)和作者(author)。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Implement valid Article structured data
Structured data helps your content appear as rich results (like Top Stories or rich snippets), significantly increasing click-through rates and visibility in search results.
Quick Reference
- Use Schema.org
Article,NewsArticle, orBlogPostingtypes for content - Include required properties like
headline,image,datePublished, andauthor - Format the data using JSON-LD for the best compatibility with search engines
Check
Verify that the page contains valid Article structured data with all required properties.
Fix
Add a JSON-LD script block containing the Article schema with correct metadata for the current page.
Explain
Explain how Article schema affects visibility in Google Discover, News, and standard search results.
Code Review
Review metadata generation, rendered HTML, structured data, and response headers related to Implement valid Article structured data. 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.
常见问题
什么是 JSON-LD?
它是页面中一段结构化的文本,以搜索引擎能够读取的格式描述页面内容。
我可以使用哪些文章类型?
这项技能列出了 Article、NewsArticle 和 BlogPosting。
需要哪些信息?
这项技能列出了标题(headline)、图片(image)、发布日期(datePublished)和作者(author)。
详情
作者的原始描述
Use when auditing metadata, crawlability, structured data, or indexability related to Implement valid Article structured data. Verify the rendered HTML and HTTP response rather than relying only on source files.
热度
- GitHub 星标
- 75k
- 排名
- #2745
- 许可证
- MIT
- 更新时间
- 2026/10/31
评论
- …
同一仓库的更多技能
frontendchecklist
75k使用命令行工具,依据 380 多条关于无障碍、速度、SEO 和安全的规则,检查前端代码和线上页面。
frontend-checklist-global
75k依据全部 386 条 Front-End Checklist 规则审查前端项目,并为发现的每个问题给出具体修复方法。
404-page
75k检查你的页面缺失提示是否提供有用的链接,并返回真正的 404 状态,帮助迷路的访客找到方向。
about-page
75k审查你的网站是否有清晰的关于页面,说明由谁运营,以建立访客和搜索引擎的信任。