Communitygithub.com

visa-doc-translate

비자 신청 서류(이미지)를 영어로 번역하고, 원본과 번역본이 함께 있는 이중 언어 PDF를 생성합니다. 비자 신청 서류 이미지를 영어 번역본이 포함된 PDF로 만들어야 할 때 사용합니다.

visa-doc-translate란 무엇인가요?

이 스킬은 사용자가 제공한 비자 신청 서류 이미지(예: 예금 증명서, 재직 증명서, 퇴직 증명서 등)를 자동으로 처리하여 원본 이미지와 전문 영어 번역문이 함께 포함된 이중 언어 PDF를 생성합니다. macOS Vision 프레임워크, EasyOCR, Tesseract 등 여러 OCR 방법을 자동으로 시도하여 텍스트를 추출하며, 추출된 텍스트는 비자 신청에 적합한 전문 용어로 영어 번역됩니다. 또한 이미지의 EXIF 방향 정보를 확인하여 자동 회전시키고, HEIC 파일을 PNG로 변환하는 등 전처리 과정을 사용자 확인 없이 순차적으로 실행합니다. 최종 결과물은 원본 문서 이미지와 공식 번역문이 포함된 A4 크기의 PDF 파일로, 호주, 미국, 캐나다, 영국 등 비자 신청 시 번역 서류가 필요한 모든 국가에서 활용할 수 있습니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/ECC/tree/main/skills/visa-doc-translate

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

비자 신청 서류 번역을 도와드립니다.

지침

사용자가 이미지 파일 경로를 제공하면 확인 없이 자동으로 다음 단계를 실행하세요:

  1. 이미지 변환: HEIC 파일인 경우 sips -s format png <입력파일> --out <출력파일> 명령어를 사용하여 PNG로 변환합니다.

  2. 이미지 회전:

    • EXIF 방향 데이터 확인
    • EXIF 데이터를 기반으로 이미지를 자동 회전
    • EXIF 방향이 6이면 시계 반대 방향으로 90도 회전
    • 문서가 거꾸로 보이면 180도 회전 등을 추가로 적용
  3. OCR 텍스트 추출:

    • 여러 OCR 방법을 자동으로 시도:
      • macOS Vision 프레임워크 (macOS 우선)
      • EasyOCR (크로스 플랫폼, tesseract 불필요)
      • Tesseract OCR (사용 가능한 경우)
    • 문서에서 모든 텍스트 정보 추출
    • 문서 유형 식별 (예금 증명서, 재직 증명서, 퇴직 증명서 등)
  4. 번역:

    • 모든 텍스트 내용을 전문 영어로 번역
    • 원본 문서의 구조와 형식 유지
    • 비자 신청에 적합한 전문 용어 사용
    • 고유명사는 원어로 표기하고 영어 번역을 괄호 안에 병기
    • 중국어 이름은 병음 형식 사용 (예: WU Zhengye)
    • 모든 숫자, 날짜, 금액을 정확하게 보존
  5. PDF 생성:

    • PIL 및 reportlab 라이브러리를 사용하여 Python 스크립트 생성
    • 1페이지: 회전된 원본 이미지를 A4 페이지에 맞게 중앙 정렬 및 크기 조정하여 표시
    • 2페이지: 적절한 형식으로 영어 번역문 표시:
      • 제목은 중앙 정렬 및 굵게
      • 내용은 왼쪽 정렬 및 적절한 간격
      • 공식 문서에 적합한 전문 레이아웃
    • 하단에 "이 문서는 원본 문서의 공인 영어 번역본입니다." 라는 메모 추가
    • 스크립트를 실행하여 PDF 생성
  6. 출력: 동일한 디렉토리에 <원본파일명>_Translated.pdf 파일 생성

지원 문서

  • 은행 예금 증명서 (存款证明)
  • 소득 증명서 (收入证明)
  • 재직 증명서 (在职证明)
  • 퇴직 증명서 (退休证明)
  • 부동산 증명서 (房产证明)
  • 사업자 등록증 (营业执照)
  • 신분증 및 여권
  • 기타 공식 문서

기술 구현

OCR 방법 (순서대로 시도)

  1. macOS Vision 프레임워크 (macOS 전용):

    import Vision
    from Foundation import NSURL
    
  2. EasyOCR (크로스 플랫폼):

    pip install easyocr
    
  3. Tesseract OCR (사용 가능한 경우):

    brew install tesseract tesseract-lang
    pip install pytesseract
    

필수 Python 라이브러리

pip install pillow reportlab

macOS Vision 프레임워크 사용 시:

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

중요 지침

  • 각 단계에서 사용자 확인을 요구하지 마십시오
  • 최적의 회전 각도를 자동으로 결정하십시오
  • 하나의 OCR 방법이 실패하면 다른 방법을 시도하십시오
  • 모든 숫자, 날짜, 금액이 정확하게 번역되었는지 확인하십시오
  • 깔끔하고 전문적인 형식을 사용하십시오
  • 전체 프로세스를 완료하고 최종 PDF 위치를 보고하십시오

사용 예시

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

출력 예시

이 스킬은 다음을 수행합니다:

  1. 사용 가능한 OCR 방법을 사용하여 텍스트 추출
  2. 전문 영어로 번역
  3. <파일명>_Translated.pdf 생성:
    • 1페이지: 원본 문서 이미지
    • 2페이지: 전문 영어 번역문

호주, 미국, 캐나다, 영국 등 번역 서류가 필요한 국가의 비자 신청에 완벽합니다.

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

affaan-m/ECC

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

affaan-m/fal-ai-media

Unified media generation via fal.ai MCP — image, video, and audio. Covers text-to-image (Nano Banana), text/image-to-video (Seedance, Kling, Veo 3), text-to-speech (CSM-1B), and video-to-audio (ThinkSound). Use when the user wants to generate images, videos, or audio with AI.

affaan-m/manim-video

日本語翻訳:このファイルは manim-video 用の日本語翻訳が必要です

affaan-m/remotion-video-creation

Remotion のベストプラクティス - React で動画を作成する。3D、アニメーション、音声、字幕、チャート、トランジションなどをカバーするドメイン固有の29のルール。

affaan-m/video-editing

AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg, Remotion, ElevenLabs, fal.ai, and final polish in Descript or CapCut. Use when the user wants to edit video, cut footage, create vlogs, or build video content.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

agent-self-evaluation

Use after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions.

agent-sort

Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

ai-first-engineering

Engineering operating model for teams where AI agents generate a large share of implementation output. Use when setting team process, review gates, or ownership rules for a codebase largely written by agents.

ai-regression-testing

Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code. Use when adding regression coverage to AI-assisted code, or when the same model both wrote and reviewed a change.

android-clean-architecture

Clean Architecture patterns for Android and Kotlin Multiplatform projects — module structure, dependency rules, UseCases, Repositories, and data layer patterns. Use when structuring modules, layers, or data flow in an Android or KMP project.

angular-developer

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, or services, or for best practices on reactivity (signals, linkedSignal, resource), forms, dependency injection, routing, SSR, accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, or CLI tooling.

관련 스킬