/skills
A set of agent skills that help with various aspects of building great interfaces and help improve your workflow.
npx skills add jakubkrehel/skills/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.
- 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.
Checkout fails
Customers can't pay after applying a discount code.
Checkout fails when a returning customer applies a discount to an existing subscription
Customers can't complete their purchase after updating their plan. Applying a discount clears the billing address and leaves the checkout stuck on the payment step.
Checkout fails
Payment rejected for checkout_session_01J8QZ7K3M9X2P6V4N0R5T8W1Y.
Checkout fails
Customers can't pay after applying a discount code.
Checkout fails
Customers can't pay after applying a discount code.
Checkout fails when a returning customer applies a discount to an existing subscription
Customers can't complete their purchase after updating their plan. Applying a discount clears the billing address and leaves the checkout stuck on the payment step.
Checkout fails
Payment rejected for checkout_session_01J8QZ7K3M9X2P6V4N0R5T8W1Y.
Checkout fails
Customers can't pay after applying a discount code.
Untitled problem
No description provided.
/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.
Checkout fails after adding a discount
Customers can't complete their purchase when a discount code is applied at checkout.
Checkout fails after adding a discount
Customers can't complete their purchase when a discount code is applied at checkout.
Checkout fails after adding a discount
Customers can't complete their purchase when a discount code is applied at checkout.
/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.
/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.
/better-accessibility
Helps your project comply with accessibility standards and best practices.
Covers focus, keyboard navigation, ARIA, screen readers, hit areas and more.
/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
/better-writing
Focuses on improving product copy in your project.
Covers button labels, error messages, settings, onboarding and empty states while keeping voice and terminology consistent.
/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.
Checkout fails after applying a discount code
Customers can't pay once a discount is applied at checkout.
- 1
Hit area
The hit area of this action is too small. Users might struggle to click it.
- 2
Text wrapping
Use text-wrap: pretty to prevent orphaned words.
- 3
Contrast
The contrast of the text doesn't meet WCAG AA standards.
- 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.