Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

migrate-ds-area

Skill by penpot

Migrates one Penpot UI area from legacy controls to Design System components. It proves each change with zero-tolerance visual tests, then opens a draft PR and updates the group issue. Built for Penpot contributors working on the DS migration epic.

  • Score 91
  • 63k stars
  • MPL-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install migrate-ds-area

Built from the published package, never by AI.

git clone --depth 1 https://github.com/penpot/penpot /tmp/penpot && mkdir -p ~/.claude/skills && cp -r /tmp/penpot/.agents/skills/migrate-ds-area ~/.claude/skills/migrate-ds-area

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install migrate-ds-area in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill moves one Penpot UI area, a .cljs and .scss pair or a few related modules, from legacy components and raw HTML to Design System components. It covers the buttons and icons group and the selects group, and later groups are named in the source. The skill claims the area in the group issue's PRs table, then adds Playwright visual tests in the ds project that must show zero pixel difference. It moves the area's SCSS off deprecated styles, opens a draft PR to develop, and updates the group issue with a QA comment. It is written for Penpot contributors who work on the design system migration epic (#12375). It states rules to keep legacy controls in other groups and to never run git push.

Written from the project's SKILL.md and checked against it.

What it can do

  • Claim an areaAdds a row to the group issue's PRs table with the user's login and the state Claimed.
  • Visual baselineAdds a zero-tolerance Playwright visual test block to the matching spec before changing code.
  • Buttons and icons migrationMaps raw buttons and legacy icons to icon-button*, button* and icon* components.
  • Selects migrationMaps the legacy select to the select* component and converts values and ids.
  • Draft PR and QA commentOpens a draft PR to develop and updates the group issue with a QA comment.

What you need

  • Penpot devenv Docker container for running tests and pnpm commands
  • GitHub CLI (gh) to read and edit the group issue
  • Git with access to origin/develop
  • Playwright for the visual tests

Try asking

  • Migrate the dashboard/fonts area to the Design System buttons group.
  • Continue the selects migration group with the next unclaimed area.
  • Migrate the workspace sidebar area to the DS and open a draft PR.

Good to know

  • Never runs git push; the user pushes before the PR is opened.
  • Only changes controls of the current group; other controls stay legacy.
  • Debug-only UI gets no QA comment and no compare image.
  • Areas that need a feature the DS lacks keep their legacy control.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/migrate-ds-area/SKILL.md, .agents/skills/migrate-ds-area/scripts/diff.py, .agents/skills/migrate-ds-area/scripts/trip.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md17 KB
  • scripts/diff.py832 B
  • scripts/trip.py1 KB

Alternatives to migrate-ds-area

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

migrate-ds-area: common questions

Does this skill push code to GitHub?

No. The source says the user pushes, and the skill opens the PR afterwards.

How does it check that the migration did not change the look?

Each screenshot uses maxDiffPixelRatio 0 and threshold 0 in a Playwright visual test in the ds project. Changes that show any pixel difference fail.

Which Penpot migration groups does it cover?

The source names buttons and icons (#12376) and selects (#12377), and mentions later groups without listing them.

How do I install migrate-ds-area?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is migrate-ds-area free?

The code is published under the MPL-2.0 licence. The service it connects to may have its own pricing.

Is migrate-ds-area safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to migrate-ds-area?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

migrate-ds-area Install

Add to stack

Loading.