build-and-compile
БесплатноБез исполняемых скриптовНе проверенBuilding, compiling, and resolving dependency issues across languages
от vstorm-co★ 1 129 звёзд на GitHubОб этом скилле
Build & Compile
Strategies for building code and resolving dependency issues.
Build System Detection
Check for build files in order:
Makefile→make(read it first to understand targets)CMakeLists.txt→cmake -B build && cmake --build buildpyproject.toml/setup.py→pip install -e .package.json→npm install && npm run buildCargo.toml→cargo build --releasego.mod→go build ./...- No build system → compile directly (
gcc,g++,rustc, etc.)
Compilation Strategies
C/C++
- Always read the Makefile/CMakeLists first
- Common flags:
-O2 -Wall -lm -lpthread - Missing headers →
apt-get install lib<name>-dev - Linking errors → check library order (dependencies last:
-lfoo -lbar -lm)
Python
- Use virtual environments when possible
pip install -e .for editable installs- Missing modules → check
requirements.txt,pyproject.toml - Version conflicts → read the actual error, pin versions
Multi-language projects
- Build dependencies first (C libraries before Python bindings)
- Check for Cython, SWIG, or FFI bridges
- Environment variables often needed:
LD_LIBRARY_PATH,PYTHONPATH
Dependency Resolution
- Read the FULL error message — the missing dependency is usually named
- Search for the package:
apt-cache search <name>,pip search <name> - Install the minimum needed — don't install everything
- If a package is unavailable, check for alternatives or build from source
Common Build Failures
| Error | Likely Cause | Fix |
|---|---|---|
fatal error: foo.h: No such file |
Missing dev headers | apt-get install libfoo-dev |
undefined reference to |
Missing library at link time | Add -lfoo flag |
No module named 'foo' |
Missing Python package | pip install foo |
command not found: make |
Build tools missing | apt-get install build-essential |
version 'GLIBC_X.Y' not found |
Binary built for newer system | Rebuild from source |
Установить build-and-compile в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл build-and-compile?
Building, compiling, and resolving dependency issues across languages
Как установить скилл build-and-compile?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл build-and-compile запускает скрипты?
Нет, скилл состоит только из инструкций (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