一键导入
schema-check
Validate all JSON-LD scripts in Astro pages — check parsability, @context, @type, and Layout.astro auto-inject compatibility.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Validate all JSON-LD scripts in Astro pages — check parsability, @context, @type, and Layout.astro auto-inject compatibility.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit and convert images to WebP format. Checks public/assets/ for PNG/JPG files, verifies <img> tags have width/height, and generates cwebp conversion commands.
Full SEO audit for rtk-ldp landing pages — JSON-LD schemas, OG tags, meta, robots, titles. Outputs a structured pass/fail checklist with score.
| name | schema-check |
| description | Validate all JSON-LD scripts in Astro pages — check parsability, @context, @type, and Layout.astro auto-inject compatibility. |
Extract and validate all <script type="application/ld+json"> blocks from Astro source files.
Find all JSON-LD scripts in src/pages/**/*.astro and src/layouts/*.astro
For each script block:
JSON.parse() equivalent check)@context: "https://schema.org" at root?@type?@graph, do children NOT have @context?Layout.astro auto-inject check:
Layout.astro auto-injects a WebPage schema when it receives a simple schema object@graph object → Layout detects it and skips injection@graph are NOT getting a duplicate WebPage from LayoutSchema type validation per page:
/ → expects @graph with Organization, SoftwareApplication, FAQPage, HowTo, WebPage/vox/, /icm/ → expects SoftwareApplication (Layout adds WebPage)/guide/* → BreadcrumbList + TechArticle (Starlight Head override)Page: src/pages/index.astro
PASS: JSON parseable
PASS: @context present at root
PASS: @graph detected — Layout injection skipped
FAIL: HowTo schema missing 'step' property
Page: src/pages/vox/index.astro
PASS: JSON parseable
PASS: SoftwareApplication schema correct
WARN: No operatingSystem property (optional but recommended)
Report all issues with file + line reference where possible.