build-from-source
БесплатноБез исполняемых скриптовНе проверенUse for tasks that require compiling, building, cross-compiling, porting, or repairing an existing codebase — "build X from source", "fix the build", "port to…
от RUC-NLPIR★ 472 звезды на GitHubОб этом скилле
Build / port / repair protocol
Long builds fail when the agent thrashes — retrying the same command or guessing at an error. Follow this order.
Read the build docs first. Find
HACKING.*,README*,INSTALL*,Makefiletargets, and CI config. Identify the exact configure / build / test commands and required toolchain versions.Install dependencies once, non-interactively.
DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y <pkgs>. Confirm tools are on PATH before building.Configure → build → test, one stage at a time, capturing the FIRST error. Use
make -j$(nproc). Tee the log:<cmd> 2>&1 | tee /tmp/build.log. The first error is the real one; later lines are fallout.Watch memory on parallel builds.
-j$(nproc)can exhaust RAM and get the buildKilledwith no compiler error (common with Coq/OCaml/LLVM builds). If the build dies without an error message, re-run at-j4and monitorfree -h. A slower build that finishes beats a fast build that OOMs.Cross-compiling to another target/architecture: install the matching toolchain (e.g.
apt-get install -y gcc-mips-linux-gnu) and make the build use it — setCC/CXX/LD, or the project's--host/--target/CROSS_COMPILEvariables — instead of silently producing a host binary. Verify the output withfile(it must report the target architecture, e.g.ELF 32-bit … MIPS).Reproduce the stated failure with the exact command before changing anything, so you have a baseline to compare against.
Change one thing at a time, rebuild, check. If a fix does not change the error, revert it — do not stack guesses.
Verify with the task's stated acceptance command (the specific test target or binary invocation), not a proxy.
Checkpoint long builds — write a small script so a re-run resumes from the last successful stage instead of restarting from zero.
Установить build-from-source в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл build-from-source?
Use for tasks that require compiling, building, cross-compiling, porting, or repairing an existing codebase — "build X from source", "fix the build", "port to Y", "get the tests green". A failure-first protocol that avoids thrashing on long builds.
Как установить скилл build-from-source?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-from-source запускает скрипты?
Нет, скилл состоит только из инструкций (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