akin-ozer avatar

Makefile Validator

If you need to validate Makefiles before CI or catch subtle issues like missing .PHONY declarations, tab-versus-space errors, or credential leaks, this runs a layered check through GNU make syntax validation, mbake linting, and custom security audits. It returns explicit exit codes (0 for clean, 1 for warnings, 2 for errors) and only loads the relevant docs when it finds something. The deterministic flow means you run the validator script, interpret the findings, apply fixes, and rerun until clean. Fallback paths handle missing dependencies gracefully. It's built for deterministic, local-first validation rather than quick linting, so expect a thorough pass that catches both syntax problems and best-practice violations in one go.

skills.sh installs
671
GitHub stars
337
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

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

More from akin-ozer/cc-devops-skills

All 31
1web-infra-dev avatarchrome-bridge-automationweb-infra-dev/midscene-skillsVision-driven browser automation using Midscene Bridge mode. Operates entirely from screenshots — no DOM or accessibility labels required. Can interact with all661skills.sh installs
2akin-ozer avatarloki-config-generatorakin-ozer/cc-devops-skillsGenerate/create Loki configs — ingester, querier, compactor, ruler, S3/GCS/Azure backends.622skills.sh installs
3yzlnew avatartikz-flowchartyzlnew/infra-skillsCreates professional TikZ flowcharts with standardized themes, including Google Material-like and Anthropic-inspired options.278skills.sh installs
4hoangsonww avataranomaly-alerthoangsonww/claude-code-agent-monitor>0skills.sh installs
5hoangsonww avatarcost-breakdownhoangsonww/claude-code-agent-monitor>0skills.sh installs
6hoangsonww avatardaily-standuphoangsonww/claude-code-agent-monitor>0skills.sh installs