Works with the AI tools you already use
rtl business documents pro
by Arman Safaei
Generate professional Persian and Arabic business documents with pixel-perfect RTL typography and layout.
Free
About this skill
The problem
Default document generators produce broken Persian and Arabic layouts. You end up with disconnected letters, Western digits in the middle of RTL sentences, scrambled word order in mixed-language text, and tables flowing from the wrong side.
What it does
- Normalizes RTL strings using a deterministic Python engine to fix ZWNJ (half-spaces), digit conversion, and punctuation marks.
- Generates .docx and .pptx files using tested XML recipes that correctly set bidi flags and complex-script font slots.
- Embeds the open-license Vazirmatn font to ensure typography displays correctly across different PDF viewers and OSs.
- Handles mixed-direction text (LTR within RTL) using appropriate direction marks to prevent character reordering.
- Automates formal business document structure including honorifics, letterheads, and RTL-compliant table layouts.
Frameworks & tools
Python (rtl_normalize script), OpenXML (docx/pptx), and any PDF generation engine. Bundles Vazirmatn (SIL Open Font License).
Why this beats prompting it yourself
Prompting alone cannot fix underlying XML structure or binary encoding issues in document formats. This skill uses a Python-based normalization library and specific XML recipes to solve technical RTL rendering failures that standard LLM output ignores.
Use cases
- Generating formal Persian or Arabic business proposals and contracts with legal-grade typography.
- Creating localized pitch decks in PowerPoint with correct RTL slide transitions and table flows.
- Automating Persian invoice generation as PDFs with embedded fonts for consistent printing.
- Fixing broken "scrambled" Arabic text in existing technical documentation or reports.
Known limitations
Advanced normalization is optimized for Persian and Arabic. While basic RTL directionality works for Urdu or Hebrew, language-specific orthography rules for those languages are not included. Excel support is limited to string normalization and sheet-level RTL flags.
Details
How to install
Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.
Reviews
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
No reviews yet - be the first to share your experience.
Only users who have downloaded or purchased this skill can leave a review.
Security Scanned
Passed automated security review
Permissions
Allowed Hosts
File Scopes
Creator
Frequently Asked Questions
Browse More Skills

Business Strategist
A framework-driven consultant for business diagnosis, market mapping, and pricing strategy.

Game Design Blueprint Architect
Transform any game idea into a production-ready game design blueprint with gameplay mechanics, feature planning, art direction, monetization strategy, asset planning, and MVP roadmap.
sun-tzu-business-strategy
Convert Sun Tzu’s The Art of War into actionable business strategy, competitive memos, and market-entry plans.
code-reviewer
Reviews your code for bugs, security vulnerabilities, logic errors, performance issues, and style violations. Organizes findings by severity and suggests fixes with code examples.