Set direction first.
Choose paragraph direction before rendering. Preserve the original text and keep codes, links and numeric values intact.
Many languages are written from right to left. When your AI agent combines right-to-left and left-to-right text with numbers, codes and punctuation, the reading order can break. Right alignment alone does not fix text direction.
RTRTL is an open-source skill for Codex, Claude Code, Antigravity and any other coding agent that supports skills. It helps your AI agent handle text direction from the first draft.
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) בהצלחה.
Hebrew reads right to left. Codes and values keep their internal order. The original text is unchanged.
<p lang="he" 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 Hebrew and mixed Hebrew/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.