본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

makefile-build

gitgoodordietrying 제작

DevOps & Cloud
1.4kclawskills.sh가 보고한 다운로드 수
3스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Write Makefiles for any project type.

설명

이 스킬이 하는 일

Helps write Makefiles for build automation across any language or project type. Covers targets, variables, dependencies, phony targets, and pattern rules. Also covers Just and Task as simpler alternatives to Make.

Covers Make's notoriously confusing TAB requirement and phony target pitfalls alongside practical patterns for Go, Python, Node.js, and Docker, saving time spent reading man pages.

사용 시점

  • Setting up a shared build workflow for a Go or Python repo
  • Replacing long Docker CLI commands with short make targets
  • Running lint, test, and build in the right order with one command
  • Adding a self-documenting help target to an existing project
  • Migrating from a Makefile to a Justfile or Taskfile

예시 워크플로

입력

User asks: Create a Makefile for a Go project with build, test, lint, and clean targets

에이전트
  1. 1

    Identifies the project language as Go and the required targets

  2. 2

    Generates a Makefile with .PHONY declaration for all non-file targets

  3. 3

    Adds automatic variables like $@ and $^ to build and compile rules

  4. 4

    Includes a self-documenting help target using grep and awk on ## comments

  5. 5

    Sets VERSION using git describe --tags --always via shell assignment

출력

A complete Makefile with build, test, lint, clean, and help targets, correct TAB indentation, and a VERSION variable derived from git tags

설치

clawhub install gitgoodordietrying/makefile-build

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크