使い方
- インストールコマンドをコピーし、自分の環境へ導入する前にソースを確認します。
- 必要なツール、認証情報、対応環境を原文で確認します。
- 入力と成果物を指定し、出力を資料と照合します。
npx skills add https://github.com/quasarframework/agent-skills --skill quasar-electron-development開始前の確認
- 導入にはモデル契約、API枠、ファイルへのアクセス許可は含まれません。
- スター数や導入数は活動の指標であり、独立した品質・安全性試験ではありません。
見出し、例、コード、表、リンク、参照画像を含む原文を表示しています。
Quasar Electron Development
Use this skill with quasar-development for renderer UI and shared application concerns.
Map the process boundary
- Inspect
quasar.config.* > electron,src-electron/electron-main.*, every preload script, IPC definitions, packaging tool, and updater strategy. - Read the current Quasar Electron documentation and Electron security guidance.
- Add the mode with
quasar mode add electron. - Identify which code runs in main, preload, and renderer before editing.
Enforce Electron security
- Keep
contextIsolationenabled and renderer Node integration disabled. - Expose a narrow, typed preload API through
contextBridge; never expose rawipcRenderer, filesystem, shell, or process objects. - Validate IPC sender, channel, arguments, paths, URLs, and return data in the main process.
- Do not enable the deprecated
remotemodule. - Restrict navigation, new windows, permissions, protocols, and external URL opening. Allowlist schemes and destinations.
- Apply a strong Content Security Policy and avoid loading remote executable content.
- Treat renderer input as untrusted even when the app is local.
- Resolve packaged assets with Quasar's supported Electron runtime helpers when applicable.
Package deliberately
- Keep main/preload dependencies and native modules in the correct package scope.
- Rebuild and test native modules for each target architecture.
- Configure application identity, icons, file associations, protocols, signing, notarization, and artifact names for each OS.
- Design auto-update signing, rollout, rollback, and migration behavior before enabling it.
Validate
- Run
quasar dev -m electronand exercise main/preload/renderer interactions. - Add tests around IPC validation and privileged operations.
- Build with
quasar build -m electronusing the configured packager. - Install and launch packaged artifacts on every supported OS; test upgrade/uninstall behavior where relevant.
- Run tests, typecheck, lint, formatting, dependency audit, and inspect the packaged file set.



