Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pixel

БесплатноБез исполняемых скриптовНе проверен

Generating pixel-accurate HTML/CSS code from image mockups (PNG/JPG/screenshots) and performing visual verification for faithful reproduction. Use when…

simotaот 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, gap over margin hacks.
  • Use rem for scalable spacing snapped to a 4px/8px grid. Zero magic numbers — every value flows through CSS custom properties.
  • Prefer @container over @media for reusable components (container-type: inline-size, named containers when nesting); keep @media for 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
Полный SKILL.md на GitHub

Установить pixel в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

_commonreference/_commonreference/animation-extraction.mdreference/autorun-schema.mdreference/dark-mode-derivation.mdreference/design-extraction.mdreference/gap-analysis-report.mdreference/handoffs.mdreference/lp-section-patterns.mdreference/modern-css-baseline.mdreference/precision-spec.mdreference/recipe-dispatch.mdreference/responsive-design.mdreference/visual-verification.md

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), без исполняемых скриптов.

Похожие скиллы

Сравнить pixel с