Sandbox
@hmohamed01/powershell-expert

Claude Code skill for PowerShell development

This skill gives Claude Code a PowerShell-specific workflow for scripts, modules, and GUIs. It bundles a core skill file, reference docs, and a search script so the agent can follow naming, parameter, pipeline, and GUI patterns while checking module details against live sources.

47 stars11 forksPowerShellUpdated 5mo ago
Who it's for

Builders who use Claude Code and want reusable PowerShell guidance for scripts, modules, and GUI apps.

What it delivers

You can ask your agent for PowerShell work and get outputs that follow common Microsoft patterns and module checks.

What it does

Script development guidance

Covers templates, naming conventions, parameter design, and pipeline patterns for PowerShell scripts and functions.

GUI development patterns

Includes Windows Forms and WPF/XAML guidance with control examples for building PowerShell UIs.

PowerShell Gallery integration

Helps search, install, and manage modules through PSResourceGet and Gallery data.

Module recommendations

Provides a curated set of popular modules organized by category.

Live verification

Checks module availability and cmdlet syntax against live documentation sources before answering.

How to get it

  1. 1Copy the skill folder to your Claude Code skills directory
    cp -r powershell-expert ~/.claude/skills/
  2. 2Or unzip the packaged skill
    unzip powershell-expert.skill -d ~/.claude/skills/
  3. 3Run
    "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"

README

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 TypeSource
Module exists/activePowerShell Gallery
Cmdlet syntaxMicrosoft Learn / raw GitHub docs
PSResourceGet cmdletsRaw GitHub markdown (deterministic URL)
Version requirementsGallery 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

Files in the repo

Repository payload6 top-level entries
  • powershell-expert
  • .gitignore
  • CHANGELOG.md
  • CLAUDE.md
  • powershell-expert.skill
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k