一键导入
powershell-pin-audit
Audits coordinated PowerShell version pins across workflows, .gitmodules, README.md, and the checked-out upstream PowerShell target framework.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audits coordinated PowerShell version pins across workflows, .gitmodules, README.md, and the checked-out upstream PowerShell target framework.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Coordinates PowerShell release bumps across workflow env pins, .gitmodules, README current pins, and the pwsh-src submodule pointer.
Builds and validates the local single-RID Devolutions.PowerShell.SDK package using the repository's current workflow pins.
| name | powershell-pin-audit |
| description | Audits coordinated PowerShell version pins across workflows, .gitmodules, README.md, and the checked-out upstream PowerShell target framework. |
Use this skill when updating the pinned PowerShell version, reviewing a PowerShell release bump, or checking that the repository's coordinated PowerShell pins still agree.
The audit checks the primary .github/workflows/powershell-sdk.yml workflow, the secondary .github/workflows/powershell.yml workflow, .gitmodules, the README "Current pins" table, and pwsh-src/PowerShell.Common.props when the submodule is available.
pwsh).pwsh-src/ before release-bump validation if you need target-framework verification.Run the default audit from the repository root:
pwsh .\.agents\skills\powershell-pin-audit\scripts\Test-PowerShellPins.ps1
Require the pwsh-src/ submodule and fail if PowerShell.Common.props is unavailable:
pwsh .\.agents\skills\powershell-pin-audit\scripts\Test-PowerShellPins.ps1 -RequireSubmodule
Audit a different checkout:
pwsh .\.agents\skills\powershell-pin-audit\scripts\Test-PowerShellPins.ps1 -RepositoryRoot D:\dev\pwsh-distro
POWERSHELL_VERSION, POWERSHELL_RELEASE_TAG, POWERSHELL_UPSTREAM_TAG, and POWERSHELL_SOURCE_REF are present in both PowerShell workflows.POWERSHELL_RELEASE_TAG is v$POWERSHELL_VERSION.POWERSHELL_UPSTREAM_TAG is upstream/$POWERSHELL_RELEASE_TAG.POWERSHELL_SOURCE_REF is downstream/$POWERSHELL_RELEASE_TAG..gitmodules tracks the same downstream branch as POWERSHELL_SOURCE_REF.pwsh-src/PowerShell.Common.props exists, README's target framework matches its <TargetFramework> value.