/designer-skill:raster-logo-svgfrom Designer Skill
Wraps a raster logo (PNG, JPG, WebP) into a pixel-identical, self-contained SVG via base64 embedding. Useful when an SVG is required but no vector source exists.
Ships in Designer Skill. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Create an SVG wrapper around an existing raster logo so the output is pixel-identical to the source. This is not true vectorization.
| Need | Do |
|---|---|
| Match an existing raster logo exactly | Embed (this skill) |
| Crisp at any size, editable paths | Export from Figma/Illustrator, or commission true vector |
| Quick monochrome outline | Potrace (usually wrong for brand logos with color/gold/type) |
| Hand-redrawn paths | Only if no raster exists and user accepts approximation |
Default to embed when a .webp, .png, or .jpg logo already exists and the user wants .svg.
docs/logo.webp). Do not delete it.scripts/embed-logo.py, relative to this SKILL.md; resolve it from wherever the skill is installed):python3 <skill-dir>/scripts/embed-logo.py docs/logo.webp -o docs/logo.svg -l "project-name"
The script refuses to overwrite an existing output; pass --force to regenerate one.
Requires ImageMagick (magick identify) for dimensions. Install: brew install imagemagick.
<img src="docs/logo.webp" alt="project-name" width="580" />
Use the SVG for plugin manifests, favicons, npm package icons, or anywhere a .svg path is required.
icon-traced.svg, potrace output, failed hand-drawn attempts).The script produces:
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 W H" role="img" aria-label="…">
<image width="W" height="H" href="data:image/webp;base64,…"/>
</svg>
viewBox matches source pixel dimensions from magick identify.image/webp, image/png, or image/jpeg from file extension.href="logo.webp" (breaks when SVG is copied alone).Only for local tooling that resolves sibling files (not GitHub README <img src="logo.svg">):
<image href="logo.webp" width="1163" height="350"/>
Prefer base64 embed for portable .svg files.
python3 skills/raster-logo-svg/scripts/embed-logo.py \
docs/designer-skill-mcp-logo.webp \
-o docs/designer-skill-mcp-logo.svg \
-l "designer-skill-mcp" --force # run from this repo's root; the output already exists
README uses designer-skill-mcp-logo.webp; plugin/icon paths can use the .svg.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub pymodel/designer-skill --plugin designer-skill3 skills in this plugin
/designer-skillUI craft: build, redesign, or visually review an interface and its design system. Not for backend or other non-visual work./ux-designerUX principles for planning or auditing an interface: accessibility (WCAG, EAA), information architecture, microcopy, i18n/RTL, and AI or voice UX.Other plugins' skills for the same job