/skills

A set of agent skills that help with various aspects of building great interfaces and help improve your workflow.

/upskill

Studies your past agent sessions in a project and suggests skills, tools and automations that would be the most useful you to and helps you build them.

/afk

Has an agent go through your project while you’re away from the keyboard and prepare improvements and suggestions for you to review when you’re back.

> /afk look into assets for the skills page

>

I went through the skills page while you were away and built four directions for its assets:

/state-machine

Renders every state of a component you choose, with mock data and a switcher, so you can work on each state simultaneously.

Connection
Data
Access
InterfereShip software that never breaks.
Status
Connected
Project
jakub.kr
Environment
Production
Session Replays
On

/break

Renders a component you choose in every state and scenario on a temporary page and stress tests it. It’s a great way to find issues you might not be aware of.

Default
PRB-128AL

Checkout fails

Customers can't pay after applying a discount code.

High128Reasoning

/explain-interface

Helps you figure out how something was built on the web. You can try something like /explain-interface how is the copy page animation on interfaces.dev built?

> /explain-interface how is the copy page animation on interfaces.dev built?

>

The "Copy Page" button swaps its icon for a checkmark when pressed. After 2 seconds the checkmark swaps back.

Both swaps run the same animation. The outgoing icon shrinks, fades and blurs out while the incoming one does the reverse:

It uses Motion and keys an m.span on the copied state inside AnimatePresence. Every change unmounts one icon and mounts the other:

The AnimatePresence mode is set to popLayout, which takes the exiting icon out of the layout and lets both icons animate at the same time in the same place.

The transition is a spring with bounce: 0 and a duration of 300ms. initial={false} prevents the icon from animating on the first render.

/variant

Builds as many different variants of a component as you want. It helps you iterate and pick the best one.

PRB-128AL

Checkout fails after adding a discount

Customers can't complete their purchase when a discount code is applied at checkout.

High128Detected

/better-interface

Combines all of the /better-* skills into a single review across accessibility, layout, writing, typography, color and UI.

## Coverage

  • AccessibilityNames, focus order, keyboard3 findings
  • Layout320px width, 200% zoom2 findings
  • WritingLabels, errors, empty states2 findings
  • TypographyScale, wrapping, numerals4 findings
  • ColorContrast, semantic tokens2 findings
  • UIRadius, hit areas, shadows3 findings

## Findings

  • HIGHLabel the icon buttondialog.tsx:42
  • HIGHLet the button shrinkcheckout.tsx:86
  • MEDIUMName the way to recoverpayment.tsx:117
  • MEDIUMWrap long namessummary.tsx:24
  • MEDIUMDarken the hint textcoupon.tsx:38
  • LOWExtend the hit areadialog.tsx:44
  • LOWMake the radius concentricorder-card.tsx:15
  • LOWUse tabular numberssummary.tsx:58
  • LOWSay what the button doescheckout.tsx:91

/better-ui

Polishes and improves the UI in your project. Covers things like concentric border radius, optical alignment, surface depth, contextual icons and more. Based on Details That Make Interfaces Feel Better.

Jakub Krehel
1,204
before
Jakub Krehel
1,204
after

/better-typography

Focuses on type scale, spacing, sizing, variable fonts, OpenType features, wrapping, truncation and other details that make typography feel great.

Interfere for Engineers

12,408

More time building, less time fixing.

Stop correlating bug reports across scattered tools. Interfere finds the root cause and owns the fix.

/better-colors

Helps you convert colors, generate palettes, check contrast, pick a color model, set up fallbacks and more.

oklch
oklch
oklch
oklch
hsl
hsl
hsl
hsl
oklch(0.50 0.16 30)oklch(0.50 0.16 150)oklch(0.50 0.16 250)oklch(0.50 0.16 320)
hsl(30 100% 50%)hsl(150 100% 50%)hsl(250 100% 50%)hsl(320 100% 50%)
Lightness50%

/better-accessibility

Helps your project comply with accessibility standards and best practices.

Covers focus, keyboard navigation, ARIA, screen readers, hit areas and more.

before
after

/better-layout

Helps with grouping, alignment, reading order, progressive disclosure and other details that make layouts feel clean and understandable.

feat: add skill examples

Ready in 49s

JKjakubd32da51skills

/better-writing

Focuses on improving product copy in your project.

Are you sure?

This action cannot be undone. Please confirm to continue.

before

Delete Marketing site?

Deleting removes 24 pages. This can’t be undone.

after

Covers button labels, error messages, settings, onboarding and empty states while keeping voice and terminology consistent.

No results.

before

No projects yet

Projects keep your files, notes and tasks in one place.

after

/interface-review

Reviews your work across multiple categories like UI, typography, layout, color, writing and accessibility and gives you a detailed analysis of the findings.

PRB-128

Checkout fails after applying a discount code

Customers can't pay once a discount is applied at checkout.

High128Reasoning
  1. 1

    Hit area

    The hit area of this action is too small. Users might struggle to click it.

  2. 2

    Text wrapping

    Use text-wrap: pretty to prevent orphaned words.

  3. 3

    Contrast

    The contrast of the text doesn't meet WCAG AA standards.

  4. 4

    Concentric border radius

    Make the border radius of this element concentric to create visual balance.

/make-interfaces-feel-better

A lightweight skill that I made before the /better collection. It helps with the small details that make interfaces feel better and is based on an article I wrote some time ago. It’s installed separately from the collection above.

npx skills add jakubkrehel/make-interfaces-feel-better

/faq

More

If you enjoy these skills and want to learn more, take a look at Interfaces, my design engineering magazine.

It’s where I share everything I know about building great interfaces. From animation and typography to performance and accessibility.

InterfacesThe Design Engineering Magazine
Try Interfaces (opens in a new tab)