html-ppt-course-module
html-ppt-course-module
Description
Online-course / workshop module deck — warm paper background + Playfair serif, persistent left sidebar of learning objectives, MCQ self-check page. Use for teaching modules, training materials, workshop slides.
Triggers
- course module
- course slides
- workshop
- training deck
- lesson
- 教学
- 课件
SKILL.md
HTML PPT · Course Module
A focused entry point into the html-ppt master skill that lands the user directly on the course-module full-deck template.
When this card is picked
The Examples gallery wires "Use this prompt" to the example_prompt above. When you accept that prompt, this card is the right pick if the user wants exactly the visual identity of course-module (see the upstream full-decks catalog for screenshots and rationale).
How to author the deck
- Read the master skill first. All authoring rules live in
skills/html-ppt/SKILL.md— content/audience checklist, token rules, layout reuse, presenter mode, the keyboard runtime, and the "never put presenter-only text on the slide" rule. - Start from the matching template folder:
skills/html-ppt/templates/full-decks/course-module/— copyindex.htmlandstyle.cssinto the project, keep the.tpl-course-modulebody class. - Bring the shared runtime with the template. The upstream
index.htmllinks the shared CSS/JS via../../../assets/...because it sits three folders deep insideskills/html-ppt/templates/full-decks/. Once you copyindex.htmlinto the project, those parent-relative URLs no longer resolve andbase.css,animations.css, andruntime.jswill 404 — meaning the deck never activates and slide navigation is dead. Pick one of these two recipes per project:- Recipe A — copy + rewrite (preferred): copy
skills/html-ppt/assets/fonts.css,skills/html-ppt/assets/base.css,skills/html-ppt/assets/animations/animations.css, andskills/html-ppt/assets/runtime.jsinto a project-localassets/(withassets/animations/animations.css), then rewrite the four<link>/<script>tags inindex.htmlfrom../../../assets/...to the matching project-local paths (assets/fonts.css,assets/base.css,assets/animations/animations.css,assets/runtime.js). - Recipe B — inline: read the same four files and replace each
<link rel="stylesheet" href="../../../assets/...">with a<style>...</style>containing the file's contents, and the<script src="../../../assets/runtime.js">with a<script>...</script>containingruntime.js. Yields a single self-containedindex.html. Either way, do not ship the upstream../../../assets/...URLs verbatim into a project artifact — they only work in-tree.
- Recipe A — copy + rewrite (preferred): copy
- Pick a theme. Default tokens look fine; if the user wants a different
feel, swap in any of the 36 themes from
skills/html-ppt/assets/themes/*.cssvia<link id="theme-link">and letTcycle. - Replace demo content, not classes. The
.tpl-course-modulescoped CSS only recognises the structural classes shipped in the template — keep them. - Speaker notes go inside
<aside class="notes">or<div class="notes">— never as visible text on the slide.
Attribution
Visual system, layouts, themes and the runtime keyboard model come from
the upstream MIT-licensed lewislulu/html-ppt-skill. The
LICENSE file ships at skills/html-ppt/LICENSE; please keep it in place when
redistributing.