SKILL: Makefile-First Workflow
Description
This project uses a Makefile as the primary interface for all development operations. Always prefer make <target> over direct tool commands.
Available Targets
bash
make help # Show all available targets make install # Install dependencies make dev # Start development server make build # Build for production make check # Run lint + typecheck + test make test # Run tests only make lint # Run linter make format # Format code make clean # Remove build artifacts
When to Use
- •Installing:
make installinstead ofbun install - •Running dev:
make devinstead ofbun run dev - •Running tests:
make testinstead ofbun test - •Full validation:
make checkfor the complete pipeline
Benefits
- •Consistent interface across projects
- •Encapsulates tool-specific commands
- •Easy to extend with project-specific targets
- •Self-documenting via
make help
Adding New Targets
Add to Makefile:
makefile
.PHONY: my-target my-target: ## Description of target command to run
The ## comment enables auto-documentation in make help.