跳到正文
Skillpedia
SEO75k · #2984

product

它能做什么

这个技能检查商品页面的 Product schema 标记,并添加或补全价格、库存和评分信息。它面向希望商品在搜索中显示更丰富细节的店主。

适用场景

  • ✓你请智能体为网上店铺页面添加商品结构化数据的时候。
  • ✓搜索中的商品列表没有显示价格、库存状态或评分的时候。
  • ✓你更新了价格或库存,并想确认结构化数据仍与页面一致的时候。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/product/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我为店铺页面添加商品结构化数据,让 Google 能显示价格和库存状态吗?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会在每个商品页面添加 JSON-LD 代码块,包含名称、图片、描述和报价信息。在存在真实评论的情况下,它还会添加评分信息,并检查标记中的价格是否与页面上显示的价格一致。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Add Product schema markup

Product schema enables Google to show price, availability, ratings, and review count directly in search results—rich results have significantly higher click-through rates than standard blue links.

Quick Reference

  • Add Product JSON-LD schema to every product page for rich result eligibility
  • Required for rich results: name, image, description, and offers (with price and priceCurrency)
  • Include aggregateRating for star ratings in search results
  • Prices in schema must match the prices displayed on the page

Check

Check each product page for a JSON-LD script block with @type 'Product'. Verify it includes: name, image, description, and an offers property with price, priceCurrency, and availability. Check that prices in schema match the visible page prices. Validate with Google's Rich Results Test.

Fix

Add a Product JSON-LD block to each product page. Required: name, image (array of URLs), description, offers.price, offers.priceCurrency, offers.availability. Recommended: aggregateRating (ratingValue, reviewCount), brand, sku, gtin13/gtin8/mpn.

Explain

Product structured data enables Google Shopping-style rich results in organic search, showing price, star ratings, and stock status directly in the SERP. These rich results have higher visual prominence and click-through rates. Without schema, Google can only show a plain blue link for your product pages.

Code Review

Find JSON-LD blocks with @type 'Product'. Verify required fields: name, image (must be absolute URL array), description, offers.price (numeric), offers.priceCurrency (ISO 4217 code), offers.availability (schema.org URL). Check that offers.price matches the visible price on the page. Validate that aggregateRating.reviewCount > 0 if rating is present. Run through Google's Rich Results Test.


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

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

常见问题

商品要显示富媒体结果,需要哪些内容?

这个技能把名称、图片、描述,以及带价格和货币的报价列为必需部分。

我可以添加没有的评分吗?

不可以。这个技能说,评分必须反映真实评论,标记内容也必须与页面可见内容一致。

为什么价格必须一致?

如果标记与页面可见内容不一致,富媒体结果可能会丢失,或者标记可能被视为误导。

详情

作者的原始描述

Use when auditing e-commerce product pages or implementing structured data for a shop. Applies to any page selling or describing a specific product.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2984
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能