Validate educational content: $ARGUMENTS

What this does

Checks educational content files against the rules defined in the Educational ASR specification. This is the educational domain’s equivalent of the general /validate-content skill, specialized for education’s content types and relations.

Validation rules by type

lesson

RuleSeverityCheck
teaches: presentWarningFrontmatter field exists with ≥1 entry
requires: present or “none” statedWarningFrontmatter field exists OR body contains explicit “no prerequisites” statement
Worked example sectionErrorBody contains a heading matching “worked example” or “walkthrough” (case-insensitive)
Exercises sectionErrorBody contains a heading matching “check your understanding”, “exercises”, or “self-check”
Motivation before definitionWarningFirst major concept is preceded by a “why it matters” or motivation section
Sources citedWarningAt least one [@citekey] reference in body

curriculum

RuleSeverityCheck
Links to existing lessonsErrorAll lesson links resolve to files that exist
Scope statementWarningBody contains a heading or section addressing scope
teaches: presentWarningFrontmatter field exists

skill (kind: learn)

RuleSeverityCheck
Completion criteria sectionErrorBody contains “what you will be able to do” or equivalent
Criteria are testableWarningCriteria use action verbs (“given X, do Y”) not understanding verbs (“understand”, “be familiar with”)
Prerequisites sectionErrorBody contains prerequisites section
Prerequisite skills existErrorAll referenced skill paths resolve
Scope sectionWarningBody contains scope section
Verification sectionWarningBody contains verification section
Lessons linkedErrorAt least one lesson linked
Lessons existErrorAll lesson links resolve

term

RuleSeverityCheck
defines: presentErrorFrontmatter field exists with ≥1 entry
Related terms sectionWarningBody contains “related terms” heading
cites: presentWarningFrontmatter field exists or [@citekey] in body

school

RuleSeverityCheck
Core claims sectionErrorBody contains claims, commitments, or “common threads” section
Key texts/thinkersWarningBody names at least one person with a work title
Relationship to other traditionsWarningSection present with links to other school pages
Critiques and limitationsErrorSection present

transmission-mode

RuleSeverityCheck
defines: presentErrorFrontmatter field exists
Preserves/transforms describedWarningBody addresses what the mode preserves and what it changes
Politics addressedWarningBody addresses whose knowledge the mode serves

How to run

Scan a specific path or all educational content:

# All education content
/validate-educational-content content/education/

# Specific discipline
/validate-educational-content content/education/disciplines/pedagogy/

# Specific type only
/validate-educational-content content/education/ --type lesson

# Errors only
/validate-educational-content content/education/ --errors-only

Interpreting results

  • ERROR: A MUST rule is violated. The content is ill-formed per the educational ASR. Fix before proceeding.
  • WARN: A SHOULD rule is not met. The content is valid but could be improved.
  • INFO: Informational finding (e.g., a skill with no dependents).

How it differs from assess-pedagogical-soundness

/validate-educational-content checks structural rules (does the frontmatter have the right fields? do links resolve? are required sections present?). /assess-pedagogical-soundness checks pedagogical quality (does the content actually teach? does it reproduce the banking model?). They are complementary:

  • Use /validate-educational-content for fast structural checks across many files.
  • Use /assess-pedagogical-soundness for deep qualitative review of individual pages.