Guides writing PowerShell that uses the object pipeline, handles errors deliberately, and runs cross-platform. Useful for Windows automation or pwsh scripts for mixed fleets.
PowerShell pipes objects, not text: the entire design follows from that. Scripts that treat it as bash-with-verbs fight the tool; scripts that filter and shape objects get parsing for free.
Get-Process | Where-Object CPU -gt 100 | Select-Object Name, Id: no regex,
no cut/awk. Convert to text (Format-, Out-) only at final
display; Format cmdlets destroy the objects, so never put them
mid-pipeline. For interop, ConvertTo-Json/ConvertFrom-Json
round-trip structures (the text-processing "structured first"
rule is the default here).$ErrorActionPreference = 'Stop' at script top (and know
native executables still need $LASTEXITCODE checks;
PSNativeCommandErrorActionPreference in pwsh 7.4+ closes that
gap). try/catch around the operations you can handle;
-ErrorAction SilentlyContinue only with a comment defending
the swallow (the bash-robustness || true rule, translated).[CmdletBinding()], typed param() blocks with validation
attributes ([ValidateNotNullOrEmpty()], [ValidateSet(...)]),
SupportsShouldProcess for anything destructive so -WhatIf
and -Confirm work fleet-wide (see automation-guardrails):
this is the platform's built-in dry-run, use it. Verb-Noun
names from Get-Verb; comment-based help for anything shared.Write-Verbose/Write-Warning (never
Write-Host for data), exit codes for CI consumption (see
python-cli-tools: same contract, different runtime).
Set-StrictMode -Version Latest catches typo'd variables the
way set -u does..psm1 + manifest) over dot-sourced script piles once
functions are shared (see python-project-structure instincts).[IO.File]::ReadLines) where profiles demand (see
benchmark-design), not preemptively.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch./accessible-formsBuild forms with associated labels, identified errors, clear instructions, and autocomplete attributes. Use when creating or auditing forms for accessibility./actions-securityPrevent workflow automation from becoming an attack path, through pinned actions, scoped tokens, and careful handling of untrusted input. Use when workflows handle secrets or run on pull requests from forks./agent-accountability-loopTrack every commitment from assignment to completion, chasing what is late and escalating what is stuck, so work finishes rather than fading. Use when things are agreed in meetings and quietly never happen.Other plugins' skills for the same job