-
fix: Stop hook broken on Windows Git Bash (closes #133)
发布于
2026-04-17 20:28:37 +00:00 Two separate bugs, both reported by @nazeshinjite with a really
thorough diagnosis (the Claude output they included nailed it).First:
export SD=was failing as a shell builtin in Windows Git
Bash when invoked from Command Prompt — bash treated it like an
external command and threw "No such file or directory". Removed
exportacross all IDE variants.Second, the real problem for Claude Code users: the fallback path
$HOME/.claude/plugins/planning-with-filesdoesn't exist. The
actual install is under~/.claude/plugins/cache/. The Claude Code
variants now use PowerShell's ownGet-ChildItem -Recursewith~
expansion to find the script without relying on any path variable,
and a glob-based sh fallback for Unix. No hardcoded path, no
CLAUDE_PLUGIN_ROOT dependency.Fixed across all 13 SKILL.md variants.
下载附件