# Saml Makefile

> Creates / updates a Makefile with common commands for the project.

- Skill: `saml/saml-makefile` (Agent Skill)
- Install (CLI): `npx skillmds@latest add saml/saml-makefile`
- Raw SKILL.md: https://api.skillmd.com/api/skills/saml/saml-makefile/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: saml (https://skillmd.com/u/saml)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/saml/saml-makefile

---


Create `Makefile` if it does not exist.

Add common commands for the project in `Makefile`:

```
.PHONY: run
run:
  # command to run the project

.PHONY: test
test:
  # command to test the project

.PHONY: build
build:
  # command to build the project

.PHONY: lint
lint:
  # command to lint the project

.PHONY: format
format:
  # command to format the project
```

First command should be able to run the project. So that when user runs `make`, it should run the project.
Other commands are optional.

You can check AGENTS.md and memory files to find out commands to include to `Makefile`.

