Skip to content

fix: quote the four remaining argument-hint values (follow-up to #69) - #73

Open
Flospe0712 wants to merge 1 commit into
XBuilderLAB:mainfrom
Flospe0712:fix/quote-remaining-argument-hints
Open

fix: quote the four remaining argument-hint values (follow-up to #69)#73
Flospe0712 wants to merge 1 commit into
XBuilderLAB:mainfrom
Flospe0712:fix/quote-remaining-argument-hints

Conversation

@Flospe0712

Copy link
Copy Markdown

Follow-up to #69 (closes the remaining part of #68).

Summary

Four skills still carry an unquoted argument-hint: value whose text starts with <…> and contains [… | …] — the flow-sequence / anchor-looking syntax that made loaders drop skills in #68:

  • skills/cheat-learn-from/SKILL.md
  • skills/cheat-predict/SKILL.md
  • skills/cheat-publish/SKILL.md
  • skills/cheat-retro/SKILL.md

Same mechanical fix as #69: wrap the value in double quotes so every YAML parser reads it as a plain string.

- argument-hint: <script-path> [— mode: v1|v2] [— prediction-file: <path>] [— skip-blind]
+ argument-hint: "<script-path> [— mode: v1|v2] [— prediction-file: <path>] [— skip-blind]"

Why it matters

Strict YAML parsers (PyYAML safe_load, and the frontmatter lint some of us run over ~/.claude/skills) choke on these four files, while Claude Code happens to tolerate them — so the breakage is invisible until a stricter loader (Copilot CLI ≥ 1.0.65, see #68) silently skips the skill. Found by a frontmatter lint pass on 2026-09-07 over a clone at 4123941; the other seven skills fixed in #69 parse cleanly.

Verification

  • yaml.safe_load over the frontmatter of every skills/*/SKILL.md (and the root SKILL.md) succeeds after the change, and each changed file returns argument-hint as str
  • No changed value contained " or \, so plain double-quote wrapping is safe
  • Four other skills (cheat-bump, cheat-score, cheat-score-blind, cheat-shoot) still have unquoted hints, but those contain no : / [ at the start and parse as plain scalars — left untouched to keep the diff minimal. The actual parser trap in the four fixed files is the [— mode: v1|v2] part: : inside a plain scalar reads as a nested mapping.

🤖 Generated with Claude Code

https://claude.ai/code/session_0181v451FvyoNNZnKWmn9UiD

…lderLAB#69, closes rest of XBuilderLAB#68)

cheat-learn-from, cheat-predict, cheat-publish and cheat-retro still had an
unquoted `argument-hint:` starting with `<...>` and containing `[... | ...]`.
Strict YAML parsers (PyYAML safe_load) reject these frontmatters; loaders that
validate the field as a string drop the skill silently (see XBuilderLAB#68). Same
mechanical fix as XBuilderLAB#69: wrap the value in double quotes. No value contained
`"` or `\`.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0181v451FvyoNNZnKWmn9UiD
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