Agent instructions for HTML → PPTX conversion via @deckflow/html2deck.
Lives in the public repo (deckflow/html2deck) so coding agents and downstream projects can install it without the private package tree.
skill/
├── README.md ← you are here
├── html2deck/ ← Cursor Agent Skill (primary)
│ ├── SKILL.md
│ ├── examples.md
│ ├── templates/
│ │ └── basic-deck.html ← full starter deck (copy & edit)
│ └── references/
│ ├── cli.md
│ ├── html-authoring.md
│ ├── animations.md
│ ├── slide-transitions.md
│ ├── output-contract.md
│ └── troubleshooting.md
└── agent-prompts/ ← drop-in prompt snippets for other agents
├── convert-html-to-pptx.md
└── review-conversion.md
Project skill (this public repo as the workspace):
mkdir -p .cursor/skills
ln -sfn ../../skill/html2deck .cursor/skills/html2deckOr copy skill/html2deck to .cursor/skills/html2deck.
Personal skill (all projects):
git clone https://github.com/deckflow/html2deck.git
mkdir -p ~/.cursor/skills
ln -sfn "$(pwd)/html2deck/skill/html2deck" ~/.cursor/skills/html2deckAfter install, agents should auto-discover the skill when the user asks for HTML→PPTX / html2deck conversion. You can also say: “用 html2deck skill 把这个 HTML 转成 PPTX”.
Private package checkout (nested public/):
mkdir -p .cursor/skills
ln -sfn ../../public/skill/html2deck .cursor/skills/html2deck- Prefer
--mode free --json - Author slides as
.slide-containerat 1280×720 (or declare size / pass matching--width) - Fix HTML and re-convert when fidelity is wrong
- Use cloud only for PNG or
--rebuild-*/--embed-fonts/--map-motion