You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(!description)thrownewError(`${name}: missing 'description' in frontmatter`)
135
135
if(!isPlainYamlScalar(description)){
136
136
thrownewError(
137
-
`${name}: 'description' must be a plain YAML scalar (no leading quote or indicator, no ': ' or ' #') so both Claude and Cursor parse it`
137
+
`${name}: 'description' must be a plain YAML string (no leading quote or indicator, no ': ' or ' #', and not a bare boolean, null, number, or date) so both Claude and Cursor parse it`
138
138
)
139
139
}
140
140
return{ name, description, paths, body }
@@ -150,9 +150,29 @@ function isPlainYamlScalar(value: string): boolean {
0 commit comments