Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Desktop Apps?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/thaithienvanid-desktop-apps)
---
name: desktop-apps
description: "In an aidd repository, use when code touches Electron, Tauri, notarization, Authenticode, or MSIX."
---
<!-- generated by `aidd gen-docs` from schemas/packs.json; edit the registry, not this file -->
# Desktop apps
## Scope
Applies when the change touches macOS, Windows, and Linux apps, Electron, Tauri, their signing, updater, and stores. Not when the change is a command-line tool or library with no installer, or a web app in a browser tab, which `aidd-domains:web-front-end` covers. Neighbours: `aidd-team:secure-coding`, `aidd-team:release-rollout`, `aidd-domains:web-front-end`.
## Standards
| # | Standard | Edition | Checked | Source |
| --- | --- | --- | --- | --- |
| S1 | Apple notarization: Developer ID signing, the hardened runtime, and a stapled ticket | — | 2026-10-16 | <https://developer.apple.com/documentation/security/notarizing-macos-software-before-distribution> |
| S2 | Authenticode code signing with a certificate from the Microsoft Trusted Root Program, verified with SignTool | — | 2026-10-16 | <https://learn.microsoft.com/en-us/windows-hardware/drivers/install/authenticode> |
| S3 | Microsoft Store Policies | 7.20 | 2026-10-16 | <https://learn.microsoft.com/en-us/windows/apps/publish/store-policies> |
| S4 | Apple App Review Guidelines and Human Interface Guidelines | App Review Guidelines of 2026-06-08 | 2026-10-16 | <https://developer.apple.com/app-store/review/guidelines/> |
| S5 | Electron security checklist and fuses | — | 2026-10-16 | <https://www.electronjs.org/docs/latest/tutorial/security> |
| S6 | Tauri 2 security model: capabilities, CSP, the isolation pattern, and the signed updater | Tauri 2 | 2026-10-16 | <https://v2.tauri.app/security/> |
| S7 | EU Cyber Resilience Act for products with digital elements | Regulation (EU) 2024/2847 | 2026-10-22 | <https://digital-strategy.ec.europa.eu/en/policies/cyber-resilience-act> |
| S8 | WCAG 2.2 for desktop software, applied through WCAG2ICT | 2.2 | 2026-10-16 | <https://www.w3.org/TR/WCAG22/> |
| S9 | EU Product Liability Directive: software is a product, and so are its updates | Directive (EU) 2024/2853 | 2026-10-22 | <https://eur-lex.europa.eu/eli/dir/2024/2853/oj> |
### Open choices
The team decides these. aidd's default holds until a `standards` entry fills one (`aidd standard list`).
| Choice | Question | aidd's default | Options |
| --- | --- | --- | --- |
| `desktop-framework` | Which framework builds the desktop app for macOS and Windows? | The framework the app already uses. For a new app, Electron, which ships the Chromium the web front end is tested on. Tauri where a small installer and a Rust core matter more. | Electron, Tauri, a native app for each platform |
## Dated obligations
| From | Obligation | Standard |
| --- | --- | --- |
| 2026-03-01 | A public code-signing certificate issued from this date lasts at most 460 days. Renew it yearly, and timestamp each signature so it outlives the certificate. | S2 |
| 2026-09-11 | CRA (EU): report an actively exploited vulnerability or a severe incident on the clocks in `aidd-team:incident-response`, older products included. The main obligations apply from 2027-12-11. | S7 |
| 2026-10-22 | Microsoft Store Policies 7.20 take effect. | S3 |
| 2026-12-09 | EU Product Liability Directive (EU) 2024/2853: software placed on the market after this date is a product, and a missing security update can make it defective. | S9 |
## Checklist by loop step
| Step | Item | Standard |
| --- | --- | --- |
| Before the first edit (`aidd risk --paths`) | For a change to signing, entitlements, the updater, the installer, or a store listing, the author declares the route major. The release channel's rules are a dependency. A commercial app on the EU market is in CRA scope, and, once placed after 2026-12-09, in the Product Liability Directive's. | S1, S2, S3, S4, S7, S9 |
| Specify | Each channel named with its signing and update path (`references/distribution.md`). A Mac App Store build is sandboxed, updates only through the store, and has no license screen (2.4.5). | S4, S3, S1, S2 |
| Implement | Electron: context isolation and the sandbox on, and Node integration off in every renderer. A CSP; navigation, new windows, and IPC senders checked; no remote code; fuses flipped at package time. An Electron major inside its support window, the latest three. | S5 |
| Implement | Tauri: the fewest capabilities per window, a CSP, and the isolation pattern where the front end runs code it did not write. | S6 |
| Implement | Updates signed and verified before install (the Tauri updater's signature, Electron's updater on a signed build). The update key outside the repository. No downloaded code that changes described features (Store 10.2.2), and a Store game updates only through the Store (10.2.5). | S6, S5, S3 |
| Review | Each entitlement and hardened runtime exception has a reason in the Spec; none disables library validation without one. | S1 |
| Review | The UI meets WCAG 2.2 AA through WCAG2ICT, and works with each platform's screen reader (VoiceOver, Narrator, Orca). | S8 |
| Review | With the designer's `ai-design` toolset, Impeccable's detector scans the built window. Start an Electron, NW.js, CEF, or WebView2 build with `--remote-debugging-port=9222` on 127.0.0.1 only, then run `npx impeccable@<version> detect --cdp 9222 --json`. Tauri on macOS or Linux has no such port, so say that scan did not run. | S8 |
| Roll out | macOS: Developer ID signed, hardened runtime, notarized, ticket stapled to the app, DMG, or PKG. Windows: every PE file signed and timestamped, chained to the Microsoft Trusted Root Program. | S1, S2, S3 |
## Test commands
| Command | Proves | How | Standard |
| --- | --- | --- | --- |
| Gatekeeper assessment | macOS accepts the app as notarized Developer ID software | `spctl --assess --type execute --verbose=4 App.app` (`--type install` for a PKG) says accepted, source Notarized Developer ID | S1 |
| Stapled ticket check | the ticket travels with the download, for offline first launch | `xcrun stapler validate` on the app, DMG, or PKG | S1 |
| Authenticode verification | every Windows binary is signed, timestamped, and chains to a trusted root | `signtool verify /pa /all /v` on each PE file and the installer | S2, S3 |
| Electron fuse and preference check | the packaged app has its fuses set and every window its safe preferences | when the `desktop-framework` is Electron, its tests entry, such as `npx @electron/fuses read --app <packaged app>`, and a test asserting each window's `webPreferences` | S5 |
| Signed update round trip | the updater installs a signed update and refuses a tampered one | a staging feed serving one package signed with the update key and one signed with another | S6, S5 |
- From `aidd-team:accessible-ui`: Keyboard-only flows.
## Owned elsewhere
- Rollout waves, beta channels, and the observe window: `aidd-team:release-rollout`.
- Pinned dependency, static, and secret scans: `aidd-domains:enterprise-controls`.
## References
- [references/distribution.md](references/distribution.md): the channels (direct download, Mac App Store, Microsoft Store, Steam, package managers) with each one's signing, review, and update path.
## Keep it current
Each entry is due after its `review_every_days` (else emerging 90 days, established 365) or by its `review_due`. An emerging one applies only when the change needs it, said in the Spec. One `aidd eval standards` lists as due is looked up in Specify, and a missing one is proposed to aidd's `schemas/industry-standards.json`.