Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

ps-dedupe-cleanup

Sterne1
Forks0
Aktualisiert17. Juli 2026 um 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.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly