powershell
Run safe PowerShell commands on Windows, translate Bash snippets, and troubleshoot native Windows setup.
DeepseekModel
官方收录技能
质量 优秀 · 90
v1.0.0
获取
https://deepseekmodel.com/api/download.php?id=openbmb-pilotdeck-skills-powershell-skill-md&format=skill
下载 .skill
标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
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: $PSVersionTable.PSVersion Get-Command node, npm, git, python, rg -ErrorAction SilentlyContinue node --version npm --version git --version python --version rg --version Path inspection: Get-Location Get-ChildItem Resolve-Path . $env:PATH -split ';' Run commands in sequence with explicit lines: 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: 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 : 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.
Agent 识别该技能的关键词,点击任意一个即可复制。
该技能未提供触发词。
下载的 .skill 包内含以下字段。
| 字段 | 说明 |
|---|---|
| format | 格式标识(skill/v1) |
| skill_id | 技能唯一 ID |
| name | 技能名称 |
| version | 版本号 |
| description | 技能描述 |
| category | 所属分类(数组) |
| trigger_words | 触发词列表 |
| tags | 标签列表 |
| source | 来源标识 |
| source_url | 来源链接(本页地址) |
| exported_at | 导出时间(每次下载生成) |
| system_prompt | 系统提示词正文 |
| model_config | 模型参数:provider / model / temperature / max_tokens / top_p |
| examples | 示例 |
| install_guide | 各平台导入说明(Coze / Dify / Claude / 自定义框架) |