thai-docxlisted
Install: claude install-skill sayam/thai-docx-skill
# thai-docx
Word handles Thai as complex script. A .docx written the usual way marks Thai as
Latin text, so Word squiggles every Thai word and breaks lines only at spaces. The
bundled command writes every attribute Thai needs. Your part is the Markdown.
`<skill>` below is the directory that holds this file.
## Rules
- Do not write .docx XML, python-docx, docx.js or any other document code yourself,
and do not read the scripts' source. The command does all of the formatting.
- Do not add spaces between Thai words, and never add zero-width characters
(U+200B, U+200C, U+200D, U+2060, U+FEFF). Write Thai as a Thai reader writes it.
- Never change the user's wording or files to get a build through, and never make up what
they name: a picture that is missing is theirs to give. Tell them the line instead.
- A document with no Thai in it needs nothing this skill adds; build one only if asked to.
## Build a document (default: no questions)
1. **Write the Markdown** to a UTF-8 file, e.g. `report.md` — CommonMark with GitHub's
tables, strikethrough, task lists and footnotes; local PNG or JPEG images; no HTML
beyond `<br>`, `<sup>`, `<sub>`, `<u>`, `<kbd>` and comments. What else stops the build:
[references/markdown.md](references/markdown.md). A Markdown file the user gave you is
used as it is. **When the user wants a document of a particular shape** — a letter, a form, a
report — and shows you one of their own or describes it, read
[references/specs.md](r