cjk-markdown-fix-poc

Inserts half-width spaces around bold and inline code in CJK Markdown text.

Updated Aug 17, 2026
Ready to run
npx skills add https://github.com/kai-kou/gem-hunter --skill cjk-markdown-fix-poc-kai-kou
πŸ’¬ Prompt for ChatGPT / Claude Chatβ–Ό
Please help me install this Agent Skill.
Skill: cjk-markdown-fix-poc
Source: https://github.com/kai-kou/gem-hunter/tree/main/.claude/skills/skill-creator/poc/cjk-markdown-fix
Command: npx skills add https://github.com/kai-kou/gem-hunter --skill cjk-markdown-fix-poc-kai-kou

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? CJK text (Japanese, Chinese, Korean) mixed with Markdown emphasis or inline code often lacks half-width spaces around the markup, hurting readability and failing CJK Markdown lint checks. This PoC skill body rewrites such text to insert the required spaces. ## Core Features & Use Cases - CJK Spacing Fix: Adds half-width spaces before and after bold (**text**) and inline code (`code`) notation inside CJK prose. - Optimization Loop Target: Serves as the optimization target for the deterministic body-optimization loop (scripts/run_body_loop.py), with pass/fail judged by the check_cjk_markdown.py checker exit code. - Use Case: Given input like "γ“γ‚Œγ―ι‡θ¦γ§γ™", the skill outputs "γ“γ‚Œγ― 重要 です", and likewise "ι–’ζ•°fooを呼ぢ" becomes "ι–’ζ•° foo を呼ぢ". ## Quick Start Provide a line of CJK Markdown text and ask the AI to fix the half-width spacing around bold and inline code notation, returning only the corrected text.

Frequently Asked Questions about cjk-markdown-fix-poc

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix half-width spacing around bold text in Japanese Markdown?β–Ό

Insert a half-width space before and after bold notation when it appears inside CJK prose, for example changing "γ“γ‚Œγ―**重要**です" to "γ“γ‚Œγ― **重要** です". This skill performs that rewrite and returns only the corrected text.

How to add spaces around inline code in CJK text?β–Ό

Place half-width spaces around backtick-quoted code spans adjacent to CJK characters, turning "ι–’ζ•°`foo`を呼ぢ" into "ι–’ζ•° `foo` を呼ぢ". Purely English lines like "code `snippet` example" are left unchanged.

Does this CJK spacing rule apply to English-only Markdown lines?β–Ό

No. Lines containing only Latin text, such as "θ‹±θͺž **bold** text", already satisfy the checker and are passed through unchanged. The rule targets notation embedded within CJK characters.

What is this PoC skill used for in the optimization loop?β–Ό

It is the optimization target for scripts/run_body_loop.py, which iteratively edits the SKILL.md body and scores it against evals in evals/evals.json. Pass/fail is determined solely by the check_cjk_markdown.py checker exit code, not by expected outputs.

Why is this file not registered as a real skill?β–Ό

Its frontmatter description explicitly states it is a PoC-only file for the run_body_loop.py target and must not be registered or launched as a real skill. It exists to validate the deterministic body-optimization workflow.