All rules
87 rules across 8 skills. Each one says what to look for in code and where it can be verified.
| Rule | What it checks | Look for | Verify on | Severity |
|---|---|---|---|---|
| DN-01 | No hand cursor on in-app controls | cursor: pointer, cursor-pointer on buttons, rows, tabs | code | High |
| DN-02 | No I-beam over labels and chrome text | no global cursor: default on the app shell | code | Low |
| DN-03 | Chrome is not selectable | drag-select across sidebar/toolbar highlights it; no user-select: none on chrome | code | Medium |
| DN-04 | Content stays selectable | blanket user-select: none with no opt-in for errors, IDs, logs, table cells | code | High |
| DN-05 | No drag ghost on images and icons | <img> / <svg> without draggable="false" or -webkit-user-drag: none | code | Low |
| DN-06 | No browser context menu in production | no contextmenu handler; a handler that blocks inputs too; a guard gated on import.meta.env.PROD instead of the shell (breaks a browser build, or takes the menu away in development) | codeeach OS | High |
| DN-07 | Page zoom is off or deliberate | zoomHotkeysEnabled: true without zoom UI | code | Low |
| DN-08 | No browser reload/print/find keys in production | no keydown guard for ⌘R/F5/⌘P; Windows browserAcceleratorKeys unset; Electron Reload/DevTools menu roles in packaged builds; a guard gated on import.meta.env.PROD instead of the shell's release flag | WindowsmacOS | Medium |
| DN-09 | The window never rubber-bands as a whole | page-level scroll; no overscroll-behavior on the root | macOS | High |
| DN-10 | Content panels may bounce, chrome may not | inner scrollers with overscroll-behavior: none everywhere | macOS | Medium |
| DN-11 | One scroll owner per region | nested overflow: auto on root + page; 100vh inside a scroller | code | Medium |
| DN-12 | Focus ring only for keyboard focus | :focus { outline } instead of :focus-visible; outline: none with no replacement | code | Medium |
| DN-13 | No white flash on launch | window visible default true; no backgroundColor matching the theme | each OS | High |
| DN-14 | External links open in the system browser | <a href="http…"> with no navigation guard | codeeach OS | High |
| DN-15 | No spellcheck/autocorrect in code-like fields | inputs for paths, commands, IDs without spellcheck={false} | code | Low |
| DN-16 | No browser autofill on app fields | inputs without autoComplete="off"; Windows without generalAutofillEnabled: false | Windows | Low |
| DN-17 | Native controls follow the theme | no color-scheme on html / dark class | code | Medium |
| DN-18 | Inactive window looks inactive | no focus listener; selection/accent unchanged when unfocused | each OS | Low |
| DN-19 | In-app navigation doesn't look like web links | underlined <a> for in-app routes; link hover underline in chrome | code | Low |
| DN-20 | No link previews on force-click | macOS window without allowLinkPreview: false | macOS | Medium |
| DN-21 | Fluent scrollbars on Windows 11 | no scrollBarStyle: "fluentOverlay"; heavy ::-webkit-scrollbar restyling instead | Windows 11 | Low |
| DN-22 | No browser dialogs | alert(, confirm(, prompt( | code | Medium |
| DN-23 | Dropping a file never navigates the window | no document-level dragover/drop guard; Electron without will-navigate; Tauri with dragDropEnabled: false | each OS | High |
| WC-01 | Title bar strategy is chosen per OS | decorations: false applied to every platform | code | Low |
| WC-02 | A frameless window can be dragged | decorations: false / Overlay with no data-tauri-drag-region or startDragging; missing core:window:allow-start-dragging | each OS | High |
| WC-03 | Controls inside a drag region still work | buttons/inputs nested in a drag region element without opting out | each OS | Low |
| WC-04 | Traffic lights align with the toolbar | Overlay with no trafficLightPosition and no left padding for the buttons | macOS | Medium |
| WC-05 | No empty traffic-light gutter in fullscreen | fixed left padding regardless of fullscreen state | macOS | Low |
| WC-06 | Custom Windows caption buttons keep Snap Layouts or the loss is deliberate | HTML min/max/close buttons on Windows, no snap-layout plugin | Windows 11 | High |
| WC-07 | Overlay windows can't be dragged while unfocused — known Tauri limitation | titleBarStyle: "Overlay" | macOS | Low |
| WC-08 | Materials come from the OS, not CSS | large backdrop-filter: blur() on window background / sidebar | each OS | Medium |
| WC-09 | Transparent windows are actually transparent | transparent: true with opaque html or body; macOS without macOSPrivateApi | macOSWindows | Low |
| WC-10 | Window has a minimum size that fits the layout | no minWidth / minHeight | code | Medium |
| WC-11 | Window size and position are remembered | no window-state plugin or equivalent | each OS | Low |
| WC-12 | Native title bar follows the app theme | in-app theme toggle without setTheme on the window | each OS | Medium |
| WC-13 | First click on an inactive window is a decision | acceptFirstMouse unset on a tool-palette style window | macOS | Low |
| WC-14 | Double-click on a custom title bar maximizes/zooms | custom title bar without double-click handling | each OS | Low |
| WC-15 | Frameless Windows windows keep shadow and corners | decorations: false with shadow: false | Windows | Low |
| DD-01 | Controls are desktop height | h-9, h-10, py-2 buttons and inputs everywhere | code | Medium |
| DD-02 | System font unless branding requires otherwise | web font as the only font-family | code | Low |
| DD-03 | Body text at desktop size | text-base / 16px body, text-sm as the smallest UI text | code | Low |
| DD-04 | Lists show selection, not just hover | rows with hover: background and no selected state | code | Low |
| DD-05 | Changing numbers don't jitter | counters, timers, tables without tabular-nums | code | Low |
| DD-06 | Mobile rules don't leak into desktop | 16px input rule, 44px touch targets, touch-action on desktop-only UI | code | Low |
| DD-07 | Panels and separators over floating cards | page built from rounded-xl shadow cards | code | Low |
| DK-01 | Use the platform modifier, not both | metaKey || ctrlKey for the same shortcut | code | Medium |
| DK-02 | Shortcut labels match the platform | hard-coded Ctrl+ or ⌘ in UI strings | code | Low |
| DK-03 | Escape closes, Enter confirms the default | dialogs/popovers without Escape; forms without a default button | code | Low |
| DK-04 | Standard shortcuts exist | no ⌘, / ⌘W / ⌘N / ⌘Q (macOS) or Ctrl equivalents | code | Low |
| DK-05 | Lists are keyboard navigable | custom lists without arrow keys, Home/End, roving tabindex | code | Low |
| DK-06 | Shortcuts don't fire while typing | global keydown without an editable-target check | code | Medium |
| DK-07 | Global shortcuts don't collide | global-shortcut registrations overlapping menu accelerators or OS shortcuts | each OS | Low |
| NM-01 | A custom app menu keeps the Edit menu | custom menu without Cut/Copy/Paste/Select All predefined items | macOS | High |
| NM-02 | The app menu has About, Settings, Hide, Quit | macOS app menu missing standard items | macOS | Low |
| NM-03 | Native vs web context menu is a deliberate choice | mixed: native in some places, web in others, for the same kind of target | each OS | Low |
| NM-04 | Destructive menu items come last, separated | Delete/Remove in the middle of a menu | code | Low |
| NM-05 | Accelerators shown in menus match the handlers | accelerator in menu and a separate keydown handler with a different key | code | Low |
| NM-06 | macOS tray icon is a template image | colored tray icon on macOS | macOS | Low |
| DI-01 | Second launch focuses the running window | no single-instance plugin | each OS | High |
| DI-02 | Deep links and opened files reach the running instance | deep-link without the single-instance deep-link feature; fileAssociations with no argument handling | WindowsLinux | Medium |
| DI-03 | Unsaved changes survive close and quit | dirty state with no onCloseRequested; predefined Quit item in an app with unsaved state | each OS | High |
| DI-04 | Pending items on the dock/taskbar badge | unread/pending counts only rendered in the UI | each OS | Low |
| DI-05 | Long work shows on the taskbar/dock | long exports/syncs with no setProgressBar | WindowsmacOS | Low |
| DI-06 | Files can be dragged out | file lists with HTML draggable only, no native drag | each OS | Low |
| DI-07 | Native notifications in the background only | requestPermission at startup; sendNotification without a focus check | each OS | Medium |
| DI-08 | Document windows show the document | document app with a static window title | each OS | Low |
| DI-09 | Launch at login is opt-in | autostart enable() outside a settings toggle | each OS | Medium |
| DI-10 | Updates wait for the user | install() / relaunch() without user action; modal update prompt | each OS | Medium |
| PC-01 | Dialog button order follows the OS | one hard-coded order for all platforms | code | Low |
| PC-02 | Settings live where the OS puts them | no ⌘, on macOS; "Preferences" naming on current macOS | code | Low |
| PC-03 | Closing the last window follows the OS | app quits on macOS window close for a multi-document app, or keeps running on Windows | each OS | Low |
| PC-04 | Font stack covers each OS | stack without system-ui / Segoe UI Variable / Linux fallbacks | code | Low |
| PC-05 | Modifier symbols per OS | ⌘⌥⇧ shown on Windows/Linux, or Ctrl+Alt on macOS | code | Low |
| PC-06 | Window controls sit on the OS side | custom caption buttons on the left on Windows, or right on macOS | code | Low |
| WQ-01 | Tested in every engine, not just Chrome | no test plan for WKWebView / WebKitGTK | each OS | Low |
| WQ-02 | Blur and filters are cheap on Linux | filter: blur, backdrop-filter, filter animations | Linux | Low |
| WQ-03 | Linux rendering issues have a documented workaround | blank window or crash on Linux with DMABUF | Linux | Low |
| WQ-04 | HTML5 drag and drop works on Windows | HTML5 DnD in UI with dragDropEnabled left on | Windows | Low |
| WQ-05 | Background work survives hidden windows | timers/animations that must run while hidden; reliance on backgroundThrottling (macOS only) | each OS | Low |
| WQ-06 | Newer web APIs are feature-detected | APIs Safari ships late, used without @supports / in checks | macOS | Low |
| WQ-07 | No browser globals at module scope | window, document, @tauri-apps/api imported/used at module top level in SSG frameworks | code | Low |
| WQ-08 | No server features in a static bundle | SSR, API routes, next/image optimization, ISR | code | Low |
| WQ-09 | The URL the shell loads in development is fixed | the server behind Tauri devUrl or Electron loadURL without strictPort; a dev server the shell never loads doesn't count | code | Low |
| WQ-10 | Dev watcher ignores the Rust build | Vite/Astro watcher not ignoring src-tauri/target | code | Low |
| WQ-11 | Window state comes from the shell, not web guesses | document.hasFocus(), screen.*, devicePixelRatio used for window decisions | code | Low |
| WQ-12 | Custom browser arguments keep WebView2's defaults | additionalBrowserArgs without msWebOOUI,msPdfOOUI,msSmartScreenProtection | code | Medium |
| WQ-13 | Dark mode works on Linux | theme only from prefers-color-scheme; no in-app theme setting | Linux | Medium |
No rule matches that filter.