
Pencil Design
A disciplined approach to Pencil design workflows that enforces the habits most AI agents skip. It mandates design system reuse, variable usage over hardcoded values, overflow prevention, and visual verification after every section. The critical rules target common mistakes: recreating components that already exist, hardcoding colors instead of using tokens, letting text overflow on mobile, and skipping screenshot verification. When generating code from Pencil designs, it maps directly to Tailwind v4 semantic classes and requires loading the frontend-design skill for aesthetic direction. If you're working with .pen files or building design-to-code pipelines, this keeps both the designs and generated code maintainable instead of producing throwaway prototypes.
- skills.sh installs
- 1.8K
- GitHub stars
- 19
- last updated
- Jul 14, 2026
Install
$ npx -y skills add chiroro-jr/pencil-design-skill --skill pencil-design --agent claude-codeInstalls into .claude/skills of the current project.
Files
Pencil Design Skill
Design production-quality UIs in Pencil and generate clean, maintainable code from them. This skill enforces best practices for design system reuse, variable usage, layout correctness, visual verification, and design-to-code workflows.
When to Use This Skill
- Designing screens, pages, or components in a
.penfile - Generating code (React, Next.js, Vue, Svelte, HTML/CSS) from Pencil designs
- Building or extending a design system in Pencil
- Syncing design tokens between Pencil and code (Tailwind v4
@theme, shadcn/ui tokens) - Importing existing code into Pencil designs
- Working with any Pencil MCP tools (
pencil_batch_design,pencil_batch_get, etc.)
Critical Rules
These rules address the most common agent mistakes. Violating them produces designs that are inconsistent, hard to maintain, and generate poor code.
Rule 1: Always Reuse Design System Components
NEVER recreate a component from scratch when one already exists in the design file.
Sponsors
Details
- Repository
- github.com/chiroro-jr/pencil-design-skill
- Category
- Design & UI/UX