hieudoanm/hieudoanm.github.io/electron
Claude Code and agent skill by hieudoanm/hieudoanm.github.io
- community
Checking that the SKILL.md file is still in the repository.
Best practices for building cross-platform desktop applications with Electron (JavaScript/TypeScript). Use when creating, structuring, or reviewing an Electron app — covers main/renderer process architecture, IPC, security, packaging, and performance.
Install
npx vskill@latest install hieudoanm/hieudoanm.github.io/electronSKILL.md
The same SKILL.md was published earlier as hieudoanm/hieudoanm.github.io/electron.
Electron Best Practices
Electron is a framework for building cross-platform desktop applications using web technologies. Best practice is to maintain clear separation between main and renderer processes, use secure IPC communication, optimize performance, and follow security best practices.
When to use
Use when creating, structuring, or reviewing an Electron app.
Prerequisites
- Basic familiarity with TypeScript and the project conventions.
- For implementation, access to the relevant source code and development environment.
Scope boundary
- When the project does not use this technology or pattern, or the task falls outside its scope; follow the project’s existing stack and conventions.
Essential checks
- Process separation — maintain clear separation between main and renderer
- Security first — always enable context isolation and disable node integration
- Type safety — use TypeScript and share types between processes
- Performance — optimize startup time and memory usage
- IPC communication — use preload scripts for secure IPC
- Testing — test both processes and IPC communication
- [ ] Clear project structure with main/renderer/preload separation
- [ ] Context isolation enabled, node integration disabled
Focus areas
- 1. Core Stack
- 2. Project Structure
- 3. Main Process
- 4. IPC Communication
- 5. Security
- 6. Performance
- 7. Packaging
- 8. Testing
- 9. Debugging
Detailed references
Related materials
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryChecking.skills/programming/languages/typescript/frontend/frameworks/hybrid/electron/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hieudoanm/hieudoanm.github.io/electron)