Electron
Generates elegant, efficient Electron app code based on detailed specifications, prioritizing readability and maintainability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add gentleman-programming-electron npx -- -y @trustedskills/gentleman-programming-electron
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"gentleman-programming-electron": {
"command": "npx",
"args": [
"-y",
"@trustedskills/gentleman-programming-electron"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
The Electron skill enables AI agents to build and run cross-platform desktop applications using web technologies like HTML, CSS, and JavaScript. It leverages Chromium for rendering and Node.js for backend functionality, allowing agents to create native-like interfaces without platform-specific code.
When to use it
- Developing desktop tools that require access to the local file system or system APIs.
- Creating single-page applications (SPAs) that need to run offline on a user's machine.
- Prototyping desktop software quickly using existing web development frameworks.
- Building utilities that integrate deeply with operating system features like notifications or menus.
Key capabilities
- Cross-platform application support for Windows, macOS, and Linux.
- Integration of Chromium rendering engine for UI consistency.
- Access to Node.js runtime for server-side logic within the app.
- Ability to package applications as installable desktop executables.
Example prompts
- "Create a simple task manager desktop app with a dark mode interface using Electron."
- "Generate an Electron boilerplate that connects to a local SQLite database for storing user notes."
- "Build a cross-platform file organizer tool that runs on my Windows machine using HTML and Node.js."
Tips & gotchas
Ensure you have the necessary build tools installed, such as node-gyp, before compiling native modules. Be mindful of app size; bundling all assets can result in larger initial downloads compared to web applications.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.