deck-creator
Create, update, and translate Dify X Reveal.js slide decks in this repo. Use when asked to draft slides, extract outlines, or maintain bilingual CN/EN parity for the ctrip/paypal/pupu/milvus/aispeech/dentsply/oceanbase/legalai decks, including deck HTML (index.html/index_en.html) and legal workflow YAMLs.
When & Why to Use This Skill
This Claude skill automates the creation, updating, and translation of professional Reveal.js slide decks. It streamlines the presentation workflow by generating structured outlines, integrating AntV infographic charts, and maintaining perfect parity between English and Chinese versions, ensuring brand consistency with Dify-specific styling and automated speaker notes generation.
Use Cases
- Bilingual Presentation Drafting: Automatically generating and maintaining synchronized English and Chinese slide decks for international product demos or corporate meetings.
- Data-Driven Slide Creation: Seamlessly integrating complex AntV Infographic charts into Reveal.js presentations with automated rendering logic and layout management.
- Technical Content Conversion: Transforming technical outlines, legal workflow YAMLs, or existing deck structures into interactive, web-based presentations with standardized branding and QR code integration.
| name | deck-creator |
|---|---|
| description | Create, update, and translate Dify X Reveal.js slide decks in this repo. Use when asked to draft slides, extract outlines, or maintain bilingual CN/EN parity for the ctrip/paypal/pupu/milvus/aispeech/dentsply/oceanbase/legalai decks, including deck HTML (index.html/index_en.html) and legal workflow YAMLs. |
Deck Creator
Overview
Use existing decks as the source of truth to create outlines, edits, or translations. Keep CN and EN versions aligned while preserving deck-specific structure and styling.
Workflow
- Identify the topic and target audience based on the user's request.
- Identify the theme of the deck based on the user's request.
- Use reveal.js to create a new deck.
- Use the following structure:
- Title
- Introduction
- Content
- Conclusion
- Q&A
- References
- Contact
- Enrich the deck with the topic and content from the user's request.
- For the content, use vertical stack to present the content.
- Use $infographic-syntax-creator when embedding AntV Infographic charts (see Infographic Integration).
- Add support for speaker notes, and add speaker notes for each slide.
- Add xiaohongshu and bilibili qr code to the contact slide.
Output Expectations
- Deliver CN and EN versions as separate outputs when generating new content.
- Keep slide order, numbering, and vertical stack structure aligned across languages.
- Call out any ambiguous translations or terminology conflicts.
Infographic Integration (AntV Infographic + Reveal.js)
- Load
@antv/infographicvia script tag and use a fixed-height container (vhor min-height) so the chart can measure. - Insert a container with
data-infographic="key"and render from a JS map that uses the exact same key. - Render only after the slide is visible and sized (hook
Reveal.on('ready')andReveal.on('slidechanged'); re-render on resize). - Clear the container before re-rendering to avoid stacked canvases.
- If a chart is missing, first check key mismatches or zero-size containers.
Brand & Assets
- Brand: use Dify Blue
#0033ff; logo inassets/logo.svg. - Fonts: prefer Söhne / Söhne Mono; fallbacks Inter, JetBrains Mono, Mi Sans / Noto Sans SC / Noto Sans Mono SC.
- Assets:
assets/containslogo.svg,bilibili.png,xiaohongshu.pngfor brand and contact slides.