Works with the AI Agents you already use
Makefile and Task Runner Review (make, just, npm scripts)
by Saizul Amin
This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice.
$3
Makefile and Task Runner Review (make, just, npm scripts)
Example session with this skill installed
Run the Makefile and Task Runner Review skill on my project and give me a prioritised list of what to fix, with exact changes.
- Read your context and instructions
- Compiled the makefile and task
Here is what the Makefile and Task Runner Review (make, just, npm scripts) skill produced.
Demo: real, unedited output of the skill's bundled script on a sample input from its test suite.
Output
-Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/bash-shell-skills/tests/fixtures/taskfiles/bad/Makefile (make): 19 finding(s)
INFO MK008 line 1: no 'help' target
fix: add: help: ## show targets / @grep -E '^[a-zA-Z_-]+:.*## ' $(MAKEFILE_LIST) | ...
LOW MK015 line 3: VERSION = $(shell ...) re-runs the command every time VERSION is used
> VERSION = $(shell git describe --tags)
fix: use VERSION := $(shell ...) to run it once
MEDIUM MK002 line 5: 'clean' is not declared .PHONY: a file or directory named clean makes it silently do nothing
fix: .PHONY: clean
MEDIUM MK008 line 5: the default goal (plain 'make') is 'clean'
fix: put a harmless 'help' or 'all' target first, or set .DEFAULT_GOAL := help
MEDIUM MK005 line 6: rm -r on '$(BUILD_DIR)/': an empty variable turns this into rm -rf / or rm -rf ./
> rm -rf $(BUILD_DIR)/
fix: guard it: $(if $(DIR),,$(error DIR is empty)) or use a literal prefix: rm -rf ./$(DIR)
MEDIUM MK002 line 8: 'build' is not declared .PHONY: a file or directory named build makes it silently do nothing
fix: .PHONY: build
MEDIUM MK003 line 9: cd on its own recipe line has no effect: every line runs in a new shell
> cd src
fix: join with the command: cd dir && cmd (or use $(MAKE) -C dir)
HIGH MK009 line 11: $USER is read by make as $(U) followed by 'SER'
> @echo "built for $USER"
fix: write $$USER for a shell variable, or $(USER) for a make variable
MEDIUM MK002 line 13: 'test' is not declared .PHONY: a file or directory named test makes it silently do nothing
fix: .PHONY: test
HIGH MK001 line 14: recipe line starts with spaces: make stops with 'missing separator'
> go test ./...
fix: indent recipe lines with a TAB (or set .RECIPEPREFIX)
MEDIUM MK002 line 16: 'deps' is not declared .PHONY: a file or directory named deps makes it silently do nothing
fix: .PHONY: deps
HIGH MK010 line 17: pipes a download into a shell
> curl -fsSL https://example.com/install.sh | sh
fix: download, verify a pinned checksum, then run
LOW MK004 line 18: calls make directly: -j, -n and flags are not passed down
> make -C vendor
fix: use $(MAKE)
MEDIUM MK002 line 20: 'lint' is not declared .PHONY: a file or directory named lint makes it silently do nothing
fix: .PHONY: lint
MEDIUM MK006 line 21: bash syntax in a recipe, but make runs recipes with /bin/sh (dash on Debian/Ubuntu)
> if [[ -n "$$CI" ]]; then echo ci; fi
fix: add SHELL := bash and .SHELLFLAGS := -eu -o pipefail -c, or use POSIX syntax
HIGH MK009 line 22: $NF is read by make as $(N) followed by 'F'
> awk '{print $NF}' go.mod
fix: write $$NF for a shell variable, or $(NF) for a make variable
MEDIUM MK002 line 24: 'install' is not declared .PHONY: a file or directory named install makes it silently do nothing
fix: .PHONY: install
LOW MK011 line 25: sudo inside a recipe prompts mid-build and runs as root
> sudo cp $(BUILD_DIR)/app /usr/local/bin/
fix: document 'sudo make install' instead, or install to a user prefix
INFO MK007 line 27: no .DELETE_ON_ERROR: a failed recipe leaves a half-written target that looks up to date
fix: add .DELETE_ON_ERROR: near the top
-Users-SaizulAmin-Saizul-Old-PC-Saizul-com/bc16f08c-2133-4c9b-92e4-fd071b48ec64/scratchpad/src/bash-shell-skills/tests/fixtures/taskfiles/bad/justfile (just): 8 finding(s)
INFO JF004 line 1: set dotenv-load exports every variable in .env to every recipe
fix: make sure .env is in .gitignore and contains no production secrets
MEDIUM JF006 line 4: plain 'just' runs the first recipe, 'deploy'
fix: add first: default:\n @just --list
MEDIUM JF007 line 5: cd on its own line has no effect: each recipe line runs in a new shell
> cd infra
fix: cd dir && cmd, a shebang recipe, or the [working-directory] attribute (recent just versions)
MEDIUM JF003 line 7: rm -r on '{{target}}/cache': an empty value deletes from / or the current directory
> rm -rf {{target}}/cache
fix: use a literal prefix (rm -rf ./{{dir}}) and check the parameter is not empty
MEDIUM JF002 line 10: shebang recipe 'build' has no set -e: it keeps going after failures
fix: add set -euo pipefail (bash) or set -eu (sh) as th
What you do next
- Fix the highest-severity items first.
- Ask your agent to apply the fixes it suggests, then run the skill again to confirm.
- Keep the skill installed and re-run it whenever the project changes.
Connects securely to your tools. The creator never sees your data.
About this skill
Review Makefiles and justfiles used as project task runners with a read-only linter - spaces instead of tabs ("missing separator"), common targets not declared .PHONY, cd on its own recipe line, $VAR that make reads as $(V)AR (needs $$), bash syntax under make's /bin/sh, .ONESHELL without -e, rm -rf $(DIR) with an empty variable, plain make instead of $(MAKE), recursive = with $(shell), destructive default goals, missing help target and .DELETE_ON_ERROR, curl | sh and sudo in recipes; for just, mixed indentation, shebang recipes without set -e, bash syntax under sh -cu, rm -rf {{var}}, dotenv-load, no default recipe. Ships safe Makefile and justfile starters with self-documenting help.
Who it's for
Use when the user shares a Makefile, *.mk or justfile, asks why a target "does nothing" or fails only in CI, wants a make help target, or wants to add or clean up project tasks.
What's inside
- Tested, offline Python script(s): taskfile_lint.py (deterministic results, standard library only unless noted)
- Reference guides: checks.md
- Step-by-step agent instructions in SKILL.md covering: When to use; When not to use; Workflow; make vs just
Why it's worth it
Generic prompts guess. This skill gives your agent a proven procedure plus scripts that check the facts, so you get the same correct answer every time, with exact fixes instead of vague advice. See the real demo below.
Works with every major AI agent
Built on the open SKILL.md standard: Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, Windsurf and 20+ other agents.
Requirements
- Python 3.8+ for the bundled scripts
- No API keys, no account, runs locally
Open source: saizul/bash-shell-skills on GitHub (MIT licence, by Saizul Amin).
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 2 days ago
- Software
Python 3.8+