bioray-ppt-delivery

Generates branded PPTX and 16:9 HTML slide decks with automated coverage self-checks.

1|Updated Jul 13, 2026
One-click install
npx skills add https://github.com/HalseyYang/Skills-HY --skill bioray-ppt-delivery-halseyyang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bioray-ppt-delivery
Source: https://github.com/HalseyYang/Skills-HY/tree/main/bioray-ppt-delivery
Command: npx skills add https://github.com/HalseyYang/Skills-HY --skill bioray-ppt-delivery-halseyyang

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pymupdf, pdf2image, Pillow, and includes scripts (resource) components.

What problem does it solve? It standardizes the entire PPT delivery workflow for Bioray (丽和康) so every deck follows a locked brand baseline, goes through requirement alignment before generation, and passes a quantitative coverage check before delivery, eliminating rework from misaligned expectations. ## Core Features & Use Cases - Four-Point Requirement Alignment: Asks about output format (PPTX vs 16:9 HTML), layout language, information density, and speaker-notes placement before generating anything. - Dual-Track Generation: Produces editable .pptx files via template-based generators or pixel-precise 1920x1080 HTML decks with embedded base64 logos and SVG diagrams. - Coverage Self-Check: Converts PPTX to PDF then PNG via LibreOffice and measures non-white pixel ratio per page (40% minimum for content pages, 20% for summary pages) using the bundled script. - Use Case: When asked to build a 30-page training deck, it first confirms the four decision points, proposes a page-merge plan, generates in batches of 10, runs coverage checks per batch, fixes low-coverage pages, and delivers only the .pptx file. ## Quick Start Ask the assistant to create a branded training PPT on your topic and answer the four alignment questions it asks about format, layout, density, and notes placement.

Frequently Asked Questions about bioray-ppt-delivery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check if my PPT slides have enough content coverage?

Run the coverage_check.py script on your .pptx file, which converts it via LibreOffice to PDF then PNG and measures the non-white pixel ratio per page. Content pages must reach 40% and summary or timeline pages 20% to pass.

How to convert PPTX to PDF and PNG for visual inspection?

Use LibreOffice headless mode with soffice --convert-to pdf, then render pages to PNG with PyMuPDF or pdf2image. The script automates this chain and reports per-page coverage percentages with pass/fail judgments.

What is the difference between PPTX and HTML slide deck output?

PPTX output is an editable .pptx file built from templates, while HTML output is a fixed 1920x1080 pixel-precise deck with keyboard navigation and embedded SVG diagrams. They are separate deliverables and should not be mixed.

Does the coverage check work without LibreOffice installed?

No, the script requires LibreOffice (soffice) in PATH or at standard install locations to convert PPTX to PDF. It also needs PyMuPDF or pdf2image plus Pillow for image rendering and pixel analysis.

Why does the workflow ask questions before generating slides?

The four alignment questions on output format, layout style, information density, and notes placement prevent rework caused by mismatched expectations. Skipping this step is only allowed when the user has already provided all the information.