[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FVWEJ8TWWBXC5D7SNX9MBP":3,"skill-same:01M6FVWEJ8TWWBXC5D7SNX9MBP":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":57,"commitSha":58,"skillDirectory":59,"forksCount":60,"repositoryHtmlUrl":61,"repositoryHomepageUrl":6,"ownerHtmlUrl":62,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":63,"install":64,"resources":77},"01M6FVWEJ8TWWBXC5D7SNX9MBP","template-engine",null,"Auto-fill document templates with data - mail merge for any format","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flijie420461340\u002Ftemplate-engine\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"template engine","engine","template","autofill","python","mail-merge","with","mail","document","auto","operations","format","execution","office","file","https","code","merge","automation","github","2026-11-10 10:12:30",false,"---\nname: template-engine\ndescription: Auto-fill document templates with data - mail merge for any format\nauthor: claude-office-skills\nversion: \"1.0\"\ntags: ['template', 'mail-merge', 'autofill', 'automation']\nmodels: [claude-sonnet-4, claude-opus-4]\ntools: [computer, code_execution, file_operations]\nlibrary:\n  name: docxtpl \u002F yumdocs\n  url: https:\u002F\u002Fgithub.com\u002Felapouya\u002Fpython-docxtpl\n  stars: 2.1k\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",{"name":5,"tags":43,"tools":44,"author":48,"models":49,"library":52,"version":56,"description":7},[20,23,21,36],[45,46,47],"computer","code_execution","file_operations","claude-office-skills",[50,51],"claude-sonnet-4","claude-opus-4",{"url":53,"name":54,"stars":55},"https:\u002F\u002Fgithub.com\u002Felapouya\u002Fpython-docxtpl","docxtpl \u002F yumdocs","2.1k","1.0","main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Flijie420461340\u002Ftemplate-engine",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":65,"prompt":75,"zipAvailable":76},[66,69,72],{"tool":67,"command":68},"npx","npx skills add kbarbel640-del\u002Fskills --skill template-engine",{"tool":70,"command":71},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill template-engine",{"tool":73,"command":74},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill template-engine","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flijie420461340\u002Ftemplate-engine\u002FSKILL.md",true,[78],{"path":79,"resourceType":80,"resourceTypeDesc":81,"sizeBytes":82,"sourceHtmlUrl":83},"_meta.json","REFERENCE","参考文档",290,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flijie420461340\u002Ftemplate-engine\u002F_meta.json",[85,108,131,149,154,174],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":38},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[92,93,94,24,95,96,97,98,28,99,100,101,102,103,104,105,33,106,107],"crowd prompting","prompting","api","tokens","domain","world","prompts","instructions","text","tool","system","improve","productivity","marketplace","content","ai agents",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":38},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[115,94,116,117,118,119,120,36,121,122,123,124,125,126,127,128,129,98,130],"dilemm ai","arena","analyze","browser","openclaw agent","create","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":38},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[],[138,139,140,141,142,143,144,24,145,128,130,146,94,147,148],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":150,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":38},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[141,140,139,138,148,143,144,24,142,128,130,145,146,94,147],{"skillNo":155,"name":156,"nameZh":6,"description":157,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":158,"categories":159,"keywords":160,"publishedAt":38},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[161,162,163,164,165,166,167,168,169,170,171,172,173],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":175,"name":176,"nameZh":6,"description":177,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":178,"categories":179,"keywords":180,"publishedAt":38},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[],[181,182,183,184,24,185,186,57,187,146,188,189,190,191,192,33,193,194,37],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance"]