Skip to content
akin-ozer avatar

Makefile Validator

Deterministic Makefile validation that layers GNU make syntax checks, mbake formatting, and custom security rules.

CCM score
55 of 100
skills.sh installs
711
GitHub stars
345
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers a layered flow: dependency preflight, GNU make dry-run syntax check, mbake validate and format checks, then custom security and best-practice rules
  • Runs through scripts/validate_makefile.sh with exit codes 0, 1, and 2 mapped to pass, warning-only, and error results
  • Enforces a fix-and-rerun loop that stops only when no new errors are introduced, with reference docs loaded per finding type
  • Designed for reviewing Makefiles before CI, with documented fallbacks when python3, make, or network access is unavailable

Install

$ npx -y skills add akin-ozer/cc-devops-skills --skill makefile-validator -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Makefile Validator

Overview

Use this skill to validate Makefiles with a local-first, deterministic flow.

Default validator entrypoint:

bash scripts/validate_makefile.sh <makefile-path>

Validation layers:

  1. Dependency preflight (python3, pip3, make)
  2. GNU make syntax check (make -n --dry-run) when make is available
  3. mbake validate
  4. mbake format --check
  5. Custom security, best-practice, and optimization checks
  6. Optional checkmake and unmake checks when installed

Trigger Guidance

Use this skill when the request includes Makefile quality, linting, validation, hardening, or troubleshooting.

Trigger Phrases

  • "Validate this Makefile"
  • "Lint my .mk file"
  • "Find issues in this build Makefile"
  • "Check Makefile security problems"
  • "Review this Makefile before CI"

Non-Trigger Examples

  • Creating a brand new Makefile from scratch (use makefile-generator)
  • Running build targets as part of delivery
  • General shell scripting work unrelated to Makefiles

Deterministic Execution Model

Run from this skill directory for shortest commands:

cd devops-skills-plugin/skills/makefile-validator

Details

Repository
github.com/akin-ozer/cc-devops-skills
Categories
Code Review & Quality, DevOps & Cloud
First seen
Jun 3, 2026

Questions

What is makefile-validator?

makefile-validator is an agent skill listed on Claude Marketplaces in the Code Review & Quality category. The listing describes makefile-validator like this: Validate, lint, audit, or check Makefiles and .mk files for errors.

How do I install makefile-validator?

Run npx -y skills add akin-ozer/cc-devops-skills --skill makefile-validator -y in a project to install makefile-validator. After that, the agent can use makefile-validator in that project.

Which category is makefile-validator in?

makefile-validator is in the Code Review & Quality category on Claude Marketplaces. Other listings in that category next to makefile-validator include improve-codebase-architecture, codebase-design and code-review.

Where is the source code of makefile-validator?

The source code of makefile-validator is on GitHub at https://github.com/akin-ozer/cc-devops-skills. The akin-ozer account on GitHub publishes makefile-validator.

More from akin-ozer/cc-devops-skills

All 31

Similar to Makefile Validator

More Code Review & Quality