[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BVWXJ6CCMRN2XEY1WDABRC":3,"skill-same:01M7BVWXJ6CCMRN2XEY1WDABRC":74},{"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":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":6,"ownerHtmlUrl":57,"ownerBlogUrl":6,"ownerDescription":58,"updatedAt":59,"install":60,"resources":73},"01M7BVWXJ6CCMRN2XEY1WDABRC","invoice-template",null,"Generate professional PDF invoices from templates","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\u002Finvoice-template\u002Finvoice-template\u002FSKILL.md",[],[],"2026-11-15 14:19:17",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":34,"models":35,"license":15,"version":43,"category":44,"languages":45,"department":48,"description":7,"capabilities":49},{"tools":25,"server":29},[26,27,28],"create_docx","fill_docx_template","docx_to_pdf","office-mcp",[31,32,33],"invoice","template","billing","claude-office-skills",{"compatible":36,"recommended":40},[37,38,39],"claude-3-5-sonnet","gpt-4","gpt-4o",[41,42],"claude-sonnet-4","claude-opus-4","1.0","finance",[46,47],"en","zh","Finance",[50,51],"template_creation","invoice_formatting","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fclaude-office-skills-skills\u002Finvoice-template\u002Finvoice-template",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":61,"prompt":71,"zipAvailable":72},[62,65,68],{"tool":63,"command":64},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill invoice-template",{"tool":66,"command":67},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill invoice-template",{"tool":69,"command":70},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill invoice-template","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fclaude-office-skills-skills\u002Finvoice-template\u002Finvoice-template\u002FSKILL.md",true,[],[75,82,87,94,99,106],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"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":83,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"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":95,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"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":107,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]