Skip to content

fix(skill): a valid YAML header for the agent skill - #1

Merged
leemour merged 1 commit into
mainfrom
fix/skill-frontmatter
Nov 19, 2026
Merged

leemour merged 1 commit into
mainfrom
fix/skill-frontmatter

Conversation

@leemour

@leemour leemour commented Nov 19, 2026

Copy link
Copy Markdown
Member

Why

In 0.1.0, skills/wordpress-cli/SKILL.md has description: Use wordpress ... WordPress site: posts and pages ... unquoted. YAML reads site: as a new key and refuses the header (BLOCK_AS_IMPLICIT_KEY, line 2, column 14). cli-docs' pnpm sync --tool wordpress stops on it, and an agent that reads the header may reject the skill.

What

  • site: posts becomes site, its posts. Every skill file's header was parsed with yaml: no error.
  • A changes/ fragment under ### Fixed, for 0.1.1.

Conformance

  • No command, option, permission or answer changes. Only the skill's description text.

Testing

  • The 0.1.0 header fails to parse with yaml (BLOCK_AS_IMPLICIT_KEY); this one parses.
  • pnpm docs:check and biome pass.

🤖 Generated with Claude Code

The description held "site: posts" unquoted, so YAML read it as a key and refused the header
(BLOCK_AS_IMPLICIT_KEY, line 2). cli-docs' sync stops on it, and an agent that reads the header may
reject the skill. The review fix in 5d05ae4 swapped " - " for ": " there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit ed2d9ff into main Nov 19, 2026
16 checks passed
@leemour
leemour deleted the fix/skill-frontmatter branch November 19, 2026 10:11
@leemour leemour mentioned this pull request Nov 19, 2026
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