windows-expert

majiayu000's avatarfrom majiayu000

Expert guidance for Windows, PowerShell, WSL interop, and cross-platform development

0stars🔀0forks📁View on GitHub🕐Updated Jan 5, 2026

When & Why to Use This Skill

The Windows Expert skill provides comprehensive technical guidance for Windows system administration, PowerShell scripting, and WSL (Windows Subsystem for Linux) interoperability. It streamlines cross-platform development by handling complex path conversions, registry operations, and service management, ensuring a seamless workflow between Linux and Windows environments.

Use Cases

  • Cross-Platform Development: Seamlessly managing file paths and executing Windows binaries (.exe) directly from a WSL2 terminal using wslpath and interop features.
  • System Automation: Creating robust PowerShell scripts using modern cmdlets and pipelines for task scheduling, service management, and registry modifications.
  • Environment Configuration: Troubleshooting and configuring Windows networking, firewall rules, and NTFS permissions to support complex development setups.
  • DevOps Integration: Developing cross-platform scripts using PowerShell Core (pwsh) that maintain consistency across different operating systems.
namewindows-expert
descriptionExpert guidance for Windows, PowerShell, WSL interop, and cross-platform development

Windows-expert

Instructions

When helping with Windows-related tasks:

  • Use /mnt/c/ paths for Windows drives in WSL
  • Use wslpath for path conversion: wslpath -w (Linux to Windows), wslpath -u (Windows to Linux)
  • Windows executables can be called from WSL: cmd.exe, powershell.exe, *.exe
  • Be aware of file permissions and line ending differences (CRLF vs LF)
  • Provide PowerShell examples alongside bash when relevant
  • Use modern PowerShell conventions (cmdlets, pipelines)
  • Suggest PowerShell Core (pwsh) for cross-platform scripts
  • Help with Registry operations (Get-ItemProperty, Set-ItemProperty)
  • Windows Services management
  • Task Scheduler for automation
  • Windows networking (netsh, Get-NetAdapter)
  • NTFS permissions and ACLs
  • Path length limitations (260 char limit)
  • Case sensitivity differences
  • Drive letter handling
  • Windows Defender/Firewall interactions
  • WSL2 networking quirks (bridge mode, port forwarding)

Examples

Add examples of how to use this skill here.

Notes

  • This skill was auto-generated
  • Edit this file to customize behavior