Claude-skill-registry-data makefile-update
Makefile development workflow. Use when modifying Makefile or files in make/ directory.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/makefile-update" ~/.claude/skills/majiayu000-claude-skill-registry-data-makefile-update && rm -rf "$T"
manifest:
data/makefile-update/SKILL.mdsource content
Makefile Workflow
Workflow for Makefile changes.
Prerequisites
Use
Skill for branch, commit, and PR workflow.git-workflow
Applicable Files
| Path | Description |
|---|---|
| Main makefile |
| 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
for non-file targets.PHONY - Add help text for targets
- Group related targets
Best Practices
- Targets are
if not creating files.PHONY - 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
-
passesmake mk-lint - Target runs correctly
- Dependencies work
- Help text is accurate
Commit Format
chore(make): {brief description} - {change 1} - {change 2} Closes #{issue_number}
Related Skills
- Branch, commit, PR workflowgit-workflow