Agent skill

cross-platform-path-handler

Generate cross-platform path handling utilities for Windows, macOS, and Linux compatibility in CLI applications.

a5c-aigithub.com/a5c-aiGitHub ↗
claude-codecodexcan modify filesMIT
Install
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.

Facts
Files in the skill folder: 2
SKILL.md size: 3 KB
Bundled scripts: none
Allowed tools: ReadWriteEditBashGlobGrep
Path: library/specializations/cli-mcp-development/skills/cross-platform-path-handler/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 1,642
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Capabilities
  2. Generated Patterns
  3. TypeScript Path Utilities
  4. Target Processes
Ships with 1 file
  • README.md
More from babysitter
All skills →
About this skill
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.

Keep going