makefile-update
1
总安装量
1
周安装量
#42922
全站排名
安装命令
npx skills add https://github.com/hiromaily/go-crypto-wallet --skill makefile-update
Agent 安装分布
codex
1
claude-code
1
Skill 文档
Makefile Workflow
Workflow for Makefile changes.
Prerequisites
Use git-workflow Skill for branch, commit, and PR workflow.
Applicable Files
| Path | Description |
|---|---|
Makefile |
Main makefile |
make/*.mk |
Included 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
.PHONYfor non-file targets - Add help text for targets
- Group related targets
Best Practices
- Targets are
.PHONYif 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-lintpasses - 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