pen-design-generator

Generate Pencil .pen design drafts from UI requirements using DevUI components.

Updated Mar 2, 2026
One-click install
npx skills add https://github.com/iilleagl/Design2Code --skill pen-design-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pen-design-generator
Source: https://github.com/iilleagl/Design2Code/tree/main/.cursor/skills/pen-design-generator
Command: npx skills add https://github.com/iilleagl/Design2Code --skill pen-design-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of Pencil .pen design drafts from UI requirements, leveraging design system guidelines and component libraries to reduce manual design toil.

Core Features & Use Cases

  • Automated Drafting: Generate .pen files from UI specs referencing DevUI components.
  • Component-driven Design: Reuse components from the design system to ensure consistency in layouts and styling.
  • End-to-end Workflow: Supports schema acquisition, component reuse, and text/image substitutions within components.

Quick Start

Create a Pencil design draft from a provided UI specification using the default DevUI component set and design rules.

Frequently Asked Questions about pen-design-generator

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

FAQPage Schema
How do I generate Pencil .pen design drafts from UI requirements?

To generate Pencil .pen design drafts, the Skill takes UI requirements and references the DevUI component library to automatically produce the .pen files. It manages component assets and applies precise text substitutions within components to create actionable visual design outputs.

What is the best way to automate UI design creation using a component library?

The best way to automate UI design creation is using a component-driven approach that references design system guidelines. This Skill reuses DevUI components from the library to ensure layout and styling consistency while reducing manual design toil.

Can I use DevUI components to build dashboards in Pencil?

Yes, you can use DevUI components to build dashboards in Pencil. The Skill applies to any task requiring UI screens or visual design deliverables, allowing you to reuse components from the design system to maintain consistency across your dashboard layouts.

Does the Pencil design generator support custom text and image substitutions inside components?

Yes, the Pencil design generator supports precise text and image substitutions inside components. It handles schema acquisition and component asset management to ensure end-to-end workflow support for producing actionable design outputs.

Do I need to manually configure the Pencil schema to use this automated drafting workflow?

No, you do not need to manually configure the Pencil schema. The automated drafting workflow supports schema acquisition natively, satisfying workflow requirements to acquire the Pencil schema and manage component assets automatically from your UI specs.