agentleFS
romanveselovskiromanveselovski/agents-frontend-rules/skills/seo-aeo-schema-generator/SKILL.md

seo-aeo-schema-generator

Skill0 starsChanged 2 months agoMITView on GitHub

Generates valid JSON-LD structured data for 10 schema types with rich result eligibility validation and implementation-ready script blocks. Activate when the user wants to generate schema markup, JSON-LD, or structured data for any page.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when adding structured data to a new landing page or blog post

    line 19
  2. Distinctive:

    Use when a page needs FAQ rich results or product star ratings in search

    line 20
  3. Distinctive:

    Use when validating existing schema for Google rich result eligibility

    line 21
  4. Distinctive:

    Use after the content-quality-auditor flags missing schema

    line 22
  5. Distinctive:

    If schema types are not specified, recommend the appropriate types based on the page type.

    line 42
  6. Very specific:

    Write one <script type="application/ld+json"> block per schema type.

    line 54
  7. Distinctive:

    Solution: Add AggregateRating object with ratingValue, reviewCount, bestRating, and worstRating — all four fields required.

    line 93
  8. Distinctive:

    Use this skill only when the task clearly matches the scope described above.

    line 106
  9. Distinctive:

    Do not treat the output as a substitute for environment-specific validation, testing, or expert review.

    line 107
  10. Distinctive:

    Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

    line 108

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SEO-AEO Schema Generator

Overview

Generates implementation-ready JSON-LD schema markup for 10 schema types including FAQPage, Article, Product, HowTo, and BreadcrumbList. Validates all required fields against Google rich result eligibility rules, flags missing fields with exact fix instructions, and outputs one clean <script> block per schema type ready to paste into the page <head>.

Part of the SEO-AEO Engine.

When to Use This Skill

  • Use when adding structured data to a new landing page or blog post
  • Use when a page needs FAQ rich results or product star ratings in search
  • Use when validating existing schema for Google rich result eligibility
  • Use after the content-quality-auditor flags missing schema

Supported Schema Types

TypeRich Result Unlocked
FAQPageFAQ accordion in SERP — AEO critical
ArticleArticle rich result, Top Stories
ProductPrice, availability, rating in SERP
HowToStep-by-step rich result
ReviewStar rating in SERP
AggregateRatingStar rating with review count
BreadcrumbListBreadcrumb path in SERP URL
OrganizationBrand knowledge panel signals
WebPageEnhanced page understanding
WebSiteSitelinks Searchbox

How It Works

Step 1: Recommend Schema Types

If schema types are not specified, recommend the appropriate types based on the page type. Landing pages get FAQPage + Product + BreadcrumbList. Blog posts get Article + FAQPage + BreadcrumbList.

Step 2: Use Built-In Schema Templates

Using your knowledge of schema.org and Google's rich result requirements, construct the JSON-LD template for each requested schema type. Use the required and recommended fields listed in the Google Rich Results documentation for that type.

Step 3: Populate Fields

Map all page data to template placeholders. Check every required field against the rich result eligibility rules.

Step 4: Validate

Flag any missing required field as a Critical issue. Flag missing recommended fields as warnings. Do not output schema with missing required fields.

Step 5: Output Script Blocks

Write one <script type="application/ld+json"> block per schema type. Include implementation instructions and testing tool links.

Examples

Example: FAQPage Schema Output

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "What is Syncro?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Syncro is a remote-first project management platform for distributed engineering teams. It centralises task tracking, async communication, and sprint planning in one tool."
      }
    }
  ]
}
</script>

Best Practices

  • ✅ Do: Always include FAQPage schema on any page with a FAQ section — it is the strongest AEO signal
  • ✅ Do: Use one <script> block per schema type — never combine multiple types
  • ✅ Do: Test every output in Google's Rich Results Test before deploying
  • ❌ Don't: Use relative URLs anywhere in schema — all URLs must start with https://
  • ❌ Don't: Leave placeholder text in any field before deploying
  • ❌ Don't: Use HTML tags inside JSON-LD string values

Common Pitfalls

  • Problem: Schema passes validation but rich result doesn't appear in search Solution: Rich results can take weeks to appear after deployment. Request re-indexing in Google Search Console immediately after adding schema.
  • Problem: Product schema missing star rating display Solution: Add AggregateRating object with ratingValue, reviewCount, bestRating, and worstRating — all four fields required.

Related Skills

  • @seo-aeo-landing-page-writer — provides the FAQ and product data for schema population
  • @seo-aeo-content-quality-auditor — flags schema gaps during the audit

Additional Resources

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.