OfficeCLI is a cross-platform CLI application written in C#/.NET that creates, reads, and mutates OOXML Office documents (Word .docx, Excel .xlsx, PowerPoint .pptx) without requiring Microsoft Office. It is explicitly engineered as an agent-facing tool: every document element is addressable through a uniform path syntax (e.g. /slide[1]/shape[2]), all commands emit structured JSON with error codes and suggestions, and it ships AI-skill files for Claude/Copilot/Cursor/Codex, an MCP server, plus Python and Node SDKs. The core operation model is a batch command language: documents are mutated by replayable JSON items (add/set/remove/get) executed atomically through the CLI or over a named pipe to a resident process. Architecturally the repo is a single .NET binary (embedded runtime) with a CommandBuilder layer, a DocumentHandlerFactory dispatching to three large partial-class handlers (WordHandler, ExcelHandler, PowerPointHandler), and a shared Core layer containing chart-to-SVG rendering, a formula evaluator implementing 350+ Excel functions with statistical distributions, pivot table construction, Mermaid diagram parsing, OOXML theme/table-style resolution, HTML/PNG/SVG preview rendering, and a plugin protocol for foreign-format dump-readers and exporters. Security is taken seriously: SsrfGuard validates remote fetch targets, HyperlinkUriValidator allowlists URI schemes, XmlTextValidator and DocumentLimits guard against decompression bombs and DOM sprawl, and AtomicPackageWriter prevents torn file writes. Quality is strong but carries real maintenance debt. The code demonstrates deep OOXML craftsmanship - schema-order-correct XML insertion, exact EMU unit round-trips, Lanczos-based gamma functions, and curated chart-style galleries. However, handlers are split across dozens of partial-class files that evolved from former god methods, the property API is stringly-typed (props dictionaries parsed per key), examples must be maintained in parallel shell and Python twins, and the tool deliberately tolerates 'UNSUPPORTED props' warnings (exit code 2), which can mask incomplete feature coverage. The best reuse targets are the self-contained Core utilities rather than the format handlers. The project is actively maintained with multi-platform CI publishing to npm and PyPI.
This repository is a curated collection of Claude skillsβmarkdown instructions and supporting scripts that enable Claude (or any MCP-compatible agent) to perform a wide range of tasks, from document manipulation (DOCX, PPTX, PDF, XLSX) and GIF animation to web testing, MCP server building, and automation of hundreds of third-party SaaS services via Composio's Rube MCP. The repo is primarily a skill library with a standardized template for each skill, but it also contains several well-crafted Python libraries (e.g., easing functions, particle systems, OOXML validation frameworks) that are genuinely reusable. The architecture is modular: each skill lives in its own directory with a SKILL.md and optional scripts. The heavy reliance on external services (Composio, Rube MCP) and the massive duplication of templated skill documentation introduce maintenance risks, but the core utility scripts demonstrate solid engineering craftsmanship.
unioffice is a commercial Go library for creating, reading, and editing Office Open XML (OOXML) documents: Word (.docx), Excel (.xlsx), and PowerPoint (.pptx). It provides a high-level API for common document operations such as text formatting, tables, images, headers/footers, charts, and slide management, while also exposing low-level access to the underlying XML via an `X()` method on wrapper types. The library includes experimental Word-to-PDF conversion and spreadsheet formula evaluation. Its architecture is modular, with top-level packages for each document type (`document`, `spreadsheet`, `presentation`), internal packages for schema types, license management, temporary storage, and utilities, and a large set of generated schema packages under `schema/` that mirror the OOXML specification. The codebase is heavily generated from OOXML schemas and obfuscated using the `unitwist` tool, which hinders direct debugging but ensures fidelity to the standard. External dependencies include other UniDoc modules (`unipdf`, `unichart`, `unitype`, `emf`) and third-party libraries for testing, font rendering, and image processing. The library requires a commercial license key, with a free tier available via cloud.unidoc.io. It is actively maintained, with recent commits and a responsive issue tracker.
This repository is a full-stack web application, 'BypassAIGC', functioning as an AI-powered academic writing assistant. Its core operational logic, confirmed by code analysis of its two-stage 'polish' and 'enhance' pipeline and configuration flags, is to rewrite text to evade detection by AIGC classifiers like GPTZero. It is a monolithic application built with a FastAPI backend and a React frontend, packaged for standalone deployment via PyInstaller. The codebase features a highly sophisticated, deterministic Word document formatting engine (`word_formatter`) that parses markdown into a Document AST, renders it to OOXML, validates the structure against a StyleSpec, and applies patch-based auto-corrections. This module demonstrates exceptional craftsmanship in document engineering. While functionally complete, the application suffers from significant technical debt. This includes critical security vulnerabilities (default secrets, permissive CORS, plaintext API key storage), ad-hoc database migrations, duplicated application entry points, and incomplete features (e.g., PDF export is a stub). The project is maintained but carries a high risk of technical drift, making it unsuitable for production deployment without substantial hardening.