with one click
visa-doc-translate
将签证申请文件(图片)翻译成英文,并创建包含原文和译文的双语PDF
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
将签证申请文件(图片)翻译成英文,并创建包含原文和译文的双语PDF
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Use after a complex task, failure, or when reviewing what was learned. Teaches how to write growth logs that extract reusable patterns — not diary entries.
Design a goal-oriented agent loop, and review it for the ways loops go wrong — spinning and burning tokens, Goodhart-gaming the verifier, or running a wrong answer to completion. Two actions: (1) WRITE a loop — gate whether to build it, define a machine-decidable goal, pick the loop type, pick a skeleton; (2) REVIEW a loop — run it past five failure modes plus decidability, boundaries, fallback, judge independence, and keep-judgment-with-the-human red lines. Use when designing an autonomous agent loop, or when you already have one and worry it will spin, cheat, or run a wrong answer to the end. Complements the mechanism-layer loop skills (autonomous-loops, continuous-agent-loop) by covering the judgment layer they don't. 中文触发:写 loop、设计 loop、做一个 loop、检查 loop 对不对、loop 体检、loop 会不会跑飞、可判定目标、五个崩法、plan build judge。English triggers: design an agent loop, write a loop, check a loop, loop review, prevent a runaway loop, goal-oriented loop, decidable goal, plan/build/judge.
Stop hook that blocks Claude from finishing until quality checks pass. Detects rationalization patterns (surface text heuristics), stale learning logs (filesystem mtime), and low disk space. Complements self-audit by mechanically enforcing learning capture habits.
React Native and Expo app patterns — Expo Router navigation, state separation (server/client/route/form), TanStack Query data fetching with Zod, performant lists, NativeWind/StyleSheet styling, native APIs, and secure storage. Use when building or editing React Native / Expo screens, components, navigation, or data layers.
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.
Use this skill when writing new features, fixing bugs, or refactoring code. Enforces test-driven development with 80%+ coverage including unit, integration, and E2E tests.
| 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,其中包含:
非常适合需要翻译文件的澳大利亚、美国、加拿大、英国及其他国家的签证申请。