Help us improve
Share bugs, ideas, or general feedback.
From embedded-dev — RIPER-5 嵌入式固件开发协议
Builds embedded firmware projects using bare Makefiles (no CMake/IDE). Parses Makefile variables, detects cross-compiler toolchains, runs make, locates ELF/HEX/BIN artifacts, and updates the project profile for downstream flashing or debugging.
npx claudepluginhub duncanyoung-1/embedded-dev --plugin embedded-devHow this skill is triggered — by the user, by Claude, or both
Slash command
/embedded-dev:build-makefileThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- `Project Profile` 中标明 `build_system: makefile`。
Configures and builds CMake-based embedded firmware projects using a Python build script. Detects presets, generators, and toolchains; locates firmware artifacts (ELF/HEX/BIN) for flashing or debugging.
Generates Makefiles for C/C++, Python, Go, Java projects with .PHONY targets, GNU standards, standard targets, security hardening, and CI/CD integration.
Checks and configures project Makefile with standard targets (help, test, build, clean, lint) for Python, Node, Rust, Go, or generic projects. Detects project type and services; supports --check-only and --fix.
Share bugs, ideas, or general feedback.
Project Profile 中标明 build_system: makefile。Makefile / makefile / GNUmakefile,但没有 CMakeLists.txt、platformio.ini、.uvprojx 或 .ewp。ELF、HEX 或 BIN。Project Profile。CROSS_COMPILE、MCU)、make 标志和并行任务数。Makefile / makefile / GNUmakefile,脚本自动识别。CROSS_COMPILE、CC、TARGET、MCU、BOARD、CFLAGS、LDFLAGS 等。CROSS_COMPILE 前缀推断工具链家族(arm-none-eabi- → gnu-arm,riscv32-unknown-elf- → gnu-riscv,xtensa-esp32-elf- → gnu-esp)。MCU 变量、-mcpu= 标志或链接脚本名推断目标芯片。make / gmake / mingw32-make 是否可用。# Generated by CMake,提示用户使用 build-cmake skill。--detect 模式确认。--parse-makefile 检查解析出的变量和工具链信息,确认目标芯片和编译器。--list-targets。--source 运行构建,按需指定 --target、--clean、--extra-args 和 -j。Project Profile 并交给下游 skill。make 或交叉编译器时,返回 environment-missing。project-config-error。build/、output/、out/ 中找到可烧录产物时,返回 artifact-missing。ambiguous-context。make 通常已预装。make。脚本会依次尝试 make、gmake、mingw32-make。artifact_path、artifact_kind、toolchain 和 target_mcu 更新 Project Profile。flash-openocd、flash-jlink 或 debug-gdb-openocd。flash-openocd 或 flash-jlink。debug-gdb-openocd 或 debug-jlink。