com um clique
visa-doc-translate
将签证申请文件(图片)翻译成英文,并创建包含原文和译文的双语PDF
Menu
将签证申请文件(图片)翻译成英文,并创建包含原文和译文的双语PDF
| name | visa-doc-translate |
| description | 将签证申请文件(图片)翻译成英文,并创建包含原文和译文的双语PDF |
您正在协助翻译用于签证申请的签证申请文件。
当用户提供图像文件路径时,自动执行以下步骤,无需请求确认:
图像转换:如果文件是 HEIC 格式,使用 sips -s format png <input> --out <output> 将其转换为 PNG
图像旋转:
OCR 文本提取:
翻译:
PDF 生成:
输出:在同一目录中创建名为 <original_filename>_Translated.pdf 的 PDF 文件
macOS Vision 框架(仅限 macOS):
import Vision
from Foundation import NSURL
EasyOCR(跨平台):
pip install easyocr
Tesseract OCR(如果可用):
brew install tesseract tesseract-lang
pip install pytesseract
pip 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
该技能将:
<filename>_Translated.pdf,其中包含:
非常适合需要翻译文件的澳大利亚、美国、加拿大、英国及其他国家的签证申请。
Instinct-based learning system that observes sessions via hooks, creates atomic instincts with confidence scoring, and evolves them into skills/commands/agents. v2.1 adds project-scoped instincts to prevent cross-project contamination.
Orchestrate building a brand-new feature end to end — research, plan, TDD implementation, review, and gated commit — by delegating each phase to the matching ECC agent. Use when adding a capability that does not exist yet.
Orchestrate bootstrapping a working MVP from a design or spec document — ingest the doc, plan thin vertical slices, scaffold the first end-to-end slice, then TDD-implement, review, and gated commit. Use to turn an SDD/PRD into a running starting point.
Orchestrate altering an existing, working feature to new desired behavior — update its tests to the new spec, change the implementation to match, review, and gated commit. Use when behavior is not broken but should be different.
Orchestrate fixing a bug — reproduce it as a failing regression test, fix to green, review, and gated commit — by delegating each phase to the matching ECC agent. Use when existing behavior is broken or wrong.
Shared orchestration engine for the orch-* skill family. Defines the gated Research-Plan-TDD-Review-Commit pipeline, the size classifier, the agent map, and the two human gates that the orch-* operation skills delegate to. Not usually invoked directly.