Description
Create a Claude Code skill that guides the creation of Metaschema modules, covering both XML and YAML/JSON format-specific features.
Resources
Skill Content
General Metaschema Concepts
- Module structure (namespace, short-name, schema-version)
- Assembly, field, and flag definitions
- Model composition (choice, grouping, cardinality)
- Module imports and composition
XML-Specific Features
- XML namespace handling
- Root element configuration
- XML attribute vs element mapping (
in-xml settings)
- Mixed content handling
- Unwrapped/wrapped element patterns
JSON/YAML-Specific Features
- JSON property naming (
json-key, json-value-key)
- Array vs object grouping behaviors (LIST, SINGLETON_OR_LIST, BY_KEY, etc.)
in-json settings
- Discriminator patterns
Best Practices
- Prefer YAML format for new modules (per project convention)
- Schema validation using JSON schema
- Common patterns and anti-patterns
- Testing module definitions
Location
.claude/skills/metaschema-module-authoring.md
Related
Description
Create a Claude Code skill that guides the creation of Metaschema modules, covering both XML and YAML/JSON format-specific features.
Resources
Skill Content
General Metaschema Concepts
XML-Specific Features
in-xmlsettings)JSON/YAML-Specific Features
json-key,json-value-key)in-jsonsettingsBest Practices
Location
.claude/skills/metaschema-module-authoring.mdRelated