The meta-skill that builds and improves all your skills, including itself. Watches your work sessions (autonomous or human-led), captures patterns, corrections and judgement calls, and turns them into skill improvements and new skill candidates for your review. Practical application of the Augmented Expertise methodology. Open source: CC BY 4.0.
Python agent-skillsai-skillsaugmented-expertiseawesome-skillsclaudeclaude-codeclaude-code-skillclaude-code-skillsclaude-coworkclaude-skillsmeta-skillrebelyticsskill-automationskill-builderskill-creationskill-improvementskill-managementskills
Gate: an unquoted description must not contain a space before #
Eoghan Hennbd0cf1271c95
diff --git a/references/skill-authoring.md b/references/skill-authoring.mdindex 53da144..7894e7c 100644--- a/references/skill-authoring.md+++ b/references/skill-authoring.md@@ -811,11 +811,14 @@ re-check exists, do not record the value — record how to obtain it.descriptions puts others near the boundary too, and only measuring theset reveals it; (4) `name` is kebab-case and matches the containingdirectory; the frontmatter parses as YAML with both required keys. A- `description:` (or `name:`) value that contains `: ` anywhere, or that- starts or ends with a YAML-special character (`#`, `*`, `&`, `!`, `|`,- `>`, `{`, `[`, `'`, `"`), must be double-quoted or reworded to avoid- the colon — an unquoted `: ` inside the value turns the rest of the- line into a nested key and the whole block stops parsing. The+ `description:` (or `name:`) value that contains `: ` or ` #` anywhere,+ or that starts or ends with a YAML-special character (`#`, `*`, `&`,+ `!`, `|`, `>`, `{`, `[`, `'`, `"`), must be double-quoted or reworded —+ an unquoted `: ` inside the value turns the rest of the line into a+ nested key and the whole block stops parsing, and an unquoted ` #` is+ worse: YAML starts a comment there, the block still parses, and the+ value silently ends at the space (`see #146` and `{Author, 2021 #123}`+ are cut; `page#section` is not, because the comment needs the space). Thevalidator reporting "`name` missing" on a frontmatter that visibly hasa `name:` line is the signature of an unparseable block, not of amissing field: fix the quoting, not the name. The quoting rule for thediff --git a/scripts/validate-skill-bundle.py b/scripts/validate-skill-bundle.pyindex 4eaa707..3c3adfc 100644--- a/scripts/validate-skill-bundle.py+++ b/scripts/validate-skill-bundle.py@@ -444,6 +444,17 @@ def check_dir(skill_dir, fails):elif name != skill_dir.name:fails.append(f"frontmatter: `name` {name!r} != directory {skill_dir.name!r}")desc = folded_description(fm)+ # A space before `#` starts a YAML comment, so a plain (unquoted) value+ # ends there and the block still parses: the raw line reads whole, the+ # installer gets a shorter value, and no parse check can see it.+ line = (re.search(r"(?m)^description:[ \t]*(.*)$", fm) or [None, ""])[1]+ if line[:1] not in ("", '"', "'", ">", "|") and re.search(r"[ \t]#", line):+ fails.append(+ "frontmatter: unquoted `description` contains ` #`, which starts a "+ "YAML comment and cuts the value there — double-quote the value")+ parsed = (data or {}).get("description")+ if yaml_available and isinstance(parsed, str):+ desc = parsed.strip() # measure what the installer's parser returnsif not desc:fails.append("frontmatter: `description` missing")elif len(desc) > MAX_DESCRIPTION_CHARS: