/eds-content-ops:structured-datafrom eds-content-ops
Generate JSON-LD structured data for AEM Edge Delivery Services pages. Analyzes page content and metadata to determine the appropriate schema.org types, extracts relevant properties, and produces validated JSON-LD snippets ready for implementation in head.html or scripts.js. Use when adding rich results support, improving search appearance, or auditing existing structured data.
Ships in eds-content-ops. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Analyze AEM Edge Delivery Services page content, determine the most appropriate schema.org types, and generate complete JSON-LD snippets with all required and recommended properties filled from actual page content. Provides implementation guidance specific to the EDS architecture.
This skill fetches external web pages for analysis. When fetching:
.plain.html).In Edge Delivery Services, authored content lives in Google Docs or Microsoft Word. The HTML is generated by EDS and served from .aem.page (preview), .aem.live (live), or a production domain. Structured data cannot be placed in the source document — it must be added to the project code.
There are two implementation paths in EDS:
<head>. Good for site-wide structured data (Organization, WebSite with SearchAction). Located at the root of the EDS GitHub repository.<meta> tags) and injects a <script type="application/ld+json"> element into the <head> at runtime.The metadata table in EDS is a two-column table at the bottom of the source document with key-value pairs. Common metadata properties include template, theme, og:image, description, and custom properties like schema-type, author, publication-date, etc.
Before starting, create a checklist to track progress:
Fetch the page at the URL the user provides. Retrieve both:
<meta> tags, <title>, and <head> content..plain.html — to read the authored body content without site chrome. For root paths, use /index.plain.html.Analyze the content to determine the page type. Look for signals:
| Content Type | Signals |
|---|---|
| Article / Blog Post | Has a publication date, author, article body with multiple paragraphs, metadata like template: article |
| FAQ Page | Contains a pattern of questions (headings) followed by answers (paragraphs) |
| How-To | Step-by-step instructions, numbered lists, possibly with images per step |
| Product | Product name, price, description, images, specifications |
| Organization | About page with company name, logo, contact information, social links |
| Event | Date, time, location, event name, registration link |
| BreadcrumbList | Any page with a defined path hierarchy |
| WebSite | Homepage or any page needing a sitewide SearchAction |
| LocalBusiness | Contact page with address, phone, hours of operation |
| VideoObject | Page with an embedded video, video title, description, thumbnail |
If the content type is ambiguous, state your reasoning and suggest the most appropriate type. Multiple types can apply to a single page (e.g., an article page can have both Article and BreadcrumbList).
From the full HTML <head>, extract:
<title> — page title<meta name="description"> — page description<meta name="author"> — author nameog:image — primary image URLog:title, og:description — Open Graph datapublication-date, modified-date, template, schema-type, category, tagsFrom the .plain.html body, extract:
headline or name)src and alt attributes (maps to image)Build a data map of extracted values matched to potential schema.org properties.
Based on the analysis in Steps 1 and 2, select one or more schema.org types. Always use the most specific type available:
NewsArticle over Article for news content.HowTo over Article for step-by-step guides.FAQPage over WebPage for FAQ content.Product with Offer for product pages.For every page, consider adding BreadcrumbList based on the URL path structure. For example, /products/widgets/blue-widget maps to Home > Products > Widgets > Blue Widget.
If the page supports multiple types, generate each as a separate JSON-LD block. Google supports multiple <script type="application/ld+json"> elements on a single page.
List the selected types and explain why each was chosen.
For each selected schema.org type, generate a complete JSON-LD object. Fill every property from actual page content — never use placeholder text like "Your title here" or "Description goes here."
Follow these rules:
@context and @type at the top level.url, image, and @id properties. Convert relative paths to full URLs using the site's production domain.2026-01-15T09:00:00-05:00).author as a Person object, not just a string).Example structure for an Article:
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "[extracted from H1]",
"description": "[extracted from meta description]",
"image": "[extracted from og:image, as absolute URL]",
"datePublished": "[extracted from publication-date metadata]",
"dateModified": "[extracted from modified-date or last-modified header]",
"author": {
"@type": "Person",
"name": "[extracted from author metadata]"
},
"publisher": {
"@type": "Organization",
"name": "[site or company name]",
"logo": {
"@type": "ImageObject",
"url": "[logo URL]"
}
},
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "[canonical URL of the page]"
}
}
Check the generated JSON-LD against these criteria:
/media/ paths in EDS).headline in JSON-LD matches the actual H1, the description matches the meta description, etc.Report any issues found and correct them in the final output.
Recommend the user validate the final snippet using Google's Rich Results Test or Schema Markup Validator after implementation.
Based on the structured data type, recommend the appropriate implementation path:
Add to head.html in the root of the GitHub repository:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
...
}
</script>
This is injected into every page's <head> automatically by EDS.
Add to scripts.js (or a dedicated structured-data.js module loaded from scripts.js). The code should:
document.querySelector('meta[name="..."]') to determine the page type.<head>:const script = document.createElement('script');
script.type = 'application/ld+json';
script.textContent = JSON.stringify(jsonLd);
document.head.appendChild(script);
Add a schema-type property to the metadata table in the source document. Then in scripts.js, read this value to determine which structured data to generate:
| Key | Value |
|---|---|
| schema-type | Article |
| author | Jane Smith |
| publication-date | 2026-01-15 |
This lets content authors control structured data type from within the document while the code handles the generation.
Explain which approach is best for the user's specific case.
Present the complete, validated JSON-LD snippet(s) in a code block, ready to copy.
If multiple types were generated, present each separately and label them clearly (e.g., "Article structured data," "BreadcrumbList structured data").
State which implementation path to use (head.html vs scripts.js) and any metadata table additions the author should make in their source document.
If the page already has structured data (check for existing <script type="application/ld+json"> in the full HTML), note what exists and whether the new snippet should replace or supplement it.
| Problem | Cause | Solution |
|---|---|---|
| Cannot determine content type | Page has generic content without clear signals | Ask the user what type of page it is; default to WebPage with basic properties |
| Missing required properties | Page lacks metadata like author or publication date | Note the gaps; recommend adding metadata to the source document's metadata table |
| Image URLs are relative | EDS sometimes uses relative /media/ paths | Convert to absolute URLs using the production domain |
| Structured data not appearing in search | Google has not recrawled the page, or the data has errors | Validate with Rich Results Test; request indexing via Search Console |
| JSON-LD in source document does not work | EDS generates HTML from docs; raw JSON-LD in a doc will render as text | JSON-LD must go in head.html or be injected via scripts.js |
| Multiple schema types conflict | Two types claim to be the main entity of the page | Use mainEntityOfPage on the primary type only; others are supplementary |
| Dates are in wrong format | Author used "January 15, 2026" instead of ISO 8601 | Convert in scripts.js when reading from metadata; advise ISO format in docs |
NewsArticle over Article, HowTo over WebPage. Specific types unlock richer search results.schema-type, author, publication-date) to drive structured data generation.What SKILL.md sets; muted values are Claude Code's defaults
Generated from the plugin's indexed repository (focus-gts/eds-content-ops-skills) — no native marketplace selected
npx claudepluginhub p/focus-gts-eds-content-ops42 skills in this plugin
/accessibility-fixScan an AEM Edge Delivery Services page for WCAG 2.1 AA accessibility violations and generate specific fixes. Identifies missing alt text, heading hierarchy issues, link text problems, color contrast concerns, and EDS-specific accessibility patterns. Use when fixing accessibility issues, preparing for compliance audits, or remediating WCAG violations./aem-to-eds-migrationAssess and plan a migration from traditional AEM Sites to AEM Edge Delivery Services. Analyzes the source AEM site to inventory components, templates, content types, and integrations, then maps them to EDS equivalents and produces a migration feasibility report with effort estimates, risk areas, and a phased plan./Other plugins' skills for the same job