cross-platform-path-handler
Generate cross-platform path handling utilities for Windows, macOS, and Linux compatibility in CLI applications.
npx skills add a5c-ai/babysitter --skill cross-platform-path-handler --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Cross-Platform Path Handler Generate cross-platform path handling utilities. ## Capabilities - Normalize path separators - Handle home directory expansion - Create platform-specific path utilities - Configure config directory locations - Handle UNC paths on Windows - Generate path manipulation helpers ## Generated Patterns ### TypeScript Path Utilities ```typescript import path from 'path'; import os from 'os'; import fs from 'fs'; export function normalizePath(p: string): string { return p.replace(/\\/g, '/'); } export function toPlatformPath(p: string): string { return p.split('/').join(path.sep); } export function expandHome(p: string): string { if (p.startsWith('~')) { return path.join(os.homedir(), p.slice(1)); } return p; } export function getConfigDir(appName: string): string { const platform = process.platform; if (platform === 'win32') { return path.join(process.env.APPDATA || '', appName); } if (platform === 'darwin') { return path.join(os.homedir(), 'Library', 'Application Support', appName); } return path.join(process.env.XDG_CONFIG_HOME || path.join(os.homedir(), '.config'), appName); } export function getDataDir(appName: string): string { const platform = process.pl
- Capabilities
- Generated Patterns
- TypeScript Path Utilities
- Target Processes
What does the cross-platform-path-handler skill do?
Generate cross-platform path handling utilities for Windows, macOS, and Linux compatibility in CLI applications.
How do I install it?
Run `npx skills add a5c-ai/babysitter --skill cross-platform-path-handler --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From a5c-ai/babysitter, a repository with 1,642 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
