review-powershell-work

Review PowerShell code against community best practices and coding standards.

Updated Jan 19, 2026
One-click install
npx skills add https://github.com/adbertram/Devolutions-CIEM --skill review-powershell-work
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: review-powershell-work
Source: https://github.com/adbertram/Devolutions-CIEM/tree/main/.claude/skills/review-powershell-work
Command: npx skills add https://github.com/adbertram/Devolutions-CIEM --skill review-powershell-work

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PowerShell code often deviates from community best practices, making maintenance harder and increasing risk in production. This Skill provides automated reviews using the powershell-expert agent to identify issues and suggest or apply remediation.

Core Features & Use Cases

  • Automated Review: Checks module structure, function naming, parameter validation, comments, and testing patterns.
  • Remediation Support: Optional fixes are suggested or automatically applied to bring code in line with standards.
  • Use Case: When evaluating a PR with modified .ps1/.psm1/.psd1 files, run this Skill to surface violations and optionally fix them.

Quick Start

Specify the scope (pending git changes, a specific file or folder, or an entire module), choose remediation preference (review only or auto-fix), and invoke the powershell-expert agent to obtain and apply findings.

Frequently Asked Questions about review-powershell-work

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review PowerShell code for best practices in a git pull request?

You can review pending git changes for PowerShell best practices by running an automated audit on modified .ps1, .psm1, and .psd1 files to surface violations and optionally apply remediation fixes.

What PowerShell coding standards does an automated code review check?

An automated PowerShell code review checks module structure, function organization, naming conventions, parameter validation, comments, and Pester testing patterns for community standard compliance.

Can I automatically fix PowerShell code that violates community conventions?

Yes, you can enable optional remediation to automatically apply fixes that bring your PowerShell modules and functions in line with community coding standards during the review process.

How do I audit a specific PowerShell module for compliance with coding standards?

You can audit a specific PowerShell module by defining the review scope as a file or folder path, which triggers an analysis of its structure, naming, and Pester testing patterns.

Does automated PowerShell code review work with Pester testing patterns?

Yes, automated PowerShell code review evaluates Pester testing patterns as part of its comprehensive compliance check to ensure your tests align with community best practices.

What is the best way to enforce PowerShell coding standards across pending git changes?

The best way to enforce PowerShell coding standards across pending git changes is to run an automated review that identifies violations in modified files and optionally suggests or applies remediation.