Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Generate cross-platform path handling utilities for Windows, macOS, and Linux compatibility in CLI applications.
.claude/skills/a5c-ai-cross-platform-path-handler/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 55% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 37% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-18 | ✗→✓ | ▲ Improved | 44% | 0% |
Generate cross-platform path handling utilities.
typescriptimport 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.platform; if (platform === 'win32') { return path.join(process.env.LOCALAPPDATA || '', appName); } if (platform === 'darwin') { return path.join(os.homedir(), 'Library', 'Application Support', appName); } return path.join(process.env.XDG_DATA_HOME || path.join(os.homedir(), '.local', 'share'), appName); } export function getCacheDir(appName: string): string { const platform = process.platform; if (platform === 'win32') { return path.join(process.env.LOCALAPPDATA || '', appName, 'Cache'); } if (platform === 'darwin') { return path.join(os.homedir(), 'Library', 'Caches', appName); } return path.join(process.env.XDG_CACHE_HOME || path.join(os.homedir(), '.cache'), appName); }
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 13,057 | 17,018 | +30% | 1 | 1 | 0% | 3,148 | 4,893 | +55% | 0 | 0 | — |
case-02 | fail→pass | 17,894 | 14,314 | -20% | 1 | 1 | 0% | 3,539 | 3,846 | +9% | 0 | 0 | — |
case-03 | fail→pass | 14,098 | 15,373 | +9% | 1 | 1 | 0% | 2,987 | 4,083 | +37% | 0 | 0 | — |
case-04 | fail→fail | 14,832 | 14,714 | -1% | 1 | 1 | 0% | 2,984 | 3,818 | +28% | 0 | 0 | — |
case-05 | fail→fail | 14,156 | 15,347 | +8% | 1 | 1 | 0% | 2,508 | 3,465 | +38% | 0 | 0 | — |
case-06 | fail→fail | 13,822 | 15,059 | +9% | 1 | 1 | 0% | 2,410 | 3,784 | +57% | 0 | 0 | — |
case-07 | fail→fail | 9,094 | 6,283 | -31% | 1 | 1 | 0% | 1,871 | 1,908 | +2% | 0 | 0 | — |
case-08 | fail→fail | 11,271 | 8,959 | -21% | 1 | 1 | 0% | 2,154 | 2,436 | +13% | 0 | 0 | — |
case-09 | fail→pass | 9,558 | 8,076 | -16% | 1 | 1 | 0% | 1,792 | 2,129 | +19% | 0 | 0 | — |
case-10 | fail→fail | 4,039 | 3,778 | -6% | 1 | 1 | 0% | 767 | 1,437 | +87% | 0 | 0 | — |
case-11 | fail→fail | 10,014 | 6,471 | -35% | 1 | 1 | 0% | 1,878 | 1,889 | +1% | 0 | 0 | — |
case-12 | fail→fail | 5,830 | 4,037 | -31% | 1 | 1 | 0% | 1,054 | 1,205 | +14% | 0 | 0 | — |
case-13 | fail→fail | 11,830 | 7,816 | -34% | 1 | 1 | 0% | 1,888 | 2,234 | +18% | 0 | 0 | — |
case-14 | fail→fail | 10,275 | 8,121 | -21% | 1 | 1 | 0% | 1,990 | 2,158 | +8% | 0 | 0 | — |
case-15 | fail→fail | 7,613 | 10,214 | +34% | 1 | 1 | 0% | 1,543 | 2,247 | +46% | 0 | 0 | — |
case-16 | fail→fail | 7,998 | 9,970 | +25% | 1 | 1 | 0% | 1,566 | 2,317 | +48% | 0 | 0 | — |
case-17 | fail→fail | 11,074 | 6,163 | -44% | 1 | 1 | 0% | 2,206 | 1,884 | -15% | 0 | 0 | — |
case-18 | fail→pass | 16,407 | 18,974 | +16% | 1 | 1 | 0% | 3,636 | 5,228 | +44% | 0 | 0 | — |
case-19 | fail→fail | 11,878 | 5,191 | -56% | 1 | 1 | 0% | 2,182 | 1,571 | -28% | 0 | 0 | — |
case-20 | pass→pass | 12,434 | 5,511 | -56% | 1 | 1 | 0% | 2,346 | 1,686 | -28% | 0 | 0 | — |
case-21 | fail→fail | 18,057 | 11,521 | -36% | 1 | 1 | 0% | 3,531 | 3,501 | -1% | 0 | 0 | — |
case-22 | fail→pass | 16,999 | 13,419 | -21% | 1 | 1 | 0% | 3,308 | 3,541 | +7% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +27 percentage points is the difference between those two pass rates over the 22 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.