paperjsx
Qué hace
Esta skill ayuda a un agente de IA a crear documentos de oficina nuevos, como presentaciones, informes y hojas de cálculo, a partir de una descripción en JSON. Está pensada para personas que necesitan generar un archivo nuevo a partir de su contenido.
Cuándo usarla
- ✓Cuando necesitas crear una presentación de PowerPoint a partir de un conjunto de diapositivas que describes.
- ✓Cuando quieres generar un documento de Word o un informe en PDF a partir de contenido estructurado.
- ✓Cuando necesitas una hoja de cálculo de Excel con un gráfico creado a partir de datos que proporcionas.
Link de la skill
https://github.com/composio-community/awesome-codex-skills/blob/master/paperjsx/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“¿Puedes crear una presentación de PowerPoint titulada Revisión del cuarto trimestre con tres diapositivas a partir de las notas que voy a pegar?”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
El agente escribe un diseño en JSON que describe el documento, ejecuta un pequeño script que lo convierte en el archivo y comprueba que el archivo se ha creado. La herramienta crea archivos nuevos y no edita los existentes.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
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:
# Presentations
npm install @paperjsx/json-to-pptx
# Word documents
npm install @paperjsx/json-to-docx
# Spreadsheets
npm install @paperjsx/json-to-xlsx
# PDF documents
npm install @paperjsx/json-to-pdf
How it works
- Build a JSON layout spec matching the schema in
references/json-schema.md - Write a Node.js script that passes the JSON to the PaperJSX engine
- Run the script to generate the output file
- 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
import { PaperEngine } from "@paperjsx/json-to-pptx";
import fs from "node:fs";
const spec = {
type: "Document",
meta: { title: "Q4 Review" },
slides: [
{
type: "Slide",
children: [
{ type: "Text", content: "Q4 2025 Business Review", style: { fontSize: 36, bold: true } }
]
}
]
};
const buffer = await PaperEngine.render(spec);
fs.writeFileSync("presentation.pptx", buffer);
console.log("Generated presentation.pptx");
Example: DOCX generation
import { renderToDocx } from "@paperjsx/json-to-docx";
import fs from "node:fs";
const result = await renderToDocx({
type: "DocxDocument",
pageSize: "a4",
orientation: "portrait",
pages: [
{
elements: [
{ type: "heading", level: 1, text: "Quarterly Report" },
{ type: "paragraph", text: "Section content here." }
]
}
]
});
fs.writeFileSync("report.docx", result.buffer);
console.log("Generated report.docx");
Example: XLSX generation
import { SpreadsheetEngine } from "@paperjsx/json-to-xlsx";
import fs from "node:fs";
const spec = {
meta: { title: "Revenue Data", creator: "PaperJSX" },
sheets: [{
name: "Revenue",
rows: [
{ cells: [{ value: "Quarter" }, { value: "Revenue" }] },
{ cells: [{ value: "Q1 2026" }, { value: 420000 }] },
{ cells: [{ value: "Q2 2026" }, { value: 510000 }] }
]
}]
};
const buffer = await SpreadsheetEngine.render(spec);
fs.writeFileSync("revenue.xlsx", buffer);
console.log("Generated revenue.xlsx");
Validation
After generating any file, always verify:
import fs from "node:fs";
const stats = fs.statSync("output.pptx");
if (stats.size === 0) {
throw new Error("Generated file is empty");
}
console.log(`Output file: ${stats.size} bytes`);
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.
Preguntas frecuentes
¿Puede editar un archivo existente?
No. La skill sirve solo para generar archivos nuevos.
¿Qué formatos puede crear?
Puede crear archivos de PowerPoint, Word, Excel y PDF.
¿El agente necesita instalar paquetes?
Sí. Instala el paquete del formato que necesitas antes de generar el archivo.
Detalles
Descripción original del autor
Generate PPTX presentations, DOCX documents, XLSX spreadsheets, and PDF reports from structured JSON input using PaperJSX.
Popularidad
- Estrellas en GitHub
- 17 mil
- Posición en el ranking
- #10757
- Licencia
- —
- Actualizada
- 25/7/2026
Comentarios
- …
Más skills de este repositorio
agent-deep-links
17 milAyuda a tu agente a crear enlaces en los que se puede hacer clic y que abren directamente un hilo, un archivo, una carpeta o un ajuste en una app como Codex o Cursor.
brand-guidelines
17 milAyuda a tu agente a dar estilo a un artefacto con colores y tipografías de marca al estilo de OpenAI, para que coincida con el aspecto de Codex.
codebase-migrate
17 milAyuda a tu agente a planificar y ejecutar migraciones de código grandes en cientos de archivos, como actualizaciones de framework o cambios de nombre de API.
connect-apps
17 milPermite que tu agente realice acciones reales en apps como Gmail, Slack y GitHub, como enviar un correo o crear una incidencia.
Skills parecidas
feishu-doc
394 milAyuda a tu agente a leer, crear y editar documentos en la nube de Feishu, incluidos texto, imágenes y tablas, usando la herramienta de documentos.
feishu-drive
394 milPermite que tu agente explore, organice y comente archivos de una carpeta de la nube de Feishu que se haya compartido con el bot.
feishu-perm
394 milAyuda a tu agente a revisar y cambiar quién puede acceder a un archivo de Feishu, eligiendo el permiso más pequeño que cumpla tu petición.