Art and animation, written as code. Illustrations, loops, interactive web art, launch-videos and scored films in dozens of styles, identical on every render.
TypeScript agent-skillsanimationcanvasclaude-codeclaude-pluginclaude-skillscodex-plugincreative-codecreative-codingcreative-toolsdeterministicgenerative-arthand-drawnillustrationlaunch-videomotion-designmotion-graphicspluginprocedural-generationskill
fix(tools): normalize CRLF when docs-check reads SKILL.md frontmatter
kuishou68f3a7bcfd8354
diff --git a/plugins/anidoodle/skills/anidoodle/engine/tools/docs-check.mjs b/plugins/anidoodle/skills/anidoodle/engine/tools/docs-check.mjsindex a92f368..cc4be47 100644--- a/plugins/anidoodle/skills/anidoodle/engine/tools/docs-check.mjs+++ b/plugins/anidoodle/skills/anidoodle/engine/tools/docs-check.mjs@@ -16,7 +16,8 @@ const say = (ok, label, detail = "") => { if (!ok) fails++; console.log(` ${okconsole.log(`DOCS-CHECK ${ROOT}\n registry: ${COUNT} styles\n`);// ---------------------------------------------------- 1. SKILL.md holds its own shape-const skillFile = join(ROOT, "SKILL.md"), skill = readFileSync(skillFile, "utf8");+// Windows checkouts with core.autocrlf get CRLF files; normalize so the frontmatter regex holds.+const skillFile = join(ROOT, "SKILL.md"), skill = readFileSync(skillFile, "utf8").replace(/\r\n/g, "\n");const lines = skill.endsWith("\n") ? skill.split("\n").length - 1 : skill.split("\n").length;say(lines <= 150, `SKILL.md is ${lines} lines`, "limit 150");const desc = skill.match(/^---\n[\s\S]*?\n---/)?.[0].match(/^description:\s*(.+)$/m)?.[1].trim();diff --git a/skills/anidoodle/engine/tools/docs-check.mjs b/skills/anidoodle/engine/tools/docs-check.mjsindex a92f368..cc4be47 100644--- a/skills/anidoodle/engine/tools/docs-check.mjs+++ b/skills/anidoodle/engine/tools/docs-check.mjs@@ -16,7 +16,8 @@ const say = (ok, label, detail = "") => { if (!ok) fails++; console.log(` ${okconsole.log(`DOCS-CHECK ${ROOT}\n registry: ${COUNT} styles\n`);// ---------------------------------------------------- 1. SKILL.md holds its own shape-const skillFile = join(ROOT, "SKILL.md"), skill = readFileSync(skillFile, "utf8");+// Windows checkouts with core.autocrlf get CRLF files; normalize so the frontmatter regex holds.+const skillFile = join(ROOT, "SKILL.md"), skill = readFileSync(skillFile, "utf8").replace(/\r\n/g, "\n");const lines = skill.endsWith("\n") ? skill.split("\n").length - 1 : skill.split("\n").length;say(lines <= 150, `SKILL.md is ${lines} lines`, "limit 150");const desc = skill.match(/^---\n[\s\S]*?\n---/)?.[0].match(/^description:\s*(.+)$/m)?.[1].trim();