Fix parsing issue with WebGPU testing skill#29237
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR fixes a YAML frontmatter parsing failure in the webgpu-local-testing agent skill by making the description field a quoted scalar so colon-space sequences are treated as literal text and the skill can load correctly.
Changes:
- Wrap the
descriptionfrontmatter value in double quotes to prevent YAML scanner errors. - Adjust the
SCOPE:text within the description to avoid:sequences in the rendered string.
Show a summary per file
| File | Description |
|---|---|
.agents/skills/webgpu-local-testing/SKILL.md |
Quotes the YAML description frontmatter (and tweaks the embedded “SCOPE” text) to make the skill’s frontmatter parse cleanly. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 0
titaiwangms
approved these changes
Jun 23, 2026
Contributor
|
Should we add this into one of the SKILL.md or somewhere as a reminder? |
Contributor
Author
Yeah, good question- I don't see a natural place to slot this, unfortunately. If this becomes a more systemic problem, perhaps we can re-evaluate if we need to add explicit instructions. |
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.
Description
The webgpu-local-testing skill is failing to load because of invalid YAML in its frontmatter. The unquoated description: value contained colon-space sequences ( SCOPE: lavapipe , e.g.: ), and according to Copilot, in YAML a plain (unquoted) scalar can't contain ": ". The parser reads it as a nested mapping key and aborts with:
ScannerError: mapping values are not allowed here
It was the only one of the 8 skills with this pattern, which is why every other skill loaded fine. The fix is to wrap the description value in double quotes and adjust
SCOPE:toSCOPE -so the colons are treated as literal text. The frontmatter now parses, with both required keys (name, description) intact.Motivation and Context
The Copilot CLI was flagging this skill as failing to load, so this change attempts to resolve that error.