Skip to main content

powershell

Run safe PowerShell commands on Windows, translate Bash snippets, and troubleshoot native Windows setup.

소스 정보

저장소
OpenBMB/PilotDeck
최근 소스 활동
2026년 9월 2일 08:49
감지된 SKILL.md 언어
영어
스타
4,040
포크
458

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
powershell
description
Run safe PowerShell commands on Windows, translate Bash snippets, and troubleshoot native Windows setup.
# PowerShell Use this skill when the user is on Windows, asks for PowerShell commands, or needs native Windows setup/troubleshooting instead of Bash or WSL. ## Shell Choice - Prefer `pwsh` when PowerShell 7 is installed. - Use `powershell.exe` for built-in Windows PowerShell compatibility. - In documentation, use fenced code blocks with `powershell` and avoid Bash-only operators such as `&&` unless explicitly running inside WSL/Git Bash. ## Safe Command Patterns Read-only checks: ```powershell $PSVersionTable.PSVersion Get-Command node, npm, git, python, rg -ErrorAction SilentlyContinue node --version npm --version git --version python --version rg --version ``` Path inspection: ```powershell Get-Location Get-ChildItem Resolve-Path . $env:PATH -split ';' ``` Run commands in sequence with explicit lines: ```powershell Set-Location C:\path\to\PilotDeck node --version corepack enable corepack pnpm install --frozen-lockfile --filter pilotdeck --filter pilotdeck-ui ``` Use `npm.cmd` or `pnpm.cmd` when PowerShell execution policy blocks `.ps1` shims: ```powershell npm.cmd --version pnpm.cmd --version ``` ## PilotDeck Native Windows Notes Native Windows source installs need Node.js 22, Git/Git LFS, Python, Visual Studio C++ Build Tools, and ripgrep. WSL2 is usually simpler for development, but native PowerShell is supported for users who want a Windows-only workflow. Install common prerequisites with `winget`: ```powershell winget install OpenJS.NodeJS.LTS winget install Git.Git winget install GitHub.GitLFS winget install Python.Python.3.12 winget install BurntSushi.ripgrep.MSVC winget install Microsoft.VisualStudio.2022.BuildTools --override "--wait --add Microsoft.VisualStudio.Workload.VCTools --includeRecommended" ``` After installing tools, close and reopen PowerShell so `PATH` changes take effect. ## Safety - Be careful with destructive commands such as `Remove-Item -Recurse -Force`; confirm the target path first. - Avoid changing execution policy globally unless the user explicitly asks and understands the risk. - Prefer project-local or session-local changes over machine-wide changes.
GitHub에서 보기