verify-build-prerequisites-before-compiling
БесплатноБез исполняемых скриптовНе проверенUse when a task asks for a non-native compiled artifact, such as a cross-compiled MIPS ELF, in a minimal or unfamiliar container that already contains a…
от RUC-NLPIR★ 472 звезды на GitHubОб этом скилле
Verify build prerequisites before relying on an existing Makefile
For custom-runtime build targets, do not assume the checked-in Makefile is sufficient. Check the actual prerequisites before compiling.
Procedure:
- Verify the required toolchain is actually present:
If the cross compiler is missing, install it first, e.g.:which mips-linux-gnu-gcc mipsel-linux-gnu-gcc clang gcc nodeapt-get update && apt-get install -y gcc-mips-linux-gnu - Verify task-provided custom headers exist:
A source file that includes a missing header cannot build until that header is provided.find / -name 'my_stdlib.h' 2>/dev/null - Check what the existing Makefile actually produces and link against:
Compare that with the runtime's expected artifact name and architecture. For example, a host Makefile producinggrep -nE '^(TARGET|OUTPUT|.*-o )|(-lX11|doomgeneric)' Makefiledoomgenericwith-lX11will not satisfy a VM that callsrunElf("doomgeneric_mips"). - Build explicitly for the requested target and output filename, or patch the Makefile so the target, compiler, and artifact name all match the runtime expectation.
Why: in this run none of the normal build assumptions held; using the repository's host Makefile would not have produced the requested artifact.
Supporting evidence: make-doom-for-mips (this batch).
Установить verify-build-prerequisites-before-compiling в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл verify-build-prerequisites-before-compiling?
Use when a task asks for a non-native compiled artifact, such as a cross-compiled MIPS ELF, in a minimal or unfamiliar container that already contains a source tree and Makefile.
Как установить скилл verify-build-prerequisites-before-compiling?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл verify-build-prerequisites-before-compiling запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic