cjk-layout-skills 是做什么的?
Agent skills for Chinese, Japanese, and Korean text layout. 日本語組版 / 中文排版 / 한국어 텍스트 레이아웃 agent skills.
This skill provides specialized text layout capabilities for Chinese, Japanese, and Korean (CJK) languages. It handles typographic rules such as proper line breaking, punctuation handling, spacing, ruby annotations (e.g., furigana, zhuyin), and vertical text orientation.
Supported Platforms
- Claude Code
- Cursor
- Codex
- Other AI agent platforms that support custom skills
Features
- Line Breaking Rules: Automatically apply correct line break opportunities based on CJK punctuation and character classes (e.g., no breaks before closing brackets).
- Punctuation Handling: Place full-width breaks, hanging punctuation, and correct spacing for commas, periods, and quotation marks.
- Ruby Annotation Support: Guidelines for adding furigana (Japanese), zhuyin (Chinese), or hangul readings to text.
- Mixed-Script Alignment: Adjust spacing when CJK text includes Latin characters, numbers, or other scripts.
- Vertical Writing Mode: Rules for vertical layout (tategaki in Japanese, upright Chinese text) if the output format supports it.
How to Use
When working with CJK content, invoke this skill by describing your layout task (e.g., "Apply CJK line breaking rules to this paragraph"). The agent will follow the guidelines in this skill to format the text correctly.
License
This skill is provided under the MIT License.