Token导航 LogoToken导航TokenDH.com
前端设计只读github未标认证来源可访问许可证需确认审计提醒

visa-doc-translate签证文件翻译

Agent Skill

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

总安装

60,528

周安装

2,585

GitHub Stars

170,275

下载量

21,216
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:visa-doc-translate(签证文件翻译)
来源仓库:https://github.com/affaan-m/everything-claude-code
仓库路径:skills/visa-doc-translate
安装命令:
npx skills add https://github.com/affaan-m/everything-claude-code --skill visa-doc-translate
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/affaan-m/everything-claude-code --skill visa-doc-translate

简介

将签证申请文件翻译成英文并自动生成双语 PDF。

  • 处理多种文件类型:银行证明、就业信函、退休证明、财产文件、身份证和护照
  • 自动将 HEIC 转换为 PNG,通过 EXIF 数据检测和校正图像方向,并使用 macOS Vision、EasyOCR 或 Tesseract OCR 提取文本
  • 专业翻译提取的文本,同时保留结构、专有名称、日期和金额;中文名字使用拼音
  • 生成两页 PDF,第 1 页为原始图像,第 2 页为格式化英文翻译,适合官方签证提交

SKILL.md

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:

  1. Image Conversion: If the file is HEIC, convert it to PNG using sips -s format png <input> --out <output>
  2. 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)

  1. 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.)

  1. 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

  1. 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" - Execute the script to generate the PDF

  1. Output: Create a PDF file named <original_filename>_Translated.pdf in the same directory

Supported Documents

  • Bank deposit certificates (存款证明)
  • Income certificates (收入证明)
  • Employment certificates (在职证明)
  • Retirement certificates (退休证明)
  • Property certificates (房产证明)
  • Business licenses (营业执照)
  • ID cards and passports
  • Other official documents

Technical Implementation

OCR Methods (tried in order)

  1. macOS Vision Framework (macOS only): import Vision from Foundation import NSURL
  2. EasyOCR (cross-platform): pip install easyocr
  3. Tesseract OCR (if available): brew install tesseract tesseract-lang pip install pytesseract

Required Python Libraries

pip install pillow reportlab

For macOS Vision framework:

pip install pyobjc-framework-Vision pyobjc-framework-Quartz

Important Guidelines

  • DO NOT ask for user confirmation at each step
  • Automatically determine the best rotation angle
  • Try multiple OCR methods if one fails
  • Ensure all numbers, dates, and amounts are accurately translated
  • Use clean, professional formatting
  • Complete the entire process and report the final PDF location

Example Usage

/visa-doc-translate RetirementCertificate.PNG
/visa-doc-translate BankStatement.HEIC
/visa-doc-translate EmploymentLetter.jpg

Output Example

The skill will:

  1. Extract text using available OCR method
  2. Translate to professional English
  3. Generate <filename>_Translated.pdf with:

- Page 1: Original document image - Page 2: Professional English translation

Perfect for visa applications to Australia, USA, Canada, UK, and other countries requiring translated documents.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.65%
按下载量换算7,776

Claude

31.3%
按下载量换算6,641

Cursor

20.34%
按下载量换算4,315

Gemini CLI

9.19%
按下载量换算1,950

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills