Agent skill

makefile

Guidelines when dealing with Makefiles

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/design/makefile-joeyagreco-dotfiles

SKILL.md

Makefile Formatting

Instructions

When writing or modifying Makefiles, follow these formatting guidelines:

  1. Each target should have a .PHONY declaration
  2. Format should follow this pattern:
    • .PHONY: target-name on its own line
    • target-name: on the next line
    • Commands indented with a tab
    • Empty line between targets

Example

makefile
.PHONY: foo
foo:
	@echo 'foo'

.PHONY: bar
bar:
	@echo 'bar'

When to Use

Apply these guidelines when:

  • Creating new Makefile targets
  • Modifying existing Makefiles
  • Reviewing Makefile code

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results