Community程式設計與開發github.com

Yuming12138/powershell-command-safety

可重用的 Codex 技能,用於更安全的 PowerShell 命令、Windows 互通、引號處理、編碼、傳輸與部署腳本。

powershell-command-safety 是什麼?

此技能旨在為 AI 代理(如 Codex 或 Claude Code)提供一套標準化的 PowerShell 命令安全處理指引。它專注於 Windows 環境下的互通性,涵蓋了引號正確實義、字串編碼、檔案傳輸以及部署腳本等常見但易出錯的場景。透過預先定義的規則和最佳實踐,它可以幫助開發者避免因 PowerShell 特殊語法(如逸出字元、引號嵌套)導致的命令執行錯誤,並提升跨平台腳本(特别是與 WSL 或 Bash 交互時)的可靠性。此技能適用於任何需要安全且正確執行 PowerShell 命令的 AI 輔助開發工具。

相容平台~Claude Code✓Codex CLI~Cursor
npx skills add Yuming12138/powershell-command-safety

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

powershell-command-safety 是做什麼的?

可重用的 Codex 技能,用於更安全的 PowerShell 命令、Windows 互通、引號處理、編碼、傳輸與部署腳本。

相關技能