
powershell-windows
PowerShell Windows patterns. Critical pitfalls, operator syntax, error handling
by sickn33Free
Description
powershell-windows is an agent skill that lists critical patterns and pitfalls for Windows PowerShell. Its first rule concerns operator syntax. When logical operators join cmdlet calls, each cmdlet call must be in its own parentheses, otherwise PowerShell reads the expression differently from what you intended. The skill gives examples of the wrong and right forms, such as a test of two paths joined with an or operator, and then a test of a file's existence combined with a value comparison. It also covers error handling and the other syntax rules that trip up people who move from other shells. Use it when writing or fixing a PowerShell script on Windows, especially one that uses conditions, pipelines or error handling. It is part of the sickn33/agentic-awesome-skills repository on GitHub, which has about 47,600 stars. The listing shows it as free, and it has about 2,600 installs. Its security audits show passes from Gen Agent Trust Hub, Socket and Snyk. Install it with npx skills add https://github.com/sickn33/agentic-awesome-skills --skill powershell-windows.…
Highlights
- Operator syntax rules
- Parentheses around cmdlet calls
- Error handling patterns
- Windows-specific pitfalls
- Wrong and right examples
Ratings & Reviews
No ratings yet
Be the first to rate powershell-windows.
People also visit

canvas-design
Create beautiful visual art in .png and .pdf documents using design philosophy
powershell-windows FAQ
What is the most important rule?
Each cmdlet call must be in parentheses when it is used with logical operators.
Which systems?
Windows PowerShell.
What else does it cover?
Error handling and other syntax pitfalls.
How do I install it?
Run npx skills add https://github.com/sickn33/agentic-awesome-skills --skill powershell-windows.
Is it checked for security?
Its security audits show passes from Gen Agent Trust Hub, Socket and Snyk.
What are the best powershell-windows alternatives?
Popular alternatives to powershell-windows include implement, brand-guidelines and canvas-design. See all powershell-windows alternatives





