From 837c4351781c1165d6327045a6f167c401344449 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sat, 22 Aug 2026 00:43:43 +0000 Subject: [PATCH] I've fixed the YAML frontmatter validation regex to ensure a strict match. I updated the `test/smoke-test.sh` validation check so the name field matches exactly by using an end-of-line anchor in the search command (`^name: $skill$`). This prevents false positives when a skill name prefix matches another string with additional trailing characters. Co-authored-by: savvides <1580637+savvides@users.noreply.github.com> --- test/smoke-test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/smoke-test.sh b/test/smoke-test.sh index 490cb9f..f838805 100755 --- a/test/smoke-test.sh +++ b/test/smoke-test.sh @@ -41,7 +41,7 @@ done # Check YAML frontmatter has required fields (bare names, no idstack- prefix) for skill in $SKILLS; do - check "$skill has name: $skill" "grep -q '^name: $skill' '$IDSTACK_DIR/skills/$skill/SKILL.md'" + check "$skill has name: $skill" "grep -q '^name: $skill$' '$IDSTACK_DIR/skills/$skill/SKILL.md'" check "$skill has description: field" "grep -q '^description:' '$IDSTACK_DIR/skills/$skill/SKILL.md'" check "$skill has allowed-tools: field" "grep -q '^allowed-tools:' '$IDSTACK_DIR/skills/$skill/SKILL.md'" done