From 5929f50b3a3b192179b1058cb39e446fb00957e0 Mon Sep 17 00:00:00 2001 From: abel533 Date: Sun, 5 Apr 2026 11:52:19 +0800 Subject: [PATCH] fix: BundledSkills Path.of crash on Windows bundled://verify URI scheme contains ':' which is illegal in Windows paths. Changed to null for bundled skills since they have no filesystem path. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/main/java/com/claudecode/context/BundledSkills.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/claudecode/context/BundledSkills.java b/src/main/java/com/claudecode/context/BundledSkills.java index 8f885ff..3e700e3 100644 --- a/src/main/java/com/claudecode/context/BundledSkills.java +++ b/src/main/java/com/claudecode/context/BundledSkills.java @@ -2,7 +2,6 @@ package com.claudecode.context; import com.claudecode.context.SkillLoader.Skill; -import java.nio.file.Path; import java.util.List; /** @@ -70,7 +69,7 @@ public final class BundledSkills { If a check fails, analyze the error and suggest a fix. """, "bundled", - Path.of("bundled://verify") + null // bundled skills have no filesystem path ); } @@ -119,7 +118,7 @@ public final class BundledSkills { If the user describes unexpected behavior, start from Step 2. """, "bundled", - Path.of("bundled://debug") + null ); } @@ -157,7 +156,7 @@ public final class BundledSkills { 4. Summarize findings """, "bundled", - Path.of("bundled://review") + null ); } @@ -194,7 +193,7 @@ public final class BundledSkills { 6. Report the commit hash """, "bundled", - Path.of("bundled://commit") + null ); } }