hassaanua01-cpu/build-html-ppt-skill
About
Build HTML PPT Skill: Audience-Aware Slides and Speaker Notes Template
Productivity & AutomationWhat you can do
- Semantic theme selection — picks from a curated theme set using six axes (purpose, evidence style, density, tone, surface, focal point) and locks the choice with a hash contract for consistent colors and typography.
- Dual production modes — a fast draft path that ships structure and visuals immediately, and a full-validation path that renders every slide for close review. You can start fast and validate the same deck later.
- Chromium-based visual checks — automated detection of text escaping parent boxes, real rendered contrast ratios, repetitive card walls, identical consecutive layouts, image geometry issues, and unfinished placeholders before sign-off.
- Presentation-ready output — self-contained HTML that opens offline, per-slide speaker notes, keyboard/click/page-jump navigation, and fullscreen support.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalBuild HTML PPT Skill turns a single prompt into a complete HTML presentation with matching speaker notes, then renders every slide in Chromium to verify layout, contrast, and image integrity before you present. It targets AI agents across Codex, Claude Code, and Gemini CLI, offering a fast draft mode for quick turnaround and a full validation mode that inspects each slide in detail. Themes, slide structure, and visuals are chosen from audience, purpose, and evidence rather than a fixed template, so the deck adapts to executives, engineers, or customers alike. Two entry points keep iteration light: draft the story first, then render only the slides that changed.
📋 System Requirements
- Windows 10 or Windows 11
- PowerShell 5.1 or newer (already available on Windows)
- Active network connection
- No admin rights needed
Features
Audience-aware storytelling — orders the narrative around who is in the room (executives, engineers, customers, investors) and adjusts depth accordingly.
- Semantic theme selection — picks from a curated theme set using six axes (purpose, evidence style, density, tone, surface, focal point) and locks the choice with a hash contract for consistent colors and typography.
- Dual production modes — a fast draft path that ships structure and visuals immediately, and a full-validation path that renders every slide for close review. You can start fast and validate the same deck later.
- Chromium-based visual checks — automated detection of text escaping parent boxes, real rendered contrast ratios, repetitive card walls, identical consecutive layouts, image geometry issues, and unfinished placeholders before sign-off.
- Presentation-ready output — self-contained HTML that opens offline, per-slide speaker notes, keyboard/click/page-jump navigation, and fullscreen support.
- Image safety pipeline — crop and distortion detection, low-resolution warnings, source and hash caching, and character/person reference matching.
- Incremental re-rendering — only changed slides and their neighbors are re-rendered, and only the checks relevant to the change type are run.
- Sourced assets — a
sources.jsonrecord keeps image URLs, hashes, and verification dates alongside the deck. - Optional learning guides — generate a readable companion document (Markdown, HTML, PDF) that expands on background, mechanics, and caveats without repeating the slides.
- Optional image generation — uses whatever image tooling is actually available in the current session, falling back gracefully to sourced or user-provided visuals.
Tech Stack
The skill runs as a platform-agnostic agent package with thin adapters for each host.
- Skill core: Markdown instructions plus Python orchestration scripts;
SKILL.mdat the archive root so hosts can load it directly. - Rendering & validation: Node.js and Playwright driving headless Chromium for slide capture, layout assertions, and color-contrast checks.
- Automation scripts: Python entry points for environment checks, full-pass validation, and browser dependency setup; Node scripts for rendering and workspace management.
- Output format: a single self-contained HTML deck with embedded CSS/JS, no build step or bundler required to present it.
- Asset handling:
sources.jsonfor image provenance, hashes, and verification dates; WebP preferred for visuals. - Distribution: packaged per host as an agent skill or plugin, with a sync script keeping the shared core and host copies aligned.
- Testing: deterministic unit tests plus end-to-end runs against real Chromium.
Everything is plain text and standard runtimes — no proprietary toolchain, no lock-in.
Project Structure
The skill ships as a single documented tree so you can read the layout once and know where everything lives.
build-html-ppt/
├── SKILL.md # Skill manifest: trigger, workflow, contracts
├── codex/skills/build-html-slides/
│ ├── scripts/ # Environment check, render, validate entrypoints
│ ├── themes/ # 39 decks: palettes, covers, type pairings
│ └── references/ # Story patterns, density rules, a11y targets
├── plugins/build-html-slides/ # Codex plugin bundle
├──.claude-plugin/ # Claude Code plugin + marketplace metadata
├──.gemini/skills/build-html-slides/ # Gemini CLI Agent Skill
├── agents/ # Independent visual review subagents
├── scripts/ # Sync, validation, release packaging
└── assets/ # Rendered samples and readme art
The shared skill under codex/skills/build-html-slides is the source of truth. Platform copies are generated from it by scripts/sync-distributions.sh, so never edit a .claude or .gemini tree by hand.
Each generated deck keeps only shipping artifacts:
OUTPUT.html # Self-contained presentation (opens offline)
OUTPUT-notes.md # Per-slide speaker notes and transitions
OUTPUT-guide.md # Optional reader guide (+.html /.pdf)
sources.json # Image URLs, hashes, verification dates
assets/ # Images actually referenced by the deck
Working files — Chromium captures, review manifests, draft copy, contact sheets — land in a per-deck workspace, not next to your deliverables:
<workspace-root>/<deck-name>-<path-hash>/
├── review/ # Captures and review manifests
├── drafts/ # Copy and outline iterations
└── tmp/ # Contact sheets and intermediates
Re-running on the same deck reuses the latest review evidence instead of piling up run folders. Override BUILD_HTML_SLIDES_WORKSPACE_ROOT to relocate the workspace.
Scripts are grouped by responsibility:
check_environment.py— verifies Python, Node, Playwright, Chromium; reports gaps before touching anything.install_browser_dependencies.py— installs browser deps only with explicit consent.render_slides.js— renders changed slides plus neighbors;-clean-workspaceprunes.validate_all.py— single entrypoint for Full Validation phases (prepare,verify,finalize-prepare,finalize-verify).
Changes to SKILL.md, themes, or the validation contracts should ship with matching tests under npm run test:unit or npm run test:e2e.
FAQ
어떤 AI 에이전트에서 쓸 수 있나요? Codex, Claude Code, Gemini CLI를 우선 지원합니다. 에이전트가 아니라면 Created HTML 덱을 브라우저에서 직접 열어 편집하는 방식으로도 사용할 수 있습니다.
Quick Draft와 Full Validation 중 뭘 골라야 하나요? 바로 공유할 초안이면 Quick Draft, 외부 발표나 리뷰가 걸린 덱이면 Full Validation을 권장합니다. Quick Draft 산출물도 이후 같은 덱에 Full Validation을 돌려 검증 근거를 붙일 수 있습니다.
렌더링에 Chromium이 꼭 필요한가요? 시각 검증과 PDF 내보내기에는 필요합니다. 없는 환경에서는 자동 검증 없이 HTML과 노트만 만들고, 누락 항목을 먼저 안내한 뒤 설치 동의를 구합니다.
발표자 노트와 상세 해설은 항상 같이 나오나요? 노트는 기본 산출물에 포함됩니다. 상세 해설 가이드는 선택 사항이며 요청했을 때만 HTML·PDF 형태로 함께 생성됩니다.
이미지 생성 도구가 없으면 어떻게 되나요? 공식·사용자 제공·출처가 확인된 이미지와 HTML/CSS/SVG 다이어그램으로 이어서 작업합니다. 생성 도구나 유료 서비스를 임의로 붙이지 않고 먼저 확인합니다.
모바일에서도 제대로 보이나요? 기본 타깃은 데스크톱 발표 환경입니다. 모바일 대응은 별도 요청과 검증이 있을 때만 보장됩니다.
수정할 때 매번 전체를 다시 검증하나요? 아니요. 문구·이미지·슬라이드 전용 CSS는 영향받은 장만, 구조·순서 변경은 앞뒤 장까지 재렌더링합니다. 검증 근거가 필요 없는 일반 수정은 Edit Only로 처리합니다.
작업 중간 파일은 어디에 쌓이나요?
렌더 캡처·검토 매니페스트·초안은 덱별 워크스페이스 폴더에 모입니다. 최종 배포 폴더에는 HTML, 노트, sources.json, 실제 사용 자산만 남습니다.
팀 저장소에 커밋해도 되나요?
가능합니다. 생성된 덱, 브라우저 캡처, 소스 캐시, node_modules는 커밋에서 제외하세요. 검증 계약을 바꾸는 변경은 관련 테스트를 함께 포함해야 합니다.
라이선스는 어떻게 되나요? MIT 라이선스입니다. 상업적 사용과 수정·재배포가 허용되며, 저작권 고지와 허가 문구를 함께 유지하면 됩니다.
License
Released under the MIT License. See the LICENSE file in this repository for the full text.
You may use, copy, modify, merge, publish, distribute, sublicense, and sell copies of this project, provided the copyright notice and permission notice are included in all copies or substantial portions of the software.
The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose, and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages, or other liability arising from, out of, or in connection with the software or its use.
Third-party assets referenced or bundled with example output remain the property of their respective owners and are not covered by this license.
Explore related projects
Loading…

