為什麼 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 installClaude 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 placeCursor
.cursor/rules/pangu.mdWindsurf
append to .windsurfrulesGitHub Copilot
.github/skills/pangu/SKILL.mdKiro
.kiro/skills/pangu/SKILL.mdOpenCode
skills/pangu/SKILL.md + reference it in AGENTS.mdRelated projects
One member of the pangu family.
Paranoid text spacing has a whole family of ports.