Claude Marketplaces
SkillsMCP serversMarketplacesPluginsDigestToolsAdvertise
Submit

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP servers by category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control
Claude Marketplaces

An independent directory of skills, plugins and MCP servers for Claude Code. Not affiliated with Anthropic.

Browse

  • Skills
  • MCP servers
  • Marketplaces
  • Plugins
  • Weekly digest
  • Skill index
  • MCP index
  • Marketplace index
  • Plugin index

Site

  • About
  • Tools
  • Submit
  • Advertise
  • Feedback
  • Privacy
  • llms.txt
  • Plugins reference

Maker

  • Snug
  • Agent Caffeine
  • knobs
  • Wax
  • Vectoys
  • mertduzgun.com
by Mert Düzgün
Skills/Git & Pull Requests
josiahsiegel avatar

Powershell Shell Detection

josiahsiegel/claude-plugin-marketplace

If you're shipping scripts or automation that needs to run across PowerShell, Git Bash, and cmd on Windows, this gives you the detection logic and compatibility patterns to stop guessing. It covers the priority order for shell detection (PSModulePath first, then MSYSTEM), the path conversion gotchas in Git Bash that silently break things, and how to call PowerShell from bash and vice versa. The real value is in the specifics: when MSYS_NO_PATHCONV matters, why environment variable syntax breaks cross-shell, and which detection method actually works reliably. Use it when you're tired of scripts that work in your shell but fail in CI or on a teammate's machine.

skills.sh installs
209
GitHub stars
59
last updated
Aug 21, 2026
View on GitHubSave

Install

$ npx -y skills add josiahsiegel/claude-plugin-marketplace --skill powershell-shell-detection --agent claude-code

Installs into .claude/skills of the current project.

Files

PowerShell Shell Detection & Cross-Shell Compatibility

Critical guidance for distinguishing between PowerShell and Git Bash/MSYS2 shells on Windows, with shell-specific path handling and compatibility notes.

Shell Detection Priority (Windows)

When working on Windows, correctly identifying the shell environment is crucial for proper path handling and command execution.

Detection Order (Most Reliable First)

  1. process.env.PSModulePath (PowerShell specific)
  2. process.env.MSYSTEM (Git Bash/MinGW specific)
  3. process.env.WSL_DISTRO_NAME (WSL specific)
  4. uname -s output (Cross-shell, requires execution)

PowerShell Detection

Primary Indicators

PSModulePath (Most Reliable):

# PowerShell detection
if ($env:PSModulePath) {
    Write-Host "Running in PowerShell"
    # PSModulePath contains 3+ paths separated by semicolons
    $env:PSModulePath -split ';'
}

# Check PowerShell version
$PSVersionTable.PSVersion
# Output: 7.5.4 (PowerShell 7) or 5.1.x (Windows PowerShell)

[Environment]::GetEnvironmentVariable("PATH", "Machine") # System PATH

SKILL.md on GitHub

Sponsors

This spot is openSlot 1$1,200/mo Advertise hereThis spot is openSlot 2$1,000/mo Advertise hereSnugSponsoredThe clipboard manager you and your agent can use, safelyknobsSponsoredSee your site on any phone, any day, in any languageAgent CaffeineSponsoredClose your lid, come back to finished workThis spot is openSlot 6$500/mo Advertise hereThis spot is openSlot 7$500/mo Advertise hereWaxSponsoredBlock anything with supervision, without erasing your iPhone

Details

Repository
github.com/josiahsiegel/claude-plugin-marketplace
Categories
Git & Pull Requests, Automation & Workflows, Marketing & SEO, CLI & Terminal
First seen
Jun 3, 2026

More from josiahsiegel/claude-plugin-marketplace

All 26
  • Tailwindcss Debugging207
  • Tailwindcss Plugins202
  • Windows Path Troubleshooting197
  • Debugging Troubleshooting 2025196
  • Ado Pipeline Best Practices180
  • Parallel Processing Patterns180
  • Docker 2025 Features178
  • Tailwindcss Advanced Layouts8.2K
  • Tailwindcss Animations2.4K
  • Tailwindcss Mobile First2.1K
  • Powershell Master1.1K
  • Docker Best Practices943
  • Git Master808
  • Tailwindcss Advanced Design Systems657
  • Docker Security Guide615
  • Tailwindcss Responsive Darkmode478
  • Bash Master462
  • Context Master399
  • Tailwindcss Fundamentals V4393
  • Tailwindcss Accessibility299
  • Tailwindcss Framework Integration296
  • Sql Server 2025260
  • Tailwindcss Advanced Components250
  • Tailwindcss Performance237

Recommended

More Git & Pull Requests
1jorgealves avatarpython-async-advisorjorgealves/agent_skillsReview asynchronous Python code to identify race conditions, deadlocks, and inefficient patterns. Use when working with asyncio, aiohttp, or FastAPI.208skills.sh installs
2nexu-io avatarhtml-pptnexu-io/open-designFor consulting delivery work: turn diagnosis, frameworks, and project work into a client-adoptable action plan. Built around the core query "consulting-final-de208skills.sh installs
3tw93 avatarwazatw93/wazaEngineering skills for Claude: think (architecture), design (UI), check (code review), hunt (debugging), write (prose), learn (research), read (URL/PDF fetch), 208skills.sh installs
4anthropics avatarcomplianceanthropics/knowledge-work-pluginsNavigate privacy regulations (GDPR, CCPA), review DPAs, and handle data subject requests. Use when reviewing data processing agreements, responding to data subj207skills.sh installs
5samhvw8 avatarui-ux-designsamhvw8/dot-claudeUI/UX design reference database. 50+ styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Ta207skills.sh installs
6warpdotdev avatardocs-updatewarpdotdev/oz-skillsUpdate user-facing documentation when code changes. Use when asked to update docs, review docs, handle documentation changes, run scheduled documentation tasks,206skills.sh installs