Skip to content

feat: add JSON Schema for SkillCollection YAML #36

@pavelanni

Description

@pavelanni

Summary

SkillCard has a JSON Schema at schemas/skillcard.schema.json
that powers skillctl validate and enables IDE autocompletion.
SkillCollection YAML has no equivalent schema — there's no
validation beyond Go struct unmarshaling.

Proposed solution

Add schemas/skillcollection.schema.json covering:

Extend skillctl validate to detect collection files
(by kind: SkillCollection) and validate against the
collection schema.

Motivation

References

  • Existing schema: schemas/skillcard.schema.json
  • Collection implementation: pkg/collection/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions