Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

terminate-stuck-test-executables

БесплатноЗапускает вложенные скриптыНе проверен

Safely terminate stuck test executables that block rebuilds or CTest runs on Windows. Use when a test binary is locked or still running, or when the user says…

jbalcombот jbalcomb★ 43 звезды на GitHub

Об этом скилле

Terminate Stuck Test Executables

Use this skill when a Windows test executable is still running and blocking a rebuild, test discovery, or CTest execution.

Safety Rules

  • Ask the user for permission immediately before using this skill.
  • Only target executables discovered from the generated CTest config unless the user explicitly approves a wider action.
  • Prefer listing candidate processes first when the environment allows it.
  • After termination, rerun the narrowest blocked validation step.

Executable Source

The helper reads executables from generated CTest files such as:

  • out/build/<preset>/CTestTestfile.cmake
  • out/build/<preset>/**/*_tests.cmake

Script Asset

Use the bundled script:

  • ./kill-stuck-test-processes.py

Suggested Invocation

Python example:

python .\.claude\skills\terminate-stuck-test-executables\kill-stuck-test-processes.py --build-dir .\out\build\MSVC-release --name MOM_tests.exe

List discovered test executables without killing anything:

python .\.claude\skills\terminate-stuck-test-executables\kill-stuck-test-processes.py --build-dir .\out\build\MSVC-release --list

Kill every currently running executable discovered from that CTest config:

python .\.claude\skills\terminate-stuck-test-executables\kill-stuck-test-processes.py --build-dir .\out\build\MSVC-release --all

Response Pattern

Before use, say:

I found a stuck test executable. I can terminate it with the terminate-stuck-test-executables skill and then rerun the blocked validation. Please confirm if you want me to use it.

After use, report:

  • which processes were terminated
  • which names were not running
  • which names were discovered from CTest
  • which validation step was rerun

Установить terminate-stuck-test-executables в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

kill-stuck-test-processes.py

FAQ

Что делает скилл terminate-stuck-test-executables?

Safely terminate stuck test executables that block rebuilds or CTest runs on Windows. Use when a test binary is locked or still running, or when the user says a test executable is stuck, hung, blocking the linker, or needs to be killed. Read the executable list from the generated CTest config and always ask the user for permission before use.

Как установить скилл terminate-stuck-test-executables?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл terminate-stuck-test-executables запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить terminate-stuck-test-executables с