Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Cross-platform path handling and command patterns
.claude/skills/github-windows-compatibility/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 12% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 19% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 0% | 0% |
Squad runs on Windows, macOS, and Linux. Several bugs have been traced to platform-specific assumptions: ISO timestamps with colons (illegal on Windows), git -C with Windows paths (unreliable), forward-slash paths in Node.js on Windows.
2026-03-15T05:30:00Z is illegal on WindowssafeTimestamp() utility: Replaces colons with hyphens → 2026-03-15T05-30-00Z.toISOString().replace(/:/g, '-') — use the utilitygit -C {path}: Unreliable with Windows paths (backslashes, spaces, drive letters)cd first: Change directory, then run git commandsgit diff --cached --quiet (exit 0 = no changes)-m flag: Backtick-n (\n) fails silently in PowerShell-F flag: Write message to file, commit with git commit -F $msgFileTEAM ROOT from spawn prompt or run git rev-parse --show-toplevel/ or \startsWith or === for path comparison on Windows or macOS: These filesystems are case-insensitive — C:\Users\ and c:\users\ refer to the same locationprocess.platform === 'win32' || process.platform === 'darwin' and lowercase both sides before comparingtypescript const CASE_INSENSITIVE = process.platform === 'win32' || process.platform === 'darwin';
function pathStartsWith(fullPath: string, prefix: string): boolean { if (CASE_INSENSITIVE) { return fullPath.toLowerCase().startsWith(prefix.toLowerCase()); } return fullPath.startsWith(prefix); }
/Home/ and /home/ are different directories✓ Correct:
javascript// Timestamp utility const safeTimestamp = () => new Date().toISOString().replace(/:/g, '-').split('.')[0] + 'Z'; // Git workflow (PowerShell) cd $teamRoot git add .squad/ if ($LASTEXITCODE -eq 0) { $msg = @" docs(ai-team): session log Changes: - Added decisions "@ $msgFile = [System.IO.Path]::GetTempFileName() Set-Content -Path $msgFile -Value $msg -Encoding utf8 git commit -F $msgFile Remove-Item $msgFile }
✗ Incorrect:
javascript// Colon in filename const logPath = `.squad/log/${new Date().toISOString()}.md`; // ILLEGAL on Windows // git -C with Windows path exec('git -C C:\\src\\squad add .squad/'); // UNRELIABLE // Inline newlines in commit message exec('git commit -m "First line\nSecond line"'); // FAILS silently in PowerShell
git -C because it "looks cleaner" (it doesn't work)git diff --cached --quiet check (creates empty commits)typescript if (!resolved.startsWith(rootDir + path.sep)) { throw new Error('Path traversal blocked'); } // Fails: 'c:\\Users\\temp\\file'.startsWith('C:\\Users\\temp\\') → false
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→pass | 13,595 | 9,850 | -28% | 1 | 1 | 0% | 2,274 | 2,553 | +12% | 0 | 0 | — |
case-02 | fail→fail | 12,109 | 18,920 | +56% | 1 | 1 | 0% | 2,144 | 2,540 | +18% | 0 | 0 | — |
case-03 | fail→pass | 21,599 | 10,469 | -52% | 1 | 1 | 0% | 2,621 | 2,855 | +9% | 0 | 0 | — |
case-04 | pass→pass | 53,497 | 22,623 | -58% | 1 | 1 | 0% | 4,412 | 4,443 | +1% | 0 | 0 | — |
case-05 | fail→pass | 17,533 | 10,430 | -41% | 1 | 1 | 0% | 2,872 | 2,520 | -12% | 0 | 0 | — |
case-06 | pass→pass | 13,371 | 7,996 | -40% | 1 | 1 | 0% | 2,131 | 2,368 | +11% | 0 | 0 | — |
case-07 | pass→pass | 13,708 | 15,323 | +12% | 1 | 1 | 0% | 1,560 | 2,086 | +34% | 0 | 0 | — |
case-08 | pass→pass | 14,200 | 10,517 | -26% | 1 | 1 | 0% | 2,374 | 2,608 | +10% | 0 | 0 | — |
case-09 | fail→pass | 29,495 | 8,511 | -71% | 1 | 1 | 0% | 2,106 | 2,506 | +19% | 0 | 0 | — |
case-10 | pass→pass | 35,738 | 23,072 | -35% | 1 | 1 | 0% | 4,031 | 5,094 | +26% | 0 | 0 | — |
case-11 | pass→pass | 13,308 | 8,439 | -37% | 1 | 1 | 0% | 2,402 | 2,653 | +10% | 0 | 0 | — |
case-12 | fail→pass | 18,835 | 15,689 | -17% | 1 | 1 | 0% | 2,776 | 2,789 | +0% | 0 | 0 | — |
case-13 | pass→pass | 19,347 | 14,903 | -23% | 1 | 1 | 0% | 3,741 | 3,829 | +2% | 0 | 0 | — |
case-14 | fail→pass | 16,134 | 11,657 | -28% | 1 | 1 | 0% | 2,641 | 3,194 | +21% | 0 | 0 | — |
case-15 | fail→pass | 12,045 | 13,217 | +10% | 1 | 1 | 0% | 1,984 | 3,179 | +60% | 0 | 0 | — |
case-16 | pass→pass | 21,352 | 13,561 | -36% | 1 | 1 | 0% | 3,332 | 3,303 | -1% | 0 | 0 | — |
case-17 | fail→pass | 16,717 | 11,532 | -31% | 1 | 1 | 0% | 2,777 | 3,009 | +8% | 0 | 0 | — |
case-18 | pass→pass | 14,326 | 6,997 | -51% | 1 | 1 | 0% | 2,521 | 2,389 | -5% | 0 | 0 | — |
case-19 | pass→pass | 13,460 | 12,346 | -8% | 1 | 1 | 0% | 2,455 | 3,126 | +27% | 0 | 0 | — |
case-20 | pass→pass | 9,102 | 7,297 | -20% | 1 | 1 | 0% | 1,580 | 2,240 | +42% | 0 | 0 | — |
case-21 | pass→pass | 28,187 | 15,585 | -45% | 1 | 1 | 0% | 3,100 | 3,881 | +25% | 0 | 0 | — |
case-22 | pass→pass | 5,505 | 6,199 | +13% | 1 | 1 | 0% | 635 | 1,775 | +180% | 0 | 0 | — |
case-23 | pass→pass | 9,721 | 5,832 | -40% | 1 | 1 | 0% | 1,569 | 2,064 | +32% | 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. 23 cases were attempted. The headline lift of +35 percentage points is the difference between those two pass rates over the 23 comparable cases.
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.