Skip to content

fix(skills): normalize Windows line endings - #53

Open
dajiaohuang wants to merge 1 commit into
volcengine:mainfrom
dajiaohuang:fix/windows-crlf-skill-frontmatter
Open

fix(skills): normalize Windows line endings#53
dajiaohuang wants to merge 1 commit into
volcengine:mainfrom
dajiaohuang:fix/windows-crlf-skill-frontmatter

Conversation

@dajiaohuang

Copy link
Copy Markdown

Summary

  • normalize skill Markdown line endings before standalone validation
  • normalize runtime skill content before frontmatter and section parsing

This keeps CRLF Windows checkouts equivalent to LF checkouts for validation, listing, and skill metadata extraction.

Fixes #47.

Validation

  • npm run build
  • npm run validate:skills
  • focused CRLF copy check: standalone validator reports 13 skills; runtime validator reports 13 skills and 0 errors
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Skill validation rejects valid frontmatter on Windows CRLF checkouts

1 participant