跳到正文
cccskills
免费在 GitHub 公开

schema-check

Validate all JSON-LD scripts in Astro pages — check parsability, @context, @type, and Layout.astro auto-inject compatibility.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Schema Check Skill

Extract and validate all <script type="application/ld+json"> blocks from Astro source files.

What to Check

  1. Find all JSON-LD scripts in src/pages/**/*.astro and src/layouts/*.astro

  2. For each script block:

    • Is the JSON parseable? (JSON.parse() equivalent check)
    • Does it have @context: "https://schema.org" at root?
    • Does it have @type?
    • If it's a @graph, do children NOT have @context?
  3. Layout.astro auto-inject check:

    • Layout.astro auto-injects a WebPage schema when it receives a simple schema object
    • If a page passes a @graph object → Layout detects it and skips injection
    • Verify: pages with @graph are NOT getting a duplicate WebPage from Layout
  4. Schema 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)

Output Format

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.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

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.

中文简介正在准备中。当前显示原文说明。

rtk-ai/rtk-ldp102026年10月16日 更新

seo-audit

免费

Full SEO audit for rtk-ldp landing pages — JSON-LD schemas, OG tags, meta, robots, titles. Outputs a structured pass/fail checklist with score.

中文简介正在准备中。当前显示原文说明。

rtk-ai/rtk-ldp102026年10月16日 更新

UI/UX design intelligence. 67 styles, 96 palettes, 57 font pairings, 25 charts, 13 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient. Integrations: shadcn/ui MCP for component search and examples.

中文简介正在准备中。当前显示原文说明。

rtk-ai/rtk-ldp102026年10月16日 更新

查看 rtk-ai 的全部技能

报告此技能的问题