[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76VBYJVQ53GGNEX0R5JJRWP":3,"skill-same:01M76VBYJVQ53GGNEX0R5JJRWP":54},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":14,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":5,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M76VBYJVQ53GGNEX0R5JJRWP","paperjsx",null,"whz39coding\u002Fzh-awesome-codex-skills","whz39coding","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F150695239?v=4","01M75700F4ESSQA1A3D0PDMQHP","01M75700G9NXGCKBD4NVVQGW2R",7,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fpaperjsx\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fpaperjsx\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: paperjsx\ndescription: 使用 PaperJSX 从结构化 JSON 输入生成 PPTX 演示文稿、DOCX 文档、XLSX 表格和 PDF 报告。Keywords: PaperJSX, PPTX, DOCX, XLSX, PDF.\n---\n\n# PaperJSX Document Generation\n\nGenerate professional documents from JSON layout specs. PaperJSX is generation-only — it creates new files, it does not edit existing ones.\n\n## Triggers\n\nUse this skill when the user asks to:\n- Create a presentation or generate slides\n- Make a PPTX or PowerPoint file\n- Create a Word document or DOCX\n- Generate an Excel spreadsheet with charts\n- Create a JSON to PPTX, JSON to DOCX, or JSON to XLSX file\n- Generate a PDF invoice, report, or chart document\n\n## Install\n\nInstall the format-appropriate package:\n\n```bash\n# Presentations\nnpm install @paperjsx\u002Fjson-to-pptx\n\n# Word documents\nnpm install @paperjsx\u002Fjson-to-docx\n\n# Spreadsheets\nnpm install @paperjsx\u002Fjson-to-xlsx\n\n# PDF documents\nnpm install @paperjsx\u002Fjson-to-pdf\n```\n\n## How it works\n\n1. Build a JSON layout spec matching the schema in `references\u002Fjson-schema.md`\n2. Write a Node.js script that passes the JSON to the PaperJSX engine\n3. Run the script to generate the output file\n4. Validate the output file exists and is non-zero bytes\n\nDo **not** write imperative PaperJSX API code. The execution model is always: JSON spec in, document file out.\n\n## Example: PPTX generation\n\n```javascript\nimport { PaperEngine } from \"@paperjsx\u002Fjson-to-pptx\";\nimport fs from \"node:fs\";\n\nconst spec = {\n  type: \"Document\",\n  meta: { title: \"Q4 Review\" },\n  slides: [\n    {\n      type: \"Slide\",\n      children: [\n        { type: \"Text\", content: \"Q4 2025 Business Review\", style: { fontSize: 36, bold: true } }\n      ]\n    }\n  ]\n};\n\nconst buffer = await PaperEngine.render(spec);\nfs.writeFileSync(\"presentation.pptx\", buffer);\nconsole.log(\"Generated presentation.pptx\");\n```\n\n## Example: DOCX generation\n\n```javascript\nimport { renderToDocx } from \"@paperjsx\u002Fjson-to-docx\";\nimport fs from \"node:fs\";\n\nconst result = await renderToDocx({\n  type: \"DocxDocument\",\n  pageSize: \"a4\",\n  orientation: \"portrait\",\n  pages: [\n    {\n      elements: [\n        { type: \"heading\", level: 1, text: \"Quarterly Report\" },\n        { type: \"paragraph\", text: \"Section content here.\" }\n      ]\n    }\n  ]\n});\n\nfs.writeFileSync(\"report.docx\", result.buffer);\nconsole.log(\"Generated report.docx\");\n```\n\n## Example: XLSX generation\n\n```javascript\nimport { SpreadsheetEngine } from \"@paperjsx\u002Fjson-to-xlsx\";\nimport fs from \"node:fs\";\n\nconst spec = {\n  meta: { title: \"Revenue Data\", creator: \"PaperJSX\" },\n  sheets: [{\n    name: \"Revenue\",\n    rows: [\n      { cells: [{ value: \"Quarter\" }, { value: \"Revenue\" }] },\n      { cells: [{ value: \"Q1 2026\" }, { value: 420000 }] },\n      { cells: [{ value: \"Q2 2026\" }, { value: 510000 }] }\n    ]\n  }]\n};\n\nconst buffer = await SpreadsheetEngine.render(spec);\nfs.writeFileSync(\"revenue.xlsx\", buffer);\nconsole.log(\"Generated revenue.xlsx\");\n```\n\n## Validation\n\nAfter generating any file, always verify:\n\n```javascript\nimport fs from \"node:fs\";\n\nconst stats = fs.statSync(\"output.pptx\");\nif (stats.size === 0) {\n  throw new Error(\"Generated file is empty\");\n}\nconsole.log(`Output file: ${stats.size} bytes`);\n```\n\nIf the engine throws an error, surface the full error message to the user.\n\n## Schema reference\n\nSee `references\u002Fjson-schema.md` for the complete JSON layout spec schema for all supported formats.\n","# PaperJSX Document Generation\n\nGenerate professional documents from JSON layout specs. PaperJSX is generation-only — it creates new files, it does not edit existing ones.\n\n## Triggers\n\nUse this skill when the user asks to:\n- Create a presentation or generate slides\n- Make a PPTX or PowerPoint file\n- Create a Word document or DOCX\n- Generate an Excel spreadsheet with charts\n- Create a JSON to PPTX, JSON to DOCX, or JSON to XLSX file\n- Generate a PDF invoice, report, or chart document\n\n## Install\n\nInstall the format-appropriate package:\n\n```bash\n# Presentations\nnpm install @paperjsx\u002Fjson-to-pptx\n\n# Word documents\nnpm install @paperjsx\u002Fjson-to-docx\n\n# Spreadsheets\nnpm install @paperjsx\u002Fjson-to-xlsx\n\n# PDF documents\nnpm install @paperjsx\u002Fjson-to-pdf\n```\n\n## How it works\n\n1. Build a JSON layout spec matching the schema in `references\u002Fjson-schema.md`\n2. Write a Node.js script that passes the JSON to the PaperJSX engine\n3. Run the script to generate the output file\n4. Validate the output file exists and is non-zero bytes\n\nDo **not** write imperative PaperJSX API code. The execution model is always: JSON spec in, document file out.\n\n## Example: PPTX generation\n\n```javascript\nimport { PaperEngine } from \"@paperjsx\u002Fjson-to-pptx\";\nimport fs from \"node:fs\";\n\nconst spec = {\n  type: \"Document\",\n  meta: { title: \"Q4 Review\" },\n  slides: [\n    {\n      type: \"Slide\",\n      children: [\n        { type: \"Text\", content: \"Q4 2025 Business Review\", style: { fontSize: 36, bold: true } }\n      ]\n    }\n  ]\n};\n\nconst buffer = await PaperEngine.render(spec);\nfs.writeFileSync(\"presentation.pptx\", buffer);\nconsole.log(\"Generated presentation.pptx\");\n```\n\n## Example: DOCX generation\n\n```javascript\nimport { renderToDocx } from \"@paperjsx\u002Fjson-to-docx\";\nimport fs from \"node:fs\";\n\nconst result = await renderToDocx({\n  type: \"DocxDocument\",\n  pageSize: \"a4\",\n  orientation: \"portrait\",\n  pages: [\n    {\n      elements: [\n        { type: \"heading\", level: 1, text: \"Quarterly Report\" },\n        { type: \"paragraph\", text: \"Section content here.\" }\n      ]\n    }\n  ]\n});\n\nfs.writeFileSync(\"report.docx\", result.buffer);\nconsole.log(\"Generated report.docx\");\n```\n\n## Example: XLSX generation\n\n```javascript\nimport { SpreadsheetEngine } from \"@paperjsx\u002Fjson-to-xlsx\";\nimport fs from \"node:fs\";\n\nconst spec = {\n  meta: { title: \"Revenue Data\", creator: \"PaperJSX\" },\n  sheets: [{\n    name: \"Revenue\",\n    rows: [\n      { cells: [{ value: \"Quarter\" }, { value: \"Revenue\" }] },\n      { cells: [{ value: \"Q1 2026\" }, { value: 420000 }] },\n      { cells: [{ value: \"Q2 2026\" }, { value: 510000 }] }\n    ]\n  }]\n};\n\nconst buffer = await SpreadsheetEngine.render(spec);\nfs.writeFileSync(\"revenue.xlsx\", buffer);\nconsole.log(\"Generated revenue.xlsx\");\n```\n\n## Validation\n\nAfter generating any file, always verify:\n\n```javascript\nimport fs from \"node:fs\";\n\nconst stats = fs.statSync(\"output.pptx\");\nif (stats.size === 0) {\n  throw new Error(\"Generated file is empty\");\n}\nconsole.log(`Output file: ${stats.size} bytes`);\n```\n\nIf the engine throws an error, surface the full error message to the user.\n\n## Schema reference\n\nSee `references\u002Fjson-schema.md` for the complete JSON layout spec schema for all supported formats.\n",{},"master","d2a3feea872bb061f0758151f8ee52b18e809c74",2,"https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills","https:\u002F\u002Fgithub.com\u002Fwhz39coding","2026-06-02 11:03:05",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add whz39coding\u002Fzh-awesome-codex-skills --skill paperjsx",{"tool":35,"command":36},"bunx","bunx skills add whz39coding\u002Fzh-awesome-codex-skills --skill paperjsx",{"tool":38,"command":39},"pnpm","pnpm dlx skills add whz39coding\u002Fzh-awesome-codex-skills --skill paperjsx","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fpaperjsx\u002FSKILL.md",true,[43,48],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":14},"LICENSE.txt","LICENSE","许可证",11358,{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"references\u002Fjson-schema.md","REFERENCE","参考文档",13490,"https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fpaperjsx\u002Freferences\u002Fjson-schema.md",[55,62,69,76,83,90],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M76VCME09D0B0HTCCQHR9NTG","webapp-testing","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":65,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M76VCHF8MC0BTMGDP2TABZNQ","theme-factory","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Ftheme-factory\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Ftheme-factory\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":72,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M76VC9ZWT75WD547GAMDTTVP","slack-gif-creator","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fslack-gif-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fslack-gif-creator\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":79,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M76VC7EHZV0GHMSPESSDCY31","skill-installer","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fskill-installer\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fskill-installer\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M76VC3WBAQ5XZS17B3S52HVX","skill-creator","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fskill-creator\u002Flicense.txt","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fskill-creator\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":93,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M76VBVTHN9H4V7TB23EQYQPS","notion-spec-to-implementation","MIT","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fnotion-spec-to-implementation\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fwhz39coding\u002Fzh-awesome-codex-skills\u002Fblob\u002Fmaster\u002Fnotion-spec-to-implementation\u002FSKILL.md",[],[]]