muhmoosa

Claude Arabic Docs — Development skill for Claude Code

Development community

Claude skill that makes Arabic, Hebrew, Persian and Urdu Word documents and PDFs render right-to-left correctly in Microsoft Word (Windows and Mac), Google Docs and LibreOffice.

How to install Claude Arabic Docs

This entry records only its repository, not the path inside it, so there is no exact command to give. Open muhmoosa/claude-arabic-docs and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Arabic Docs does

Claude skill that makes Arabic, Hebrew, Persian and Urdu Word documents and PDFs render right-to-left correctly in Microsoft Word (Windows and Mac), Google Docs and LibreOffice. Includes a hardening script that fixes alignment, table direction, lists, fonts, and bold and size on RTL text.

Alternatives in Development

  • Flavor — PUA 切换味道 — 从 15 种味道中选择,包括阿里/字节/华为/腾讯/Netflix/Musk/Jobs/Microsoft/钉内钉外 19.5k ★
  • Validate Plan — You are tasked with validating that an implementation plan was correctly executed, verifying all success crite 10k ★
  • Convert Paths Absolute — This command converts all relative paths in .claude/settings.json command scripts to absolute paths using the 200 ★

README

claude-arabic-docs

A Claude skill that fixes a class of bugs no one tells you about until you ship a 30-page Arabic Word document and the client opens it on Mac. Read the Arabic version: [README.ar.md](./README.ar.md)

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE) [![Claude Skill](https://img.shields.io/badge/Claude-Skill-blueviolet)](https://docs.claude.com/skills) [![Languages: Arabic · Hebrew · Persian · Urdu](https://img.shields.io/badge/RTL-AR%20·%20HE%20·%20FA%20·%20UR-green)](#supported-locales)

The bug this skill exists to fix

You generate an Arabic `.docx` programmatically using `docx-js`, `python-docx`, or any of the popular libraries. Every paragraph is marked RTL, every run carries ``, every table has ``. You convert to PDF in LibreOffice and it looks perfect. You hand the file to a real user.

**They open it in Microsoft Word and every heading and body paragraph is left-aligned. Tables are correct. Only the body is broken.**

You google this. You add `` to every paragraph. Still broken in Word. You add it to the section. Still broken. You set `docDefaults` language to `ar-SA`. Still broken. You add `` with bidi. Still broken.

After two days of bisecting OOXML XML, you discover that Microsoft Word ignores all of those if `settings.xml` doesn't have ``. That setting is never written by any docx generation library — it's only populated by a live Word session, sourced from the OS keyboard layout. So *every* programmatically-generated docx starts off broken in Word.

You fix that and the document *almost* renders correctly — except now headings are still left-aligned. After more bisecting you discover that Word for Mac re-interprets `` as logical "end" (= left in RTL mode), not physical right. You change everything to `start`/`end` and it finally works.

This skill packages all six of those fixes — discovered the