MR
Mayur Rathi
@github
⭐ 34.1k GitHub stars

Penpot-Uiux-Design

Penpot-Uiux-Design是一款design方向的AI技能,核心价值是Comprehensive guide for creating professional UI/UX designs in Penpot using MCP tools,可用于解决开发者在design领域的实际问题,帮助用户提升效率、自动化重复任务或优化工作流。

Comprehensive guide for creating professional UI/UX designs in Penpot using MCP tools. Use this skill when: (1) Creating new UI/UX designs for web, mobile, or desktop applications, (2) Building design

Last verified on: 2026-05-30
mkdir -p ./skills/penpot-uiux-design && curl -sfL https://raw.githubusercontent.com/github/awesome-copilot/main/skills/penpot-uiux-design/SKILL.md -o ./skills/penpot-uiux-design/SKILL.md

Run in terminal / PowerShell. Requires curl (Unix) or PowerShell 5+ (Windows).

Skill Content

# Penpot UI/UX Design Guide


Create professional, user-centered designs in Penpot using the `penpot/penpot-mcp` MCP server and proven UI/UX principles.


Available MCP Tools


| Tool | Purpose |

| ---- | ------- |

| `mcp__penpot__execute_code` | Run JavaScript in Penpot plugin context to create/modify designs |

| `mcp__penpot__export_shape` | Export shapes as PNG/SVG for visual inspection |

| `mcp__penpot__import_image` | Import images (icons, photos, logos) into designs |

| `mcp__penpot__penpot_api_info` | Retrieve Penpot API documentation |


MCP Server Setup


The Penpot MCP tools require the `penpot/penpot-mcp` server running locally. For detailed installation and troubleshooting, see [setup-troubleshooting.md](references/setup-troubleshooting.md).


Before Setup: Check If Already Running


**Always check if the MCP server is already available before attempting setup:**


1. **Try calling a tool first**: Attempt `mcp__penpot__penpot_api_info` - if it succeeds, the server is running and connected. No setup needed.


2. **If the tool fails**, ask the user:

> "The Penpot MCP server doesn't appear to be connected. Is the server already installed and running? If so, I can help troubleshoot. If not, I can guide you through the setup."


3. **Only proceed with setup instructions if the user confirms the server is not installed.**


Quick Start (Only If Not Installed)


bash
# Clone and install
git clone https://github.com/penpot/penpot-mcp.git
cd penpot-mcp
npm install

# Build and start servers
npm run bootstrap

Then in Penpot:

1. Open a design file

2. Go to **Plugins** → **Load plugin from URL**

3. Enter: `http://localhost:4400/manifest.json`

4. Click **"Connect to MCP server"** in the plugin UI


VS Code Configuration


Add to `settings.json`:

json
{
  "mcp": {
    "servers": {
      "penpot": {
        "url": "http://localhost:4401/sse"
      }
    }
  }
}

Troubleshooting (If Server Is Installed But Not Working)


| Issue | Solution |

| ----- | -------- |

| Plugin won't connect | Check servers are running (`npm run start:all` in penpot-mcp dir) |

| Browser blocks localhost | Allow local network access prompt, or disable Brave Shield, or try Firefox |

| Tools not appearing in client | Restart VS Code/Claude completely after config changes |

| Tool execution fails/times out | Ensure Penpot plugin UI is open and shows "Connected" |

| "WebSocket connection failed" | Check firewall allows ports 4400, 4401, 4402 |


Quick Reference


| Task | Reference File |

| ---- | -------------- |

| MCP server installation & troubleshooting | [setup-troubleshooting.md](references/setup-troubleshooting.md) |

| Component specs (buttons, forms, nav) | [component-patterns.md](references/component-patterns.md) |

| Accessibility (contrast, touch targets) | [accessibility.md](references/accessibility.md) |

| Screen sizes & platform specs | [platform-guidelines.md](references/platform-guidelines.md) |


Core Design Principles


The Golden Rules


1. **Clarity over cleverness**: Every element must have a purpose

2. **Consistency builds trust**: Reuse patterns, colors, and components

3. **User goals first**: Design for tasks, not features

4. **Accessibility is not optional**: Design for everyone

5. **Test with real users**: Validate assumptions early


Visual Hierarchy (Priority Order)


1. **Size**: Larger = more important

2. **Color/Contrast**: High contrast draws attention

3. **Position**: Top-left (LTR) gets seen first

4. **Whitespace**: Isolation emphasizes importance

5. **Typography weight**: Bold stands out


Design Workflow


1. **Check for design system first**: Ask user if they have existing tokens/specs, or discover from current Penpot file

2. **Understand the page**: Call `mcp__penpot__execute_code` with `penpotUtils.shapeStructure()` to see hierarchy

3. **Find elements**: Use `penpotUtils.findShapes()` to locate elements by type or name

4. **Create/modify**: Use `penpot.createBoard()`, `penpot.createRectang

🎯 Best For

  • UI designers
  • Product designers
  • UX researchers
  • Product managers
  • Claude users

💡 Use Cases

  • Generating component mockups
  • Creating design system tokens
  • Mapping user journeys
  • Identifying friction points

📖 How to Use This Skill

  1. 1

    Install the Skill

    Copy the install command from the Terminal tab and run it. The SKILL.md file downloads to your local skills directory.

  2. 2

    Load into Your AI Assistant

    Open Claude or GitHub Copilot and reference the skill. Paste the SKILL.md content or use the system prompt tab.

  3. 3

    Apply Penpot-Uiux-Design to Your Work

    Provide context for your task — paste source material, describe your audience, or share existing work to guide the AI.

  4. 4

    Review and Refine

    Edit the AI output for accuracy, tone, and completeness. Add human insight where the AI lacks context.

❓ Frequently Asked Questions

Does this work with Figma?

Some design skills integrate with Figma plugins. Check the Works With section for supported tools.

Can this analyze user behavior data?

UX research skills work best when you provide session recordings, heatmaps, and analytics data.

Does Penpot-Uiux-Design generate production-ready design specs?

It generates detailed specifications that developers can use directly. Review and adjust for your specific design system.

How do I install Penpot-Uiux-Design?

Copy the install command from the Terminal tab and run it. The skill downloads to ./skills/penpot-uiux-design/SKILL.md, ready to use.

Can I customize this skill for my team?

Absolutely. Edit the SKILL.md file to add team-specific instructions, examples, or workflows.

⚠️ Common Mistakes to Avoid

Skipping usability testing

AI-generated designs should be validated with real users before development.

Over-relying on AI insights

UX decisions should combine AI analysis with direct user feedback and research.

Not reading the full skill

Skills contain important context and edge cases beyond the quick start.

🔗 Related Skills