fix: quote argument-hint to prevent YAML array parsing in clone-agent and detect-mode - #177
Open
Dewain Robinson (Dewain27) wants to merge 1 commit into
Open
fix: quote argument-hint to prevent YAML array parsing in clone-agent and detect-mode#177Dewain Robinson (Dewain27) wants to merge 1 commit into
Dewain Robinson (Dewain27) wants to merge 1 commit into
Conversation
The argument-hint field in clone-agent and detect-mode used unquoted square brackets, which YAML parses as an array instead of a string. This caused both skills to fail to load with: 'argument-hint must be a string' Wrapping the values in double quotes fixes the YAML type. Fixes #176 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Fixes #176
Two skills failed to load because their
argument-hintfrontmatter used unquoted square brackets, which YAML parses as an array instead of a string.Error
Changes
skills/clone-agent/SKILL.mdargument-hint: [agent name or environment hint]argument-hint: "[agent name or environment hint]"skills/detect-mode/SKILL.mdargument-hint: [--agent-dir <path>]argument-hint: "[--agent-dir <path>]"Root Cause
YAML interprets
[...]without quotes as an inline sequence (array). Wrapping the values in double quotes ensures they are treated as strings, which is what the CLI expects.Testing
Verified locally ? both skills now load successfully and
/skillsshows30/30 enabledwith no failures.