AgentStack
SKILL verified MIT Self-run

Prefer Make

skill-lwlee2608-agent-skills-prefer-make · by lwlee2608

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.

No reviews yet
0 installs
6 views
0.0% view→install

Install

$ agentstack add skill-lwlee2608-agent-skills-prefer-make

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Prefer Make? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Build with Make

This project uses a Makefile. Always prefer make targets over running go commands directly.

Rules

  1. Check the Makefile first before running any go build, go test, go run, go vet, go fmt, or golangci-lint command. Look for a corresponding target.
  2. Use the Makefile target instead of the raw go command. For example:
  • make build instead of go build ./...
  • make test instead of go test ./...
  • make lint instead of golangci-lint run
  • make run instead of go run main.go
  • make fmt instead of go fmt ./...
  1. Run make help to discover targets. If that fails, read the Makefile directly.
  2. Fall back to raw go commands only if no relevant Makefile target exists for the task.

Verification procedure

  1. Before executing, confirm the target exists by checking make help output or the Makefile.
  2. After execution, verify the command exited with status 0 and produced expected output.

Common mistakes to watch for

  • Assuming target names without checking. Don't guess that make unit-test exists — read the Makefile. Target names vary across projects.
  • Adding flags to make targets that already set them. For example, running make test ARGS="-v -race" when the Makefile already passes -race. Check what the target does before adding flags.
  • Running raw 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/...).

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.