validate-schema-canon

Validate draft schemas against canon conventions before scaffolding extensions.

1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/Largo2z9/phantomos --skill validate-schema-canon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-schema-canon
Source: https://github.com/Largo2z9/phantomos/tree/main/.skills/skills/validate-schema-canon
Command: npx skills add https://github.com/Largo2z9/phantomos --skill validate-schema-canon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill prevents invalid schema extensions from being scaffolded by checking draft schemas against established canon conventions and catching structural violations before files are created.

Core Features & Use Cases

  • Canon Schema Validation: Verifies required fields such as versioning, schema identifiers, field type metadata, and required core properties.
  • Sidecar Protection: Detects invalid overrides of core entity fields and enforces append-only extension discipline.
  • Pre-Write Quality Gate: Produces actionable pass, warning, or failure results before scaffold-extension workflows continue.

Quick Start

Ask the validation skill to check a draft schema for canon compliance before creating the extension.

Frequently Asked Questions about validate-schema-canon

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate a draft JSON schema against canon conventions before extending it?

You can validate a draft JSON schema against canon conventions by checking version fields, entity identifiers, field type enums, and required metadata to catch structural violations before extension scaffolding.

What is schema drift and how do pre-write validation checks prevent it?

Schema drift occurs when extensions deviate from core canon conventions. Pre-write validation checks prevent it by enforcing schema rules for required metadata and override detection before files are scaffolded.

Can I detect invalid overrides of core entity fields in a draft schema extension?

Yes, you can detect invalid overrides of core entity fields through sidecar protection, which enforces append-only extension discipline and flags invalid core field overrides during validation.

What's the best way to enforce schema governance for sidecars and core entities?

The best way to enforce schema governance is running canon schema validation that verifies required fields, enforces append-only sidecar discipline, and produces actionable pass or failure quality gate results.

Why does my schema extension scaffolding fail due to missing version fields or metadata?

Schema extension scaffolding fails because canon validation requires version fields, schema identifiers, field type enums, and required core properties to be present and correctly formatted before allowing extension creation.