[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72A3KVB1RCJ31X8X4RM1NST":3,"skill-same:01M72A3KVB1RCJ31X8X4RM1NST":71},{"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":51,"commitSha":52,"skillDirectory":5,"forksCount":53,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":70},"01M72A3KVB1RCJ31X8X4RM1NST","invoice-template",null,"Generate professional PDF invoices from templates","claude-office-skills\u002Fskills","claude-office-skills","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F258027507?v=4","01M729XQC9FBRQ54AQZS0KY3ZK","AGI Lab","01M729XQCYW6WF9GY762P9RNQJ",575,"MIT","https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills\u002Fblob\u002Fmain\u002Finvoice-template\u002FSKILL.md",[],[],"2026-11-10 18:39:20",false,"---\n# ═══════════════════════════════════════════════════════════════════════════════\n# CLAUDE OFFICE SKILL - Enhanced Metadata v2.0\n# ═══════════════════════════════════════════════════════════════════════════════\n\n# Basic Information\nname: invoice-template\ndescription: \"Generate professional PDF invoices from templates\"\nversion: \"1.0\"\nauthor: claude-office-skills\nlicense: MIT\n\n# Categorization\ncategory: finance\ntags:\n  - invoice\n  - template\n  - billing\ndepartment: Finance\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    - create_docx\n    - fill_docx_template\n    - docx_to_pdf\n\n# Skill Capabilities\ncapabilities:\n  - template_creation\n  - invoice_formatting\n\n# Language Support\nlanguages:\n  - en\n  - zh\n---\n\n# Invoice Template Skill\n\n## Overview\n\nThis skill generates professional PDF invoices from structured data and templates. Create invoices with company branding, itemized lists, tax calculations, and payment details.\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- \"Generate invoices from order data\"\n- \"Create recurring invoices\"\n- \"Batch generate monthly invoices\"\n- \"Customize invoice templates per client\"\n\n## Domain Knowledge\n\n\n### Invoice Data Structure\n\n```python\ninvoice_data = {\n    \"invoice_number\": \"INV-2026-001\",\n    \"date\": \"2026-01-30\",\n    \"due_date\": \"2026-02-28\",\n    \n    \"from\": {\n        \"name\": \"Your Company\",\n        \"address\": \"123 Business St\",\n        \"email\": \"billing@company.com\"\n    },\n    \n    \"to\": {\n        \"name\": \"Client Name\",\n        \"address\": \"456 Client Ave\",\n        \"email\": \"client@example.com\"\n    },\n    \n    \"items\": [\n        {\"description\": \"Consulting\", \"quantity\": 10, \"rate\": 150.00},\n        {\"description\": \"Development\", \"quantity\": 20, \"rate\": 100.00}\n    ],\n    \n    \"tax_rate\": 0.08,\n    \"notes\": \"Payment due within 30 days\"\n}\n```\n\n### PDF Generation with ReportLab\n\n```python\nfrom reportlab.lib.pagesizes import letter\nfrom reportlab.pdfgen import canvas\nfrom reportlab.lib.units import inch\n\ndef create_invoice(data: dict, output_path: str):\n    c = canvas.Canvas(output_path, pagesize=letter)\n    width, height = letter\n    \n    # Header\n    c.setFont(\"Helvetica-Bold\", 24)\n    c.drawString(1*inch, height - 1*inch, \"INVOICE\")\n    \n    # Invoice details\n    c.setFont(\"Helvetica\", 12)\n    c.drawString(1*inch, height - 1.5*inch, f\"Invoice #: {data['invoice_number']}\")\n    c.drawString(1*inch, height - 1.75*inch, f\"Date: {data['date']}\")\n    \n    # From\u002FTo\n    y = height - 2.5*inch\n    c.drawString(1*inch, y, f\"From: {data['from']['name']}\")\n    c.drawString(4*inch, y, f\"To: {data['to']['name']}\")\n    \n    # Items table\n    y = height - 4*inch\n    c.setFont(\"Helvetica-Bold\", 10)\n    c.drawString(1*inch, y, \"Description\")\n    c.drawString(4*inch, y, \"Qty\")\n    c.drawString(5*inch, y, \"Rate\")\n    c.drawString(6*inch, y, \"Amount\")\n    \n    c.setFont(\"Helvetica\", 10)\n    subtotal = 0\n    for item in data['items']:\n        y -= 0.3*inch\n        amount = item['quantity'] * item['rate']\n        subtotal += amount\n        c.drawString(1*inch, y, item['description'])\n        c.drawString(4*inch, y, str(item['quantity']))\n        c.drawString(5*inch, y, f\"${item['rate']:.2f}\")\n        c.drawString(6*inch, y, f\"${amount:.2f}\")\n    \n    # Totals\n    tax = subtotal * data['tax_rate']\n    total = subtotal + tax\n    \n    y -= 0.5*inch\n    c.drawString(5*inch, y, f\"Subtotal: ${subtotal:.2f}\")\n    y -= 0.25*inch\n    c.drawString(5*inch, y, f\"Tax ({data['tax_rate']*100}%): ${tax:.2f}\")\n    y -= 0.25*inch\n    c.setFont(\"Helvetica-Bold\", 12)\n    c.drawString(5*inch, y, f\"Total: ${total:.2f}\")\n    \n    c.save()\n    return output_path\n```\n\n### HTML Template Approach\n\n```python\nfrom weasyprint import HTML\nfrom jinja2 import Template\n\ninvoice_template = \"\"\"\n\u003C!DOCTYPE html>\n\u003Chtml>\n\u003Chead>\n    \u003Cstyle>\n        body { font-family: Arial; margin: 40px; }\n        .header { display: flex; justify-content: space-between; }\n        table { width: 100%; border-collapse: collapse; margin: 20px 0; }\n        th, td { border: 1px solid #ddd; padding: 10px; text-align: left; }\n        .total { font-weight: bold; font-size: 18px; }\n    \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n    \u003Cdiv class=\"header\">\n        \u003Ch1>INVOICE\u003C\u002Fh1>\n        \u003Cdiv>\n            \u003Cp>Invoice #: {{ invoice_number }}\u003C\u002Fp>\n            \u003Cp>Date: {{ date }}\u003C\u002Fp>\n        \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Ctable>\n        \u003Ctr>\u003Cth>Description\u003C\u002Fth>\u003Cth>Qty\u003C\u002Fth>\u003Cth>Rate\u003C\u002Fth>\u003Cth>Amount\u003C\u002Fth>\u003C\u002Ftr>\n        {% for item in items %}\n        \u003Ctr>\n            \u003Ctd>{{ item.description }}\u003C\u002Ftd>\n            \u003Ctd>{{ item.quantity }}\u003C\u002Ftd>\n            \u003Ctd>${{ \"%.2f\"|format(item.rate) }}\u003C\u002Ftd>\n            \u003Ctd>${{ \"%.2f\"|format(item.quantity * item.rate) }}\u003C\u002Ftd>\n        \u003C\u002Ftr>\n        {% endfor %}\n    \u003C\u002Ftable>\n    \u003Cp class=\"total\">Total: ${{ \"%.2f\"|format(total) }}\u003C\u002Fp>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n\"\"\"\n\ndef create_invoice_html(data: dict, output_path: str):\n    template = Template(invoice_template)\n    \n    # Calculate total\n    total = sum(i['quantity'] * i['rate'] for i in data['items'])\n    total *= (1 + data.get('tax_rate', 0))\n    data['total'] = total\n    \n    html = template.render(**data)\n    HTML(string=html).write_pdf(output_path)\n    return output_path\n```\n\n\n## Best Practices\n\n1. **Validate required fields before generation**\n2. **Use templates for consistent branding**\n3. **Auto-calculate totals (don't trust input)**\n4. **Include payment instructions and terms**\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- [easy-invoice-pdf Repository](https:\u002F\u002Fgithub.com\u002Fnickmitchko\u002Feasy-invoice-pdf)\n- [Claude Office Skills Hub](https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills)\n","# Invoice Template Skill\n\n## Overview\n\nThis skill generates professional PDF invoices from structured data and templates. Create invoices with company branding, itemized lists, tax calculations, and payment details.\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- \"Generate invoices from order data\"\n- \"Create recurring invoices\"\n- \"Batch generate monthly invoices\"\n- \"Customize invoice templates per client\"\n\n## Domain Knowledge\n\n\n### Invoice Data Structure\n\n```python\ninvoice_data = {\n    \"invoice_number\": \"INV-2026-001\",\n    \"date\": \"2026-01-30\",\n    \"due_date\": \"2026-02-28\",\n    \n    \"from\": {\n        \"name\": \"Your Company\",\n        \"address\": \"123 Business St\",\n        \"email\": \"billing@company.com\"\n    },\n    \n    \"to\": {\n        \"name\": \"Client Name\",\n        \"address\": \"456 Client Ave\",\n        \"email\": \"client@example.com\"\n    },\n    \n    \"items\": [\n        {\"description\": \"Consulting\", \"quantity\": 10, \"rate\": 150.00},\n        {\"description\": \"Development\", \"quantity\": 20, \"rate\": 100.00}\n    ],\n    \n    \"tax_rate\": 0.08,\n    \"notes\": \"Payment due within 30 days\"\n}\n```\n\n### PDF Generation with ReportLab\n\n```python\nfrom reportlab.lib.pagesizes import letter\nfrom reportlab.pdfgen import canvas\nfrom reportlab.lib.units import inch\n\ndef create_invoice(data: dict, output_path: str):\n    c = canvas.Canvas(output_path, pagesize=letter)\n    width, height = letter\n    \n    # Header\n    c.setFont(\"Helvetica-Bold\", 24)\n    c.drawString(1*inch, height - 1*inch, \"INVOICE\")\n    \n    # Invoice details\n    c.setFont(\"Helvetica\", 12)\n    c.drawString(1*inch, height - 1.5*inch, f\"Invoice #: {data['invoice_number']}\")\n    c.drawString(1*inch, height - 1.75*inch, f\"Date: {data['date']}\")\n    \n    # From\u002FTo\n    y = height - 2.5*inch\n    c.drawString(1*inch, y, f\"From: {data['from']['name']}\")\n    c.drawString(4*inch, y, f\"To: {data['to']['name']}\")\n    \n    # Items table\n    y = height - 4*inch\n    c.setFont(\"Helvetica-Bold\", 10)\n    c.drawString(1*inch, y, \"Description\")\n    c.drawString(4*inch, y, \"Qty\")\n    c.drawString(5*inch, y, \"Rate\")\n    c.drawString(6*inch, y, \"Amount\")\n    \n    c.setFont(\"Helvetica\", 10)\n    subtotal = 0\n    for item in data['items']:\n        y -= 0.3*inch\n        amount = item['quantity'] * item['rate']\n        subtotal += amount\n        c.drawString(1*inch, y, item['description'])\n        c.drawString(4*inch, y, str(item['quantity']))\n        c.drawString(5*inch, y, f\"${item['rate']:.2f}\")\n        c.drawString(6*inch, y, f\"${amount:.2f}\")\n    \n    # Totals\n    tax = subtotal * data['tax_rate']\n    total = subtotal + tax\n    \n    y -= 0.5*inch\n    c.drawString(5*inch, y, f\"Subtotal: ${subtotal:.2f}\")\n    y -= 0.25*inch\n    c.drawString(5*inch, y, f\"Tax ({data['tax_rate']*100}%): ${tax:.2f}\")\n    y -= 0.25*inch\n    c.setFont(\"Helvetica-Bold\", 12)\n    c.drawString(5*inch, y, f\"Total: ${total:.2f}\")\n    \n    c.save()\n    return output_path\n```\n\n### HTML Template Approach\n\n```python\nfrom weasyprint import HTML\nfrom jinja2 import Template\n\ninvoice_template = \"\"\"\n\u003C!DOCTYPE html>\n\u003Chtml>\n\u003Chead>\n    \u003Cstyle>\n        body { font-family: Arial; margin: 40px; }\n        .header { display: flex; justify-content: space-between; }\n        table { width: 100%; border-collapse: collapse; margin: 20px 0; }\n        th, td { border: 1px solid #ddd; padding: 10px; text-align: left; }\n        .total { font-weight: bold; font-size: 18px; }\n    \u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n    \u003Cdiv class=\"header\">\n        \u003Ch1>INVOICE\u003C\u002Fh1>\n        \u003Cdiv>\n            \u003Cp>Invoice #: {{ invoice_number }}\u003C\u002Fp>\n            \u003Cp>Date: {{ date }}\u003C\u002Fp>\n        \u003C\u002Fdiv>\n    \u003C\u002Fdiv>\n    \u003Ctable>\n        \u003Ctr>\u003Cth>Description\u003C\u002Fth>\u003Cth>Qty\u003C\u002Fth>\u003Cth>Rate\u003C\u002Fth>\u003Cth>Amount\u003C\u002Fth>\u003C\u002Ftr>\n        {% for item in items %}\n        \u003Ctr>\n            \u003Ctd>{{ item.description }}\u003C\u002Ftd>\n            \u003Ctd>{{ item.quantity }}\u003C\u002Ftd>\n            \u003Ctd>${{ \"%.2f\"|format(item.rate) }}\u003C\u002Ftd>\n            \u003Ctd>${{ \"%.2f\"|format(item.quantity * item.rate) }}\u003C\u002Ftd>\n        \u003C\u002Ftr>\n        {% endfor %}\n    \u003C\u002Ftable>\n    \u003Cp class=\"total\">Total: ${{ \"%.2f\"|format(total) }}\u003C\u002Fp>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n\"\"\"\n\ndef create_invoice_html(data: dict, output_path: str):\n    template = Template(invoice_template)\n    \n    # Calculate total\n    total = sum(i['quantity'] * i['rate'] for i in data['items'])\n    total *= (1 + data.get('tax_rate', 0))\n    data['total'] = total\n    \n    html = template.render(**data)\n    HTML(string=html).write_pdf(output_path)\n    return output_path\n```\n\n\n## Best Practices\n\n1. **Validate required fields before generation**\n2. **Use templates for consistent branding**\n3. **Auto-calculate totals (don't trust input)**\n4. **Include payment instructions and terms**\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- [easy-invoice-pdf Repository](https:\u002F\u002Fgithub.com\u002Fnickmitchko\u002Feasy-invoice-pdf)\n- [Claude Office Skills Hub](https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills)\n",{"mcp":24,"name":5,"tags":30,"author":9,"models":34,"license":15,"version":42,"category":43,"languages":44,"department":47,"description":7,"capabilities":48},{"tools":25,"server":29},[26,27,28],"create_docx","fill_docx_template","docx_to_pdf","office-mcp",[31,32,33],"invoice","template","billing",{"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","finance",[45,46],"en","zh","Finance",[49,50],"template_creation","invoice_formatting","main","9c4c7d5cd2813a8936bf2c9fdb174ea883b85a11",105,"https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills","https:\u002F\u002Fgithub.com\u002Fclaude-office-skills","2026-01-31 22:03:56",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add claude-office-skills\u002Fskills --skill invoice-template",{"tool":63,"command":64},"bunx","bunx skills add claude-office-skills\u002Fskills --skill invoice-template",{"tool":66,"command":67},"pnpm","pnpm dlx skills add claude-office-skills\u002Fskills --skill invoice-template","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills\u002Fblob\u002Fmain\u002Finvoice-template\u002FSKILL.md",true,[],[72,79,86,93,100,107],{"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},"01M72A0X7X4TWS4ZWTEK8TJEC8","devops-automation","DevOps and IT Ops automation - CI\u002FCD, monitoring, incident management, and infrastructure workflows","https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills\u002Fblob\u002Fmain\u002Fdevops-automation\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},"01M72A0VPXF4Q5F48TPDG6S10Q","dev-slides",">","https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills\u002Fblob\u002Fmain\u002Fdev-slides\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},"01M72A0Q1T0KN60CR3PAD93J6T","deep-research","Conduct comprehensive research on any topic. Synthesize information from multiple angles, provide structured analysis, and generate detailed research reports.","https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills\u002Fblob\u002Fmain\u002Fdeep-research\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M72A0KWAYEWQJMDRGC0WTT7V","dcf-valuation","Build Discounted Cash Flow (DCF) valuation models. Calculate intrinsic value with customizable assumptions. Generate professional valuation reports.","https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills\u002Fblob\u002Fmain\u002Fdcf-valuation\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M72A0GVWRZ3HZNXMW3RB5CF9","Database Sync","Automate database synchronization, replication, migration, and cross-platform data integration","https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills\u002Fblob\u002Fmain\u002Fdatabase-sync\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M72A0E16K862EDP0QYEAC9HJ","data-pipeline","Data pipeline and ETL automation - extract, transform, load workflows for data integration and analytics","https:\u002F\u002Fgithub.com\u002Fclaude-office-skills\u002Fskills\u002Fblob\u002Fmain\u002Fdata-pipeline\u002FSKILL.md",[],[]]