GitHub

/platform-conventions

Platform Conventions

What differs between macOS, Windows and Linux: button order, settings, quitting, fonts, shortcuts.

npx skills@latest add agmmnn/desktop-feel --skill platform-conventions

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

Common situations

    When to use it

    When you build a dialog, settings or quit behavior that should follow the host OS.

    Example prompts

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

    • /platform-conventions where does Settings go on Windows?
    • /platform-conventions which button goes on the right in a confirm dialog?

    Rules

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

    PC-01Dialog button order

    Dialog button order follows the OS.

    Look for
    one hard-coded order for all platforms
    Verify on
    code
    Severity
    Low

    PC-02Settings

    Settings live where the OS puts them.

    Look for
    no ⌘, on macOS; "Preferences" naming on current macOS
    Verify on
    code
    Severity
    Low

    PC-03Closing the last window

    Closing the last window follows the OS.

    Look for
    app quits on macOS window close for a multi-document app, or keeps running on Windows
    Verify on
    each OS
    Severity
    Low

    PC-04Font stack

    Font stack covers each OS.

    Look for
    stack without system-ui / Segoe UI Variable / Linux fallbacks
    Verify on
    code
    Severity
    Low

    PC-05Modifier symbols

    Modifier symbols per OS.

    Look for
    ⌘⌥⇧ shown on Windows/Linux, or Ctrl+Alt on macOS
    Verify on
    code
    Severity
    Low

    PC-06Window controls side

    macOS: left (traffic lights). Windows: right (minimize, maximize, close). Linux: depends on the desktop environment and user setting — another reason to keep native decorations there (WC-01).

    Look for
    custom caption buttons on the left on Windows, or right on macOS
    Verify on
    code
    Severity
    Low

    Read the full skill on GitHub