ibadwi/arabic-rtl-fixer-ai-skill ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python skill that can fix Arabic right to left text in Word and PowerPoint files, and also validate that the content is in the right reading order. It should handle mixed Arabic and English text correctly, keep the original logical Unicode order, and avoid breaking fonts, bullets, headers, footers, or other unrelated parts of the file. I want separate commands for checking a file and repairing it, and the repair should always write a new file instead of overwriting the original.
Please make it work with DOCX and PPTX, and include a few examples and tests for broken mixed language content. If it helps, look up current docs online for OOXML or Python file handling. Keep it simple to run from the command line, and make sure it uses only standard Python tools if possible.
Are you gonna build this?
make sure you review the code using coderabbit