diff --git a/internal/utils/frontmatter.go b/internal/utils/frontmatter.go index 516d88cd3..50bf0a95e 100644 --- a/internal/utils/frontmatter.go +++ b/internal/utils/frontmatter.go @@ -152,6 +152,7 @@ func extractFrontmatterRaw(filePath string) string { // ParseFrontmatterFields reads a SKILL.md file once and returns the values of // multiple frontmatter fields. This avoids opening the same file repeatedly // when multiple fields are needed (e.g. description + license). +// Note: does not resolve metadata. — only reads top-level fields. func ParseFrontmatterFields(filePath string, fields []string) map[string]string { result := make(map[string]string, len(fields)) if len(fields) == 0 {