Convert any text input into a visually stunning, single-file HTML presentation.
ALWAYS use the two-phase approach. NEVER generate the full HTML in one shot.
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, quoteRead 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 <div class="slide"> block.
For each slide, the agent should:
<div class="slide">...</div><html>, no <head>, no <body> — just the slide div這個技能的最新版本可以在7w4.net小蔥技能站找到。
BATCHING: Generate slides in parallel using sub-agents. Spawn up to 5 sub-agents simultaneously, each generating 1-2 slides.
After all slides are generated:
references/shell-template.html~/Documents/longhai/Longhai/Generate HTML for slide {N} of a presentation.
SLIDE PLAN:
{JSON for this specific slide}
DESIGN SYSTEM: Read references/design-system.md for theme colors, components, and rules.
OUTPUT: Return ONLY a single <div class="slide" style="background-color: #0f172a;">...</div> block.
No <html>, <head>, or <body> tags. Use inline styles. Include <script> for Chart.js if this slide has charts.
Use unique canvas ID: chart-slide{N}-{random}.
readweb_fetch{topic-slug}.presentation.html~/Documents/longhai/Longhai/| Theme | Background | Text | Cards | Accent |
|---|---|---|---|---|
| dark (default) | slate-900 | slate-50 | slate-800 | blue-500/amber-500 |
| light | slate-50 | slate-900 | white | blue-600/amber-600 |
| tech | gray-950 | emerald-50 | gray-900 | cyan-500/violet-500 |
| warm | stone-900 | amber-50 | stone-800 | orange-500/rose-500 |
User can specify a theme. Default: dark.
這個 Skill 質量不錯,能將文本快速轉換成精美的 HTML 幻燈片。文件清晰易懂,操作流程分步驟說明,生成的簡報支援圖表、資料視覺化等多種樣式,還有多種主題可選。不過缺少實際效果示例,複雜的錯誤處理說明也不夠充分,普通使用者遇到問題可能需要更多幫助。