Fix invalid YAML frontmatter in check-agent-compatibility skill - #391
Open
rufushsu9987 wants to merge 1 commit into
Open
rufushsu9987 wants to merge 1 commit into
rufushsu9987 wants to merge 1 commit into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
descriptionfrontmatter value inagent-compatibility/skills/check-agent-compatibility/SKILL.mdso the colon afterpassis valid YAML.skillsCLI skips the skill (Nested mappings are not allowed in compact mappings).Fixes #381
Test plan
safe_loadafter the change — succeeds with expectedname/descriptionnpx -y skills add https://github.com/cursor/plugins --agent claude-code -yno longer skips this skill once mergedNote
Low Risk
Documentation-only frontmatter fix with no runtime or security impact.
Overview
Fixes invalid YAML frontmatter in
check-agent-compatibilityby wrapping thedescriptionvalue 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.