Files
clawhub/convex
Yiğit ERDOĞANandPatrick Erichsen 3979883360 fix: stop rejecting skills whose SKILL.md uses thematic breaks (#3297)
* fix: stop rejecting skills whose SKILL.md uses thematic breaks

The quality gate stripped frontmatter with a regex carrying the `m` flag, so
`^---` matched at every line start rather than only at the start of the
document. Frontmatter is optional when publishing, so a SKILL.md that opens
with a heading and uses `---` as an ordinary Markdown thematic break had
everything between its first two rules deleted before the body was measured.

The truncated body then fell under the word and character floors and the
publish was rejected outright with "Skill content is too thin or templated".
The same truncation also fed the structural fingerprint used for template-spam
detection.

The three other frontmatter parsers in the repository are all anchored to the
start of the document; this one is now consistent with them.

* fix: share canonical skill frontmatter parsing

---------

Co-authored-by: Patrick Erichsen <patrick.a.erichsen@gmail.com>
2026-07-30 15:00:56 -07:00
..
2026-06-15 17:48:58 -07:00