path

Manipulate file paths across Node.js, Bun, and browser environments.

68|13|Updated Aug 9, 2025
One-click install
npx skills add https://github.com/kriegcloud/beep-effect --skill path
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: path
Source: https://github.com/kriegcloud/beep-effect/tree/main/.claude/skills/path
Command: npx skills add https://github.com/kriegcloud/beep-effect --skill path

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a robust and cross-platform solution for handling file path manipulations, ensuring your code works consistently across different operating systems like Windows, macOS, and Linux.

Core Features & Use Cases

  • Path Manipulation: Join, resolve, normalize, and extract directory/file names from paths.
  • Cross-Platform Compatibility: Works seamlessly in Node.js, Bun, and browser environments.
  • URL Conversion: Safely convert between file URLs and system paths.
  • Use Case: When building a universal application, use this Skill to construct file paths that are valid whether the application is running on a Windows server or a Linux development machine.

Quick Start

Use the path skill to join the segments "src", "components", and "Button.tsx".

Frequently Asked Questions about path

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle file path operations across Node.js, Bun, and browser environments?

Cross-platform file path manipulation requires utilities that handle joining, resolution, and normalization consistently. This skill provides these operations to ensure paths work seamlessly across Windows, macOS, and Linux environments.

What is the best way to convert file URLs to system paths in JavaScript?

Converting file URLs to system paths is best handled by utilities with built-in error handling for cross-platform compatibility. This skill safely converts between file URLs and system paths while ensuring the resulting paths are normalized for the target operating system.

Does this path manipulation utility work in both Node.js and Bun?

Yes, this path manipulation utility works in both Node.js and Bun environments. It is designed for cross-platform compatibility, allowing you to extract directory and basename information or retrieve file extensions consistently regardless of the runtime.

How do I join multiple path segments into a single absolute path?

To join multiple path segments into a single absolute path, you use path resolution and joining utilities. This skill allows you to join segments like directories and filenames, then resolve them into a normalized absolute path valid across different operating systems.

Why do my constructed file paths break when moving from Linux to Windows?

Constructed file paths break across Linux and Windows due to differences in directory separators and path formats. Using a cross-platform path normalization utility resolves this by standardizing path joining and resolution to ensure valid paths on any operating system.