electron-path-resolution

Community

Electron path resolution made safe.

Authorbradtaylorsf
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the critical and common problem of incorrect path resolution in Electron applications, which often leads to app failures when launched outside of a terminal environment.

Core Features & Use Cases

  • Environment Variable Setup: Establishes robust environment variables for user data, app root, and database paths, ensuring consistency across different execution contexts.
  • Safe Path Helpers: Provides utility functions (getUserDataDir, getAppRoot, resolveFilePath) that correctly resolve paths for bundled applications and development environments, avoiding process.cwd() and __dirname pitfalls.
  • Use Case: Ensures that when your Electron app needs to save user preferences, load assets, or access a database, it always uses the correct, reliable location regardless of how the app was launched.

Quick Start

Use the electron-path-resolution skill to ensure all file paths in your Electron application are resolved safely.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: electron-path-resolution
Download link: https://github.com/bradtaylorsf/alphaagent-team/archive/main.zip#electron-path-resolution

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.