electron-best-practices
Practical Electron guidance for building and maintaining desktop apps with clear main process, renderer, preload, IPC, BrowserWindow, packaging, Electron…
Skill by MylesMCook
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mylesmcook-electron-best-practices
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/electron-best-practices
What's inside
- Skill name
electron-best-practices- Description
- Practical Electron guidance for building and maintaining desktop apps with clear main process, renderer, preload, IPC, BrowserWindow, packaging, Electron Forge, debugging, and security defaults. Use when working on Electron app creation, Electron Forge setup, preload or IPC design, window lifecycle, security hardening, packaging or distribution, auto-update work, or Electron debugging.
- License
- MIT
- Instructions
- 38 lines in SKILL.md · view on GitHub
Files (5)
- SKILL.md
- architecture-and-security.md · references/
- common-recipes.md · references/
- doc-index.md · references/
- forge-workflows.md · references/
SKILL.md (first lines)
# Electron Best Practices Use this skill for Electron work that needs durable guidance without relying on copied docs. ## Default Stance - Prefer Electron Forge for new apps. - Prefer TypeScript unless the project is already committed to plain JavaScript. - Prefer preload scripts with `contextIsolation: true` and narrow IPC bridges. - Prefer Vite for a new modern frontend build, but stay with Webpack or another existing toolchain when the project already uses it. - Defer version-sensitive config, CLI flags, and API edge cases to the official docs in `references/doc-index.md`. ## Workflow 1. Identify whether the task is about architecture, security, IPC, packaging, updates, or tooling. 2. Open `references/doc-index.md` first to choose the right official source. 3. Open one focused reference file from this skill for durable guidance: - `references/architecture-and-security.md` - `references/forge-workflows.md` - `references/common-recipes.md` 4. Preserve the current project stack when it already exists. Only apply the Forge-first defaults when the user has not chosen another path. 5. When exact config or command syntax matters, verify it against the linked Electron or Electron Forge docs instead of guessing or reusing stale snippets. ## Reference Routing - Use `references/architecture-and-security.md` for main vs renderer vs preload boundaries, secure IPC design, BrowserWindow defaults, and hardening. - Use `references/forge-workflows.md` for scaffolding, TypeScript setup, Vite vs Webpack, makers, publishers, debugging, and update planning. - Use `references/common-recipes.md` for evergreen implementation shapes such as secure IPC bridges, window lifecycle, menus and tray, native dialogs, and updater entrypoints. - Use `references/doc-index.md` whenever you need the current official page for syntax, options, or release-sensitive behavior. ## Guardrails - Do not expose raw Node access to renderer code unless the project has a deliberate and reviewed reason. - Do not widen IPC channels more than the task requires. - Do not migrate an existing build tool without a user reason. - Do not treat this skill as a local mirror of Electron docs; treat it as a routing and decision layer over official docs.
From MylesMCook/mcook-skills, MIT.
More from MylesMCook/mcook-skills
- 0.529score
base-ui-stylex
MylesMCook
Build, review, or debug React components using Base UI and StyleX with live official documentation lookup and source citations.
SkillBFreshness: BClaude Code +9 - 0.524score
archive-stale-codex-tasks
MylesMCook
Inspect and safely archive stale idle Codex tasks when the user asks to clean up old Codex tasks, threads, or processes.
SkillBFreshness: BClaude Code +9 - 0.479score
american-inkblot-illustrations
MylesMCook
Use when creating, planning, prompting, generating, or editing quirky US English article illustrations: blog, newsletter, essay, Notion, document body art…
SkillCFreshness: CClaude Code +9 - 0.479score
adversarial-review
MylesMCook
Use this skill when you need a serious code review, diff review, or implementation-plan review from independent reviewers.
SkillCFreshness: CClaude Code +9 - 0.450score
fugu-second-opinion
MylesMCook
Use only when the user explicitly invokes $fugu-second-opinion or asks for Sakana Fugu or Fugu Ultra by name to provide a second opinion, external model…
SkillCFreshness: CClaude Code +9 - 0.450score
goalie
MylesMCook
Use when the user wants to turn a rough idea, dirty goal, messy long-run prompt, sidechat thought, or under-scoped Codex task into clean Goal objective text…
SkillCFreshness: CClaude Code +9 - 0.414score
agent-skills-architect
MylesMCook
Create, audit, improve, rewrite, or package Agent Skills and Codex skills.
SkillDFreshness: DClaude Code +9 - 0.414score
laws-of-software-los
MylesMCook
Use this skill for software architecture, system design, ADRs, migration plans, code review, refactors, APIs, data changes, reliability, performance…
SkillDFreshness: DClaude Code +9 - 0.414score
deneb-authoring
MylesMCook
Author and debug Deneb visuals for Power BI, including dataset binding, PBIR persistence, report-theme integration, interactivity, and template metadata.
SkillDFreshness: DClaude Code +9 - 0.414score
browser-probe
MylesMCook
Exploratory browser QA for real web apps.
SkillDFreshness: DClaude Code +9 - 0.414score
dogfood
MylesMCook
Formal repro-first browser QA for real web apps.
SkillDFreshness: DClaude Code +9 - 0.411score
brainerd
MylesMCook
Initialize or update a repo-local `brain/`: create the `brain/` folder and managed `AGENTS.md` block, reflect durable repo learnings into principles or notes…
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 26, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/MylesMCook/mcook-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from MylesMCook
- 0.529score
base-ui-stylex
MylesMCook
Build, review, or debug React components using Base UI and StyleX with live official documentation lookup and source citations.
SkillBFreshness: BClaude Code +9 - 0.524score
archive-stale-codex-tasks
MylesMCook
Inspect and safely archive stale idle Codex tasks when the user asks to clean up old Codex tasks, threads, or processes.
SkillBFreshness: BClaude Code +9 - 0.479score
adversarial-review
MylesMCook
Use this skill when you need a serious code review, diff review, or implementation-plan review from independent reviewers.
SkillCFreshness: CClaude Code +9 - 0.479score
american-inkblot-illustrations
MylesMCook
Use when creating, planning, prompting, generating, or editing quirky US English article illustrations: blog, newsletter, essay, Notion, document body art…
SkillCFreshness: CClaude Code +9 - 0.450score
fugu-second-opinion
MylesMCook
Use only when the user explicitly invokes $fugu-second-opinion or asks for Sakana Fugu or Fugu Ultra by name to provide a second opinion, external model…
SkillCFreshness: CClaude Code +9 - 0.450score
goalie
MylesMCook
Use when the user wants to turn a rough idea, dirty goal, messy long-run prompt, sidechat thought, or under-scoped Codex task into clean Goal objective text…
SkillCFreshness: CClaude Code +9
Cite this page
electron-best-practices skill. Agent Mart. https://agentmart.dev/skills/mylesmcook-electron-best-practices (last updated 2026-10-24)