/metaschema:metaschema-basicsfrom metaschema
Introduces Metaschema information modeling framework: modules, definitions (assembly/field/flag), constraints, Metapath expressions, and XML/JSON/YAML serialization. Routes to detailed skills.
Ships in metaschema. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Metaschema is an information modeling framework that allows defining data models in a format-agnostic way, generating XML and JSON schemas from a single source, and specifying constraints and validation rules.
A Metaschema file defining a model or portion of a model. Modules can import other modules.
→ For details: See metaschema-module-authoring skill (creating or understanding modules)
| Type | Description | Example |
|---|---|---|
| Assembly | Complex structure containing fields and other assemblies | catalog, control, metadata |
| Field | Simple data element with a typed value | title, description, email |
| Flag | Attribute/property on an assembly or field | id, uuid, class |
→ For details: See metaschema-module-authoring skill (structure, data types, cardinality)
Validation rules applied to data instances:
allowed-values - Enumerated value setsexpect - Assertions that must be truematches - Regex and datatype validationhas-cardinality - Occurrence count rulesindex / index-has-key - Cross-reference validationis-unique - Uniqueness enforcement→ For details: See metaschema-constraints-authoring skill (creating or understanding constraints)
XPath 3.1-based expression language for navigating and querying Metaschema data:
./control[@id = 'AC-1'] # Find control by ID
.//param[exists(./value)] # Find params with values
ancestor::catalog/metadata/title # Navigate to catalog title
→ For details: See metapath-expressions skill (syntax, operators, functions)
Metaschema supports three equivalent serialization formats:
.xml).json).yaml)A model defined in Metaschema can parse and serialize to any of these formats.
| Task | Skill |
|---|---|
| Understanding or writing modules | metaschema-module-authoring |
| Understanding or writing constraints | metaschema-constraints-authoring |
| Understanding or writing Metapath expressions | metapath-expressions |
| Quick conceptual overview (you are here) | metaschema-basics |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
metaschema, information-modeling, data-modeling, schema-design
4 skills in this plugin
/metapath-expressionsUse when writing Metapath expressions for constraints, queries, or traversals - covers path syntax, operators, functions, and data model based on XPath 3.1/metaschema-constraints-authoringUse when creating or modifying Metaschema constraints - covers all constraint types, inline vs external constraints, Metapath expressions, and validation patterns/metaschema-module-authoringUse when creating or modifying Metaschema modules - guides module structure, definitions, format-specific features, and best practices for both YAML and XML formatsOther plugins' skills for the same job
npx claudepluginhub metaschema-framework/claude-plugins --plugin metaschema