reports-pdfs-and-slide-automation — скилл для Codex: как установить
Автоматизирует вёрстку аналитических отчётов, PDF-документов и презентаций для PowerPoint или Google Slides. Пригодится при сборке сложных документов со схемами и графикой.
npx skills add openai/plugins --skill reports-pdfs-and-slide-automation -a codexЧто делает reports-pdfs-and-slide-automation
Скилл выстраивает процесс подготовки отчётов и слайдов вокруг проверяемых утверждений, а не слепой выгрузки дашбордов. По регламенту каждый график или диаграмма сначала создаётся как отдельный ассет со своим мини-брифом и контекстом. Скриншоты интерфейсов использовать запрещено.
Для вёрстки презентаций скилл применяет библиотеку pptxgenjs или Google Slides API с точными координатами слайда. При сборке PDF самым надёжным сценарием для Codex считается вёрстка страницы в HTML с последующей печатью через Playwright или Puppeteer, либо прямое формирование через pdf-lib и PDFKit.
Перед генерацией кода агент обязан согласовать концепцию макета с пользователем. Пока утверждения нет, вносить изменения в проект и рендерить страницы нельзя: скилл сначала фиксирует дизайн-контракт со слотами диаграмм и правилами адаптации. Векторы экспортируются в SVG, а для офисных пакетов берутся растровые PNG.
Какие задачи решает
- сверстать PDF-отчёт через связку HTML и Playwright
- собрать презентацию PowerPoint с помощью
pptxgenjs - внедрить архитектурные диаграммы и ERD в техническую документацию
- подготовить статические раскадровки для интерактивных визуализаций
Примеры запросов агенту
- Сверстай квартальный отчёт в HTML и экспортируй его в PDF через Playwright.
- Подготовь презентацию в PowerPoint с графиками метрик через
pptxgenjs. - Собери техническую документацию с внедрением C4-диаграмм в формате SVG.
Как установить reports-pdfs-and-slide-automation
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill reports-pdfs-and-slide-automation -a codex2Вручную: положить файлы
.agents/skills/reports-pdfs-and-slide-automation/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add openai/plugins --skill reports-pdfs-and-slide-automation -a claude-code2Вручную: положить файлы
~/.claude/skills/reports-pdfs-and-slide-automation/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/reports-pdfs-and-slide-automation/
Вручную: положить файлы
.cursor/skills/reports-pdfs-and-slide-automation/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install openai/plugins reports-pdfs-and-slide-automation2Вручную: положить файлы
.github/skills/reports-pdfs-and-slide-automation/SKILL.mdКомандой платформы
gemini skills install https://github.com/openai/plugins --path plugins/build-web-data-visualization/skills/reports-pdfs-and-slide-automationВручную: положить файлы
.devin/skills/reports-pdfs-and-slide-automation/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Скиллы Codex: как установить, где лежат и как вызвать
Вопросы о reports-pdfs-and-slide-automation
Как установить reports-pdfs-and-slide-automation в Codex?
Выполните команду npx skills add openai/plugins --skill reports-pdfs-and-slide-automation.
Что делает reports-pdfs-and-slide-automation?
Скилл организует автоматическую генерацию отчётов, PDF, документов Word и презентаций PowerPoint или Google Slides. Он следит за экспортом графиков в SVG и PNG, формирует макеты и запрещает писать код до утверждения концепта вёрстки.
Как скилл рекомендует генерировать PDF в Codex?
Наиболее надёжным путём считается создание графиков в SVG или PNG, компоновка страницы на чистом HTML и CSS, а затем печать в PDF через браузерный движок Playwright или Puppeteer.
Исходный текст
SKILL.md · MIT
--- name: reports-pdfs-and-slide-automation description: Lay out and export data-rich reports and documents. Use when the user needs report structure, figure packaging, PDFs, PowerPoint or Google Slides automation, or programmatic insertion of visualizations, UML-like diagrams, or architecture diagrams into documents. --- # Reports, PDFs, and Slide Automation ## Overview Use this skill when the output is a deliverable rather than a standalone chart. That includes reports, briefing decks, PDFs, slide exports, document embeds, and reusable figure assets that other systems can place into files. Default assumption: build figures as durable assets first, then compose them into documents. Do not rely on screenshots unless the workflow truly has no better option. For editorial reports and infographic packages, use `../../references/foundations/editorial-infographic-system.md` before layout. For visual stories that include animation, generated imagery, illustrated substrates, WebGL, particles, 3D, or scrollytelling, also use `../../references/foundations/art-directed-interactive-visual-stories.md`. When page, slide, or figure composition materially affects interpretation, use `../../references/foundations/meaning-preserving-visual-design-workflow.md` and `../../references/foundations/mobile-first-responsive-visualization.md` for concept generation, user approval, mobile variants, and semantic design contracts. The deliverable should read as a sequence of claims supported by figures, not as a dashboard export. For reports, decks, PDFs, and documents with multiple meaningful figures, use `../../references/foundations/embedded-visualization-self-use.md` before page or slide composition. Each chart, map, table-graphic, inset, flow layer, static fallback, and export-only frame needs a specialist owner and mini-brief before it becomes a placed asset. ## Common Targets - HTML reports - PDF reports generated from HTML or direct PDF libraries - PowerPoint decks - Google Slides decks - Word or Docs-style narrative documents - Markdown and static-site reports - Technical documentation with UML, ERD, C4, BPMN, flow, state machine, dependency, schema, or architecture diagram assets ## Figure Packaging Rules 1. Inventory every meaningful embedded figure or visual layer before layout, assign a primary specialist owner, and write a mini-brief covering job, data shape, encoding, interaction or static fallback, accessibility, QA, and fresh-pass status. 2. Use an authorized delegated specialist or explicit local specialist pass for substantial figures before composition. The report or deck owner integrates the results, keeps shared encodings consistent, and performs final editorial QA. 3. For advanced report, deck, or page compositions, create a visual design contract before implementation, but only after the user approves the generated layout concept set or requests a revised concept. Do not make project changes, finalize assets, or generate implementation code while approval is pending. If the user requests changes, revise or regenerate the concept set and repeat the concise bullet review until the user agrees on the design. The contract should map the approved concepts to figure slots, locked layout elements, flexible production details, data-bound layers, source/caveat placement, export frames, mobile/landscape or print adaptations, and approved deviations. 4. Export each figure in the format the medium needs: - SVG for vector and print - PNG for slides and office documents - PDF when downstream systems preserve vector PDF pages well 5. Keep chart dimensions intentional for page or slide slots. 6. Preserve consistent theming, typography, and color semantics across all assets. 7. Keep annotations readable at final output size. 8. Include source, caveat, and alternative text metadata with each exported figure. 9. For animated or interactive stories, export first frame, key frames, and final frame so the argument survives in PDF, slides, and reduced-motion contexts. 10. For WebGL or particle scenes, export a static fallback that preserves the data claim: final frame, key frames, arrows, path widths, selected focus state, or a panel sequence. 11. For generated imagery, keep image assets, data overlays, captions, and source notes as separate layers whenever the target medium permits. 12. For UML-like, ERD, C4, BPMN, flow, dependency, or architecture diagrams, use `../uml-and-software-architecture-visualization/SKILL.md` first and export both the diagram source and the rendered asset when the target workflow permits. ## Programmatic PDF Approaches - Browser or HTML-first: - render semantic HTML and CSS - print with Playwright or Puppeteer - JavaScript-first: - pdf-lib for PDF manipulation - PDFKit or jsPDF for direct generation For Codex-driven workflows, the most reliable pattern is often: generate charts as SVG or PNG, compose an HTML report, then render to PDF with a browser engine. ## Slide Deck Approaches - PowerPoint: - `pptxgenjs` in JavaScript or TypeScript - Google Slides: - generate assets first - place them via the Google Slides API with explicit page geometry ## Document Embedding Patterns - Word or DOCX: insert exported PNG or SVG where supported and keep captions separate from the image raster. - Markdown or static docs: prefer SVG for crisp web rendering. - PDFs: either compose from exported assets or print from HTML layouts. - Spreadsheets and office docs: use fixed-aspect PNG exports when office rendering of SVG is inconsistent. ## Report Layout Principles - Start with the question, not the chart inventory. - Lead with the strongest claim and the view that supports it. - Use supporting small multiples instead of giant dashboard mosaics. - Integrate explanatory text near the figure it explains. - Use insight titles, direct labels, and annotations in the figure asset itself so it survives being moved into slides, PDFs, or article embeds. - When an interactive story has to become static, package it as a paced panel sequence instead of a single unexplained screenshot. - Reserve appendix sections for dense tables and methodological detail. ## Output Expectations - Name the target medium. - Provide the embedded visualization inventory with specialist owners, mini-brief summaries, QA checks, and delegated or local fresh-pass status. - For concepted report, deck, or page layouts, use the shared design workflow for required concept images, approval status, approved references, binding visual design contract, locked and flexible elements, data-bound layers, mobile/landscape or print continuation, approved deviations, and semantic fidelity QA. - Define the export asset set. - Make page or slide layout explicit. - For art-directed visual stories, identify which key frames, generated assets, and data overlays should be exported. - Preserve a clean path for regeneration when the data changes. ## References - Shared theory: - `../../references/foundations/editorial-infographic-system.md` - `../../references/foundations/art-directed-interactive-visual-stories.md` - `../../references/foundations/meaning-preserving-visual-design-workflow.md` - `../../references/foundations/embedded-visualization-self-use.md` - `../../references/foundations/mobile-first-responsive-visualization.md` - `../../references/foundations/storytelling-annotation-and-critique.md` - Skill references: - `./references/report-structure-and-figure-packaging.md` - `./references/pdf-generation-paths.md` - `./references/powerpoint-and-google-slides.md` - `./references/document-embedding-and-regeneration.md` - `../uml-and-software-architecture-visualization/SKILL.md` ## Representative Prompts - "Turn this dashboard into an executive PDF report." - "Generate a PowerPoint deck with chart assets and commentary." - "Programmatically add these visualizations to a report." - "Create an HTML report and render it to PDF with Playwright." - "Automate Google Slides or PowerPoint creation from chart assets." - "Package UML, ERD, C4, BPMN, flow, state machine, dependency, or architecture diagrams into a report, PDF, or deck."
© OpenAI · MIT · openai/plugins