Skip to content

Skills fail to load in GitHub Copilot CLI ≥1.0.65 due to array-shaped argument-hint #2

Description

@thejesh23

Bug

argument-hint in the YAML frontmatter of 6 SKILL/command file(s) is declared with bare brackets (a YAML flow sequence), so downstream slash-command loaders that validate argument-hint as a string — notably GitHub Copilot CLI ≥ 1.0.65 — silently reject the SKILL on load. The command disappears from the CLI menu.

# Broken (parses as an array of one string)
argument-hint: [<version>]

# Fixed (parses as a string)
argument-hint: "[<version>]"

Claude Code currently renders the accidental array by concatenation, which is why nobody caught this until Copilot CLI tightened the type check. Both Claude Code slash-command docs and VS Code Agent Skills docs document argument-hint as a string.

Affected files

  • commands/cc/changelog.md
  • commands/gh/review-pr.md
  • commands/cc/create-command.md
  • commands/screenshot.md
  • commands/translate.md
  • commands/gh/fix-issue.md

Fix

Wrap the value after argument-hint: in double quotes. One-character change per line, no behaviour change on Claude Code.

PR

I'm sending a PR with the exact fix — see the linked PR from this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions