[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BW6WNEEXMTXEWYPQZ5RMSW":3,"skill-same:01M7BW6WNEEXMTXEWYPQZ5RMSW":72},{"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":50,"commitSha":51,"skillDirectory":52,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":56,"updatedAt":57,"install":58,"resources":71},"01M7BW6WNEEXMTXEWYPQZ5RMSW","template-engine",null,"Auto-fill document templates with data - mail merge for any format","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclaude-office-skills-skills\u002Ftemplate-engine\u002Ftemplate-engine\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\n# ═══════════════════════════════════════════════════════════════════════════════\n# CLAUDE OFFICE SKILL - Enhanced Metadata v2.0\n# ═══════════════════════════════════════════════════════════════════════════════\n\n# Basic Information\nname: template-engine\ndescription: \"Auto-fill document templates with data - mail merge for any format\"\nversion: \"1.0\"\nauthor: claude-office-skills\nlicense: MIT\n\n# Categorization\ncategory: template\ntags:\n  - template\n  - engine\n  - autofill\n  - docxtpl\ndepartment: All\n\n# AI Model Compatibility\nmodels:\n  recommended:\n    - claude-sonnet-4\n    - claude-opus-4\n  compatible:\n    - claude-3-5-sonnet\n    - gpt-4\n    - gpt-4o\n\n# MCP Tools Integration\nmcp:\n  server: office-mcp\n  tools:\n    - fill_docx_template\n\n# Skill Capabilities\ncapabilities:\n  - template_filling\n  - document_automation\n\n# Language Support\nlanguages:\n  - en\n  - zh\n---\n\n# Template Engine Skill\n\n## Overview\n\nThis skill enables template-based document generation - define templates with placeholders, then automatically fill them with data. Works with Word, Excel, PowerPoint, and more.\n\n## How to Use\n\n1. Describe what you want to accomplish\n2. Provide any required input data or files\n3. I'll execute the appropriate operations\n\n**Example prompts:**\n- \"Mail merge for bulk letters\u002Fcontracts\"\n- \"Generate personalized reports from data\"\n- \"Create certificates from templates\"\n- \"Auto-fill forms with user data\"\n\n## Domain Knowledge\n\n\n### Template Syntax (Jinja2-based)\n\n```\n{{ variable }}           - Simple substitution\n{% for item in list %}   - Loop\n{% if condition %}       - Conditional\n{{ date | format_date }} - Filter\n```\n\n### Word Template Example\n\n```python\nfrom docxtpl import DocxTemplate\n\n# Create template with placeholders:\n# Dear {{ name }},\n# Thank you for your order #{{ order_id }}...\n\ndef fill_template(template_path: str, data: dict, output_path: str):\n    doc = DocxTemplate(template_path)\n    doc.render(data)\n    doc.save(output_path)\n    return output_path\n\n# Usage\nfill_template(\n    \"templates\u002Forder_confirmation.docx\",\n    {\n        \"name\": \"John Smith\",\n        \"order_id\": \"ORD-12345\",\n        \"items\": [\n            {\"name\": \"Product A\", \"qty\": 2, \"price\": 29.99},\n            {\"name\": \"Product B\", \"qty\": 1, \"price\": 49.99}\n        ],\n        \"total\": 109.97\n    },\n    \"output\u002Fconfirmation_john.docx\"\n)\n```\n\n### Excel Template\n\n```python\nfrom openpyxl import load_workbook\nimport re\n\ndef fill_excel_template(template_path: str, data: dict, output_path: str):\n    wb = load_workbook(template_path)\n    ws = wb.active\n    \n    # Find and replace placeholders like {{name}}\n    for row in ws.iter_rows():\n        for cell in row:\n            if cell.value and isinstance(cell.value, str):\n                for key, value in data.items():\n                    placeholder = \"{{\" + key + \"}}\"\n                    if placeholder in cell.value:\n                        cell.value = cell.value.replace(placeholder, str(value))\n    \n    wb.save(output_path)\n    return output_path\n```\n\n### Bulk Generation (Mail Merge)\n\n```python\nimport csv\nfrom pathlib import Path\n\ndef mail_merge(template_path: str, data_csv: str, output_dir: str):\n    \"\"\"Generate documents for each row in CSV.\"\"\"\n    \n    Path(output_dir).mkdir(exist_ok=True)\n    \n    with open(data_csv) as f:\n        reader = csv.DictReader(f)\n        \n        for i, row in enumerate(reader):\n            output_path = f\"{output_dir}\u002Fdocument_{i+1}.docx\"\n            fill_template(template_path, row, output_path)\n            print(f\"Generated: {output_path}\")\n\n# Usage with contacts.csv:\n# name,email,company\n# John,john@example.com,Acme\n# Jane,jane@example.com,Corp\n\nmail_merge(\n    \"templates\u002Fwelcome_letter.docx\",\n    \"data\u002Fcontacts.csv\",\n    \"output\u002Fletters\"\n)\n```\n\n### Advanced: Conditional Content\n\n```python\nfrom docxtpl import DocxTemplate\n\n# Template with conditionals:\n# {% if vip %}\n# Thank you for being a VIP member!\n# {% else %}\n# Thank you for your purchase.\n# {% endif %}\n\ndoc = DocxTemplate(\"template.docx\")\ndoc.render({\n    \"name\": \"John\",\n    \"vip\": True,\n    \"discount\": 20\n})\ndoc.save(\"output.docx\")\n```\n\n\n## Best Practices\n\n1. **Use clear placeholder naming ({{client_name}})**\n2. **Validate data before rendering**\n3. **Handle missing data gracefully**\n4. **Keep templates version-controlled**\n\n## Installation\n\n```bash\n# Install required dependencies\npip install python-docx openpyxl python-pptx reportlab jinja2\n```\n\n## Resources\n\n- [docxtpl \u002F yumdocs Repository](https:\u002F\u002Fgithub.com\u002Felapouya\u002Fpython-docxtpl)\n- [Claude Office Skills Hub](https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills)\n","# Template Engine Skill\n\n## Overview\n\nThis skill enables template-based document generation - define templates with placeholders, then automatically fill them with data. Works with Word, Excel, PowerPoint, and more.\n\n## How to Use\n\n1. Describe what you want to accomplish\n2. Provide any required input data or files\n3. I'll execute the appropriate operations\n\n**Example prompts:**\n- \"Mail merge for bulk letters\u002Fcontracts\"\n- \"Generate personalized reports from data\"\n- \"Create certificates from templates\"\n- \"Auto-fill forms with user data\"\n\n## Domain Knowledge\n\n\n### Template Syntax (Jinja2-based)\n\n```\n{{ variable }}           - Simple substitution\n{% for item in list %}   - Loop\n{% if condition %}       - Conditional\n{{ date | format_date }} - Filter\n```\n\n### Word Template Example\n\n```python\nfrom docxtpl import DocxTemplate\n\n# Create template with placeholders:\n# Dear {{ name }},\n# Thank you for your order #{{ order_id }}...\n\ndef fill_template(template_path: str, data: dict, output_path: str):\n    doc = DocxTemplate(template_path)\n    doc.render(data)\n    doc.save(output_path)\n    return output_path\n\n# Usage\nfill_template(\n    \"templates\u002Forder_confirmation.docx\",\n    {\n        \"name\": \"John Smith\",\n        \"order_id\": \"ORD-12345\",\n        \"items\": [\n            {\"name\": \"Product A\", \"qty\": 2, \"price\": 29.99},\n            {\"name\": \"Product B\", \"qty\": 1, \"price\": 49.99}\n        ],\n        \"total\": 109.97\n    },\n    \"output\u002Fconfirmation_john.docx\"\n)\n```\n\n### Excel Template\n\n```python\nfrom openpyxl import load_workbook\nimport re\n\ndef fill_excel_template(template_path: str, data: dict, output_path: str):\n    wb = load_workbook(template_path)\n    ws = wb.active\n    \n    # Find and replace placeholders like {{name}}\n    for row in ws.iter_rows():\n        for cell in row:\n            if cell.value and isinstance(cell.value, str):\n                for key, value in data.items():\n                    placeholder = \"{{\" + key + \"}}\"\n                    if placeholder in cell.value:\n                        cell.value = cell.value.replace(placeholder, str(value))\n    \n    wb.save(output_path)\n    return output_path\n```\n\n### Bulk Generation (Mail Merge)\n\n```python\nimport csv\nfrom pathlib import Path\n\ndef mail_merge(template_path: str, data_csv: str, output_dir: str):\n    \"\"\"Generate documents for each row in CSV.\"\"\"\n    \n    Path(output_dir).mkdir(exist_ok=True)\n    \n    with open(data_csv) as f:\n        reader = csv.DictReader(f)\n        \n        for i, row in enumerate(reader):\n            output_path = f\"{output_dir}\u002Fdocument_{i+1}.docx\"\n            fill_template(template_path, row, output_path)\n            print(f\"Generated: {output_path}\")\n\n# Usage with contacts.csv:\n# name,email,company\n# John,john@example.com,Acme\n# Jane,jane@example.com,Corp\n\nmail_merge(\n    \"templates\u002Fwelcome_letter.docx\",\n    \"data\u002Fcontacts.csv\",\n    \"output\u002Fletters\"\n)\n```\n\n### Advanced: Conditional Content\n\n```python\nfrom docxtpl import DocxTemplate\n\n# Template with conditionals:\n# {% if vip %}\n# Thank you for being a VIP member!\n# {% else %}\n# Thank you for your purchase.\n# {% endif %}\n\ndoc = DocxTemplate(\"template.docx\")\ndoc.render({\n    \"name\": \"John\",\n    \"vip\": True,\n    \"discount\": 20\n})\ndoc.save(\"output.docx\")\n```\n\n\n## Best Practices\n\n1. **Use clear placeholder naming ({{client_name}})**\n2. **Validate data before rendering**\n3. **Handle missing data gracefully**\n4. **Keep templates version-controlled**\n\n## Installation\n\n```bash\n# Install required dependencies\npip install python-docx openpyxl python-pptx reportlab jinja2\n```\n\n## Resources\n\n- [docxtpl \u002F yumdocs Repository](https:\u002F\u002Fgithub.com\u002Felapouya\u002Fpython-docxtpl)\n- [Claude Office Skills Hub](https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills)\n",{"mcp":24,"name":5,"tags":28,"author":33,"models":34,"license":15,"version":42,"category":29,"languages":43,"department":46,"description":7,"capabilities":47},{"tools":25,"server":27},[26],"fill_docx_template","office-mcp",[29,30,31,32],"template","engine","autofill","docxtpl","claude-office-skills",{"compatible":35,"recommended":39},[36,37,38],"claude-3-5-sonnet","gpt-4","gpt-4o",[40,41],"claude-sonnet-4","claude-opus-4","1.0",[44,45],"en","zh","All",[48,49],"template_filling","document_automation","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fclaude-office-skills-skills\u002Ftemplate-engine\u002Ftemplate-engine",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":59,"prompt":69,"zipAvailable":70},[60,63,66],{"tool":61,"command":62},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill template-engine",{"tool":64,"command":65},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill template-engine",{"tool":67,"command":68},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill template-engine","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclaude-office-skills-skills\u002Ftemplate-engine\u002Ftemplate-engine\u002FSKILL.md",true,[],[73,80,85,92,97,104],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":81,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":93,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":105,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]