cross-platform-safety

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.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cross-platform-safety" with this command: npx skills add janjaszczak/cursor/janjaszczak-cursor-cross-platform-safety

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

  1. Determine execution context:
    • Where the command will run (Windows host? WSL? container?).
  2. Provide OS-specific variants ONLY if needed:
    • Prefer a single canonical path + “Windows note” if small delta.
  3. Guardrails:
    • Avoid reserved PowerShell variables and quoting pitfalls.
    • Avoid whitespace path breakage; use explicit quoting.
  4. Validate critical commands with “dry read” steps (e.g., pwd, whoami, ls).

Output

  • “Run in: <context>” + exact command(s) + 1–2 quick verification commands.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

vanilla-web

No summary provided by upstream source.

Repository SourceNeeds Review
General

mcp-postman

No summary provided by upstream source.

Repository SourceNeeds Review
General

mcp-memory-recall

No summary provided by upstream source.

Repository SourceNeeds Review
General

keepassxc integration

No summary provided by upstream source.

Repository SourceNeeds Review