cc-electron-project-standard
/cc-electron-project-standard
Porządkuje granice procesów w aplikacji Electron: preload, IPC, sandbox, polityki nawigacji i pakowanie na desktop.
- Autor
- bovinphang ↗
- Repozytorium
- backend-craft ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 12.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 19
- Skrypty
- 7
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 12.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 7 skryptów w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: examples/engineering/ipc-lifecycle.cjs, examples/engineering/ipc-lifecycle.test.cjs, examples/minimal/boundary.cjs, examples/minimal/boundary.test.cjs, examples/minimal/main.cjs, examples/minimal/preload.cjs, examples/minimal/renderer.js
Co robi i kiedy
Porządkuje granice procesów w aplikacji Electron: preload, IPC, sandbox, polityki nawigacji i pakowanie na desktop.
Oryginalny opis (EN)
Use when an Electron application needs work on main/preload/renderer boundaries, contextBridge IPC, sender validation, sandbox and navigation policy, native modules, lifecycle or desktop packaging. A Node HTTP service without Electron is outside this specialty.
Jak działa
- Engineering practices
Podgląd SKILL.md
--- name: cc-electron-project-standard description: Use when an Electron application needs work on main/preload/renderer boundaries, contextBridge IPC, sender validation, sandbox and navigation policy, native modules, lifecycle or desktop packaging. A Node HTTP service without Electron is outside this specialty. --- # Electron application engineering Identify the owning application and its main, preload and renderer entry points. JavaScript/TypeScript does not imply a browser-only or service-only role. 1. Read the actual Electron/Node/Chromium version, lock, packaging tool and supported platforms. Keep the project's existing module and build conventions. 2. Define a narrow typed bridge: one operation per channel, validated arguments and stable results. Authorize the actual sender/frame in main before any privileged effect. 3. Check `contextIsolation`, sandbox, Node integration, preload contents, protocol/CSP, navigation and new-window behavior together. An isolated renderer still sends untrusted IPC input. 4. Own listeners, handlers, windows, workers and native resources through startup/shutdown. Check native-module ABI/rebuild and ASAR/resource paths against the packaged application. 5. Use [practice](references/practice.md) and the [closed minimal example](examples/minimal/README.md), including its main/preload/renderer contract and explicit faulty variant. 6. Follow [verification](references/verification.md): rejected sender/input tests precede process/UI tests, platform bundles, upgrades and signing. Deliver process boundaries, bridge contract, security decisions, actual verification and platform gaps. Node handler tests do not prove Electron sandbox activation or a signed application. ## Engineering practices Read the [local engineering decisions](references/engineering-practices.md) for this task and follow their links to relevant shared principles. Apply levels and exceptions against actual project contracts; product frontend/backend labels do not constrain language or role.
Pliki w paczce (19)
- SKILL.md 2 KB
- examples/engineering/README.md 1 KB
- examples/engineering/ipc-lifecycle.cjs 2 KB
- examples/engineering/ipc-lifecycle.test.cjs 2 KB
- examples/engineering/package.json 1 KB
- examples/minimal/README.md 1 KB
- examples/minimal/boundary.cjs 1 KB
- examples/minimal/boundary.test.cjs 1 KB
- examples/minimal/index.html 1 KB
- examples/minimal/main.cjs 2 KB
- examples/minimal/package.json 1 KB
- examples/minimal/preload.cjs 1 KB
- examples/minimal/renderer.js 1 KB
- references/engineering-practices.md 3 KB
- references/practice.md 2 KB
- references/verification.md 1 KB
- references/common/engineering-practices.md 12 KB
- references/common/engineering-practices.rules.json 2 KB
- references/common/engineering-practices.sources.json 16 KB
Wersje
W bazie nie ma innych skilli o nazwie cc-electron-project-standard.
Migawka bazy z 13.11.2026 · wersja paczki 968f416e9750 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 90electron-app-stinger
Prowadzi inżynierię aplikacji Electron: granice procesów, API preload, IPC, sandbox, pakowanie, aktualizacje i weryfikację desktopową, przy implementacji lub przeglądzie aplikacji. - 100electron-developer
Implementuje lub naprawia małe i średnie aplikacje Electron: proces główny, preload, renderer, IPC i pakowanie. - 100electron
Wspiera tworzenie wieloplatformowych aplikacji desktopowych w Electron: procesy główny i renderera, komunikacja IPC, skrypty preload i pakowanie. - 95electron
Prowadzi przez budowę i utwardzanie wieloplatformowych aplikacji Electron: model procesów, typowany IPC przez contextBridge, ustawienia nodeIntegration, contextIsolation, sandbox i CSP, podpisywanie i autoaktualizacje. - 100electron-expert
Wspiera pracę z frameworkiem Electron: architektura, typy procesów, komunikacja IPC, cykl życia aplikacji i pakowanie wieloplatformowe. - 100electron-api
Prowadzi przy dodawaniu nowych API Electron do Wave Terminal przez komunikację frontend-electron w preload i IPC.