cross-platform-development
OfficialWrite cross-platform code with confidence.
Authoropenkaiden
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cross-platform development often breaks due to inconsistent path handling and tests that fail on Windows. This skill provides patterns to ensure code runs reliably across Linux, macOS, and Windows.
Core Features & Use Cases
- Host path construction: use filepath.Join for host paths to ensure OS compatibility.
- Container path construction: use path.Join for container paths (always Unix-like).
- Test patterns: rely on t.TempDir and filepath.Join for cross-platform tests to avoid hard-coded paths.
Quick Start
Follow the patterns in this skill to refactor a project for cross-platform path handling and testing.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: cross-platform-development Download link: https://github.com/openkaiden/kdn/archive/main.zip#cross-platform-development Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.