tauri-rules
/tauri-rules
Stosuje reguły i komendy sprawdzające Shipwright dla aplikacji desktopowych w Tauri, przy pisaniu, przeglądzie i audycie kodu.
- 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
Stosuje reguły i komendy sprawdzające Shipwright dla aplikacji desktopowych w Tauri, przy pisaniu, przeglądzie i audycie kodu.
Oryginalny opis (EN)
Shipwright rules and check commands for Tauri (desktop app). Use when writing, reviewing or auditing code in a project that uses this stack. FR : règles et commandes de vérification pour Tauri (application de bureau).
Jak działa
- Rules
- Check commands
Podgląd SKILL.md
---
name: tauri-rules
description: "Shipwright rules and check commands for Tauri (desktop app). Use when writing, reviewing or auditing code in a project that uses this stack. FR : règles et commandes de vérification pour Tauri (application de bureau)."
---
<!-- Generated by tools/build.py from the referential YAML. Do not edit by hand. -->
# Tauri (desktop app)
These rules add to the core build skills of Shipwright.
## Rules
- Every command exposed to the page (#[tauri::command]) validates its arguments: paths resolved then checked against the allowed folders, sizes bounded, never a system command built from input.
- Per-window permissions in src-tauri/capabilities, narrowed by scopes (folders, commands, hosts); never fs, shell or http granted whole.
- Content security policy set in tauri.conf.json, without 'unsafe-eval' or a wildcard source; no remote page receives the app's permissions.
- Heavy work runs on the Rust side in an async task, with progress events; the window never freezes.
- Window state remembered (window-state plugin); minimum size set in the configuration.
- Data in the system's application folder (app_data_dir), secrets in the system keychain; nothing next to the executable.
- Updates with the updater plugin: public key in the configuration, private key only in CI, https endpoints.
- Windows signing and macOS notarisation done in CI; no key or certificate in the repository.
- Never run a project generator with --force in a non-empty folder.
- To check the interface in the real window on Windows: start the app with WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--remote-debugging-port=9222, then sw flows --attach 9222 and sw deslop --attach 9222.
## Check commands
Used by `/sw:audit`. `{pm}` is the project's package manager, `{url}` the app URL, `{host}` its host name.
| Check | Command | Passes if |
| --- | --- | --- |
| typecheck | `{pm} exec tsc --noEmit && cargo check --manifest-path src-tauri/Cargo.toml` | exit code 0 for both |
| lint | `{pm} run lint && cargo clippy --manifest-path src-tauri/Cargo.toml -- -D warnings` | exit code 0, no warning |
| test_run | `{pm} test && cargo test --manifest-path src-tauri/Cargo.toml` | exit code 0 for both |
| deps_audit | `{pm} audit --audit-level=high && cargo audit --file src-tauri/Cargo.lock` | no high or critical advisory (cargo audit needs `cargo install cargo-audit`) |
| license_check | `npx --yes license-checker-rseidelsohn --summary --failOn 'GPL;AGPL'` | exit code 0; check Rust crates with cargo-deny if the app is distributed |
Wersje
W bazie nie ma innych skilli o nazwie tauri-rules.
Migawka bazy z 13.11.2026 · wersja paczki 78e30cc55699 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90electron-rules
Podaje zasady i polecenia sprawdzające dla aplikacji desktopowych w Electron, do pisania, przeglądu i audytu kodu. - 90nextjs-rules
Podaje zasady i komendy sprawdzające dla kodu Next.js, React, TypeScript i Tailwind przy pisaniu lub przeglądzie kodu. - 100tauri
Opisuje Tauri w aplikacjach desktopowych z backendem w Rust i frontendem webowym: architektura, komendy IPC, pluginy, bundling, podpisywanie kodu i bezpieczeństwo. - 100tauri
Udostępnia wiedzę o Tauri 2: rdzeń, desktop i mobile, komendy, IPC, pluginy, OAuth i CI/CD. - 100tauri
Udostępnia wiedzę o Tauri 2: rdzeń, desktop i mobile, komendy, IPC, pluginy, OAuth i CI/CD. - 100tauri
Doradza przy Tauri: rdzeń w Rust, frontend webowy, bezpieczne komendy IPC i pakowanie na wiele platform, dla lekkich aplikacji desktopowych i mobilnych.