andrewbrown-usda/aigb-skills-usda/makefile-development-workflow
Claude Code and agent skill by andrewbrown-usda/aigb-skills-usda
- community
Checking that the SKILL.md file is still in the repository.
Standardizes Makefile-based build and test workflows with reproducible targets. Use when creating or refining helpful build, test, and clean targets.
Install
npx vskill@latest install andrewbrown-usda/aigb-skills-usda/makefile-development-workflowSKILL.md
The same SKILL.md was published earlier as andrewbrown-usda/aigb-skills-usda/makefile-development-workflow.
Makefile Development Workflow
A minimal, well-structured Makefile for any project:
Run make help to see all available commands.
Best Practices
1. Always Use .PHONY
Prevents conflicts with files of the same name and ensures targets always run.
2. Use .DEFAULT_GOAL
Makes make show help by default instead of the first target.
3. Document Targets with ## Comments
The ## comment after the target is picked up by auto-generated help.
4. Use ?= for Overridable Variables
5. Use SHELL := /bin/bash
Ensures bash features (like command -v) work consistently.
6. Use @ to Suppress Command Echo
7. Use $$ for Shell Variables in Make
$$ becomes $ in the shell.
8. Use || true to Prevent Failures
9. Use Multi-Line Commands with \
10. Use && for Chained Commands
Quick Command Cheat Sheet
| Command | Purpose | |
|---|---|---|
make help | Show all available commands | |
make build | Build the project | |
make test | Run tests | |
make clean | Clean build artifacts | |
make install | Install dependencies | |
make lint | Run linter | |
make format | Format code | |
make dev | Start development mode | |
make all | Run full pipeline | |
make docker-up | Start Docker services | |
make docker-down | Stop Docker services | |
make -j4 | Run with 4 parallel jobs | |
make VAR=value target | Override variable for target |
Language-Specific Templates & Patterns
For detailed language-specific Makefiles, patterns, and advanced configurations, see references/anatomy.md.
Quick links:
- Python projects: templates, pytest setup, venv targets
- Go projects: build, testing, hot reload patterns
- Node.js / TypeScript: npm integration, test runners
- R packages: devtools targets, documentation
- Docker integration: compose management, build patterns
- Multi-phase pipelines: setup -> build -> test -> report
- Conditional tool detection: graceful fallbacks
- Variable overrides, pattern rules, parallel execution
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/makefile-development-workflow/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/andrewbrown-usda/aigb-skills-usda/makefile-development-workflow)