powershell-windows

Community

Master Windows PowerShell patterns safely.

AuthorxenitV1
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill solves common Windows PowerShell scripting pitfalls by enforcing safe patterns.

Core Features & Use Cases

  • Enforces parentheses around cmdlet calls when using logical operators to avoid precedence errors.
  • Encourages ASCII-only scripts to ensure portability across environments.
  • Includes robust null checks and safe string handling practices.
  • Promotes proper error handling with Try/Catch and cleanup patterns.
  • Recommends safe file and path operations using Join-Path for cross-platform safety.
  • Advises on JSON data handling with explicit -Depth when parsing nested objects.

Quick Start

Use this skill to audit and improve a Windows PowerShell script by applying the described rules: enforce parentheses around logical expressions, replace non-ASCII characters with ASCII, add null checks, use Join-Path for all paths, wrap risky operations in Try/Catch, and specify -Depth for JSON parsing.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 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-windows
Download link: https://github.com/xenitV1/Antigravity-Workflows/archive/main.zip#powershell-windows

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.