build-desktop
/build-desktop
Zasady budowania aplikacji desktopowych w Tauri lub Electron: okna, skróty, uprawnienia, podpisy kodu i aktualizacje.
- Autor
- 1AngelMicka ↗
- Repozytorium
- quality-pack ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 1
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.
Co robi i kiedy
Zasady budowania aplikacji desktopowych w Tauri lub Electron: okna, skróty, uprawnienia, podpisy kodu i aktualizacje.
Oryginalny opis (EN)
Shipwright build rules for Desktop app (Desktop experience, Desktop release and security). Use when building, changing or releasing a desktop app made with web technology (Tauri, Electron): windows, menus, shortcuts, files, offline, autosave, permissions and capabilities, content security policy, preload scripts, code signing, notarisation, auto-update, installers. FR : application de bureau, Tauri, Electron, fenêtre, menus, raccourcis, fichiers, signature, notarisation, mise à jour automatique, installeur.
Jak działa
- Desktop experience (DUX)
- Desktop release and security (DRL)
Podgląd SKILL.md
--- name: build-desktop description: "Shipwright build rules for Desktop app (Desktop experience, Desktop release and security). Use when building, changing or releasing a desktop app made with web technology (Tauri, Electron): windows, menus, shortcuts, files, offline, autosave, permissions and capabilities, content security policy, preload scripts, code signing, notarisation, auto-update, installers. FR : application de bureau, Tauri, Electron, fenêtre, menus, raccourcis, fichiers, signature, notarisation, mise à jour automatique, installeur." --- <!-- Generated by tools/build.py from the referential YAML. Do not edit by hand. --> # Desktop app: build rules Apply these rules while you build. Domains or criteria whose `applies_if` flags are false in `.quality/project.json` do not apply to this project. Before you call a task done, check your work against the criteria of the domains you touched: each one must be true and verifiable. If a stack module of Shipwright is installed (sw-nextjs, sw-node-api, sw-vps, sw-expo, sw-capacitor, sw-tauri, sw-electron), its rules skill adds stack-specific rules on top of these. ## Desktop experience (DUX) Window, menus, shortcuts, files, offline: what people expect from an app installed on a computer. Applies when: Installed desktop app (Tauri, Electron). Rules: - A desktop app is not a site in a window: it starts fast, works without network for what is local, and follows the system's habits (menus, shortcuts, drag and drop, recent files). - Window: a minimum size is set, the layout works from the minimum size to full screen, size and position are remembered between launches, including with several displays. - System shortcuts honoured (save, undo, redo, close, quit, preferences), with Cmd on macOS and Ctrl elsewhere; every menu action is also in the interface. - No lost work: autosave or a warning before closing with changes, recovery after a crash. - Files: native dialogs to open and save, drag and drop accepted, long paths and accented characters handled, nothing written outside the folders the user chose or the app's data folder. - Long operations do not freeze the window: progress shown, cancel possible. - Light and dark theme following the system; display scaling (125 %, 150 %, 200 %) without blur or clipped text. Done means: - [BLOCKER] DUX-01: Every key task completes in the real window. Check: flows.json played with `sw flows --attach <port>` on the running app (not only in a browser): every flow completed. Say on which system. - [major] DUX-02: Window usable at every size, state remembered. Check: Minimum size set in the configuration; screenshots at the minimum size and full screen with no clipped content; size and position restored after relaunch. - [major] DUX-03: System shortcuts and menus honoured. Check: Save, undo, redo, copy, paste, close, quit and preferences answer the system's shortcuts on each target platform; application menu present on macOS. - [BLOCKER] DUX-04: No work lost on close or after a crash. Check: Close the window with changes: saved, or a warning. Kill the process while editing then relaunch: the work is back or offered. - [major] DUX-05: Files handled the way the system expects. Check: Native dialogs; drag and drop; a file with an accented or long name, or on another drive, opens; a missing or locked file gives a clear message; nothing written outside the allowed folders. - [major] DUX-06: Works without network for what is local. Check: Network off: the app starts, local data opens and can be changed, what needs the network says so without blocking the rest. - [major] DUX-07: Long operations without freezing, with progress and cancel. Check: Run the heaviest operation on real data: the window still answers, progress moves, cancel works. - [minor] DUX-08: Fast start, system theme and scaling followed. Check: Window usable in under 2 seconds cold; the system's dark theme followed; sharp display at 150 % and 200 %. ## Desktop release and security (DRL) Isolation between the page and the system, signing, updates, install and uninstall. Applies when: Installed desktop app (Tauri, Electron). Rules: - The page reaches the system only through a short list of named functions (Tauri commands, Electron preload script); each validates its arguments like a server route. - Tauri: content security policy set, per-window permissions narrowed to the folders, commands and hosts used. Electron: contextIsolation on, nodeIntegration off, sandbox kept, no http page. - Installers signed (Windows) and notarised (macOS); otherwise the system warns or refuses. - Updates signed, served over https, verified before install; the user knows which version they have and what changed. - Secrets in the system keychain, never in clear in a configuration file; no secret in the shipped package. - User data in the folder the system provides; uninstalling keeps or removes it as announced. Done means: - [BLOCKER] DRL-01: Isolation between the page and the system in place. Check: desktop-check.json: no failed "must" (content security policy, permissions or API list, remote access, nodeIntegration, contextIsolation, web security, signed https updates, app identifier). - [major] DRL-02: Signing, updates and narrowed permissions. Check: desktop-check.json: each failed "should" is fixed or justified (Windows and macOS signing, updater, broad permissions, sandbox, preload script). - [BLOCKER] DRL-03: Every function exposed to the page validates its arguments. Check: Read every Tauri command or preload function: paths restricted to allowed folders (no ".."), sizes bounded, no command built from input and executed. - [major] DRL-04: Installers accepted by the system on each target platform. Check: Install the released build on a clean machine: no blocking SmartScreen warning on Windows, opens without a workaround on macOS; the app launches and uninstalls cleanly. - [major] DRL-05: Update tested end to end, version and changes visible. Check: Install the previous version, publish a test release, check the update downloads, verifies and installs; the version number and the changes are shown in the app. - [major] DRL-06: Secrets in the system keychain, data in the right place. Check: Look for tokens and keys in the app's files after signing in: none in clear. Data lives in the system's application data folder, not next to the executable.
Wersje
W bazie nie ma innych skilli o nazwie build-desktop.
Migawka bazy z 13.11.2026 · wersja paczki 163ae1d30a33 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100desktop-app
Buduje i wydaje aplikację desktopową z technologii webowych, np. Tauri lub Electron, z oknami, menu, plikami, trybem offline i izolacją od systemu. - 100electron
Opisuje framework Electron dla wieloplatformowych aplikacji desktopowych w JavaScript, HTML i CSS: architektura, IPC, bezpieczeństwo, pakowanie, automatyczne aktualizacje i integracja z backendem. - 90tauri-rules
Stosuje reguły i komendy sprawdzające Shipwright dla aplikacji desktopowych w Tauri, przy pisaniu, przeglądzie i audycie kodu. - 100tauri
Opisuje Tauri w aplikacjach desktopowych z backendem w Rust i frontendem webowym: architektura, komendy IPC, pluginy, bundling, podpisywanie kodu i bezpieczeństwo. - 90desktop-electron
Pomaga w tworzeniu aplikacji Electron: architekturze procesów głównego i renderera, komunikacji IPC oraz pakowaniu aplikacji. - 95desktop-tauri
Buduje bezpieczne aplikacje desktopowe i mobilne w Tauri 2: polecenia Rust, typowany IPC, uprawnienia, wtyczki i pakowanie.