Translate visa application documents (images) to English and create a bilingual PDF with original and translation
SkillScore77Maintained
Automatic
◆Translation & Localization pack
Last verified 8/22/2026
What it changes
Passed 16 of 21 test cases with the skill, and 11 of 21 without it.
Without skill55%
With skill77%
Checks it passed that the model alone missed
Uses Pillow for image processing
Uses ReportLab for PDF document creation
Outputs the file named IDCard_Translated.pdf
and 4 more in the full report
6 fixed11 passed either way4 still failing1 broke
Pass-rate lift
+23 pp
Tokens
+15%
Agent turns
0%
Response time
-40%
Model gemini-3.6-flashMeasured 8/22/2026v617 of 22 cases passed with skill · 21 comparable
Tokens, turns and time describe resource use, not a dollar price.
See it in action
One of 6 test cases the skill fixed. Same model, same prompt, with and without the skill.
1 of 6
Prompt
For an input document located at `/Users/user/Desktop/PropertyOwnership.PNG`, what exact filename and directory location should be used for the final generated PDF document?
What was checked, without and with the skill
Checked
Without skill
With skill
Names the output PDF PropertyOwnership_Translated.pdf
Missed
Passed
Saves the output PDF in the same directory as the source image
Passed
Passed
case-10 · gemini-3.6-flash · 8/22/2026 · answers are capped and redacted
What's inside
The instructions your model reads when the skill loads.
SKILL.md119 linessingle file
You are helping translate visa application documents for visa applications.
Instructions
When the user provides an image file path, AUTOMATICALLY execute the following steps WITHOUT asking for confirmation:
Image Conversion: If the file is HEIC, convert it to PNG using sips -s format png <input> --out <output>
Image Rotation:
Check EXIF orientation data
Automatically rotate the image based on EXIF data
If EXIF orientation is 6, rotate 90 degrees counterclockwise
Apply additional rotation as needed (test 180 degrees if document appears upside down)
OCR Text Extraction:
Try multiple OCR methods automatically:
macOS Vision framework (preferred for macOS)
EasyOCR (cross-platform, no tesseract required)
Tesseract OCR (if available)
Extract all text information from the document
Identify document type (deposit certificate, employment certificate, retirement certificate, etc.)
Translation:
Translate all text content to English professionally
Maintain the original document structure and format
Use professional terminology appropriate for visa applications
Keep proper names in original language with English in parentheses
For Chinese names, use pinyin format (e.g., WU Zhengye)
Preserve all numbers, dates, and amounts accurately
PDF Generation:
Create a Python script using PIL and reportlab libraries
Page 1: Display the rotated original image, centered and scaled to fit A4 page
Page 2: Display the English translation with proper formatting:
Title centered and bold
Content left-aligned with appropriate spacing
Professional layout suitable for official documents
Add a note at the bottom: "This is a certified English translation of the original document"