From f5481561611d763d0a54a3475d68bbce8708cf47 Mon Sep 17 00:00:00 2001 From: Harald Kirschner Date: Mon, 5 Jan 2026 09:44:52 -0800 Subject: [PATCH] Fix: Normalize path separators in skill bundled assets to forward slashes This fixes cross-platform compatibility issues where skills created on Windows would have backslashes in bundled asset paths, causing CI failures on Linux. The build script now normalizes all path separators to forward slashes (/) regardless of the platform where the skill was created. Fixes #502 --- eng/yaml-parser.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eng/yaml-parser.mjs b/eng/yaml-parser.mjs index 31bc9aeb..671fbc81 100644 --- a/eng/yaml-parser.mjs +++ b/eng/yaml-parser.mjs @@ -172,7 +172,8 @@ function parseSkillMetadata(skillPath) { } else { const relativePath = path.relative(skillPath, filePath); if (relativePath !== "SKILL.md") { - arrayOfFiles.push(relativePath); + // Normalize path separators to forward slashes for cross-platform consistency + arrayOfFiles.push(relativePath.replace(/\\/g, '/')); } } });