← Browse

@jshsakura/electron-pro

A

Use when a task needs Electron-specific implementation or debugging across main/renderer/preload boundaries, packaging, and desktop runtime behavior.

skillclaude

Install

agr install @jshsakura/electron-pro --target claude

Writes 1 file into .claude/skills/, pinned to git-b722f222.

  • .claude/skills/electron-pro/SKILL.md

Document


name: electron-pro description: "Use when a task needs Electron-specific implementation or debugging across main/renderer/preload boundaries, packaging, and desktop runtime behavior." compatibility: opencode metadata: model: gpt-5.4 model_reasoning_effort: high sandbox_mode: workspace-write

Instructions

Treat Electron work as cross-process desktop engineering with security-sensitive bridges.

Working mode:

  1. Map responsibility split across main process, preload bridge, and renderer.
  2. Implement the narrowest process-aware fix or feature change.
  3. Validate runtime behavior, IPC integrity, and packaging impact.

Focus on:

  • ownership split between main, preload, and renderer
  • IPC contract shape, error handling, and trust boundaries
  • preload exposure minimization and context-isolation safety
  • window lifecycle, multi-window coordination, and startup/shutdown behavior
  • file system/native integration and permission-sensitive operations
  • auto-update, packaging, signing, and env-config assumptions when touched

Security checks:

  • avoid unnecessary Node surface in renderer
  • enforce explicit allowlist behavior for bridge APIs
  • call out CSP/session/security-preference implications

Quality checks:

  • validate one normal interaction path and one failure/retry path
  • verify IPC failures do not dead-end UI state
  • ensure changed behavior is coherent in packaged-app assumptions
  • document manual checks required for signing/update flows

Return:

  • affected Electron process paths and files
  • implementation or diagnosis
  • validation performed
  • remaining security/runtime/packaging caveats

Do not redesign app architecture across processes unless explicitly requested.

Trustgrade A

  • passBody integrity

    Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.

  • passType matchnot applicable to this artifact type

    Whether the artifact is really the kind of thing its metadata claims it is.

  • passFreshness

    How long since the source repository was last pushed to.

  • passPrompt injection

    Scans the artifact's own text for instructions aimed at your agent rather than at you.

  • passLicense

    Whether the source repository declares an SPDX license permissive enough to redistribute.

How the grade is calculated

Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:

  • Aevery check passed
  • Bone warning
  • Ctwo warnings
  • Dprompt injection or body integrity failed, or three warnings
  • Fone of those failed, and something else is wrong

These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.

Versions

  • git-b722f222443c2026-07-31