Skip to main content
Manusで任意のスキルを実行
ワンクリックで

ps-dedupe-cleanup

スター1
フォーク0
更新日2026年7月17日 08:57

Finds and removes duplicated PowerShell code across Scripts/ in the Win repo, replacing reinvented helpers with the shared Common.ps1 equivalents, and cleans up slop (redundant definitions, missed imports, stale CMD scripts with PS equivalents). Uses PSScriptAnalyzer as the before/after quality gate. Invoke whenever the user says "dedupe", "clean up scripts", "remove duplicates", "consolidate helpers", "tidy up", mentions Common.ps1 redundancy, or asks to clean slop out of any Scripts/*.ps1. Also useful after a script merge or when adding a new function to Common.ps1 to find callers that can now drop their local copy.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly