Style2deck — Design skill for Claude Code
Turn any reference PPT into a reusable style template: extract design tokens (palette/typography/layout), codify placeholder-only skeletons, generate matching decks with visual verification.
How to install Style2deck
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open rat412/style2deck and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Style2deck does
Turn any reference PPT into a reusable style template: extract design tokens (palette/typography/layout), codify placeholder-only skeletons, generate matching decks with visual verification. Stdlib-only scripts, agent-agnostic (Claude Code/Codex/etc).
Alternatives in Design
- Grade — Generate a shareable HTML "Design Report Card" — letter grade, 8 dimensions, evidence (palette, type, rhythm) 3.6k ★
- Skill Deck — Generate slide deck presentations from briefs — use when you need slides, pitch decks, or visual summaries 2.8k ★
- Design Dna — Turn reference UIs (images, screenshots, URLs) into quantified Design DNA JSON—tokens, qualitative style, visu 624 ★
README
style2deck — Turn Any Deck into a Reusable Style Template
**把任意参考 PPT 反向工程成可复用的风格模板,再生成同风格的新 PPT。** Reverse-engineer any reference `.pptx` into design tokens (palette, typography, layout coordinates), package them as a placeholder-only template, then generate new decks that visually match — with a screenshot-verification loop before declaring done.
Keywords: PPT template extraction, deck style clone, design tokens from pptx, PowerPoint reverse engineering, presentation style guide, Agent Skill, Claude Code, Codex, slidep. 关键词:PPT 风格提取、PPT 模板复刻、参考 PPT 做新 PPT、设计规范提取。
Why
Everyone has "that deck" — the one with the perfect corporate style — and no easy way to reuse it. Asking an AI to "make a new PPT in the same style" without structure produces mush: invented colors, drifting layouts, no verification. **style2deck** turns that vague request into a disciplined three-phase pipeline with hard gates, inspired by the "process over prompt" philosophy:
- EXTRACT — scripts pull facts (colors, fonts, coordinates) out of the deck's XML; screenshots fill in what XML can't show.
- CODIFY — facts become a standalone template skill: placeholder-only page skeletons + design-token contract + trademark-clean assets.
- GENERATE — new content is filled in mechanically, then every page is rendered and compared against the reference before it's allowed to be called done.
Repository layout
style2deck/
├── SKILL.md # entry point: phase routing + rules
├── workflows/
│ ├── extract.md # phase 1 checklist + gate
│ ├── codify.md # phase 2 checklist + gate
│ └── generate.md # phase 3 checklist + gate
├── scripts/ # stdlib-only Python, zero dependencies
│ ├── extract_theme.py # theme colors/fonts + frequency stats
│ └── map_layout.py # per-slide shape layout map
├── templates/
│ ├── DESIGN.md.tmpl # design-token document skeleton
│ ├──
Related Skills
UX Image To Code
Take a design reference image (PNG/JPG/WebP), extract its dominant palette + canvas polarity + type signal via
Extract Reference
Extract design principles from a reference URL into reusable constraints
Figma CLI
Read Figma via REST/PAT; edit approved canvas scopes via MCP. Reconstruct user screenshots into editable nodes
Prznt Deck
Build fully editable PowerPoint decks in the Prznt Perfect design system. Turns content or a topic into a stru
Temperage
A Claude Code and Codex plugin whose webflow-template skill turns a design into an unpublished Webflow draft p
Swiss Slide
Turn work updates into polished HTML report decks. IBM Carbon + Swiss style, single-file, zero dependencies —
Related Agents
Design System Author
Authors the design token system. Reads palette.json and typography.json, writes canonical tokens.json (W3C DTC
Site Cloner
Extract a complete design specification from a live website URL — design tokens, typography, class-annotated s
Ds Tokens
Use ONLY to extract design tokens (colors, spacing, radius, typography) from the Figma file's LOCAL variable c