Agent skill · magnus919
documents
Generate, inspect, validate, and fix PDF, Word (.docx), Excel (.xlsx), and PowerPoint (.pptx) documents: turn structured content into render-ready artifacts, verify structural and output quality before delivery, and repair broken files. Use when a task involves creating, editing, converting, or validating office documents and PDFs. Do not use for ebook packaging (use epub), for images, video, or other media production, for API or code documentation, or for data pipelines (use data-engineering).
What it needs
About 5k tokens when loaded.
What this skill does
Documents — PDF, Word, Excel & PowerPoint Skill One skill for the four most common document formats. All four share a single agent workflow — structured content in, render-ready, validated artifact out — so they live in ONE family skill with per-format references, following the epub precedent. Load the shared workflow below, then pull the per-format reference for the format you are actually touching. Format Extension Reference (load on demand) -------- ----------- ---------------------------- PDF .pdf references/pdf.md Word .docx references/word.md Excel .xlsx references/excel.md PowerPoint .pptx references/powerpoint.md All formats — references/output-quality.md Generation templates for each format live in templates/, and the validation script with per-format fixtures lives in scripts/. When to use Load this skill when the task involves any of the four formats: Generate: build a report, memo, spreadsheet, or deck from structured content (markdown, JSON, data tables, outlines). Edit: modify an existing document's content, layout, or metadata in place. Extract: pull text, tables, or structure out of an existing file. Convert: move content between formats or from a data source into a document. Validate: check that a produced artifact is structurally sound and will render correctly before it is delivered. When not to use Ebooks and EPUB — use the epub skill; it owns the EPUB container, reading order, and package validation. Images, video, and other media — this skill covers document formats only; route media production to the appropriate media skills. Code and API documentation sites — use the technical-documentation and documentation-site conventions, not office documents. Data pipelines — moving or transforming raw data belongs to data-engineering; Excel here is a deliverable format, not a data store. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills magnus919/documents