validate-md

Community

Validate Markdown frontmatter via JSON Schema.

Authorluebken
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill automates the validation of Markdown files by ensuring their YAML frontmatter matches a defined JSON Schema, preventing data quality issues and streamlining content governance.

Core Features & Use Cases

  • Frontmatter Validation: Check every Markdown file's metadata against the schema.yaml to catch missing or invalid fields.
  • Schema-Driven Quality: Enforces consistent structure across large documentation repositories.
  • Use Case: Maintain consistent metadata for a blog or docs site, ensuring all posts include required fields like date, author, and tags.

Quick Start

Run the validator against a directory that contains a schema.yaml and Markdown files, for example: python validate-md.py docs/pages

Dependency Matrix

Required Modules

pyyamljsonschema

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: validate-md
Download link: https://github.com/luebken/claude-plugins/archive/main.zip#validate-md

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository