wsl-interop
仓库创建 2026年7月28日最近提交 1 天前SkillHot 收录 1 天前
▸ 精选理由
帮助代理在混合环境选择正确执行环境并转换路径。
这个 Skill 做什么
判断何时使用 WSL 或原生 Windows 并正确桥接路径与命令。
帮你判断是留在原生 Windows 还是切到 WSL 开发,并自动桥接路径和命令差异(比如 /mnt/c 路径、行结束符、bash 脚本)。当项目依赖 Linux 工具链、Docker Desktop WSL 后端或有大量 bash/apt 命令时会建议用 WSL;做 .NET/WinUI/PowerShell 开发时倾向原生 Windows。特别会列出哪些场景适合哪边,并处理路径转换和环境兼容细节,避免常见奔溃和权限问题。
▸ 展开 SKILL.md 英文原文
Decide when to use WSL vs native Windows and bridge paths/commands correctly. Use when projects assume Linux, Docker Desktop WSL backend, bash scripts, line endings in dual environments, or the user mentions WSL, Ubuntu on Windows, or /mnt/c paths.
1
Stars
0
Forks
7
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/javeckbila/windows-agent-skills/master/skills/wsl-interop/SKILL.md或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/javeckbila/windows-agent-skills/master/skills/wsl-interop/SKILL.md"SKILL.MD 节选查看完整文件 ↗
# WSL interop for coding agents ## Decision: native Windows vs WSL | Stay on native Windows | Use WSL | |------------------------|---------| | .NET, WinUI, PowerShell modules, IIS | Linux-only toolchains, bash-heavy repos | | Pure Node/Python apps with Windows support | Scripts hard-coded to `/usr/bin` or apt | | User works in PowerShell/Codex on Windows | User explicitly develops inside WSL | | Editing files under `C:\...` with Windows IDEs | Need native Linux sockets, systemd, etc. | **Do not force WSL** for simple Node/Python apps that already work on Windows. ## Detect WSL ```powershell wsl --status wsl -l -v ``` Inside a shell, WSL often has: ```bash uname -a # contains Microso
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有