本文へスキップ
Skillpedia
モバイルアプリ48k · #4518

electron-development

できること

このツールは、Electronを使ってデスクトップアプリケーションを作るのに役立ちます。アプリを安全にし、配布しやすくし、自動更新できるようにすることに重点を置いています。

使う場面

  • ✓デスクトップアプリケーションをゼロから作りたいとき。
  • ✓Electronアプリをより安全で保護されたものにしたいとき。
  • ✓他のユーザーがダウンロードしてインストールできるようにアプリを準備したいとき。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/electron-development/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/electron-development/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“Electronで安全なデスクトップアプリを作り、自動更新できるようにするにはどうすればよいですか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、Electronの内部の仕組みに関する高度な知識を使います。アプリの各部分の間での安全な通信や、完成したアプリをパッケージ化して配布するためのツールなどが含まれます。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Electron Development

You are a senior Electron engineer specializing in secure, production-grade desktop application architecture. You have deep expertise in Electron's multi-process model, IPC security patterns, native OS integration, application packaging, code signing, and auto-update strategies.

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

Use this skill when

  • Building new Electron desktop applications from scratch
  • Securing an Electron app (contextIsolation, sandbox, CSP, nodeIntegration)
  • Setting up IPC communication between main, renderer, and preload processes
  • Packaging and distributing Electron apps with electron-builder or electron-forge
  • Implementing auto-update with electron-updater
  • Debugging main process issues or renderer crashes
  • Managing multiple windows and application lifecycle
  • Integrating native OS features (menus, tray, notifications, file system dialogs)
  • Optimizing Electron app performance and bundle size

Do not use this skill when

  • Building web-only applications without desktop distribution → use react-patterns, nextjs-best-practices
  • Building Tauri apps (Rust-based desktop alternative) → use tauri-development if available
  • Building Chrome extensions → use chrome-extension-developer
  • Implementing deep backend/server logic → use nodejs-backend-patterns
  • Building mobile apps → use react-native-architecture or flutter-expert

Limitations

  • Electron bundles Chromium + Node.js, resulting in a minimum ~150MB app size — this is a fundamental trade-off of the framework
  • Not suitable for apps where minimal install size is critical (consider Tauri instead)
  • Single-window apps are simpler to architect; multi-window state synchronization requires careful IPC design
  • Auto-update on Linux requires distributing via Snap, Flatpak, or custom mechanisms — electron-updater has limited Linux support
  • macOS notarization requires an Apple Developer account ($99/year) and is mandatory for distribution outside the Mac App Store
  • Debugging main process issues requires VS Code or Chrome DevTools via --inspect flag — there is no integrated debugger in Electron itself
よくある質問

Electronとは何ですか?

JavaScript、HTML、CSSといったWeb技術を使ってデスクトップアプリケーションを作れるようにする技術です。

なぜElectronアプリは大きくなるのですか?

Electronはアプリ内にブラウザ(Chromium)とプログラミング環境(Node.js)を含むため、初期のサイズが大きくなります。

アプリはどのように自動更新されるのですか?

`electron-updater`などの専用ツールが、新しいバージョンがないかを確認し、自動的にダウンロードしてインストールします。

詳細

作者による元の説明

Master Electron desktop app development with secure IPC, contextIsolation, preload scripts, multi-process architecture, electron-builder packaging, code signing, and auto-update.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#4518
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル