[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F6QJN2HR9FWH9YH8C80CSR":3,"skill-same:01M7F6QJN2HR9FWH9YH8C80CSR":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7F6QJN2HR9FWH9YH8C80CSR","visa-doc-translate",null,"Translate visa application documents (images) to English and create a bilingual PDF with original and translation","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fvisa-doc-translate\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: visa-doc-translate\ndescription: Translate visa application documents (images) to English and create a bilingual PDF with original and translation\n---\n\nYou are helping translate visa application documents for visa applications.\n\n## Instructions\n\nWhen the user provides an image file path, AUTOMATICALLY execute the following steps WITHOUT asking for confirmation:\n\n1. **Image Conversion**: If the file is HEIC, convert it to PNG using `sips -s format png \u003Cinput> --out \u003Coutput>`\n\n2. **Image Rotation**:\n   - Check EXIF orientation data\n   - Automatically rotate the image based on EXIF data\n   - If EXIF orientation is 6, rotate 90 degrees counterclockwise\n   - Apply additional rotation as needed (test 180 degrees if document appears upside down)\n\n3. **OCR Text Extraction**:\n   - Try multiple OCR methods automatically:\n     - macOS Vision framework (preferred for macOS)\n     - EasyOCR (cross-platform, no tesseract required)\n     - Tesseract OCR (if available)\n   - Extract all text information from the document\n   - Identify document type (deposit certificate, employment certificate, retirement certificate, etc.)\n\n4. **Translation**:\n   - Translate all text content to English professionally\n   - Maintain the original document structure and format\n   - Use professional terminology appropriate for visa applications\n   - Keep proper names in original language with English in parentheses\n   - For Chinese names, use pinyin format (e.g., WU Zhengye)\n   - Preserve all numbers, dates, and amounts accurately\n\n5. **PDF Generation**:\n   - Create a Python script using PIL and reportlab libraries\n   - Page 1: Display the rotated original image, centered and scaled to fit A4 page\n   - Page 2: Display the English translation with proper formatting:\n     - Title centered and bold\n     - Content left-aligned with appropriate spacing\n     - Professional layout suitable for official documents\n   - Add a note at the bottom: \"This is a certified English translation of the original document\"\n   - Execute the script to generate the PDF\n\n6. **Output**: Create a PDF file named `\u003Coriginal_filename>_Translated.pdf` in the same directory\n\n## Supported Documents\n\n- Bank deposit certificates (存款证明)\n- Income certificates (收入证明)\n- Employment certificates (在职证明)\n- Retirement certificates (退休证明)\n- Property certificates (房产证明)\n- Business licenses (营业执照)\n- ID cards and passports\n- Other official documents\n\n## Technical Implementation\n\n### OCR Methods (tried in order)\n\n1. **macOS Vision Framework** (macOS only):\n   ```python\n   import Vision\n   from Foundation import NSURL\n   ```\n\n2. **EasyOCR** (cross-platform):\n   ```bash\n   pip install easyocr\n   ```\n\n3. **Tesseract OCR** (if available):\n   ```bash\n   brew install tesseract tesseract-lang\n   pip install pytesseract\n   ```\n\n### Required Python Libraries\n\n```bash\npip install pillow reportlab\n```\n\nFor macOS Vision framework:\n```bash\npip install pyobjc-framework-Vision pyobjc-framework-Quartz\n```\n\n## Important Guidelines\n\n- DO NOT ask for user confirmation at each step\n- Automatically determine the best rotation angle\n- Try multiple OCR methods if one fails\n- Ensure all numbers, dates, and amounts are accurately translated\n- Use clean, professional formatting\n- Complete the entire process and report the final PDF location\n\n## Example Usage\n\n```bash\n\u002Fvisa-doc-translate RetirementCertificate.PNG\n\u002Fvisa-doc-translate BankStatement.HEIC\n\u002Fvisa-doc-translate EmploymentLetter.jpg\n```\n\n## Output Example\n\nThe skill will:\n1. Extract text using available OCR method\n2. Translate to professional English\n3. Generate `\u003Cfilename>_Translated.pdf` with:\n   - Page 1: Original document image\n   - Page 2: Professional English translation\n\nPerfect for visa applications to Australia, USA, Canada, UK, and other countries requiring translated documents.\n","You are helping translate visa application documents for visa applications.\n\n## Instructions\n\nWhen the user provides an image file path, AUTOMATICALLY execute the following steps WITHOUT asking for confirmation:\n\n1. **Image Conversion**: If the file is HEIC, convert it to PNG using `sips -s format png \u003Cinput> --out \u003Coutput>`\n\n2. **Image Rotation**:\n   - Check EXIF orientation data\n   - Automatically rotate the image based on EXIF data\n   - If EXIF orientation is 6, rotate 90 degrees counterclockwise\n   - Apply additional rotation as needed (test 180 degrees if document appears upside down)\n\n3. **OCR Text Extraction**:\n   - Try multiple OCR methods automatically:\n     - macOS Vision framework (preferred for macOS)\n     - EasyOCR (cross-platform, no tesseract required)\n     - Tesseract OCR (if available)\n   - Extract all text information from the document\n   - Identify document type (deposit certificate, employment certificate, retirement certificate, etc.)\n\n4. **Translation**:\n   - Translate all text content to English professionally\n   - Maintain the original document structure and format\n   - Use professional terminology appropriate for visa applications\n   - Keep proper names in original language with English in parentheses\n   - For Chinese names, use pinyin format (e.g., WU Zhengye)\n   - Preserve all numbers, dates, and amounts accurately\n\n5. **PDF Generation**:\n   - Create a Python script using PIL and reportlab libraries\n   - Page 1: Display the rotated original image, centered and scaled to fit A4 page\n   - Page 2: Display the English translation with proper formatting:\n     - Title centered and bold\n     - Content left-aligned with appropriate spacing\n     - Professional layout suitable for official documents\n   - Add a note at the bottom: \"This is a certified English translation of the original document\"\n   - Execute the script to generate the PDF\n\n6. **Output**: Create a PDF file named `\u003Coriginal_filename>_Translated.pdf` in the same directory\n\n## Supported Documents\n\n- Bank deposit certificates (存款证明)\n- Income certificates (收入证明)\n- Employment certificates (在职证明)\n- Retirement certificates (退休证明)\n- Property certificates (房产证明)\n- Business licenses (营业执照)\n- ID cards and passports\n- Other official documents\n\n## Technical Implementation\n\n### OCR Methods (tried in order)\n\n1. **macOS Vision Framework** (macOS only):\n   ```python\n   import Vision\n   from Foundation import NSURL\n   ```\n\n2. **EasyOCR** (cross-platform):\n   ```bash\n   pip install easyocr\n   ```\n\n3. **Tesseract OCR** (if available):\n   ```bash\n   brew install tesseract tesseract-lang\n   pip install pytesseract\n   ```\n\n### Required Python Libraries\n\n```bash\npip install pillow reportlab\n```\n\nFor macOS Vision framework:\n```bash\npip install pyobjc-framework-Vision pyobjc-framework-Quartz\n```\n\n## Important Guidelines\n\n- DO NOT ask for user confirmation at each step\n- Automatically determine the best rotation angle\n- Try multiple OCR methods if one fails\n- Ensure all numbers, dates, and amounts are accurately translated\n- Use clean, professional formatting\n- Complete the entire process and report the final PDF location\n\n## Example Usage\n\n```bash\n\u002Fvisa-doc-translate RetirementCertificate.PNG\n\u002Fvisa-doc-translate BankStatement.HEIC\n\u002Fvisa-doc-translate EmploymentLetter.jpg\n```\n\n## Output Example\n\nThe skill will:\n1. Extract text using available OCR method\n2. Translate to professional English\n3. Generate `\u003Cfilename>_Translated.pdf` with:\n   - Page 1: Original document image\n   - Page 2: Professional English translation\n\nPerfect for visa applications to Australia, USA, Canada, UK, and other countries requiring translated documents.\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fvisa-doc-translate",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill visa-doc-translate",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill visa-doc-translate",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill visa-doc-translate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fvisa-doc-translate\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"README.md","REFERENCE","参考文档",1836,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fvisa-doc-translate\u002FREADME.md",[53,60,65,72,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":61,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]