setup-gman-skills
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinesesetup-gman-skills
gman-skills 首次设置
First-time setup for the gman-skills package. Run once after .
npx skills add gvdvenis/gman-skillsgman-skills 包的首次设置流程,需在执行 后运行一次。
npx skills add gvdvenis/gman-skillsStep 1 — Check and install the dotnet-blazor plugin
步骤1 — 检查并安装 dotnet-blazor 插件
Run and look for in the output.
copilot plugin listdotnet-blazorIf missing, install it in two steps:
copilot plugin marketplace add dotnet/skillscopilot plugin install dotnet-blazor@dotnet-agent-skills
If present, skip — it is already installed.
Record the result: (was just installed), (was already there), or .
installedpresentfailedDone when: the dotnet-blazor plugin is installed or confirmed present, or the install failed
and the error is recorded.
执行 ,在输出中查找 。
copilot plugin listdotnet-blazor若缺失,分两步安装:
copilot plugin marketplace add dotnet/skillscopilot plugin install dotnet-blazor@dotnet-agent-skills
若已存在,跳过——插件已安装。
记录结果:(刚完成安装)、(已存在)或 (安装失败)。
installedpresentfailed完成标志:dotnet-blazor 插件已安装或确认存在,或安装失败并已记录错误信息。
Step 2 — Check and download the report-server binary
步骤2 — 检查并下载 report-server 二进制文件
Check whether the report-server binary exists at :
~/.copilot/gman-skills/bin/- Windows:
report-server.exe - Linux / macOS: (no extension)
report-server
If present, skip — it is already installed. Record .
presentIf missing, run the platform-appropriate download script from this skill's directory:
scripts/- Windows:
scripts/setup-report-server.ps1 - Linux / macOS:
scripts/setup-report-server.sh
The script detects OS + architecture, downloads the matching asset from the
GitHub Releases, and extracts the binary to .
gvdvenis/gman-skills~/.copilot/gman-skills/bin/Record the result: (was just downloaded), (was already there), or .
downloadedpresentfailedDone when: the binary exists at or the download failed and the
error is recorded.
~/.copilot/gman-skills/bin/检查 report-server 二进制文件是否存在于 :
~/.copilot/gman-skills/bin/- Windows:
report-server.exe - Linux / macOS:(无扩展名)
report-server
若已存在,跳过——文件已安装。记录 。
present若缺失,运行本技能 目录中对应平台的下载脚本:
scripts/- Windows:
scripts/setup-report-server.ps1 - Linux / macOS:
scripts/setup-report-server.sh
该脚本会检测操作系统与架构,从 的 GitHub Releases 下载匹配的资源,并将二进制文件解压至 。
gvdvenis/gman-skills~/.copilot/gman-skills/bin/记录结果:(刚完成下载)、(已存在)或 (下载失败)。
downloadedpresentfailed完成标志:二进制文件已存在于 ,或下载失败并已记录错误信息。
~/.copilot/gman-skills/bin/Step 3 — Print the summary
步骤3 — 打印总结信息
Print a summary table so the user can see what happened. This is mandatory — the user needs
confirmation that setup worked:
[setup-gman-skills] Setup complete
Component Status
───────────────────────────────
dotnet-blazor plugin installed
report-server binary downloadedIf any component failed, print the failure reason and a suggested fix:
[setup-gman-skills] Setup complete with warnings
Component Status Note
───────────────────────────────────────────────
dotnet-blazor plugin present
report-server binary failed No GitHub Release found. Build from source:
cd src/report-server && dotnet publish -c Release -r win-x64
Then copy the binary to ~/.copilot/gman-skills/bin/Done when: the summary table is printed with every component's status visible.
打印汇总表格,让用户了解设置结果。此步骤为必填项——用户需要确认设置是否成功:
[setup-gman-skills] Setup complete
Component Status
───────────────────────────────
dotnet-blazor plugin installed
report-server binary downloaded若有组件设置失败,打印失败原因及建议修复方案:
[setup-gman-skills] Setup complete with warnings
Component Status Note
───────────────────────────────────────────────
dotnet-blazor plugin present
report-server binary failed No GitHub Release found. Build from source:
cd src/report-server && dotnet publish -c Release -r win-x64
Then copy the binary to ~/.copilot/gman-skills/bin/完成标志:已打印汇总表格,且所有组件的状态清晰可见。