← Back to list

cross-platform-safety
by janjaszczak
Cursor configuration and MCP setup
⭐ 0🍴 0📅 Jan 24, 2026
SKILL.md
name: cross-platform-safety description: Ensure commands and paths are safe across Windows + WSL + Docker (PowerShell vs bash, path translation, permissions). Use when instructions touch shell, filesystem, Docker, or OS-specific behavior. compatibility: Intended for Windows + WSL2 + Docker environments; requires ability to detect platform or ask user. allowed-tools: Bash() PowerShell() Read metadata: intent: Only activate when OS boundaries matter; keep default answers OS-agnostic.
cross-platform-safety
Activation gate (anti-noise)
Activate if any of:
- The user mentions Windows/WSL/PowerShell/Docker explicitly.
- You must provide shell commands that could differ by OS.
- Paths/permissions/volumes/networking are involved.
Procedure
- Determine execution context:
- Where the command will run (Windows host? WSL? container?).
- Provide OS-specific variants ONLY if needed:
- Prefer a single canonical path + “Windows note” if small delta.
- Guardrails:
- Avoid reserved PowerShell variables and quoting pitfalls.
- Avoid whitespace path breakage; use explicit quoting.
- Validate critical commands with “dry read” steps (e.g.,
pwd,whoami,ls).
Output
- “Run in: ” + exact command(s) + 1–2 quick verification commands.
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon