Skip to content

quick_validate.py fails on UTF-8 SKILL.md under Windows CP949 #519

Description

@jeonking80

Environment

  • Windows 11
  • Python locale encoding: CP949

Problem

skills/.system/skill-creator/scripts/quick_validate.py reads SKILL.md with Path.read_text() and therefore uses the Windows locale encoding. A valid UTF-8 skill containing Korean text or an em dash can fail with UnicodeDecodeError.

The validator also rejects host-registered optional frontmatter fields such as argument-hint, user-invocable, homepage, repository, and author before validating their types.

Expected

  • Read SKILL.md explicitly as UTF-8.
  • Accept the registered optional fields.
  • Validate user-invocable as a boolean.

Proposed patch

Verification

On Windows, the three focused regression tests pass and the modified skill-creator validator passes.

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