GitHub

/desktop-density

Desktop Density

Pulls web-sized UI down to desktop size: control heights, text, fonts and layout.

npx skills@latest add agmmnn/desktop-feel --skill desktop-density

Tauri, Electron · 7 rules · Updated November 28, 2026

What it does

  • Buttons and inputs are 36–40px tall. 28px default, 24px compact DD-01
  • Inter / Geist everywhere. System font stack DD-02
  • 14–16px body text. 13px base (macOS), 14px (Windows) DD-03
  • List rows only highlight on hover. Selected state, keyboard focus, subtle hover DD-04
  • Counters and tables jitter. tabular-nums DD-05
  • 16px inputs, 44px targets, touch-action. Remove mobile rules from desktop UI DD-06
  • Page made of rounded shadowed cards. Panels and hairline separators DD-07

When to use it

When the app looks like a SaaS dashboard: big buttons, 16px text, floating cards.

Example prompts

You don’t need special wording. Describe the problem the way you’d describe it to a teammate.

  • /desktop-density everything is huge, it looks like a dashboard website
  • /desktop-density adapt our shadcn components for the desktop app

Rules

Each rule has a stable ID. Review and audit output link back here.

DD-01Controls are desktop height

Controls are desktop height.

Look for
h-9, h-10, py-2 buttons and inputs everywhere
Verify on
code
Severity
Medium

DD-02System font unless the brand requires otherwise

System font unless branding requires otherwise.

Look for
web font as the only font-family
Verify on
code
Severity
Low

DD-03Body text at desktop size

Body text at desktop size.

Look for
text-base / 16px body, text-sm as the smallest UI text
Verify on
code
Severity
Low

DD-04Lists show selection, not just hover

Native lists are about selection: a clear selected row (accent background, white text when the window is focused, gray when not — DN-18), keyboard focus, and at most a faint hover. Web rows with a strong hover and no selected state feel like links.

Look for
rows with hover: background and no selected state
Verify on
code
Severity
Low

DD-05Changing numbers don't jitter

Changing numbers don't jitter.

Look for
counters, timers, tables without tabular-nums
Verify on
code
Severity
Low

DD-06Mobile rules don't leak into desktop

Remove from desktop-only UI: font-size: 16px on inputs, min-height: 44px touch targets, touch-action: manipulation, -webkit-tap-highlight-color. Keep them only if the same frontend also ships to mobile, and then gate them with @media (pointer: coarse).

Look for
16px input rule, 44px touch targets, touch-action on desktop-only UI
Verify on
code
Severity
Low

DD-07Panels and separators over floating cards

Desktop windows are split into regions — sidebar, content, inspector — divided by 1px separators and background tone, not rounded cards with shadows on a gray canvas. Cards belong to content that really is a card (a file tile, a contact).

Look for
page built from rounded-xl shadow cards
Verify on
code
Severity
Low

Read the full skill on GitHub