Autonomous PowerShell development agent for Claude Code. Provides expert assistance with PowerShell scripts, modules, Windows Forms/WPF GUIs, and automation tasks.
- Script Development: Production-quality PowerShell scripts with proper structure, parameters, and documentation
- Module Creation: PowerShell modules with manifest files and Gallery-ready packaging
- GUI Development: Windows Forms and WPF interfaces for interactive tools
- Code Review: Best practices analysis, naming conventions, and error handling verification
- Gallery Integration: Module verification and recommendations from PowerShell Gallery
- Pattern Detection: Hooks warn about common PowerShell anti-patterns
Add the plugin marketplace to Claude Code:
claude plugin marketplace add hmohamed01/claude-code-pluginsThen use /plugins to install powershell-developer from the marketplace.
The agent triggers when you explicitly request PowerShell development help:
"Help me create a PowerShell module for user management"
"Build a Windows Forms dialog for file selection"
"Review my PowerShell script for best practices"
"Is there a module for working with Excel files?"
Use the slash command for direct invocation:
/powershell-developer create a function to get disk space usage
/powershell-developer review my script for anti-patterns
The powershell-developer agent provides:
- Module verification via PowerShell Gallery
- Code review for PowerShell-specific issues
- Best practices guidance
- GUI development patterns
The powershell-knowledge skill includes:
- Script structure templates
- Function design patterns
- GUI development reference (Windows Forms, WPF)
- PowerShellGet cmdlet reference
- Utility scripts for Gallery searches
Pre-write hooks warn about:
- Aliases in scripts (gci, ls, rm, etc.)
- Missing
[CmdletBinding()]on functions - Hardcoded credentials
- Missing
-ErrorAction Stopin try/catch - Non-approved verbs in function names
- Misuse of
Write-Host
| Topic | Description |
|---|---|
references/best-practices.md |
Naming, parameters, pipeline, error handling |
references/gui-development.md |
Windows Forms, WPF, controls, events |
references/powershellget.md |
Find, install, update, publish modules |
| Script | Purpose |
|---|---|
scripts/Search-Gallery.ps1 |
Enhanced PowerShell Gallery search |
- Use
[CmdletBinding()]on all functions - Use approved verbs from
Get-Verb - Use
-ErrorAction Stopwith try/catch - Write comment-based help
- Use strong typing with validation attributes
- Stream output in pipeline
- Use aliases in scripts
- Store credentials in plain text
- Use
Write-Hostfor normal output - Ignore PSScriptAnalyzer warnings
- Claude Code CLI
- PowerShell 5.1+ (for running scripts)
- Windows (for GUI development features)
MIT