path-resolution

Community

Select safe file path strategies for scripts

Authortheodrosyimer
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Scripts often fail because they rely on relative paths that resolve from the process's current working directory, which can differ across environments such as Docker, CI/CD pipelines, cron jobs, or monorepos.

Core Features & Use Cases

  • Provides a decision matrix that compares script‑anchored paths, environment variables, and os.chdir() strategies.
  • Lists language‑specific patterns for Python, Node.js (CommonJS and ES Modules), and Bash to anchor paths safely.
  • Offers quick rules to prevent path bugs when creating new scripts, updating existing ones, or configuring applications that run in varied contexts.

Quick Start

Ask the path‑resolution skill to display the decision matrix for Python scripts.

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: path-resolution
Download link: https://github.com/theodrosyimer/.dotfiles/archive/main.zip#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 471,000+ vetted skills library on demand.