powershell-shell-detection
CommunityMaster Windows shell environments.
Software Engineering#windows#path handling#powershell#git bash#shell detection#cross-shell compatibility
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\Namein PowerShell and/c/Users/Namein 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 requiredComponents
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.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.