Windows Git Bash Paths

🌐Community
by josiahsiegel · vlatest · Repository

Translates user requests into Windows Git Bash paths for file access and command execution.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add windows-git-bash-paths npx -- -y @trustedskills/windows-git-bash-paths
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "windows-git-bash-paths": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/windows-git-bash-paths"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill helps AI agents correctly translate file paths when interacting with Windows systems using Git Bash (MINGW/MSYS2). It addresses the issue where Git Bash automatically converts POSIX-style paths to Windows paths, which can cause problems when executing commands or accessing files via tools like SqlPackage and MSBuild. The skill provides guidance on how to avoid these path conversion errors and ensure proper file access within a Windows development environment.

When to use it

  • When an AI agent needs to execute command-line tools (like sqlpackage or MSBuild) on a Windows machine using Git Bash.
  • When the AI agent is instructed to work with files located in paths that would be interpreted differently by Git Bash and Windows native tools.
  • When interacting with SQL Server development environments (SSDT) where path conversions are common.

Key capabilities

  • Provides guidance on converting POSIX-style file paths to Windows-style paths using backslashes (\).
  • Explains how Git Bash automatically converts paths and the resulting issues.
  • Offers best practices for SSDT workflows within a Git Bash environment.
  • Emphasizes the importance of using backslashes in file paths when interacting with tools like Edit or Write.

Example prompts

  • "Execute SqlPackage to publish MyDB.dacpac."
  • "Run MSBuild on the project located at /repos/project."
  • "Access and edit the file located at /D/repos/project/file.tsx."

Tips & gotchas

  • Crucially, always use backslashes (\) in file paths when using tools like Edit or Write. Forward slashes (/) will cause errors.
  • Be aware that Git Bash automatically converts POSIX-style paths to Windows paths, which can lead to unexpected behavior if not handled correctly.
  • This skill focuses on path conversion issues within the context of SQL Server development (SSDT) and using Git Bash on Windows.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
josiahsiegel
Installs
42

🌐 Community

Passed automated security scans.