用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill upgrade-devproxy-version命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | upgrade-devproxy-version |
| description | > Use when this capability is needed. |
Bump Dev Proxy from current version to a new version across all project files.
Confirm the Dev Proxy workspace is open:
DevProxy.sln./schemas/v<current-version>/ existsDevProxy/, DevProxy.Abstractions/, DevProxy.Plugins/ presentFind current version from DevProxy/DevProxy.csproj:
<Version>X.Y.Z</Version>
Copy the schema folder to the new version:
cp -r ./schemas/v<current-version> ./schemas/v<new-version>
Update version in all relevant files. There are two categories:
Category A: Assembly/Package Version (format: X.Y.Z)
Update <Version>X.Y.Z</Version> in:
DevProxy/DevProxy.csprojDevProxy.Abstractions/DevProxy.Abstractions.csprojDevProxy.Plugins/DevProxy.Plugins.csprojCategory B: Schema URLs (format: vX.Y.Z in URL paths)
Update schemas/v<old>/ to schemas/v<new>/ in:
DevProxy/devproxyrc.json - $schema URLsDevProxy/devproxy-errors.json - $schema URLDevProxy/config/m365.json - all $schema URLsDevProxy/config/m365-mocks.json - $schema URLDevProxy/config/microsoft-graph.json - all $schema URLsDevProxy/config/microsoft-graph-rate-limiting.json - $schema URLDevProxy/config/spo-csom-types.json - $schema URLDevProxy.Plugins/Mocking/MockResponsePlugin.cs - hardcoded schema URLCategory C: Installer Files (format: X.Y.Z or X.Y.Z-beta.N)
Update version in:
install.iss:
#define MyAppSetupExeName "dev-proxy-installer-win-x64-X.Y.Z"#define MyAppVersion "X.Y.Z"install-beta.iss:
#define MyAppSetupExeName "dev-proxy-installer-win-x64-X.Y.Z-beta.N"#define MyAppVersion "X.Y.Z-beta.N"Category D: Script Files (format: vX.Y.Z or vX.Y.Z-beta.N)
Update version string in:
scripts/local-setup.ps1 - $versionString = "vX.Y.Z-beta.N"scripts/version.ps1 - $script:versionString = "vX.Y.Z-beta.N"Category E: Dockerfiles (format: X.Y.Z or X.Y.Z-beta.N)
Update DEVPROXY_VERSION ARG in:
Dockerfile - ARG DEVPROXY_VERSION=X.Y.ZDockerfile_beta - ARG DEVPROXY_VERSION=X.Y.Zscripts/Dockerfile_local - ARG DEVPROXY_VERSION=X.Y.Z-beta.NDifferent files use different version formats:
| Location | Format | Example |
|---|---|---|
csproj <Version> | X.Y.Z | 2.1.0 |
| Schema URL path | vX.Y.Z | v2.1.0 |
| Installer stable | X.Y.Z | 2.1.0 |
| Installer beta | X.Y.Z-beta.N | 2.1.0-beta.1 |
| Script version | vX.Y.Z-beta.N | v2.1.0-beta.1 |
| Dockerfile stable | X.Y.Z | 2.1.0 |
| Dockerfile beta | X.Y.Z-beta.N | 2.1.0-beta.1 |
DevProxy/DevProxy.csprojcp -r ./schemas/v{old} ./schemas/v{new}Use the bundled script to automate the upgrade:
.github/skills/upgrade-devproxy-version/scripts/upgrade-version.sh <new-version> [workspace-root]
Example:
.github/skills/upgrade-devproxy-version/scripts/upgrade-version.sh 2.1.0 .
The script handles all categories automatically, including detecting the current version and applying appropriate beta suffixes where needed.
System.CommandLine package version (coincidentally 2.0.0-beta5).vscode/tasks.json version (different context)-beta.N suffixX.Y.ZTo find all version references, use:
# Assembly versions
grep -r "X\.Y\.Z" --include="*.csproj"
# Schema URLs
grep -r "schemas/vX\.Y\.Z" --include="*.json" --include="*.cs"
# Installer versions
grep -r "X\.Y\.Z" --include="*.iss"
# Script versions
grep -r "vX\.Y\.Z" --include="*.ps1"
# Step 1: Copy schemas
cp -r ./schemas/v2.0.0 ./schemas/v2.1.0
# Step 2: Find and update all version strings
# (Use grep/sed or editor find-replace)
Files to update:
2.0.0 → 2.1.0v2.0.0 → v2.1.0After upgrade, verify:
<Version>./schemas/v{new}/ existsdotnet build succeedsSource: dotnet/dev-proxy — distributed by TomeVault.