AgentSkillsCN

structured-data

JSON-LD 架构标记与校验。

SKILL.md
--- frontmatter
name: structured-data
description: JSON-LD schema markup and validation.
allowed-tools: Read, Write, Edit, Bash, Glob, Grep

Structured Data Skill

Expert assistance for JSON-LD structured data.

Capabilities

  • Implement JSON-LD schemas
  • Validate structured data
  • Configure rich results
  • Handle dynamic data
  • Test with Google tools

Schema Examples

tsx
// Article
<script type="application/ld+json">
{JSON.stringify({
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": title,
  "author": {
    "@type": "Person",
    "name": author.name
  },
  "datePublished": publishedAt,
  "image": imageUrl
})}
</script>

// Organization
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Company Name",
  "url": "https://example.com",
  "logo": "https://example.com/logo.png"
}

Target Processes

  • structured-data-implementation
  • rich-results
  • seo-enhancement