From a21d76e952083be9281315ec97be363496f08bc8 Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 24 Feb 2026 10:46:16 +0900 Subject: [PATCH] retain the helpful comment --- pkg/skills/loader.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/skills/loader.go b/pkg/skills/loader.go index aa8bfac31..817fe07b9 100644 --- a/pkg/skills/loader.go +++ b/pkg/skills/loader.go @@ -322,6 +322,7 @@ func (sl *SkillsLoader) parseSimpleYAML(content string) map[string]string { } func (sl *SkillsLoader) extractFrontmatter(content string) string { + // Support \n (Unix), \r\n (Windows), and \r (classic Mac) line endings for frontmatter blocks match := reFrontmatter.FindStringSubmatch(content) if len(match) > 1 { return match[1]