Skip to content

Create Claude skill for Metaschema module authoring #570

@david-waltermire

Description

@david-waltermire

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions