一键导入
validate-runtime-packages-and-releases
Use when changing NuGet packaging, runtime targets, versioning, or release workflow behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when changing NuGet packaging, runtime targets, versioning, or release workflow behavior.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | Validate runtime packages and releases |
| description | Use when changing NuGet packaging, runtime targets, versioning, or release workflow behavior. |
Use this skill for changes to NuGet packaging, .nuspec files, runtime .targets, package versioning, release automation, or runtime package composition.
Whisper.net/Whisper.net.csproj contains the main package version and target frameworks.Directory.Packages.props centralizes package versions.runtimes/*.nuspec defines runtime package metadata and dependency relationships.runtimes/*/*.targets controls which native assets are copied into consuming projects..github/workflows/pack-all.yml packs all NuGet packages..github/workflows/release.yml orchestrates native builds, packing, and optional NuGet push.windows-scripts.ps1 contains the PackAll entry point used by CI.Populate runtimes/ with the native artifacts being packaged, then run:
$version = Select-Xml -Path .\Whisper.net\Whisper.net.csproj -XPath "/Project/PropertyGroup/Version" | ForEach-Object { $_.Node.InnerText }
$env:USE_WHISPER_MAUI = "TRUE"
dotnet workload restore .\Whisper.net.Maui.Tests.slnx
. .\windows-scripts.ps1
PackAll $version
Remove-Item Env:\USE_WHISPER_MAUI
If the task does not affect MAUI package targets, it is acceptable to skip MAUI workload installation locally and rely on CI for MAUI-specific packaging, but state that limitation.
.nupkg files unless the task explicitly asks for release artifacts.After package metadata changes, run managed build/tests with populated runtimes/:
dotnet restore .\Whisper.net.slnx
dotnet build .\Whisper.net.slnx --no-restore -warnaserror
dotnet test .\Whisper.net.slnx --no-build --logger "trx"
Use when changing whisper.cpp, native build scripts, runtime artifact layout, or native runtime package contents.
Use when tests need deterministic model files, model downloads fail, or WHISPER_TEST_MODEL_PATH is involved.
Use when validating managed .NET changes that do not modify whisper.cpp or native runtime build outputs.
Use when changing Whisper.net managed C# APIs, processors, builders, tests, or examples without changing native runtime outputs.
Use when changing MAUI target frameworks, mobile runtime packaging, or mobile test behavior.
Use when changing CPU NoAvx runtime loading, package imports, or tests that must run without AVX.