Loading...
Loading...
Design and manipulate Pencil (.pen) files using MCP tools. Use this skill when (1) creating UI screens, dashboards, or layouts in .pen format, (2) reading or modifying existing .pen designs, (3) working with design system components, (4) generating code from .pen files, or (5) understanding PEN file structure, tokens, or schema.
npx skill4agent add altshiftstudio/skills pen-design.penget_editor_state → Check active file and selection
get_guidelines → Load topic-specific rules (landing-page, design-system, table, code, tailwind)
batch_get → Read file structure or find componentsget_style_guide_tags → Browse available visual styles
get_style_guide → Load style guide for inspiration
open_document → Create new file if neededbatch_design → Insert, update, copy, replace, move, delete nodes (max 25 ops/call)
get_screenshot → Verify visual output after changes
snapshot_layout → Debug layout issues or find clipping problemsget_variables → Read design tokens and themes
set_variables → Update tokens for consistent styling
replace_all_matching_properties → Bulk property updates| Type | Purpose | Key Properties |
|---|---|---|
| Container/layout | |
| Typography | |
| Shape | |
| Component instance | |
| Icon | |
| Vector | |
| Property | Values |
|---|---|
| |
| |
| |
| |
| |
$--| Category | Examples |
|---|---|
| Colors | |
| Semantic | |
| Typography | |
| Radii | |
| Op | Syntax | Use |
|---|---|---|
| I | | Insert node |
| U | | Update properties |
| C | | Copy node |
| R | | Replace node |
| M | | Move node |
| D | | Delete node |
| G | | Apply image fill |
// Insert instance and override text
card=I(container, {type: "ref", ref: "CardComp"})
U(card+"/titleText", {content: "New Title"})
// Replace slot content
newContent=R(card+"/slot", {type: "text", content: "Custom"})idname=...descendantsget_screenshot| File | When to Read |
|---|---|
| mcp-operations.md | Detailed operation syntax, examples, and edge cases |
| patterns.md | Element creation examples, styling patterns, theming |
| schema.json | Authoritative property definitions for validation |