원클릭으로
manage-whisper-test-models
Use when tests need deterministic model files, model downloads fail, or WHISPER_TEST_MODEL_PATH is involved.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use when tests need deterministic model files, model downloads fail, or WHISPER_TEST_MODEL_PATH is involved.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Use when changing whisper.cpp, native build scripts, runtime artifact layout, or native runtime package contents.
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.
Use when changing runtime selection, RuntimeOptions, NativeLibraryLoader, runtime package imports, or examples that force runtime order.
| name | Manage Whisper test models |
| description | Use when tests need deterministic model files, model downloads fail, or WHISPER_TEST_MODEL_PATH is involved. |
Use this skill when tests fail because model files are missing, the environment cannot download models, or a task touches model download/test fixture behavior.
WHISPER_TEST_MODEL_PATH must point to a directory that contains test model files, not to a single model file. The test helper expects file names like:
ggml-tiny-noquantization.bin
ggml-tiny-q5_0.bin
Do not set WHISPER_TEST_MODEL_PATH to runtimes/ unless those ggml-*.bin files are present there.
Use the repository tool to download the models expected by tests:
$env:WHISPER_TEST_MODEL_PATH = "$PWD\.test-models"
dotnet run --project .\tools\DownloadModelForTests\DownloadModelForTests.csproj
dotnet test .\Whisper.net.slnx --logger "trx"
Remove-Item Env:\WHISPER_TEST_MODEL_PATH
Keep .test-models/ or any other downloaded model cache out of source control.
Some model downloads may require authentication. If the environment provides HF_TOKEN, preserve and pass it through rather than hardcoding tokens or adding tokens to config files.
WHISPER_TEST_MODEL_PATH points to a writable directory.