Add product structured data
Shopify sells an online store platform. This playbook works on your own code and does not ask you to buy anything.
Products show price and stock in search results, bringing more qualified visits.
The number it moves
Visitors who buy · Typical: 2.66% is the global average
Orders divided by store visits, as a percent.
What your AI does
Search product page templates for JSON-LD or microdata. If Product schema (name, image, price, currency, availability, reviews) is missing or hardcoded, add it generated from the same data that renders the page, and make sure price and availability match what is displayed. Do not add fields the store has no data for.
Done when
- Product pages carry Product data for search engines
- That data comes from the same source as the page
- Price and stock in it match what the page shows
The prompt
Paste this into any AI coding tool, or run it in MightyMouse and your AI works on your own project.
Add product structured data (Online store) Search product page templates for JSON-LD or microdata. If Product schema (name, image, price, currency, availability, reviews) is missing or hardcoded, add it generated from the same data that renders the page, and make sure price and availability match what is displayed. Do not add fields the store has no data for. Done when: - Product pages carry Product data for search engines - That data comes from the same source as the page - Price and stock in it match what the page shows Read the code first. If it already does this well, change nothing and say so. Otherwise make the smallest change that makes every line above true. Work with what this project already uses. Do not add a paid tool or service unless I ask for one. Playbook: https://getmightymouse.com/playbooks/store-add-product-structured-data/ - published by MightyMouse. Source: Shopify, https://www.shopify.com/blog/ecommerce-conversion-rate
The skill file
Save this as SKILL.md and Claude Code or Cursor can run the playbook any time you ask.
--- name: store-add-product-structured-data description: Products show price and stock in search results, bringing more qualified visits. Use on a online store project to improve "Visitors who buy". --- # Add product structured data Search product page templates for JSON-LD or microdata. If Product schema (name, image, price, currency, availability, reviews) is missing or hardcoded, add it generated from the same data that renders the page, and make sure price and availability match what is displayed. Do not add fields the store has no data for. ## Done when - [ ] Product pages carry Product data for search engines - [ ] That data comes from the same source as the page - [ ] Price and stock in it match what the page shows ## How to run it Read the code first and tick every line that is already true. If all are true, change nothing and say so. Otherwise make the smallest change that makes the rest true, then report each line as done or not done. Work with what this project already uses. Do not add a paid tool or service unless I ask for one. Playbook: https://getmightymouse.com/playbooks/store-add-product-structured-data/ - published by MightyMouse. Source: Shopify, https://www.shopify.com/blog/ecommerce-conversion-rate