skills/prefer-make/SKILL.md
Use before running any Go toolchain command (`go build`, `go test`, `go run`, `go vet`, `go fmt`, `golangci-lint`). Substitutes make targets when a Makefile is present.
npx skillsauth add lwlee2608/agent-skills prefer-makeInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This project uses a Makefile. Always prefer make targets over running go commands directly.
go build, go test, go run, go vet, go fmt, or golangci-lint command. Look for a corresponding target.go command. For example:
make build instead of go build ./...make test instead of go test ./...make lint instead of golangci-lint runmake run instead of go run main.gomake fmt instead of go fmt ./...make help to discover targets. If that fails, read the Makefile directly.go commands only if no relevant Makefile target exists for the task.make help output or the Makefile.make unit-test exists — read the Makefile. Target names vary across projects.make test ARGS="-v -race" when the Makefile already passes -race. Check what the target does before adding flags.go test ./specific/pkg/... for a subset when the Makefile has a target that accepts a package argument (e.g., make test PKG=./specific/pkg/...).documentation
Use when the user wants to condense the current conversation into a handoff document for another agent to pick up.
development
Use when the user asks to explain or teach a technical concept. Replies in plain language with a simple diagram instead of a wall of jargon.
development
Use when writing or editing a system prompt for any LLM API or SDK (any code passing a `system=` / `system` role parameter, or a `.txt`/`.md` file holding such a prompt). Applies prompt-engineering and prompt-caching best practices.
tools
Use when the user wants to interact with Linear.app — reading or searching issues/tickets.