Community生產力與協作github.com

chianwu-hash/windows-powershell-encoding-skill

一個可攜式 Codex 技能,用於避免 Windows PowerShell 中的 Unicode、UTF-8 及 mojibake(亂碼)問題,特別適用於中文/中日韓(CJK)專案。

windows-powershell-encoding-skill 是什麼?

這個技能專為 AI 代理(如 Codex)設計,用以處理 Windows PowerShell 在處理 Unicode 和 UTF-8 編碼時常見的亂碼問題,特別是在中文或中日韓(CJK)專案中。它能自動偵測環境、修正編碼設定、避免「問號」或「方塊」亂碼,並確保輸出內容正確顯示。主要支援平台為 Codex,但相關原則可應用於其他 AI 代理工具。技能透過設置 PowerShell 的輸出編碼、調整主控台字型以及提供預處理腳本,來解決路徑和檔案內容的亂碼問題。對於在 Windows 上開發且使用中文或 CJK 字元的開發者來說,這項技能能顯著提升效率,減少因編碼問題導致的除錯時間。

相容平台~Claude Code✓Codex CLI~Cursor
npx skills add chianwu-hash/windows-powershell-encoding-skill

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

windows-powershell-encoding-skill 是做什麼的?

一個可攜式 Codex 技能,用於避免 Windows PowerShell 中的 Unicode、UTF-8 及 mojibake(亂碼)問題,特別適用於中文/中日韓(CJK)專案。

相關技能