π¦ ClawHub
Text to PPT
by @rendylong
Convert any text input (research reports, summaries, proposals, plans, etc.) into a beautiful HTML-based presentation. Use when the user asks to create a PPT...
TERMINAL
clawhub install text-to-pptπ About This Skill
name: text-to-ppt description: Convert any text input (research reports, summaries, proposals, plans, etc.) into a beautiful HTML-based presentation. Use when the user asks to create a PPT, slides, presentation, deck, or convert text/documents into slides. Also triggers on phrases like "εζPPT", "ηζεΉ»η―η", "εδΈͺζΌη€Ίζη¨Ώ", "转ζslides", "create presentation", "make slides", "text to presentation". Supports data visualization with Chart.js, Font Awesome icons, and modern design themes.
Text-to-PPT β ζζ¬θ½¬ HTML ζΌη€Ίζη¨Ώ
Convert any text input into a visually stunning, single-file HTML presentation.
CRITICAL: Two-Phase Generation
ALWAYS use the two-phase approach. NEVER generate the full HTML in one shot.
Phase 1: Plan (fast, single call)
Read the input text, then produce a slide-by-slide outline in JSON format:
{
"title": "Presentation Title",
"language": "zh-CN",
"density": "detailed",
"theme": "dark",
"slides": [
{
"number": 1,
"type": "title",
"heading": "Main Title",
"content": "Subtitle or tagline",
"layout": "centered",
"notes": "Visual: large title with accent underline"
},
{
"number": 2,
"type": "content",
"heading": "Section Title",
"points": ["Point 1", "Point 2", "Point 3"],
"layout": "bullets",
"hasData": false,
"notes": "Use numbered badges for each point"
},
{
"number": 3,
"type": "chart",
"heading": "Key Metrics",
"chartType": "bar",
"chartData": {
"labels": ["A", "B", "C"],
"datasets": [{"label": "Sales", "data": [100, 200, 150]}]
},
"points": ["Insight 1", "Insight 2"],
"layout": "split",
"hasData": true,
"notes": "Left: chart, Right: insights as stat cards"
}
]
}
Rules for Phase 1:
hasData: true and provide chartType + chartDatacentered, bullets, split, grid, timeline, cards, fullchart, quotePhase 2: Generate (parallel, page-by-page)
Read references/design-system.md β this is where the full design spec lives.
Then generate HTML for each slide independently. Each slide is a self-contained