Command Palette

Search for a command to run...

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

install-required-runtime-and-artifact

БесплатноБез исполняемых скриптовНе проверен

Use when a terminal coding task explicitly names a required language/runtime and a required implementation or output file path, and the verifier tests assert…

RUC-NLPIRот RUC-NLPIR★ 472 звезды на GitHub

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

Install required runtime and create/verify the required file first

When a task requires a runtime and a fixed file path (an implementation file like /app/ars.R or a generated answer file like /app/out.txt), satisfy those requirements before doing unrelated setup or running verifier tests.

Procedure:

  1. Check for the required runtime and install it if missing:
    command -v Rscript || { apt-get update && apt-get install -y r-base-core; }
    
    Adapt the package/install command to the named runtime (python, node, R, etc.).
  2. For a required implementation file, create it immediately and write the implementation into that exact path:
    mkdir -p /app
    touch /app/ars.R
    
  3. For a required generated output file, produce it from the implementation and verify it exists before spending remaining time on optional dependencies or verifier runs:
    mkdir -p /app
    # run the solution, then:
    test -s /app/out.txt && wc -l /app/out.txt
    
  4. Only after the required runtime and file exist should you perform optional setup such as installing curl, openssl, or uv, or run the verifier.

Why: verifier failures are often simply No ars.R file found, FileNotFoundError: Rscript, or /app/out.txt missing. In gcode-to-text the verifier failed both tests with reward 0.0 because /app/out.txt was never produced while time was spent installing packages and running pytest. Create required implementation files and verify generated output files before running the verifier.

Supporting evidence: gcode-to-text (this batch).

Установить install-required-runtime-and-artifact в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл install-required-runtime-and-artifact?

Use when a terminal coding task explicitly names a required language/runtime and a required implementation or output file path, and the verifier tests assert that file exists.

Как установить скилл install-required-runtime-and-artifact?

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

Скилл install-required-runtime-and-artifact запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить install-required-runtime-and-artifact с