Add or fix schema markup
When you need to add or fix schema markup on a page so it can qualify for rich results and be understood by search engines.
0 views0 downloads
Dependencies
--- name: add-fix-schema-markup description: "When you need to add or fix schema markup on a page so it can qualify for rich results and be understood by search engines." ---
Add or fix schema markup
Instructions
Use this skill when the user wants to add or fix schema markup (JSON-LD) on a page — e.g. Article, Product, FAQ, HowTo, Organization. The job: valid, minimal markup that matches the page and passes validation.
Instructions
- Context: Confirm page type and key entities (title, author, dates, price, etc.). If fixing errors, get the current markup or validator output.
- Propose: Output minimal valid JSON-LD with required and recommended properties for the chosen type. No extra optional fields unless the user needs them.
- Validate: Check @context, @type, required fields, and nesting; flag missing or invalid values and fix them.
- Handoff: Return copy-paste-ready JSON-LD and one or two sentences on where to place it (e.g. single script in head or body).
Use case
Securing rich snippets (stars, FAQs, events) in search engine results for better click-through rates.
How to use this skill
Provide your page content or existing schema and ask the agent to validate or generate valid JSON-LD.