generate-html-slide
Skill2 starsChanged 6 months agoMITView on GitHub
Generate HTML slide backgrounds (infographic, comparison, text-slide, mockup) by rendering HTML templates with data via Puppeteer to PNG. Use when background_type is html_slide.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cleanup-projectSkill
- concat-segmentsSkill
- generate-coverSkill
- generate-photoSkill
- generate-videoSkill
- resize-assetSkill
- subtitleSkill
- transcribeSkill
- validate-scriptSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 33
Do NOT call AI APIs for html_slide (W-017)
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Generate HTML Slide Skill
Renders an HTML template with slide data into a 1080x1920 PNG image.
Usage
node .claude/skills/generate-html-slide/generate_slide.js --template "infographic" --data '{"title":"...","items":[...]}' --output "path/to/output.png"Parameters
--template— one of: infographic, comparison, text-slide, mockup--data— JSON string with slide data--output— output PNG path
Requirements
puppeteernpm package (installed in project root)
Templates
- infographic — large numbers, icons, progress bars. Required data:
title,items[](each:icon,value,label, optionalprogress) - comparison — left vs right columns. Required data:
left_title,right_title,left_items[],right_items[] - text-slide — one big statement. Required data:
text, optionalsubtitle,font_size - mockup — dashboard/interface mockup. Required data:
title,columns[],rows[]
Notes
- Output is always 1080x1920 PNG (W-015)
- Templates support Cyrillic via Google Fonts (W-016)
- Do NOT call AI APIs for html_slide (W-017)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

