28 eval-informed mental models and critical-thinking skills for Claude Code, GitHub Copilot, Codex, Cursor, and other Agent Skills-compatible tools
JavaScript agent-skillsai-toolsanthropicclaudeclaude-codecritical-thinkingdecision-makingfirst-principlesmental-modelsproblem-solvingsystems-thinking
fix: accept CRLF line endings in frontmatter check
K1nG11105f8c2de338
diff --git a/scripts/validate-skills.js b/scripts/validate-skills.jsindex e0bc4f8..ecb8ea8 100644--- a/scripts/validate-skills.js+++ b/scripts/validate-skills.js@@ -14,7 +14,7 @@ const SKILLS_DIR = path.join(__dirname, '..', 'skills');// Required sections and their markersconst REQUIRED_SECTIONS = [- { name: 'YAML Frontmatter', pattern: /^---\n[\s\S]*?name:[\s\S]*?description:[\s\S]*?---/m },+ { name: 'YAML Frontmatter', pattern: /^---\r?\n[\s\S]*?name:[\s\S]*?description:[\s\S]*?---/m },{ name: 'Overview', pattern: /^## Overview/m },{ name: 'Core Principle', pattern: /\*\*Core Principle:\*\*/m },{ name: 'When to Use', pattern: /^## When to Use/m },