Skip to content

hmohamed01/powershell-expert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerShell Expert Skill

License: MIT Version Platform Claude Code

A Claude Code skill for developing PowerShell scripts, tools, modules, and GUIs following Microsoft best practices.

Features

  • Script Development - Templates, naming conventions, parameter design, pipeline patterns
  • GUI Development - Windows Forms and WPF/XAML patterns with 15+ control examples
  • PowerShell Gallery Integration - Search, install, and manage modules via PSResourceGet
  • Module Recommendations - Curated list of popular modules by category
  • Live Verification - Validates module availability and cmdlet syntax against live documentation

Installation

Copy the skill folder to your Claude Code skills directory:

cp -r powershell-expert ~/.claude/skills/

Or unzip the packaged skill:

unzip powershell-expert.skill -d ~/.claude/skills/

Usage

The skill activates automatically when you ask Claude Code to:

  • Write PowerShell scripts or functions
  • Create Windows Forms or WPF GUIs
  • Find or recommend PowerShell modules
  • Follow PowerShell best practices

Example Prompts

"Write a PowerShell script to monitor disk space"
"Create a GUI for selecting and renaming files"
"What module should I use for working with Excel files?"
"Help me add proper error handling to this script"

Live Verification

When accuracy is critical, the skill verifies information against live sources:

Verification Type Source
Module exists/active PowerShell Gallery
Cmdlet syntax Microsoft Learn / raw GitHub docs
PSResourceGet cmdlets Raw GitHub markdown (deterministic URL)
Version requirements Gallery metadata

Module recommendations are always verified before being presented. If live verification fails, the skill falls back to executing Search-Gallery.ps1 locally or prompts the user to verify manually.

Skill Contents

powershell-expert/
├── SKILL.md                 # Core workflow and quick reference
├── scripts/
│   └── Search-Gallery.ps1   # Enhanced PowerShell Gallery search
└── references/
    ├── best-practices.md    # Naming, parameters, pipeline, errors
    ├── gui-development.md   # Forms, WPF, controls, events
    └── powershellget.md     # Module management cmdlets

Documentation Sources

License

MIT

About

Claude Code skill for PowerShell development - scripts, tools, modules, and GUIs

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors