image2pencil

Recreate UI screenshots as editable Pencil .pen files with design documentation.

14|4|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/SpaceZephyr/allSkills --skill image2pencil-spacezephyr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: image2pencil
Source: https://github.com/SpaceZephyr/allSkills/tree/main/pm-image2pencil
Command: npx skills add https://github.com/SpaceZephyr/allSkills --skill image2pencil-spacezephyr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Manually recreating UI designs from screenshots or design drafts is time-consuming and often leads to inconsistencies between the design file and accompanying documentation. This Skill eliminates that friction by automating the entire process of generating editable Pencil .pen design files and structured design docs in one workflow.

Core Features & Use Cases

  • High-Fidelity Design Replication: Recreate screenshots or design drafts as precise Pencil .pen files with support for pixel-level alignment, flex layouts, and interactive state replication.
  • Auto-Generated Design Documentation: Produce a structured design doc placed alongside the design on the same canvas, covering layout structure, component specs, interaction rules, and visual guidelines for easy stakeholder review.
  • Flexible Workflow Support: Works for creating new pages from scratch, modifying existing .pen files, integrating multiple screenshots into a cohesive design system, and iterating on designs with built-in screenshot validation.
  • Use Case Example: If you receive a product screenshot of a new user dashboard from the engineering team, use this Skill to recreate the exact UI in Pencil and generate a complete design doc with all required specs for development handoff.

Quick Start

Provide a screenshot of the page you want to recreate along with your desired fidelity level, and the skill will generate the matching Pencil .pen file and accompanying design documentation for you.

Frequently Asked Questions about image2pencil

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a screenshot into an editable Pencil design file?

To convert a screenshot into an editable Pencil design file, provide the image and desired fidelity level to automate high-fidelity UI replication. The process generates a matching .pen file using pixel-level alignment and flex layouts to ensure the output matches the reference input.

Can I generate design documentation automatically from a UI mockup?

Yes, you can generate design documentation automatically from a UI mockup. The workflow produces a structured design doc placed alongside the design on the same canvas, covering layout structure, component specs, interaction rules, and visual guidelines for stakeholder review and development handoff.

Does Pencil MCP support modifying existing .pen files with new screenshots?

Pencil MCP supports modifying existing .pen files by integrating new screenshots into your current design workflow. It performs screenshot validation and layout consistency checks to ensure the updated elements match the new reference inputs while maintaining overall design coherence.

What is the best way to replicate pixel perfect UI designs from multiple screenshots?

The best way to replicate pixel perfect UI designs from multiple screenshots is using an automated design generation workflow that integrates multiple images into a cohesive design system. This ensures consistent layout structure, interactive state replication, and precise visual alignment across all recreated pages.

Do I need the Pencil MCP tool suite to recreate user interface designs from drafts?

Yes, you need the Pencil MCP tool suite to recreate user interface designs from drafts. The suite is required for executing design generation, performing screenshot validation, and running layout consistency checks to ensure the editable .pen file output achieves high-fidelity alignment with the original reference.

Why does my automated design replication lack layout consistency with the original screenshot?

Automated design replication lacks layout consistency when screenshot validation and flex layout configurations are not properly applied during generation. The workflow requires pixel-level alignment checks using the Pencil MCP tool suite to ensure the recreated .pen file strictly matches the visual guidelines of the original design draft.