powershell-shell-detection

Community

Master Windows shell environments.

AuthorJosiahSiegel
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you reliably distinguish between PowerShell and Git Bash/MSYS2 shells on Windows, preventing common path handling and command execution errors.

Core Features & Use Cases

  • Shell Detection: Accurately identify the current shell environment (PowerShell, Git Bash, WSL).
  • Path Handling Guidance: Understand and implement correct path syntax for each shell.
  • Cross-Shell Compatibility: Learn strategies to write scripts that work across different Windows shells.
  • Use Case: When running a script on Windows that needs to access files, this Skill ensures your script correctly interprets paths like C:\Users\Name in PowerShell and /c/Users/Name in Git Bash, avoiding errors.

Quick Start

Use the powershell-shell-detection skill to determine if the current environment is PowerShell or Git Bash.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: powershell-shell-detection
Download link: https://github.com/JosiahSiegel/claude-plugin-marketplace/archive/main.zip#powershell-shell-detection

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.