paperjsx
Generate PPTX presentations, DOCX documents, XLSX spreadsheets, and PDF reports from structured JSON input using PaperJSX.
By composio-community · 476 installs
npx skills add composio-community/awesome-codex-skills --skill paperjsx
Source repository · Upstream listing
PaperJSX Document Generation
Generate professional documents from JSON layout specs. PaperJSX is generation only — it creates new files, it does not edit existing ones.
Triggers
Use this skill when the user asks to:
Create a presentation or generate slides
Make a PPTX or PowerPoint file
Create a Word document or DOCX
Generate an Excel spreadsheet with charts
Create a JSON to PPTX, JSON to DOCX, or JSON to XLSX file
Generate a PDF invoice, report, or chart document
Install
Install the format appropriate package:
How it works
1. Build a JSON layout spec matching the schema in references/json schema.md
2. Write a Node.js script that passes the JSON to the PaperJSX engine
3. Run the script to generate the output file
4. Validate the output file exists and is non zero bytes
Do not write imperative PaperJSX API code. The execution model is always: JSON spec in, document file out.
Example: PPTX generation
Example: DOCX generation
Example: XLSX generation
Validation
After generating any file, always verify:
If the engine throws an error, surface the full error message to the user.
Schema reference
See references/json schema.md for the complete JSON layout spec schema for all supported formats.