Files
Ryan 16aadbf0bf Allow sync-agent-skills.mjs to match Windows line ends (#5477)
# Description of Changes

The readFrontmatter regex in `docs/scripts/sync-agent-skills.mjs` uses
`\n` to match line endings, which fails on Windows where files have CRLF
(`\r\n`) endings. This causes `pnpm run build` to fail with:
```
Error: skills\cli\SKILL.md is missing YAML frontmatter
```
Fix: change `\n` → `\r?\n` in the frontmatter regex and use /\r?\n/ for
line splitting so the script works on both Unix and Windows.

# API and ABI breaking changes

No API or ABI changes

# Expected complexity level and risk

1 - Trivial

# Testing

- [X] When used along side `bump-versions`, this prevents Windows from
having the outlined issue.
2026-07-03 13:01:22 +00:00
..
2026-02-20 22:41:39 +00:00