public/codex/skills/languages/pwsh/SKILL.md
PowerShell rules for .ps1 scripts and native command orchestration: paths as data, fs-mcp-first file work, no Invoke-Expression, structured arguments, exit-code checks, and Stroustrup-style block layout.
npx skillsauth add jungho-git/jllm pwshInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this rule when:
.ps1 scriptsPowerShell should orchestrate commands with paths and arguments treated as data.
fs-mcp first for local file reads, writes, edits, listings, metadata, and search.Get-Content, Set-Content, Add-Content, Out-File, or redirection operators for local file processing.fs-mcp cannot reasonably achieve the goal.Join-Path, Split-Path, and path helpers over manual string concatenation.& and separated arguments.Invoke-Expression.$LASTEXITCODE after native commands when relevant.for loops; use foreach or pipeline iteration.& { ... } when the file uses section blocks.$global: state only when shared across numbered setup sections or class methods.$global: initialization blocks.else, elseif, catch, and finally.if, else, elseif, foreach, for, and while bodies.& { immediately after the bottom ruler.$global: state visibilitytesting
Required phase order for non-trivial tasks: Plan, Explore, Implement, Verify, Finalize. Use for multi-step work, scoped exploration, re-planning, validation, and final synthesis.
development
Final response format: Korean-first, concise Process / Checks / Issues / Updates, optional Usage, with only actual changes, actual validation, real blockers, changed files, and measured token data when available.
development
Smallest complete change rule: preserve local code shape, extend existing patterns, avoid speculative extraction or cleanup, and include required coupled updates for correctness.
development
Code comment policy: numbered one-line `―` dividers for touched declarations and logical sections, paired outer blocks only for long regions, concise purpose comments, and no comment churn.