Complete Windows file path troubleshooting knowledge for Claude Code on Git Bash and Windows environments. PROACTIVELY activate for: (1) File path errors on Windows, (2) Backslash vs forward slash issues, (3) Edit/Write/Read tool failures, (4) MINGW path resolution, (5) Cross-platform path conversion.
View on GitHubJosiahSiegel/claude-plugin-marketplace
windows-path-master
plugins/windows-path-master/skills/windows-path-troubleshooting/SKILL.md
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/JosiahSiegel/claude-plugin-marketplace/blob/main/plugins/windows-path-master/skills/windows-path-troubleshooting/SKILL.md -a claude-code --skill windows-path-troubleshootingInstallation paths:
.claude/skills/windows-path-troubleshooting/## ๐จ CRITICAL GUIDELINES ### Windows File Path Requirements **MANDATORY: Always Use Backslashes on Windows for File Paths** When using Edit or Write tools on Windows, you MUST use backslashes (`\`) in file paths, NOT forward slashes (`/`). **Examples:** - โ WRONG: `D:/repos/project/file.tsx` - โ CORRECT: `D:\repos\project\file.tsx` This applies to: - Edit tool file_path parameter - Write tool file_path parameter - All file operations on Windows systems ### Documentation Guidelines **NEVER create new documentation files unless explicitly requested by the user.** - **Priority**: Update existing README.md files rather than creating new documentation - **Repository cleanliness**: Keep repository root clean - only README.md unless user requests otherwise - **Style**: Documentation should be concise, direct, and professional - avoid AI-generated tone - **User preference**: Only create additional .md files when user specifically asks for documentation --- # Windows Path Troubleshooting for Claude Code ## ๐จ CRITICAL: Always Use Backslashes on Windows for File Paths **MANDATORY: When using Edit, Write, or Read tools on Windows, you MUST use backslashes (`\`) in file paths, NOT forward slashes (`/`).** ### The Rule **Windows File Path Requirements:** - โ **CORRECT**: `D:\repos\project\file.tsx` - โ **WRONG**: `D:/repos/project/file.tsx` **This applies to:** - Edit tool `file_path` parameter - Write tool `file_path` parameter - Read tool `file_path` parameter - All file operations on Windows systems ### Why This Matters **Common error message when using forward slashes on Windows:** ``` Error: ENOENT: no such file or directory ``` **Root cause:** - Windows native file system uses backslashes (`\`) as path separators - Forward slashes (`/`) work in some Windows contexts but NOT in Claude Code file tools - Git Bash displays paths with forward slashes but Windows APIs require backslashes - Claude Code's Read/Write/Edit tools use Windows native APIs that expe