--- name: oerschema-audit description: > READ-ONLY diagnostic: review authored HAX page HTML, site.json outline nodes, VitePress markdown directives, JSON-LD blocks, and Google Docs export HTML against the OER Schema vocabulary (Course/Unit/Module/Lesson, LearningObjective, Assessment/Quiz/Activity/Project, Task/Practice, Rubric family, SupportingMaterial, TableOfContents, ActionType verbs) and emit a report with the recommended class, properties, and markup surface for every finding. Use when the user says "audit this page for OER schema", "what schema should this lesson have", "is this quiz marked up as the right oer class", "does my site.json map to oerschema", "check my VitePress directives against the vocabulary", "scan my site for content missing oerschema", or "which of these pages need oer schema" — even if they don't say "audit" or "oerschema". Diagnoses only; hands off to hax-claudehax / hax-site-building to apply remediation and to oerschema-integration-finder when the gap is in a component (code), not the content. version: 1.0.0 license: MIT metadata: author: PRAW tags: [oer-schema, oerschema, schema, metadata, audit, diagnostic, pedagogy, instructional-design, microdata, json-ld, vitepress, hax] requirements: "A HAX site path (site.json + pages/*.html), a single page (JOS node / raw HTML / markdown), a VitePress markdown file, a JSON-LD block, or Docs export HTML. Emits a report; does NOT edit pages, site.json, or source files." --- # OER Schema Audit (Read-Only Diagnostic) Review authored content on an existing HAX site/page (or VitePress / JSON-LD / Docs-export content) against the **OER Schema vocabulary** and emit a diagnostic + remediation report. This skill **diagnoses and recommends only** — it does not edit pages, mutate `site.json`, or insert markup. It mirrors the `hax-a11y-audit` / `hax-udl-audit` pattern but operates through the OER Schema lens: does the authored content carry the correct *semantic pedagogical structure* that makes it discoverable and interoperable as an open educational resource? ## The worldview in one paragraph OER Schema is a vocabulary that extends schema.org with education-specific terms (Course, LearningObjective, Assessment, Rubric, etc.) so educational content is machine-readable and interoperable. The HAX ecosystem commits to applying OER Schema metadata to educational elements, and the UbD skill family already produces OER-schema-tagged unit skeletons — but no existing skill audits *authored content* to see whether the schema is present and correct. This skill fills that gap. It is distinct from **a11y** (technical access for people with disabilities), from **UDL** (pedagogical inclusivity), from **content chunking** (cognitive load), and from **UbD unit audit** (instructional-design alignment). It is also distinct from **component-internal schema support** (an element's own code not emitting microdata), which `oerschema-integration-finder` owns. This audit reports what is missing or mis-classified, cites the class/property, and recommends only real remediation in the right markup surface — never an invented tag or property. ## When to Use **Trigger conditions:** - "Audit this page for OER schema" / "what schema should this lesson have" - "Is this quiz marked up as the right OER class" / "does my site.json map to oerschema" - "Check my VitePress directives against the vocabulary" / "is this JSON-LD valid OER schema" - "Scan my site for content missing oerschema" / "which of these pages need OER schema" - "What OER class should I use for a group project" (when the user is reviewing authored content) - even when the user does not say "OER schema" or "audit" — if they question whether authored educational content carries the right semantic metadata, this is the skill **When NOT to use (with redirect):** - A web component's own code doesn't emit schema (the gap is in the element, not the page) → `oerschema-integration-finder` - Technical WCAG access of the content → `hax-a11y-audit` - Pedagogical inclusivity / multiple means → `hax-udl-audit` - Page-scope cognitive load / chunking → `hax-content-chunking-audit` - Unit alignment / backward design / are assessments aligned → `hax-ubd-unit-audit` - Cognitive level of an objective/assessment (Bloom's) → `grad-blooms` - Editing the OER Schema vocabulary itself (`schema.ts`) → `oerschema-schema-author` (repo-local) - Validating `schema.ts` internal consistency → `oerschema-validation` (repo-local) ## Scope: this skill is READ-ONLY This skill **diagnoses and recommends only**. It produces a report. To apply remediation, hand off to the related skills and the `hax` CLI / `hax-claudehax` (see "Implementing the Recommendations" below). Never edit `pages/*.html`, `site.json`, VitePress markdown, or source files from within this skill. ## Inputs - a HAX site path: `site.json` (JOS tree) + `pages/*.html`, **or** a single page (JOS node / raw HTML / markdown) - **or** a VitePress markdown file using `::: learning-objective` / `::: assessment` / `::: rubric` / `::: practice` / `::: instructional-pattern` directives - **or** a JSON-LD block (a `