Cross-platform compatibility checking tools. Detects path issues, line endings, environment variables, shell commands, and other patterns that break on Windows or Linux.
Scripts for detecting cross-platform compatibility issues in Python code.
Detect hardcoded path separators.
python .claude/skills/xplat-checks/scripts/check_paths.py [directory]
Finds:
Detect line ending issues.
python .claude/skills/xplat-checks/scripts/check_line_endings.py [directory]
Finds:
Find platform-specific environment variable usage.
python .claude/skills/xplat-checks/scripts/check_env_vars.py [directory]
Finds:
Detect case sensitivity issues.
python .claude/skills/xplat-checks/scripts/check_case_sensitivity.py [directory]
Finds:
Detect shell command compatibility issues.
python .claude/skills/xplat-checks/scripts/check_shell_commands.py [directory]
Finds:
Find hardcoded temp directory paths.
python .claude/skills/xplat-checks/scripts/check_temp_paths.py [directory]
Finds:
All scripts output JSON:
{
"status": "PASS|FAIL",
"files_scanned": 156,
"issues": [
{
"file": "src/config.py",
"line": 47,
"column": 12,
"issue": "Hardcoded forward slash in path",
"code": "config_path = 'data/config.yaml'",
"suggestion": "Use Path('data') / 'config.yaml'"
}
]
}
| Issue | Bad | Good |
|-------|-----|------|
| Path separator | "data/file.txt" | Path("data") / "file.txt" |
| Home directory | os.environ["HOME"] | Path.home() |
| Temp directory | "/tmp/file" | Path(tempfile.gettempdir()) / "file" |
| Shell command | os.system("rm -rf x") | shutil.rmtree("x") |
| Username | os.environ["USER"] | getpass.getuser() |
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer