bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Write Makefiles for any project type. Use when setting up build automation, defining multi-target builds, managing dependencies between tasks, creating project task runners, or using Make for non-C projects (Go, Python, Docker, Node.js). Also covers Just and Task as modern alternatives.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install gitgoodordietrying/makefile-build打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Write Makefiles for project automation across any language. Covers targets, dependencies, variables, pattern rules, phony targets, and using Make for Go, Python, Docker, and Node.js projects. Includes Just and Task as modern alternatives.
make build && make test && make deploy workflow# target: prerequisites
# recipe (MUST be indented with TAB, not spaces)
build: src/main.go
go build -o bin/app src/main.go
test: build
go test ./...
clean:
rm -rf bin/
# First target is the default (runs with bare `make`)
# Simple assignment
CC = gcc
CFLAGS = -Wall -O2
# Deferred assignment (expanded when used)
FILES = $(wildcard src/*.go)
# Immediate assignment (expanded when defined)
VERSION := $(shell git describe --tags --always)
# Conditional assignment (only if not already set)
PORT ?= 8080
# Use variables
build:
$(CC) $(CFLAGS) -o app main.c
@echo "Version: $(VERSION)"
# $@ = target name
# $< = first prerequisite
# $^ = all prerequisites
# $* = stem (pattern match)
# $(@D) = directory of target
# $(@F) = filename of target
bin/app: src/main.go src/util.go
go build -o $@ $^
# $@ = bin/app
# $^ = src/main.go src/util.go
# $< = src/main.go
# Pattern rule
%.o: %.c
$(CC) -c -o $@ $<
# For foo.o: $@ = foo.o, $< = foo.c, $* = foo
# Without .PHONY, if a file named "clean" exists, `make clean` does nothing
.PHONY: build test clean lint fmt help
build:
go build -o bin/app ./cmd/app
test:
go test ./...
clean:
rm -rf bin/ dist/
# List all targets
help:
@grep -E '^[a-...
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# Makefile & Build Write Makefiles for project automation across any language. Covers targets, dependencies, variables, pattern rules, phony targets, and using Make for Go, Python, Docker, and Node.js projects. Includes Just and Task as modern alternatives. ## When to Use - Automating build, test, lint, deploy commands - Defining dependencies between tasks (build before test) - Creating a project-level task runner (consistent across team) - Replacing long CLI commands with short memorable targets - Managing multi-step build processes - Any project that needs a `make build && make test && make deploy` workflow ## Makefile Basics ### Structure ```makefile # target: prerequisites # recipe (MUST be indented with TAB, not spaces) build: src/main.go go build -o bin/app src/main.go test: build go test ./... clean: rm -rf bin/ # First target is the default (runs with bare `make`) ``` ### Variables ```makefile # Simple assignment CC = gcc CFLAGS = -Wall -O2 # Deferred assignment (expanded when used) FILES = $(wildcard src/*.go) # Immediate assignment (expanded when defined) VERSION := $(shell git describe --tags --always) # Conditional assignment (only if not already set) PORT ?= 8080 # Use variables build: $(CC) $(CFLAGS) -o app main.c @echo "Version: $(VERSION)" ``` ### Automatic variables ```makefile # $@ = target name # $< = first prerequisite # $^ = all prerequisites # $* = stem (pattern match) # $(@D) = directory of target # $(@F) = filename of target bin/app: src/main.go src/util.go go build -o $@ $^ # $@ = bin/app # $^ = src/main.go src/util.go # $< = src/main.go # Pattern rule %.o: %.c $(CC) -c -o $@ $< # For foo.o: $@ = foo.o, $< = foo.c, $* = foo ``` ### Phony targets (not files) ```makefile # Without .PHONY, if a file named "clean" exists, `make clean` does nothing .PHONY: build test clean lint fmt help build: go build -o bin/app ./cmd/app test: go test ./... clean: rm -rf bin/ dist/ # List all targets help: @grep -E '^[a-...
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
Local speech-to-text with NVIDIA Parakeet TDT 0.6B v3 (ONNX on CPU). 30x faster than Whisper, 25 languages, auto-detection, OpenAI-compatible API. Use when transcribing audio files, converting speech to text, o...
飞书消息自动处理与进度反馈技能。安装后后台运行,监听飞书任务消息并自动创建独立进程处理。 在处理前后发送实时进度反馈(任务确认、进度百分比、完成通知)。 支持任务类型识别、智能解析、错误重试、并发控制、状态持久化...