為什麼 AI 就是不能加個空格呢?

An agent skill that teaches Claude Code, Codex, Cursor and friends to space CJK and Latin as they type.

You type
pangu writes
highlight marks each space pangu inserts

How it works

One space between CJK and half-width. Nothing where it does not belong.

pangu adds a space wherever a Chinese or Japanese character — or a Han character used in Korean — meets a half-width letter, digit, or symbol, and leaves code, paths, and version strings whole.

Letters
用Python開發 Python 開發
Numbers
新台幣100元新台幣 100
Paths stay whole
見src/index.ts第10行 src/index.ts 10
Versions stay whole
升級到v2.0了升級到 v2.0

Install once. Every reply, doc, and commit gets it right.

Agents with a package manager install in one step. Everything else copies one Markdown file into the rules directory it reads.

Package managers

one-step install
Claude Code
claude plugin marketplace add shihyuho/pangu.skillclaude plugin install pangu@pangu
Codex
codex plugin marketplace add shihyuho/pangu.skillcodex plugin add pangu@pangu
Gemini CLI
gemini skills install https://github.com/shihyuho/pangu.skill.git --path skills
Antigravity
agy plugin install https://github.com/shihyuho/pangu.skill.git
skills (npx) · standalone
npx skills add shihyuho/pangu.skill --skill pangu

Other agents

drop the rules file in place
Cursor.cursor/rules/pangu.md
Windsurfappend to .windsurfrules
GitHub Copilot.github/skills/pangu/SKILL.md
Kiro.kiro/skills/pangu/SKILL.md
OpenCodeskills/pangu/SKILL.md + reference it in AGENTS.md