office

Generate DOCX, XLSX, PDF, and PPTX documents using TypeScript libraries.

54|Updated Nov 19, 2025
One-click install
npx skills add https://github.com/dennislee928/Ethic-Latex --skill office
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: office
Source: https://github.com/dennislee928/Ethic-Latex/tree/main/.claude/skills/office
Command: npx skills add https://github.com/dennislee928/Ethic-Latex --skill office

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires docx, xlsx, pdf-lib, pptxgenjs, and includes scripts (resource) and references (resource) and templates (resource) components.

What problem does it solve?

This Skill streamlines the creation of common Office documents (Word, Excel, PDF, PowerPoint) directly from your code, eliminating the need for manual software and complex setups.

Core Features & Use Cases

  • Cross-Platform Document Generation: Create DOCX, XLSX, PDF, and PPTX files using pure TypeScript libraries that work in Node.js, Cloudflare Workers, and browsers.
  • Automated Reporting & Exports: Generate invoices, reports, spreadsheets, and presentations programmatically.
  • Use Case: Automatically generate a monthly sales report in XLSX format from your web application's database, or create a PDF invoice directly within a Cloudflare Worker.

Quick Start

Use the office skill to create a basic Word document named 'hello.docx' containing the text 'Hello World'.

Frequently Asked Questions about office

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Office documents like DOCX and XLSX from TypeScript code?

Generate Office documents like DOCX and XLSX from TypeScript code using pure libraries that work in Node.js, Cloudflare Workers, and browsers without external software dependencies. You can programmatically create reports, invoices, and spreadsheets directly from your application.

Can I create a PDF invoice directly within a Cloudflare Worker?

Yes, you can create a PDF invoice directly within a Cloudflare Worker. The document generation libraries are pure TypeScript modules compatible with edge environments, allowing automated PDF creation without relying on external software or manual setups.

What is the best way to automate report generation in XLSX format?

The best way to automate report generation in XLSX format is using pure TypeScript libraries to programmatically build spreadsheets from your database. This approach supports cross-platform execution across Node.js and browsers, eliminating manual software setups.

Does programmatic PPTX creation work in browsers without external software?

Programmatic PPTX creation works in browsers without external software. By using pure TypeScript libraries, you can generate presentations directly on the client side or in serverless environments like Cloudflare Workers.

Do I need Microsoft Office installed to programmatically create Word documents?

No, you do not need Microsoft Office installed to programmatically create Word documents. The generation process uses pure TypeScript libraries to build DOCX files independently, supporting automated creation in Node.js, browser, and edge environments.

Are there limitations to generating PDF files using pure TypeScript libraries?

Generating PDF files using pure TypeScript libraries requires handling document layout and content programmatically. While it removes external software dependencies and supports cross-platform environments, complex formatting must be defined entirely in code.