Slice Mockup HTML — AI skill for Claude Code
Claude skill that slices mockups (PNG, SVG, Figma) into pixel-perfect, responsive HTML.
How to install Slice Mockup HTML
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open dwikydiasl/slice-mockup-html and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Slice Mockup HTML does
Claude skill that slices mockups (PNG, SVG, Figma) into pixel-perfect, responsive HTML. Faithful to the design, no AI slop.
Alternatives in AI
- Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
- Dashboard Icons — 3,400+ curated icons and logos for dashboards and AI agents 8.9k ★
- Open Pencil — AI-native design editor 8k ★
README
slice-mockup-html
A Claude skill that slices a mockup into **pixel-perfect, responsive HTML** that stays faithful to the design: no creative additions, no generic "AI look".
Give it a **PNG, an SVG, or a Figma file (via MCP)**. It asks how you want the output, audits the design before writing any code, then builds semantic, BEM-structured HTML/CSS for desktop, tablet, and mobile.
Status: v1.0.0. . Feedback and examples are welcome.
Why
Generated HTML often looks "close" but drifts from the design: guessed fonts, rounded spacing, invented sections, default purple gradients. This skill treats the mockup as the only source of truth and checks the result against it.
Features
- Two upfront questions: single file (inline CSS/JS plus
assets/) or separatehtml/css/jsfiles; vanilla CSS, Bootstrap (CDN), or Tailwind (CDN). - Audit before coding: fonts, colors, sizes, weights, spacing, radius, shadows, assets. Every value is marked measured or estimated.
- Three input types: Figma via MCP (exact values), SVG (parsed from the XML), PNG (measured with pixel analysis).
- Pixel perfect at the mockup width, responsive for tablet and mobile with minimal derived changes.
- Semantic HTML and BEM (BEM is not used with Tailwind).
- Icons are always SVG, cleaned and size-checked.
- Anti-slop rules: nothing that is not in the mockup, text copied exactly, no stock photos, no inline styles, no unnecessary libraries.
- Interactive components (tabs, accordion, pagination, filter) get working behavior only when the mockup contains the content they need; otherwise they stay static and are reported.
- Verification: renders the result and compares it with the mockup when the environment allows it.
- Short final report: unidentified fonts, estimated values, placeholders, and anything derived.
Install
The skill is the folder [`slice-mockup-html/`](slice-mockup-html). Its folder name matches the `name` in `SKILL.md`, which Cl
Related Skills
Uiux Boost
Pixel-perfect, responsive web implementation skill for Claude Code — anti-AI-slop, Figma-faithful, screenshot-
Codeimage Skill
Images drawn in code — HTML · CSS · SVG plus GPU shaders, real 3D (three.js), textures, device mockups and ske
Claude Code Design AI
Claude Design: AI UI/UX architect. Screenshot to React, Figma components, Tailwind CSS generator. Prototyping
Vex
2D vector game art as code: a DSL that exports SVG/PNG sprites, animations and atlases, with a live viewer. In
Vistaprint Raised Foil Vectorizer
Claude Code skill that rebuilds your own logo, text or PNG artwork as native Vistaprint Studio vector shapes,
Instagram Carousel Skill
Generate pixel-perfect Instagram carousels in your brand — Claude Code skill + Claude.ai version
Related Agents
Flutter Design Iteration Coordinator
Use this agent when coordinating the complete design-to-implementation workflow for Flutter apps, from initial
Figma Fse Converter
Specialized agent for autonomous Figma-to-WordPress FSE theme conversion. Extracts design systems, generates t
Pixel Perfect
Pixel-perfect checker for a squadra team. Compares every screen with its Figma node using figma-check and gui-