Guides writing Makefiles with honest dependencies, phony discipline, self-documenting help, and knowing when make is the wrong tool. Useful for standardizing project task-running or fixing rebuild bugs.
Make does two different jobs: incremental file builds (its native
genius) and a task-runner facade (make test, make deploy).
Design differently for each and label which one you are doing.
dist/app.js: $(SRC) package.json: then make's incremental
rebuilds work honestly. Depending on nothing, or on directories
(mtimes lie), or on files a recipe does not actually produce
breaks the model: stamp files (.build-stamp: deps && touch $@)
bridge tools that lack single outputs.test, lint, clean,
deploy: without .PHONY, a file named test silently
disables your test target forever. Group the declaration next
to each target; a task-runner Makefile is mostly phonies and
that is fine: it is the standard entry-point convention teams
actually share (see onboarding-docs).&& or use
.ONESHELL; set SHELL := bash plus
.SHELLFLAGS := -eu -o pipefail -c so failures stop the build
(see bash-robustness). Assume nothing about the environment:
pin tool invocations through variables
(PYTHON ?= python3) so CI and developers override cleanly
(see environment-config).help target that greps
## comments from targets
(test: ## Run the test suite) and prints them; new
contributors discover the interface with bare make. This
costs six lines and replaces a README section that would rot
(see readme-writing).$(BINARIES): bin/%: cmd/%/main.go compiles a family from one
rule; ?= for overridable defaults, := for computed-once.
But stop before make-programming: foreach/eval
metaprogramming is write-only; if the build needs logic,
generate the Makefile or move that part to a script the
Makefile calls (see bash-robustness step 6).make setup test build) over per-ecosystem runners.
It loses for: Windows-native teams (see
powershell-essentials), complex DAGs with caching/remote
execution (Bazel-class), and pure task-running where a
justfile or package scripts already fit the team. Do not
rebuild your language's build system inside make; wrap it
(build: ; npm run build) so make stays the thin common
interface (see deployment-pipelines for where these targets
get called).make -j) is only safe when dependencies are
complete and recipes do not share hidden state (temp files,
ports); an undeclared dependency that "works" serially corrupts
parallel builds (see build reproducibility in
artifact-versioning).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Not loaded · from ai-skills-commands
Claude Code won't load this skill
It ships in ai-skills-commands at skills/, but Claude Code only loads skills/<name>/SKILL.md and folders listed under skills in plugin.json. Installing the plugin doesn't add it.
npx claudepluginhub amey-thakur/ai-skills --plugin ai-skills-commands1,000 skills in this plugin
/ab-test-designDesign product experiments with real hypotheses, honest sample-size math, guardrails, and peeking discipline. Use when validating a change by experiment or reviewing a test before believing its result./accessibility-reviewAudit a UI for real accessibility, keyboard-first, with concrete failures and fixes rather than checkbox compliance. Use when reviewing or building any user interface./accessibility-specialist-roleOperate as an accessibility specialist who audits against WCAG, trains teams to stop shipping the same defects, and owns the compliance sign-off. Use when a product needs to be usable with a keyboard, a screen reader, or magnification and someone must certify it before launch.Other plugins' skills for the same job