SkillsGrove
SkillsGrove/Office documents/ibadwi/arabic-rtl-fixer-ai-skill/arabic-rtl-fixer-ai-skill

arabic-rtl-fixer-ai-skill

Installation

$npx skills add https://github.com/ibadwi/arabic-rtl-fixer-ai-skill --skill arabic-rtl-fixer-ai-skill
$git clone --depth 1 https://github.com/ibadwi/arabic-rtl-fixer-ai-skill.git /tmp/arabic-rtl-fixer-ai-skill && mkdir -p ~/.claude/skills && cp -r /tmp/arabic-rtl-fixer-ai-skill/. ~/.claude/skills/arabic-rtl-fixer-ai-skill
Please install this Agent Skill for me: https://github.com/ibadwi/arabic-rtl-fixer-ai-skill/tree/015b98f5434580ae439db5c30f1864b64085c872/ — read its SKILL.md and scripts first, and only install it into my skills folder once you have confirmed it is safe.

Summary

Original description · MITCreate, edit, repair, and validate Arabic or Arabic-English content with logical-order Unicode, native RTL semantics, mixed-language handling, Arabic-capable typography, and format-specific QA. Use for Word, PowerPoint, PDF, web, spreadsheet, image, and reusable Arabic-copy tasks; pair it with the skill for the requested output format.
The SKILL.md below is reproduced from ibadwi/arabic-rtl-fixer-ai-skill (commit 015b98f) under the MIT license. The text is unchanged; only the file header metadata is omitted, images are shown as links, and very long files are truncated. Copyright 2026 Mohammed Badwi. License: LICENSE. Only the instructions file is shown; see the original repository for any scripts.

Arabic Content Quality

Use this skill as the Arabic language, Unicode, RTL, and compatibility layer on top of the skill for the requested output format. Preserve the user's content, design, and target format.

Core contract

  • Store Arabic in normal logical Unicode order. Never reverse characters, words, or lines and never pre-shape letters into Arabic Presentation Forms.
  • Do not add invisible bidi controls (RLE, LRE, RLO, LRO, PDF, RLI, LRI, FSI, PDI, LRM, RLM, or ALM) as a general RTL fix. Use native paragraph, container, or document direction.
  • Do not delete ZWJ or ZWNJ blindly; they may be linguistically meaningful. Flag unexpected occurrences and remove them only when safe.
  • Set Arabic language metadata (ar-SA unless the requested locale differs), native RTL direction, and intentional alignment independently.
  • Keep long English passages, URLs, email addresses, file paths, citations, formulas, and code in separate LTR containers when the format permits.
  • Choose a font with Arabic glyph coverage. Do not claim a font is embedded or portable unless verified. Supply PDF when fixed appearance matters.
  • Use native list and numbering features. Do not fake bullets, indentation, tables, or reading order with spaces or typed glyphs.
  • Preserve editable source files whenever editability is requested; PDF is a fixed-output companion, not a replacement.

Read references/unicode-and-writing.md whenever authoring or repairing Arabic text. Then read only the reference for the target format:

Workflow

  1. Identify the Arabic locale, target application, editable source format, and whether the artifact is Arabic-first or bilingual. Infer these from the request when safe.
  2. Author plain Unicode text, applying RTL through native format properties rather than invisible characters.
  3. Separate incompatible base directions at paragraph, text-box, cell, or component boundaries.
  4. Validate structure, then render the whole artifact and inspect Arabic shaping, ordering, wrapping, punctuation, numbers, bullets, tables, overflow, and font substitution.
  5. Test in the user's target application when available. Do not treat a secondary renderer as proof of Microsoft PowerPoint, Word, browser, or Google behavior.
  6. Report structural QA, visual/layout QA, target-application QA, and font portability separately. Never claim universal cross-application perfection without testing those applications.

Safe automation boundary

The bundled OOXML tools have separate audit and repair commands. Audit is read-only. Repair must write a distinct output file, preserve the source, and must not overwrite an existing output unless the user explicitly supplies --force. A structural audit does not replace rendered or target-application QA.

Source attribution

The bundled PPTX repair/audit helper is derived from Sultan Alsafran's MIT-licensed arabic-presentations skill. Preserve THIRD_PARTY_LICENSE.md when sharing or modifying this skill.

View full license text (MIT)
MIT License

Copyright (c) 2026 Mohammed Badwi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.