cross-platform-paths
Installation
SKILL.md
Cross-Platform Path Handling
CRITICAL: This extension runs on Windows, macOS, and Linux. Path bugs are the #1 source of issues.
Core Rules
Rule 1: Never Concatenate Paths with /
// ❌ WRONG: POSIX-style path concatenation
const envPath = homeDir + '/.venv/bin/python';
// ✅ RIGHT: Use path.join()
const envPath = path.join(homeDir, '.venv', 'bin', 'python');