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.
Environment
Problem
skills/.system/skill-creator/scripts/quick_validate.pyreadsSKILL.mdwithPath.read_text()and therefore uses the Windows locale encoding. A valid UTF-8 skill containing Korean text or an em dash can fail withUnicodeDecodeError.The validator also rejects host-registered optional frontmatter fields such as
argument-hint,user-invocable,homepage,repository, andauthorbefore validating their types.Expected
SKILL.mdexplicitly as UTF-8.user-invocableas a boolean.Proposed patch
Verification
On Windows, the three focused regression tests pass and the modified skill-creator validator passes.