schema-markup-generator
Skill1 starsChanged 21 days agoMITView on GitHub
Write JSON-LD structured data (Article or TechArticle, FAQPage, HowTo, SoftwareApplication, Product, BreadcrumbList, Organization) from the content that is actually visible on a page, fill the required and recommended properties from Google's structured-data documentation, link the nodes in one @graph, and validate the result with the Schema.org validator and the Rich Results Test before it ships. Use when a page needs structured data written, or an existing block checked property by property.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- Varnan-Tech/opendirectorytheir own version, first seen Nov 29, 2026
- nowork-studio/notfair-plugintheir own version, first seen Nov 11, 2026
- Insightful-Pipe/seo-skillstheir own version, first seen Nov 1, 2026
- Insightful-Pipe/marketing-skillstheir own version, first seen Oct 11, 2026
- nowork-studio/topranktheir own version, first seen Oct 8, 2026
- nexscope-ai/ecommerce-seo-geo-skillstheir own version, first seen Aug 26, 2026
Used with
Projects with it also use programmatic-seo and keyword-research.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
SentrySkillprogrammatic-seo
When the user wants to create SEO-driven pages at scale using templates and data. Also use when the user mentions "programmatic SEO," "template pages," "pages at scale," "directory pages," "location pages," "[keyword] + [city] pages," "comparison pages," "integration pages," or "building many pages for SEO." For auditing existing SEO issues, see seo-audit.
Also in 4 projects that use this
indranilbanerjeeSkillkeyword-research
Research keywords via the connected data source: intent, gaps. Grouping → keyword-cluster. \"what keywords should we target\"
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- nowork-studio/toprank★ 4.3ksame name
- nowork-studio/notfair-plugin★ 4.3ksame name
- Varnan-Tech/opendirectory★ 720same name
- opencue/cuecards★ 10same name
- nexscope-ai/ecommerce-seo-geo-skills★ 2same name
- Insightful-Pipe/marketing-skills★ 0same name
- Insightful-Pipe/seo-skills★ 0same name
- search-atlas-group/amm-founding-circle★ 0same name
- uebersaxsamuel/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository168 other files it gives its agents.
- agents.mdAGENTS.md
- 3d-asset-handoff-sheetSkill
- accessibility-regression-auditorSkill
- adr-writerSkill
- agent-memory-designerSkill
- agent-trajectory-evaluatorSkill
- alerting-rules-tunerSkill
- analysis-memo-writerSkill
- annotation-disagreement-ledgerSkill
- annotation-task-spec-builderSkill
- api-deprecation-plannerSkill
- api-error-contract-designerSkill
- architecture-diagram-generatorSkill
- asset-metadata-review-ledgerSkill
- auth-flow-reviewerSkill
- avatar-video-script-writerSkill
- background-job-reliability-auditorSkill
- branch-rebaserSkill
- brand-voice-profilerSkill
- bundle-analyzerSkill
- cache-policy-designerSkill
- canary-release-plannerSkill
- caption-correction-ledgerSkill
- changelog-from-prsSkill
- chart-chooserSkill
- chunking-strategy-optimizerSkill
- circular-dependency-breakerSkill
- claude-settings-auditorSkill
- code-example-verifierSkill
- cold-email-deliverability-auditorSkill
- cold-start-optimizerSkill
- commit-splitterSkill
- competitor-teardownSkill
- component-spec-writerSkill
- connection-pool-tunerSkill
- content-repurposerSkill
- contract-obligation-registerSkill
- contract-test-designerSkill
- conventional-commitsSkill
- cors-configuratorSkill
- coverage-gap-finderSkill
- crm-export-auditorSkill
- dashboard-designerSkill
- data-retention-auditorSkill
- dataset-first-lookSkill
- dead-code-finderSkill
- deadlock-diagnoserSkill
- decision-log-reconcilerSkill
- dependency-auditSkill
- dependency-upgrade-plannerSkill
- design-brief-writerSkill
- design-critique-checklistSkill
- design-token-extractorSkill
- devcontainer-designerSkill
- distributed-tracing-instrumenterSkill
- dockerfile-optimizerSkill
- email-sequence-drafterSkill
- embedding-index-tunerSkill
- embedding-set-inspectorSkill
- entity-match-candidate-ledgerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
0
Distinctive
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
- Very specific: line 39
Use one
@graphwith stable@ids: Put Organization, WebSite, WebPage, the primary node, and BreadcrumbList in one script with @id values …
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Structured data has one rule that most generators break: every value in the JSON-LD must correspond to something a visitor can see on the page. A FAQPage whose questions appear nowhere in the HTML, a datePublished the byline does not show, an aggregateRating with no visible reviews: these are the patterns Google's spam policies describe as structured data abuse. This skill reads the page first, chooses the type from what the page is, fills properties from visible content, links the nodes in a single @graph, and validates the block before it goes into the template. It audits an existing block the same way.
When to use this skill
- A page type (guide, docs article, FAQ, tutorial, product, tool listing) has no JSON-LD and the template owner wants it done once, correctly.
- An existing block fails in Search Console with missing-field or invalid-value errors.
- A site moved CMS or framework and the structured data must be re-expressed in the new template.
- A pass with geo-content-auditor found a visible FAQ section that is not yet marked up.
When NOT to use this skill
- Titles, canonicals, sitemaps, redirects, and crawl hygiene: the seo-technical-auditor skill. It checks that JSON-LD is present; this one writes it.
- Making the prose itself quotable by answer engines: the geo-content-auditor skill.
- Rich-result bait: if the page has no FAQ, add the visible content first.
Instructions
- Read the rendered page and name what it is. One primary type per page:
ArticleorTechArticlefor editorial and docs;FAQPageonly when a visible question-and-answer section exists;HowToonly for a visible step-by-step procedure;SoftwareApplicationfor a page about an app or tool;Productfor something sold with a visible price or reviews;BreadcrumbListon any page that shows breadcrumbs;Organizationonce, on the home or about page. Secondary nodes hang off the primary one. - Extract values from visible content only. Headline from the H1, dates from the byline, author from the visible author line, FAQ questions and answers verbatim from the FAQ section, steps from the numbered procedure, price and currency only if printed. If a value is not on the page, omit the property and list it under "not present on page" in the report. Never pull a date from the git log or an author from a config file and call it visible.
Fill required properties, then recommended ones. Required is what Google's documentation lists for the rich result; a missing recommended property is a warning, not an error. Quick reference, to be checked against the current Search Central docs for the type before you promise anything:
Type Required for Google's rich result Commonly recommended Article / TechArticle none; headline,image,datePublished,authorare recommendeddateModified,author.url,publisherFAQPage mainEntityofQuestionnodes withnameandacceptedAnswer.textone node per visible pair HowTo name,step(eachHowToStepwithtext)image,totalTime,tool,supplySoftwareApplication name, anoffersprice withpriceCurrency(use0for free), a visible rating or reviewapplicationCategory,operatingSystemProduct name, plus one ofreview,aggregateRating,offersimage,description,sku,brandBreadcrumbList itemListElementofListItemwithposition,name,item(optional on the last)Organization name,urllogo,sameAs- Use one
@graphwith stable@ids. PutOrganization,WebSite,WebPage, the primary node, andBreadcrumbListin one script with@idvalues such ashttps://example.com/#organization, so nodes reference each other instead of repeating. Dates in ISO 8601 with an offset; URLs absolute. - Check what the template already emits.
rg -l 'application/ld\+json' srcand read it. TwoArticlenodes, or a plugin block whosedateModifieddisagrees with yours, send conflicting signals. Merge or remove; do not add a third. - Validate three ways. Syntax:
node -e 'JSON.parse(require("fs").readFileSync(0,"utf8"))' < block.json. Vocabulary: the Schema.org validator at https://validator.schema.org/ accepts a URL or a pasted block. Eligibility: Google's Rich Results Test at https://search.google.com/test/rich-results reports only the types Google surfaces. Fix every error; explain each remaining warning in the report. - Insert where the template renders. A
<script type="application/ld+json">in the head or body. In Next.js, render it from a Server Component viadangerouslySetInnerHTMLand escape<in the JSON (JSON.stringify(data).replace(/</g, "\\u003c")) so a</script>inside an answer cannot break out; Astro'sset:htmlneeds the same escape. Edit a file only when the user asked for insertion; otherwise return the block and the exact insertion point.
[!WARNING] Google's structured data guidelines require that marked-up content be visible to users on the page and that it describe that page, not a different one. Markup for content that is hidden, absent, or on another URL is the one thing this skill will refuse to write, because a manual action costs more than a missing rich result.
[!NOTE] Google has narrowed FAQ rich results to a small set of authoritative sites and no longer shows HowTo rich results.
FAQPageandHowToremain valid Schema.org and still describe the page to other consumers, including answer engines; do not promise a visible rich result from either.
Output
The JSON-LD block; a property table with columns Property, Where it appears on the page, and Status (present, omitted, or not on page); the three validator results; and the insertion point or the applied diff. For an audit of an existing block, the same table plus the list of values that have no visible counterpart.
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
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.

