Gojiberry AI
AI agents that find and contact high-intent leads for you
Try Gojiberry free →
Hermes Agent
Run your Hermes agent, fully managed
Launch on Hostinger →
Hostinger VPS
Spin up a VPS in one click, 20% off
Launch on Hostinger →
Firecrawl
Crawl and scrape any site into clean data
Try Firecrawl free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
Context.dev
One API to scrape, enrich, and extract the web
Start building free →
Jotform
Forms, workflows, and AI Agents for your team
Try Jotform free →
Runable
One AI agent to build, run, and grow your business
Try Runable free →
OpenClaw
Deploy a managed OpenClaw agent in 60 seconds
Launch on Hostinger →
Sponsor here
9/10 sponsor slots taken — 1 left
Claim it →
Claude Market
Menu
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Claude Market
SkillsMCPPluginsMarketplacesNewsletterSubmit MCPSkillPluginMCPMCP, plugin, or skillAdvertise
Skills/partme-ai/full-stack-skills/electron
electron logo

electron

partme-ai/full-stack-skills
68 installs612 stars
Run it on Hostinger, 20% off →Your friend gets 20% off too, using this linkFree API →|View on GitHub|Create your own skill →

Installation

npx skills add https://github.com/partme-ai/full-stack-skills --skill electron

Summary

Build cross-platform desktop applications with Electron, covering main/renderer process architecture, IPC communication, BrowserWindow management, menus, tray icons, packaging, and security best practices. Use when the user asks about Electron, needs to create desktop applications, implement Electron features, or build cross-platform desktop apps.

SKILL.md

When to use this skill

Use this skill whenever the user wants to:

  • Build cross-platform desktop applications with Electron
  • Understand Electron architecture (main process, renderer process, preload)
  • Implement IPC (Inter-Process Communication) between processes
  • Create and manage BrowserWindow instances
  • Implement menus, tray icons, and native features
  • Package and distribute Electron applications
  • Use Electron Forge for project scaffolding and building
  • Debug and test Electron applications
  • Implement security best practices
  • Use Electron APIs (app, BrowserWindow, ipcMain, ipcRenderer, etc.)

How to use this skill

This skill is organized to match the Electron official documentation structure (https://www.electronjs.org/zh/docs/latest/, https://www.electronjs.org/zh/docs/latest/api/app). When working with Electron:

  1. Identify the topic from the user's request:
  • Getting started/快速开始 → examples/getting-started/installation.md or examples/getting-started/quick-start.md
  • Main process/主进程 → examples/processes/main-process.md
  • Renderer process/渲染进程 → examples/processes/renderer-process.md
  • IPC communication/IPC 通信 → examples/processes/ipc-communication.md
  • BrowserWindow/窗口 → examples/api/browser-window.md
  • Menu/菜单 → examples/api/menu.md
  • Packaging/打包 → examples/advanced/packaging.md
  • Security/安全 → examples/advanced/security.md
  1. Load the appropriate example file from the examples/ directory:

Getting Started (快速开始) - examples/getting-started/:

  • examples/getting-started/installation.md - Installing Electron and basic setup
  • examples/getting-started/quick-start.md - Quick start tutorial

Processes (进程) - examples/processes/:

  • examples/processes/main-process.md - Main process concepts and usage
  • examples/processes/renderer-process.md - Renderer process concepts
  • examples/processes/preload-scripts.md - Preload scripts usage
  • examples/processes/ipc-communication.md - IPC communication patterns

API Examples (API 示例) - examples/api/:

  • examples/api/browser-window.md - BrowserWindow usage
  • examples/api/menu.md - Menu and context menu
  • examples/api/tray.md - System tray
  • examples/api/dialog.md - File dialogs
  • examples/api/ipc-main.md - ipcMain usage
  • examples/api/ipc-renderer.md - ipcRenderer usage

Advanced (高级) - examples/advanced/:

  • examples/advanced/packaging.md - Application packaging
  • examples/advanced/security.md - Security best practices
  • examples/advanced/auto-updater.md - Auto updater
  • examples/advanced/native-modules.md - Native modules

Tools (工具) - examples/tools/:

  • examples/tools/electron-forge.md - Electron Forge usage
  • examples/tools/electron-fiddle.md - Electron Fiddle usage
  1. Follow the specific instructions in that example file for syntax, structure, and best practices

Important Notes:

  • All examples follow Electron latest API
  • Examples use both CommonJS (require) and ES modules (import)
  • Each example file includes key concepts, code examples, and key points
  • Always check the example file for best practices and common patterns
  • Electron supports Windows, macOS, and Linux
  1. Reference API documentation in the api/ directory when needed:
  • api/app.md - app module API
  • api/browser-window.md - BrowserWindow API
  • api/ipc-main.md - ipcMain API
  • api/ipc-renderer.md - ipcRenderer API
  • api/menu.md - Menu API
  • api/tray.md - Tray API
  1. Use templates from the templates/ directory:
  • templates/main-process.md - Main process template
  • templates/preload-script.md - Preload script template
  • templates/renderer-process.md - Renderer process template
  • templates/package-json.md - package.json template

Doc mapping (one-to-one with official documentation)

  • examples/ → https://www.electronjs.org/zh/docs/latest/
  • api/ → https://www.electronjs.org/zh/docs/latest/api/app

Quick Start Example

// main.js
const { app, BrowserWindow, ipcMain } = require('electron')
const path = require('path')

function createWindow() {
  const win = new BrowserWindow({
    width: 800, height: 600,
    webPreferences: {
      preload: path.join(__dirname, 'preload.js'),
      nodeIntegration: false,  // Security: always disable
      contextIsolation: true    // Security: always enable
    }
  })
  win.loadFile('index.html')
}

app.whenReady().then(createWindow)

// IPC handler example
ipcMain.handle('get-data', async () => {
  return { message: 'Hello from main process' }
})
// preload.js
const { contextBridge, ipcRenderer } = require('electron')
contextBridge.exposeInMainWorld('api', {
  getData: () => ipcRenderer.invoke('get-data')
})

API Reference (api/)

  • api/app.md - app module API
  • api/browser-window.md - BrowserWindow API
  • api/ipc-main.md / api/ipc-renderer.md - IPC APIs
  • api/menu.md / api/tray.md / api/dialog.md - UI APIs

Best Practices

  1. Security: Never enable nodeIntegration in renderer process, use preload scripts
  2. Process separation: Keep main and renderer processes separate
  3. IPC communication: Use IPC for safe communication between processes
  4. Resource management: Properly clean up resources (windows, listeners)
  5. Error handling: Implement proper error handling and crash reporting
  6. Performance: Optimize for performance, use webContents for debugging
  7. Packaging: Use Electron Forge or electron-builder for packaging
  8. Auto updates: Implement auto-updater for production apps
  9. Native modules: Handle native module compatibility
  10. Cross-platform: Test on all target platforms

Resources

  • Official Website: https://www.electronjs.org/zh/
  • Documentation: https://www.electronjs.org/zh/docs/latest/
  • API Reference: https://www.electronjs.org/zh/docs/latest/api/app
  • Electron Forge: https://www.electronforge.io
  • Electron Fiddle: https://www.electronjs.org/zh/fiddle
  • GitHub Repository: https://github.com/electron/electron

Keywords

Electron, desktop app, main process, renderer process, preload, IPC, BrowserWindow, Menu, Tray, Dialog, packaging, electron-builder, electron-forge, electron-fiddle, cross-platform, 桌面应用, 主进程, 渲染进程, IPC 通信, 窗口, 菜单, 托盘, 打包

Score

0–100
54/ 100

Grade

D

Popularity6/30

68 installs — early adoption.

Completeness27/30

Documented: full SKILL.md body, description, one-line install. Missing: category/license metadata.

Trust15/25

Community skill with a public GitHub source repository you can review.

Freshness6/15

No update timestamp is tracked for this skill in our catalog.

Scored automatically from popularity, completeness, trust, and freshness — computed only from data in our catalog, never fabricated.

Proud of your score? Add this badge to your README.

Paste a snippet into your GitHub README. The badge updates automatically and links back to this page.

Electron skill score badge previewScore badge

Markdown

[![Electron skill](https://www.claudemarket.ai/skills/partme-ai/full-stack-skills/electron/badges/score.svg)](https://www.claudemarket.ai/skills/partme-ai/full-stack-skills/electron)

HTML

<a href="https://www.claudemarket.ai/skills/partme-ai/full-stack-skills/electron"><img src="https://www.claudemarket.ai/skills/partme-ai/full-stack-skills/electron/badges/score.svg" alt="Electron skill"/></a>

Electron FAQ

How do I install the Electron skill?

Run “npx skills add https://github.com/partme-ai/full-stack-skills --skill electron” in your terminal. The skill is added to your agent's skills directory and picked up automatically on the next run — no restart or extra configuration needed.

What does the Electron skill do?

Build cross-platform desktop applications with Electron, covering main/renderer process architecture, IPC communication, BrowserWindow management, menus, tray icons, packaging, and security best practices. Use when the user asks about Electron, needs to create desktop applications, implement Electron features, or build cross-platform desktop apps. The full SKILL.md on this page shows the exact instructions the skill gives your agent.

Is the Electron skill free?

Yes. Electron is a free, open-source skill published from partme-ai/full-stack-skills. As with any third-party skill, review the source repository before installing it into an agent with sensitive access.

Does Electron work with Claude Code and OpenClaw?

Yes. Skills use the portable SKILL.md format, so Electron works with Claude Code, OpenClaw, Codex, Hermes, and any other agent that reads SKILL.md skills.

Recommended skills

Browse all →
find-skills logo

find-skills

vercel-labs/skills

2.9M installsInstall
grill-me logo

grill-me

mattpocock/skills

817K installsInstall
frontend-design logo

frontend-design

anthropics/skills

762K installsInstall
grill-with-docs logo

grill-with-docs

mattpocock/skills

696K installsInstall
improve-codebase-architecture logo

improve-codebase-architecture

mattpocock/skills

671K installsInstall
agent-browser logo

agent-browser

vercel-labs/agent-browser

652K installsInstall

Related guides

Hand-picked reading to help you choose, install, and use agent skills.

GuideBest Security Skills For AI AgentsGuide10 Openclaw Skills Every Nextjs Developer NeedsGuideHow To Build Your First Openclaw Skill

Skills by category

FrontendBackend & APIsTesting & QASecurityDevOps & CI/CDMCP & ToolingAutomationData & Analysis+27 more

MCP servers by category

MCP & ToolingBackend & APIsData & AnalysisDevOps & CI/CDAutomationSecurityDocsTesting & QA+24 more

Plugins by category

AutomationDevOps & CI/CDData & AnalysisDesign & CreativeSecurityBackend & APIsFrontendTesting & QA+16 more

Marketplaces by category

AutomationData & AnalysisDevOps & CI/CDDesign & CreativeFrontendBackend & APIsTesting & QASecurity+21 more

The Agent Stack

Weekly Claude Code, Agent SDK, and MCP moves worth your time — free.

Claude Market

AI agent skills directory, marketplace, and workflow hub for OpenClaw, Hermes Agent, Claude Code, Codex, and MCP-powered operator stacks.

Independent project, not affiliated with Anthropic.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Plugins
  • Browse Marketplaces
  • Newsletter

More

  • Submit a Tool
  • Create a Skill
  • Advertise
  • Free Tools
  • API
  • Shipping
  • Contact
  • Terms
  • Privacy
© 2026 Claude Market · Not affiliated with Anthropic
Fazier badgeFeatured on Twelve ToolsFeatured on Wired BusinessRemote OpenClaw - Featured on AI Agents DirectoryListed on Turbo0Featured on Uneed