Skip to content

Fix invalid YAML frontmatter in check-agent-compatibility skill - #391

Open
rufushsu9987 wants to merge 1 commit into
cursor:mainfrom
rufushsu9987:fix/check-agent-compatibility-skill-yaml-frontmatter
Open

rufushsu9987 wants to merge 1 commit into
cursor:mainfrom
rufushsu9987:fix/check-agent-compatibility-skill-yaml-frontmatter

Conversation

@rufushsu9987

@rufushsu9987 rufushsu9987 commented Sep 18, 2026

Copy link
Copy Markdown

Summary

  • Quote the description frontmatter value in agent-compatibility/skills/check-agent-compatibility/SKILL.md so the colon after pass is valid YAML.
  • Without quotes, YAML parsers treat the colon as a nested mapping and the skills CLI skips the skill (Nested mappings are not allowed in compact mappings).

Fixes #381

Test plan

  • Parsed frontmatter with PyYAML safe_load after the change — succeeds with expected name / description
  • Confirmed the previous unquoted line still fails YAML parsing as reported
  • Optional: npx -y skills add https://github.com/cursor/plugins --agent claude-code -y no longer skips this skill once merged

Note

Low Risk
Documentation-only frontmatter fix with no runtime or security impact.

Overview
Fixes invalid YAML frontmatter in check-agent-compatibility by wrapping the description value in double quotes.

The unquoted text contained a colon after pass, which YAML treated as a nested mapping and caused the skills CLI to skip the skill. Quoting preserves the full sentence as a scalar so frontmatter parses correctly.

Reviewed by Cursor Bugbot for commit 5c65beb. Bugbot is set up for automated code reviews on this repo. Configure here.

Quote the description value so the colon after "pass" does not break
YAML parsing and cause the skills CLI to skip the skill.

Fixes cursor#381
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.

check-agent-compatibility: SKILL.md description has an unquoted colon, YAML parse fails

1 participant