fix: quote argument-hint YAML values so Copilot CLI ≥1.0.65 loads all skills (closes #662)#663
Open
thejesh23 wants to merge 1 commit into
Open
fix: quote argument-hint YAML values so Copilot CLI ≥1.0.65 loads all skills (closes #662)#663thejesh23 wants to merge 1 commit into
thejesh23 wants to merge 1 commit into
Conversation
… skills `argument-hint: [foo]` YAML-parses as a flow sequence (array), not a string. Downstream slash-command loaders that validate `argument-hint` as a string — notably GitHub Copilot CLI ≥ 1.0.65 — silently reject the skill on load, and the command disappears from the CLI menu. Wrap the value in double quotes so it parses as a string. No behaviour change on Claude Code.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes a YAML frontmatter type mismatch that causes GitHub Copilot CLI ≥ 1.0.65 to silently drop affected VBW commands/skills: argument-hint values that used bare [...] are now quoted so they parse as a string instead of a YAML flow-sequence list.
Changes:
- Quote
argument-hint:values in 9 command markdown files to force YAML string parsing. - Preserve the existing rendered hint text (still includes the bracketed usage examples), while making the frontmatter loader-compatible.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| commands/skills.md | Quote argument-hint so loaders treat it as a string. |
| commands/status.md | Quote argument-hint so loaders treat it as a string. |
| commands/map.md | Quote argument-hint so loaders treat it as a string. |
| commands/pause.md | Quote argument-hint so loaders treat it as a string. |
| commands/help.md | Quote argument-hint so loaders treat it as a string. |
| commands/list-todos.md | Quote argument-hint so loaders treat it as a string. |
| commands/rtk.md | Quote argument-hint so loaders treat it as a string. |
| commands/qa.md | Quote argument-hint so loaders treat it as a string. |
| commands/config.md | Quote argument-hint so loaders treat it as a string. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #662.
Summary
Purely mechanical single-character transform to 9 file(s): wrap the value after
argument-hint:in double quotes so YAML parses it as a string instead of a flow-sequence array. Fixes GitHub Copilot CLI ≥ 1.0.65 silently dropping the skill.Bare
[...]is YAML flow-sequence syntax → the loader receives["foo"](a list), fails itsstrvalidation, and rejects the SKILL without an error. Claude Code, VS Code Agent Skills, and every other loader documentargument-hintas a string; the quoted-string form is what all reference docs show.Files (9)
commands/skills.mdcommands/status.mdcommands/map.mdcommands/pause.mdcommands/help.mdcommands/list-todos.mdcommands/rtk.mdcommands/qa.mdcommands/config.mdVerification
yaml.safe_loadon every changed frontmatter reportsargument-hintasstr"or\, so bare double-quote wrapping is safeSources
argument-hintdocumented as a string