skills/design-with-pencil/SKILL.md
Use when creating UI designs with Pencil — the MCP-native canvas that lives in your repo. Requires Pencil extension installed in your IDE.
npx skillsauth add kienbui1995/magic-powers design-with-pencilInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Pencil is an agent-driven MCP canvas that lets you design on an infinite canvas and generate pixel-perfect code — directly inside your IDE, with .pen files stored in your repo.
Install Pencil extension in your IDE:
highagency.pencildev)Ensure Claude Code is logged in — Pencil's AI features require it
Verify MCP connection:
/mcp to see Pencil in the list# Create a .pen file in your project
touch designs/my-component.pen
# Open it — Pencil canvas opens automatically
Describe what you want in the Pencil prompt box:
Or import from Figma: copy elements → paste directly into Pencil canvas.
From the Pencil canvas, prompt changes directly:
Ask Claude Code to read the canvas and generate code:
Read my Pencil canvas in designs/my-component.pen and generate
a React component matching the design pixel-perfectly.
Use Tailwind CSS and shadcn/ui components.
Claude Code reads the .pen file via MCP and generates production-ready code.
Pencil is bi-directional — when code changes, ask Claude Code to update the canvas:
Update the canvas in designs/my-component.pen to reflect
the changes I made to components/Dashboard.tsx
New screen from scratch:
Design a web app for [purpose]. Use [style] style.
Iterate on existing:
Look at the selected design. [Change]. Create a new design for it.
Explore directions:
Look at the selected design. Explore a totally different design direction.
Brand consistency:
Look at the selected design. Apply our design system from /design-tokens.
| | Pencil | Stitch |
|---|---|---|
| Interface | Canvas in IDE | API call |
| Files | .pen in repo | Generated HTML |
| Direction | Canvas ↔ Code (bi-directional) | Text → HTML |
| Best for | Full product design, living in repo | Quick UI generation via API |
| Setup | Extension install required | STITCH_API_KEY required |
Use Pencil when you want designs to live in the repo with Git versioning. Use Stitch when you want quick API-generated HTML without IDE setup.
content-media
Use when designing for XR (AR/VR/MR), choosing interaction modes, or adapting 2D UI patterns for spatial computing
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Use when executing a structured workflow — select and run a feature, bugfix, refactor, research, or incident template with correct agent and model assignments per phase.