scripts/check parses each skill's frontmatter as YAML
The linux-computer-use description had a colon followed by a space, so strict parsers such as `npx skills list` skipped the skill. The description now uses a comma, and the check fails on frontmatter that is not valid YAML. Co-Authored-By: Claude Opus 5.5
@@ -10,6 +10,7 @@ for dir in skills/*/; do
1010 front=$(awk 'NR>1 && /^---$/ {exit} NR>1' "$file")
1111 fname=$(sed -n 's/^name: *//p' <<<"$front")
1212 desc=$(sed -n 's/^description: *//p' <<<"$front")
13+ python3 -I -c "import sys, yaml; yaml.safe_load(sys.stdin)" <<<"$front" 2>/dev/null || err "$name" "frontmatter is not valid YAML"
1314 [ "$fname" = "$name" ] || err "$name" "name '$fname' does not match the folder"
1415 [[ "$fname" =~ ^[a-z0-9]+(-[a-z0-9]+)*$ ]] && [ ${#fname} -le 64 ] || err "$name" "name must be 1-64 of a-z, 0-9 and single hyphens"
1516 [ -n "$desc" ] && [ ${#desc} -le 1024 ] || err "$name" "description must be 1-1024 characters, it is ${#desc}"
@@ -1,6 +1,6 @@
11 ---
22 name: linux-computer-use
3-description: Interact with a Linux desktop as a user would, on KDE Plasma under Wayland or XFCE under X11. Use it to test and verify GUIs and TUIs in a real window: find and focus windows, press keys, click, take screenshots, drive kitty, and measure sound.
3+description: Interact with a Linux desktop as a user would, on KDE Plasma under Wayland or XFCE under X11. Use it to test and verify GUIs and TUIs in a real window, and to find and focus windows, press keys, click, take screenshots, drive kitty, and measure sound.
44 ---
55
66 # Control a Linux desktop