{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/6"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/4"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup/2"}],"enrichment":{"capability":"mbake formats and lints Makefiles, enforcing consistent spacing, tab usage in recipes, and valid syntax while optionally auto-detecting and managing .PHONY declarations.","skillfed_tags":["makefile-tools","ci-cd-ready","code-formatter"],"use_cases":["Enforce consistent Makefile formatting in CI/CD pipelines using --check mode to validate style compliance before merge","Auto-format Makefiles in a repository to fix inconsistent spacing, tabs, and line continuations across multiple projects","Validate Makefile syntax as part of a build validation step to catch errors before deployment","Automatically insert and manage .PHONY declarations based on recipe analysis to prevent false file-target conflicts","Integrate with VSCode to format Makefiles on save or on-demand using the mbake extension"],"what_it_does":"mbake is a Python-based formatter and linter for Makefiles that enforces consistent style\u2014converting spaces to tabs in recipes, normalizing spacing around assignments and colons, and cleaning up line continuations. It includes intelligent .PHONY detection that analyzes recipe commands to identify targets that don't produce files, and can optionally insert .PHONY declarations automatically. The tool validates Makefile syntax before and after formatting, supports CI/CD workflows with a check mode that reports whether formatting is needed without modifying files, and allows customization through a TOML configuration file.\n\nThe package is designed for developers and build systems that need to maintain consistent Makefile style across projects. It integrates with VSCode through an extension and provides command-line commands for formatting, validation, and configuration management. Dependencies are minimal\u2014rich for terminal output, tomli for TOML parsing, and typer for CLI argument handling\u2014making it lightweight to add to existing build pipelines.","worth_installing":"Yes. mbake fills a genuine gap in Makefile tooling with low install friction, active maintenance, permissive licensing, and no known vulnerabilities. It is well-suited for teams that need consistent Makefile style enforcement or CI/CD validation."},"id":"mbake","links":{"html":"https://skillfed.io/packages/mbake","md":"https://skillfed.io/packages/mbake.md","pypi":"https://pypi.org/project/mbake/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-31","license_spdx":"MIT","license_treatment":"permissive","name":"mbake","python_support":"supports_current","summary":"A Python-based Makefile formatter and linter"},"popularity":{"monthly_downloads":78960,"position":14390,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.4.6"}
