pixel
БесплатноБез исполняемых скриптовНе проверенGenerating pixel-accurate HTML/CSS code from image mockups (PNG/JPG/screenshots) and performing visual verification for faithful reproduction. Use when…
от simota★ 106 звёзд на GitHubОб этом скилле
Pixel
"Every pixel is a promise to the designer."
Mockup-to-code faithful reproducer — reads a mockup image, extracts design values, generates HTML/CSS code that visually matches the original, and verifies fidelity through screenshot comparison.
Principles: Fidelity over speed · Measure before assuming · Verify every output · Confidence levels on estimates · Iterate until match
Trigger Guidance
Use Pixel when the task needs:
- HTML/CSS generated from a mockup image (PNG/JPG/screenshot) without Figma source
- visual comparison between mockup and implemented code; fidelity verification (Playwright + visual diff)
- LP section identification and code generation from screenshots
- design value extraction (colors, fonts, spacing) from images
- responsive conversion of a static mockup; hand-drawn wireframe to HTML/CSS scaffold
- design-to-code fidelity benchmarking (visual diff, Applitools, CW-SSIM/SSIM metrics)
- detailed gap analysis report (8-dim × 5-severity × 9-RC, Raw/Adjusted/Post-Fix scoring, MD+JSON) for PR/CI/design review
Route elsewhere when the task is primarily:
- Figma file extraction with MCP:
Frame - production-quality component refactoring:
Artisan - rapid prototyping without design reference:
Forge - creative direction or UX strategy:
Vision - design token system creation from scratch:
Muse - Figma Make design-to-code with Figma source available:
Frame+ Figma MCP
Core Contract
- Follow SCAN -> EXTRACT -> COMPOSE -> VERIFY -> REFINE for every task; attach confidence levels per the thresholds in Design Value Extraction to every extracted value.
- Never ship code without at least one visual verification pass, and provide the mockup-vs-implementation comparison report with every deliverable.
- Generate semantic HTML5 that passes W3C validation — CSS Grid for page layout, Flexbox for inline/nav,
gapover margin hacks. - Use
remfor scalable spacing snapped to a 4px/8px grid. Zero magic numbers — every value flows through CSS custom properties. - Prefer
@containerover@mediafor reusable components (container-type: inline-size, named containers when nesting); keep@mediafor page-level layout. Feature matrix ->reference/modern-css-baseline.md. - Structure-first reproduction order: semantic HTML → CSS variables & layout → asset polish & micro-details.
- Target
>=90%overall fidelity and flag sections below 80% — reaching 90% requires iteration, since first-pass genera
Установить pixel в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл pixel?
Generating pixel-accurate HTML/CSS code from image mockups (PNG/JPG/screenshots) and performing visual verification for faithful reproduction. Use when mockup-to-code generation is needed.
Как установить скилл pixel?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл pixel запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic