mcpField
M
makefile-update

makefile-update

github.com/hiromailyDevelopment12841 installsUpdated 27w ago
Repository

About makefile-update

makefile-update is a development skill for changing Makefiles and included make/*.mk files. It provides conventions and checks for organizing, documenting, and validating targets.

Key features

  1. 01Covers Makefile and included files
  2. 02Defines target and variable conventions
  3. 03Recommends help text and grouping
  4. 04Lists lint and manual checks

Use cases

  1. 01Adding a Make target
  2. 02Updating included makefiles
  3. 03Checking target dependencies and help text

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/hiromaily/go-crypto-wallet --skill makefile-update

After installing, type/makefile-updatein Claude Code to confirm it loaded.

Details

From the project README

Makefile Workflow

Workflow for Makefile changes.

Prerequisites

Use git-workflow Skill for branch, commit, and PR workflow.

Applicable Files

PathDescription
MakefileMain makefile
make/*.mkIncluded makefiles

Structure

Makefile              # Main entry point, includes make/*.mk
make/
├── go.mk            # Go-related targets
├── docker.mk        # Docker targets
├── atlas.mk         # Database migration targets
├── sqlc.mk          # SQLC generation targets
└── ...

Verification Commands

make mk-lint    # Lint makefiles
Manual Checks
# List all targets
make help

# Dry run (if supported)
make -n {target}

Guidelines

Style
  • Use tabs for indentation (required by Make)
  • Use .PHONY for non-file targets
  • Add help text for targets
  • Group related targets
Best Practices
  • Targets are .PHONY if not creating files
  • Dependencies are correct
  • Variables use ?= for defaults
  • Help text exists for main targets
Example Target
.PHONY: my-target
my-target: ## Description of target
 @echo "Running my-target..."
 command1
 command2

Verification Checklist

  • make mk-lint passes
  • Target runs correctly
  • Dependencies work
  • Help text is accurate

Commit Format

chore(make): {brief description}

- {change 1}
- {change 2}

Closes #{issue_number}

Related Skills

  • git-workflow - Branch, commit, PR workflow

Comments

Markdown supported