Skip to content

fix: quote argument-hint values in SKILL.md frontmatter#513

Open
thejesh23 wants to merge 1 commit into
browseros-ai:mainfrom
thejesh23:fix/copilot-cli-1.0.65-argument-hint-string
Open

fix: quote argument-hint values in SKILL.md frontmatter#513
thejesh23 wants to merge 1 commit into
browseros-ai:mainfrom
thejesh23:fix/copilot-cli-1.0.65-argument-hint-string

Conversation

@thejesh23

@thejesh23 thejesh23 commented Jul 3, 2026

Copy link
Copy Markdown

Summary

The nine SKILL.md files under .claude/skills/ currently declare their
argument-hint frontmatter field as an unquoted bracketed value, e.g.:

argument-hint: [feature_name]

In YAML, that is a flow-sequence containing a single scalar, not a
string. GitHub Copilot CLI 1.0.65 tightened its skill loader to require
argument-hint to be a string and now rejects these skills at load time.
Claude Code has historically been lenient about the same field but is
also moving toward stricter validation (see anthropics/claude-code#22161).

Fix

Wrap the bracketed values in double quotes so they parse as plain
strings, preserving the original hint text while satisfying the stricter
schema:

argument-hint: "[feature_name]"

Nine files touched — the full dev* workflow plus dev-debug:

  • .claude/skills/dev/SKILL.md
  • .claude/skills/dev-debug/SKILL.md
  • .claude/skills/dev1-start/SKILL.md
  • .claude/skills/dev2-design/SKILL.md
  • .claude/skills/dev3-prd/SKILL.md
  • .claude/skills/dev4-implement/SKILL.md
  • .claude/skills/dev5-review/SKILL.md
  • .claude/skills/dev6-review-fix/SKILL.md
  • .claude/skills/dev7-pr/SKILL.md

No behavioural change — the rendered hint text is identical, the type is
just now string instead of list[string].

Prior art

Test plan

  • python3 -c "import yaml; yaml.safe_load(open('.claude/skills/dev5-review/SKILL.md').read().split('---',2)[1])" returns argument-hint as str (verified locally for all 9 files).
  • Load one of the affected skills under Copilot CLI >= 1.0.65 and confirm it no longer errors.
  • Load under Claude Code and confirm the argument hint still renders.

CLA

I will sign the CLA in a follow-up comment on this PR per CLA.md.

Unquoted `argument-hint: [X]` in YAML frontmatter is parsed as a
single-element sequence rather than a string. GitHub Copilot CLI 1.0.65
tightened validation and now rejects sequence values, breaking these
skills. Wrap the values in double quotes so they parse as strings and
keep working across Copilot CLI, Claude Code, and other consumers.
@greptile-apps

greptile-apps Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

All contributors have signed the CLA. Thank you!
Posted by the CLA Assistant Lite bot.

@thejesh23

Copy link
Copy Markdown
Author

I have read the CLA Document and I hereby sign the CLA

@thejesh23

Copy link
Copy Markdown
Author

Tracking issue: #514 — captures the bug diagnosis and reproducer separately for anyone searching the repo who lands there before this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant