reports-pdfs-and-slide-automation

bởi openai

Bố trí và xuất các báo cáo và tài liệu giàu dữ liệu. Sử dụng khi người dùng cần cấu trúc báo cáo, đóng gói hình ảnh, tự động hóa PDF, PowerPoint hoặc Google Slides,…

npx skills add https://github.com/openai/plugins --skill reports-pdfs-and-slide-automation

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."

Thêm skills từ openai

user-context
openai
Tải hoặc quản lý các tùy chọn định tuyến nguồn bền vững, logic giới thiệu, tiến trình thiết lập và sổ đăng ký lớp ngữ nghĩa của plugin Phân tích Dữ liệu.
official
notion-research-documentation
openai
Nghiên cứu nội dung Notion và tổng hợp thành các bản tóm tắt có cấu trúc, báo cáo hoặc so sánh kèm trích dẫn. Tìm kiếm và truy xuất các trang Notion bằng truy vấn mục tiêu, sau đó sắp xếp kết quả theo chủ đề với trích dẫn nguồn trong văn bản và phần tài liệu tham khảo. Chọn từ bốn định dạng đầu ra (tóm tắt nhanh, tổng hợp nghiên cứu, so sánh, báo cáo toàn diện) dựa trên phạm vi và mục tiêu của người dùng. Tạo và cập nhật các trang Notion bằng mẫu có sẵn; liên kết trực tiếp nguồn và theo dõi thay đổi khi
official
rcsb-pdb-skill
openai
Gửi yêu cầu RCSB PDB nhỏ gọn để lấy siêu dữ liệu cốt lõi, truy vấn API Tìm kiếm và tải xuống FASTA. Sử dụng khi người dùng muốn tóm tắt RCSB ngắn gọn; lưu JSON thô hoặc…
official
pdf
openai
Đọc, tạo và xác thực PDF với kết xuất trực quan và tạo theo chương trình. Kết xuất các trang PDF sang PNG để kiểm tra trực quan bố cục, khoảng cách và kiểu chữ trước khi bàn giao bằng Poppler (pdftoppm). Tạo PDF theo chương trình với reportlab để định dạng đáng tin cậy; trích xuất văn bản và siêu dữ liệu bằng pdfplumber hoặc pypdf. Thực thi các tiêu chuẩn chất lượng: không có văn bản bị cắt, phần tử chồng lấn, bảng bị hỏng hoặc hiện vật kết xuất; chỉ sử dụng dấu gạch nối ASCII, trích dẫn dễ đọc cho con người. Sử dụng...
official
test-coverage-improver
openai
Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…
official
playwright
openai
Tự động hóa trình duyệt qua terminal với ảnh chụp nhanh phần tử và quy trình UI tương tác. Hoạt động thông qua script wrapper playwright-cli (yêu cầu npx); hỗ trợ chế độ headless và headed để gỡ lỗi trực quan. Quy trình cốt lõi: mở trang, chụp nhanh để tham chiếu phần tử ổn định, tương tác bằng refs, chụp lại sau khi điều hướng hoặc thay đổi DOM. Bao gồm điền biểu mẫu, nhấp chuột, gõ văn bản, quản lý nhiều tab, chụp ảnh màn hình/PDF và ghi lại trace để gỡ lỗi luồng. Tham chiếu phần tử (ví dụ: e3, e15)...
official
ukb-topmed-phewas-skill
openai
Lấy các bản tóm tắt PheWAS UKB-TOPMed nhỏ gọn cho các biến thể đơn lẻ bằng cách chấp nhận đầu vào rsID, GRCh37 hoặc GRCh38 và phân giải thành truy vấn GRCh38 cần thiết. Sử dụng khi một…
official
code-review-context
openai
Ngữ cảnh hiển thị của mô hình
official