fix: quote YAML description in modern-css skill#5242
Open
yogesh-tessl wants to merge 1 commit into
Open
Conversation
Hey @d13 👋 I ran your skills through `tessl skill review` at work and found some targeted improvements. Here's the full before/after: | Skill | Before | After | Change | |-------|--------|-------|--------| | modern-css | 16% | 94% | +78% | | a11y-audit | 94% | 94% | — | | a11y-flow-audit | 94% | 94% | — | | a11y-remediate | 88% | 88% | — | | deep-planning | 85% | 85% | — | | update-issues | 84% | 84% | — | | challenge-plan | 83% | 83% | — | | worktree | 82% | 82% | — | | live-inspect | 82% | 82% | — | | live-pair | 81% | 81% | — | | ux-review | 78% | 78% | — | | triage | 78% | 78% | — | | dev-scope | 78% | 78% | — | | live-exercise | 75% | 75% | — | | commit | 73% | 73% | — | | create-issue | 73% | 73% | — | | add-icon | 71% | 71% | — | | audit-commits | 70% | 70% | — | | investigate | 68% | 68% | — | | add-command | 68% | 68% | — | | live-perf | 67% | 67% | — | | deep-review | 67% | 67% | — | | add-ai-provider | 65% | 65% | — | | add-test | 64% | 64% | — | | prioritize | 64% | 64% | — | | review | 64% | 64% | — | | add-webview | 59% | 59% | — | | analyze | 51% | 51% | — | The `modern-css` skill had the most headroom — its YAML frontmatter contained unquoted backticks and special characters that broke YAML parsing entirely, causing validation to fail before the content judge could even evaluate the (excellent) body and 7 reference files. Changes made: - Quoted the YAML description field — the original contained unquoted backticks and angle brackets that broke YAML frontmatter parsing, preventing the skill from passing validation - Restructured the description — added a clear capability statement, preserved the "Use when..." trigger clause and "Skip when..." exclusion, trimmed the lengthy consequence explanation that was contributing to the parse failure - Preserved all domain expertise — the body content, detection spine, routing table, load-bearing rules, audit guidance, and all 7 reference files are untouched I also stress-tested your modern-css skill against a few real-world task evals and it held up really well on shadow DOM boundary detection with ::part and :host selectors in Lit-based webview components. Kudos for that. Honest disclosure — I work at @tesslio where we build tooling around skills like these. Not a pitch — just saw room for improvement and wanted to contribute. Want to self-improve your skills? Just point your agent (Claude Code, Codex, etc.) at this Tessl guide (https://docs.tessl.io/evaluate/optimize-a-skill-using-best-practices) and ask it to optimize your skill. Ping me — @yogesh-tessl (https://github.com/yogesh-tessl) — if you hit any snags. Thanks in advance 🙏
Contributor
There was a problem hiding this comment.
Pull request overview
Fixes YAML frontmatter parsing in the modern-css skill by quoting the description value and rewording it to avoid embedded backticks/angle brackets that broke YAML parsing.
Changes:
- Wraps the
descriptionfield in double quotes so YAML parses successfully. - Rewrites the description into a capability statement plus trimmed "Use when…/Skip when…" guidance, removing unquoted backticks and
<style>angle brackets.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Hey @d13 👋
great work truly. 28 skills covering everything from accessibility audits and deep planning to live pairing and performance inspection. The breadth is striking, especially the a11y skills (audit, flow-audit, remediate) that show accessibility isn't an afterthought. With merge-mate already handling AI review, you've clearly invested in making AI a first-class part of the GitLens development workflow.
ran your skills through
tessl skill reviewat work and found some targeted improvements. Here's the before/after:the
modern-cssskill had the most headroom. Its YAML frontmatter contained unquoted backticks and special characters that broke YAML parsing entirely, causing validation to fail before the content judge could even evaluate the (excellent) body and 7 reference files.Changes Summary
quick honest disclosure. I work at https://github.com/tesslio where we build tooling around skills like these. Not a pitch, just saw room for improvement and wanted to contribute.
if you want to self-improve your skills, or define your own scenarios to pressure test, just ask your agent (Claude Code, Codex, etc.) to evaluate and optimize your skill with Tessl. Ping me @yogesh-tessl, if you hit any snags.