Skills
Run a skill on any element from a comment, choose which ones Dex offers, and write your own.
A skill is a short set of instructions your agent follows, such as “build this frame again with German text and at 200%”. You run one by typing / in a comment and choosing it, and the rest of the comment is what it works with: /break german, 200% builds only those two cases.
To run one without writing a comment, right-click an element, or ⌥-click it, with the comment tool. The quick bar opens over it with your skills.
Built-in skills
Dex comes with these. Each works on the element or frame the comment is on.
Change the design
| Skill | What it does |
|---|---|
/break |
Builds the frame again in new rows with long and translated text, big type, and empty and crowded content, and keeps the ones that break. |
/connect-frames |
Wires the frames into a flow you can play, each frame’s main action going to the next. |
/distill |
Distills reusable components and a theme from a snapshot or several elements, on shadcn’s tokens: shadcn components wherever one fits, new variants or compositions of them where it doesn’t, and Base UI for behaviour shadcn lacks. It rebuilds the original from them in a row below, and writes a spec of guidelines for designing with them: the role of each token, type, spacing, shapes, when to use each component, and do’s and don’ts. Place the spec in a section, and work there follows it. Ask, or say the source is your own product, and it adds the guidelines to your workspace’s too. |
/duplicate-and-refine |
Copies the frame into a new row below, with your note applied to the copy. |
/polish-responsive |
Fits the view to mobile, tablet and desktop, with a frame at each width. |
/remove |
Takes the element out, and closes the gap it leaves. |
/tighten-copy |
Cuts the words to what the screen needs. |
/use-design-system |
Rebuilds it from your design system’s components, in place. |
Understand it
These write a document beside the frame and leave the design as it is.
| Skill | What it does |
|---|---|
/comprehend |
Shows a screenshot, and nothing else, to first-time readers on several models, from the smallest to the strongest. Each one thinks aloud about what it believes the screen and the element are for. The playback says what every reader understood, what one misread, where they disagreed, what only the strongest noticed, and the questions they would ask. |
/riff |
Picks one of the riffs below from your words, and says which. With no hint, it riffs deep. |
/riff-deep |
Follows one person five steps further into the experience than the screen goes, naming where their path could fork. |
/riff-state |
Goes through every state the element can be in: empty, loading, partial, error, many, no permission, done and undone, waiting on you, someone else’s, in the way, and with reduced motion. |
/riff-wide |
Finds eight other kinds of the same thing, each on its own axis: type, size, density, substitute, combine, remove, reverse, and off the screen. |
/riff-up |
Asks “why?” to climb from the element to the need behind it, finds other ways to meet that need, and marks the one to try first. |
/riff-max |
Brainwrites on it from three perspectives: each idea is passed on and built on, going deeper, through states and wider at once. |
Each riff ends with what holds together across its ideas and three worth building next. To build directions from one, ask your agent to explore them on the canvas.
Choose which skills Dex offers
Open Settings → Commands:
- Use built-in skills turns the ones above on or off.
- Discover codebase skills adds the skills your developers keep for their agents, in
.agents/skills/or.claude/skills/. - Each skill has a switch for whether the / menu offers it.
- Quick bar picks the skills the quick bar shows, in order. Until you pick some, it shows every skill the / menu offers. Show quick command bar turns it off, and a right-click then opens a comment instead.
When two places have a skill with the same name, your project’s own wins, then the codebase’s, then Dex’s.
Write your own
In Settings → Commands, choose New command. Give it a name in lowercase words joined by hyphens, a one-line description, and the instructions. It’s saved in skills/ in your Dex folder (dex/skills/) and committed, so your team gets it too. Editing a built-in skill saves a copy there, and Restore original goes back to Dex’s.
A skill is a folder with a SKILL.md, in the same format Claude Code uses, so you can also add one by hand, or drop in a skill from anywhere:
---
name: tighten-copy
description: "Cuts the words to what the screen needs"
---
Cut the words in what the comment is on to what someone needs to act:
shorter labels, one line where there were two, no repeats of what the
screen already shows. Keep the meaning and the design system's voice.
Files beside SKILL.md go with it, for instructions too long for one file. Add user-invocable: false to keep a skill out of the / menu until someone turns it on in Settings.