将签证申请文件(图像)翻译成英文,并创建包含原文和译文的双语 PDF。
44
46%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./skills/visa-doc-translate/SKILL.md你正在协助翻译用于签证申请的文件。
当用户提供图像文件路径时,自动 (AUTOMATICALLY) 执行以下步骤,无需 (WITHOUT) 请求确认:
图像转换 (Image Conversion):如果文件是 HEIC 格式,使用 sips -s format png <input> --out <output> 将其转换为 PNG。
图像旋转 (Image Rotation):
OCR 文本提取 (OCR Text Extraction):
翻译 (Translation):
PDF 生成 (PDF Generation):
输出 (Output):在同一目录下创建一个名为 <original_filename>_Translated.pdf 的 PDF 文件。
macOS Vision 框架(仅限 macOS):
import Vision
from Foundation import NSURLEasyOCR(跨平台):
pip install easyocrTesseract OCR(如果可用):
brew install tesseract tesseract-lang
pip install pytesseractpip install pillow reportlab对于 macOS Vision 框架:
pip install pyobjc-framework-Vision pyobjc-framework-Quartz/visa-doc-translate RetirementCertificate.PNG
/visa-doc-translate BankStatement.HEIC
/visa-doc-translate EmploymentLetter.jpg该技能(Skill)将:
<filename>_Translated.pdf:
非常适合向澳大利亚、美国、加拿大、英国和其他需要翻译文件的国家提交签证申请。
dfbf946
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.