Skip to content
Back to skills

Cc Electron Project Standard

ASecurity

Use when an Electron application needs work on main/preload/renderer boundaries, contextBridge IPC, sender validation, sandbox and navigation policy, native modules, lifecycle or desktop packaging. A Node HTTP service without Electron is outside this specialty.

  • 23 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 12, 2026
developmentjavascripttypescriptrustjavanodefrontendbackendsecurity

Security analysis

A100/100

Pro scans all 19 files and shows the line behind each finding

Scanned November 12, 2026

npx -y skills add bovinphang/frontend-craft --skill cc-electron-project-standard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cc Electron Project Standard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cc Electron Project Standard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bovinphang-cc-electron-project-standard-frontend-craft/badge)](https://www.skillsdirectory.com/skills/bovinphang-cc-electron-project-standard-frontend-craft)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cc-electron-project-standard
description: Use when an Electron application needs work on main/preload/renderer boundaries, contextBridge IPC, sender validation, sandbox and navigation policy, native modules, lifecycle or desktop packaging. A Node HTTP service without Electron is outside this specialty.
---

# Electron application engineering

Identify the owning application and its main, preload and renderer entry points. JavaScript/TypeScript does not imply a browser-only or service-only role.

1. Read the actual Electron/Node/Chromium version, lock, packaging tool and supported platforms. Keep the project's existing module and build conventions.
2. Define a narrow typed bridge: one operation per channel, validated arguments and stable results. Authorize the actual sender/frame in main before any privileged effect.
3. Check `contextIsolation`, sandbox, Node integration, preload contents, protocol/CSP, navigation and new-window behavior together. An isolated renderer still sends untrusted IPC input.
4. Own listeners, handlers, windows, workers and native resources through startup/shutdown. Check native-module ABI/rebuild and ASAR/resource paths against the packaged application.
5. Use [practice](references/practice.md) and the [closed minimal example](examples/minimal/README.md), including its main/preload/renderer contract and explicit faulty variant.
6. Follow [verification](references/verification.md): rejected sender/input tests precede process/UI tests, platform bundles, upgrades and signing.

Deliver process boundaries, bridge contract, security decisions, actual verification and platform gaps. Node handler tests do not prove Electron sandbox activation or a signed application.

## Engineering practices

Read the [local engineering decisions](references/engineering-practices.md) for this task and follow their links to relevant shared principles. Apply levels and exceptions against actual project contracts; product frontend/backend labels do not constrain language or role.

Files in this skill

  • SKILL.md2 KB
  • examples/engineering/README.md1.4 KB
  • examples/engineering/ipc-lifecycle.cjs1.8 KB
  • examples/engineering/ipc-lifecycle.test.cjs2.4 KB
  • examples/engineering/package.json229 B
  • examples/minimal/README.md1 KB
  • examples/minimal/boundary.cjs955 B
  • examples/minimal/boundary.test.cjs1.3 KB
  • examples/minimal/index.html261 B
  • examples/minimal/main.cjs1.5 KB
  • examples/minimal/package.json302 B
  • examples/minimal/preload.cjs181 B
  • examples/minimal/renderer.js280 B
  • references/common/engineering-practices.md12 KB
  • references/common/engineering-practices.rules.json2.2 KB
  • references/common/engineering-practices.sources.json15.9 KB
  • references/engineering-practices.md3.2 KB
  • references/practice.md2 KB
  • references/verification.md1.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.