From stitch-design
Extract design theme from a Stitch-generated HTML file. Use when user asks to extract Tailwind config, fonts, icons, or design tokens from a generated design.
How this skill is triggered — by the user, by Claude, or both
Slash command
/stitch-design:stitch-themeThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Parse a Stitch-generated HTML file to extract reusable design artifacts: Tailwind CSS configuration, Google Fonts links, and Material Symbols icon names. These can be integrated directly into your project.
Parse a Stitch-generated HTML file to extract reusable design artifacts: Tailwind CSS configuration, Google Fonts links, and Material Symbols icon names. These can be integrated directly into your project.
Determine which design to extract from:
./stitch-design/context-map.md for recent screensnode ${CLAUDE_PLUGIN_ROOT}/scripts/extract-theme.mjs "./stitch-output/<project>/<screenId>/index.html" --output-dir "./stitch-output/themes"
This produces:
tailwind.config.extract.js — Tailwind CSS theme configuration (colors, fonts, spacing)fonts.css — Google Fonts import statementsicons-manifest.json — list of Material Symbols used in the designShow the user what was extracted:
Suggest how to use the extracted theme in their project:
tailwind.config.extract.js values into your existing tailwind.config.js"fonts.css to your HTML head or CSS imports"icons-manifest.json"| File | Contents |
|---|---|
tailwind.config.extract.js | Tailwind theme with colors, fontFamily, extend values |
fonts.css | @import statements for Google Fonts |
icons-manifest.json | Array of Material Symbols icon names used |
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub kyzdes/claude-stitch-design --plugin stitch-design