Set direction first.
Choose paragraph direction before rendering. Preserve the original text and keep codes, links and numeric values intact.
An open-source skill that teaches your AI agent to write right-to-left and mixed-direction text the way its readers read it.
Alignment positions a paragraph on the page. Direction controls reading order. Fonts determine how characters appear. Mixed-direction text needs all three.
Read the skillPRJ07: خطة عمل باللغة العربية
فرق القياس: -12.50 mm.
اكتمل الفحص (QA-17) بنجاح.
Arabic reads right to left. Codes and values keep their internal order. The original text is unchanged.
<p lang="ar" dir="rtl">
فرق القياس: <bdi dir="ltr">-12.50 mm</bdi>.
</p>Choose paragraph direction before rendering. Preserve the original text and keep codes, links and numeric values intact.
Use the format’s built-in direction controls to keep left-to-right phrases and signed values readable.
Inspect the app or file your audience will use. Check the layout and underlying text. Test search and copy behavior separately.
One short core guide.
Extra detail for the format you use.
Tests so far use a small set of Hebrew examples in the environments listed in the compatibility notes. Other languages, apps and versions need separate checks. View test results and limits ↗
Ask your AI agent to install RTRTL in Codex, Claude Code, Antigravity or any other coding agent that supports skills. The skill provides core instructions and extra guidance for your chosen format.
Installation guide ↗Install RTRTL from https://github.com/OriAshkenazi/RTRTL/tree/main/skills/rtrtl into the skills directory supported by this coding agent. Copy the complete rtrtl folder with all supporting files. Do not overwrite an existing installation or local edits. Verify that the skill is discoverable and tell me how to invoke it. Then use RTRTL for Arabic and mixed Arabic/English content.
Test RTRTL with the right-to-left language you use. Add guidance for another format, fix a rendering issue or improve the docs. Share a small reproducible example. Record the language, writing system, fonts and environment you tested.