/major-ai-skills:makefile-automationfrom major-ai-skills
Design Makefile targets, dependencies, variables, and discoverable repository automation commands.
Ships in major-ai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Make is a dependency-aware task runner. A Makefile declares targets, prerequisites, and recipes so agents and humans share stable entrypoints (make test, make build, make fmt). Good Makefiles are self-documenting, use .PHONY for non-file targets, fail on errors (set -e semantics via flags), and avoid hiding destructive operations behind innocent names.
make <target>
|
v
dependency graph -> recipes (shell lines)
|
+--> tools: go test, npm, docker, terraform, ...
.PHONY so Make does not skip them when a file/folder shares the name.SHELL := bash and .SHELLFLAGS := -eu -o pipefail -c for safer recipes.help target as the default goal.destroy, reset-db).make build IMAGE_TAG=...).SHELL := bash
.SHELLFLAGS := -eu -o pipefail -c
APP ?= api
IMAGE ?= ghcr.io/example/$(APP)
GIT_SHA := $(shell git rev-parse --short HEAD)
TAG ?= $(GIT_SHA)
.DEFAULT_GOAL := help
.PHONY: help
help: ## Show available targets
@awk 'BEGIN {FS = ":.*##"} /^[a-zA-Z0-9_-]+:.*?##/ {printf " %-16s %s\n", $$1, $$2}' $(MAKEFILE_LIST)
.PHONY: fmt
fmt: ## Format code
go fmt ./...
.PHONY: test
test: ## Run unit tests
go test ./...
.PHONY: build
build: test ## Build container image
docker build -t $(IMAGE):$(TAG) .
.PHONY: run
run: ## Run API locally
go run ./cmd/api
.PHONY: clean
clean: ## Remove build artifacts
rm -rf dist/
dist:
mkdir -p dist
dist/app: $(shell find . -name '*.go') | dist
go build -o $@ ./cmd/api
-include .env.mk
# .env.mk is gitignored; developers may set REGISTRY=...
make -j4 test build # only when targets are safe concurrently
| Pattern | Use when |
|---|---|
.PHONY task | Lint/test/deploy verbs |
| Real file target | Compilation outputs under dist/ |
## help comments | Human discovery |
$(MAKE) -C dir | Multi-module monorepos |
scripts/ for complex logic.make doctor that checks versions).docker - common make build / make compose-up wrapperspulumi - make preview / make up guarded targetstrivy - make scan gate before pushsqlite / mysql - make db-migrate database helpersWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alivirgo/major-ai-skills --plugin major-ai-skills412 skills in this plugin
/3d-slicerAutomate 3D Slicer research workflows with MRML, VTK/ITK, DICOM data, and Segment Editor. Use for software workflows, not clinical interpretation./abbreviated-git-statusInspect Git branch, staging, and working-tree changes with short or porcelain status output when a compact repository check is needed./ableton-liveAutomate Ableton Live sessions with Python MIDI Remote Scripts, Max for Live, AbletonOSC, and Link synchronization.Other plugins' skills for the same job
/act-as-a-personal-tutorExplain a subject step by step, assess prior knowledge, and use short exercises to check understanding before advancing.