akin-ozer avatar

Makefile Generator

This generates production-ready Makefiles from scratch for C/C++, Python, Go, Java, and generic projects. It walks through gathering requirements (language, build targets, install paths), then creates files with .PHONY targets, dependency tracking, and GNU Coding Standards compliance. The workflow is thorough: it asks clarifying questions when needed, consults internal docs for patterns like Docker integration or multi-binary builds, and defaults to sensible choices for standard setups. Includes automatic validation via the makefile-validator skill. Use it when you're setting up a new build system or converting manual processes to Make. Don't use it for debugging existing Makefiles or actually running builds.

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

Install

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

Installs into .claude/skills of the current project.

Files

Makefile Generator

Overview

Generate production-ready Makefiles with best practices for C/C++, Python, Go, Java, and generic projects. Features GNU Coding Standards compliance, standard targets, security hardening, and automatic validation via devops-skills:makefile-validator skill.

When to Use

  • Creating new Makefiles from scratch
  • Setting up build systems for projects (C/C++, Python, Go, Java)
  • Implementing build automation and CI/CD integration
  • Converting manual build processes to Makefiles
  • The user asks to "create", "generate", or "write" a Makefile

Do NOT use for: Validating existing Makefiles (use devops-skills:makefile-validator), debugging (use make -d), or running builds.

Trigger Phrases

Use this skill when prompts look like:

  • "Generate a Makefile for a Go service"
  • "Create a production Makefile with install/test/help targets"
  • "Write a Makefile for a C project with dependency tracking"
  • "Add standard GNU targets to this existing Makefile"

Generation Workflow

Stage 1: Gather Requirements

Collect information for the following categories. Use AskUserQuestion when information is missing or ambiguous:

Sponsors

Details

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

More from akin-ozer/cc-devops-skills

All 31
1akin-ozer avatarpromql-generatorakin-ozer/cc-devops-skillsGenerate/create/write PromQL queries, metric expressions, alerting rules, recording rules, Prometheus dashboards.656skills.sh installs
2akin-ozer avatarpromql-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, or fix PromQL queries and alerting rules; detects anti-patterns.646skills.sh installs
3akin-ozer avatarfluentbit-generatorakin-ozer/cc-devops-skillsGenerate/create Fluent Bit configs — INPUT, FILTER, OUTPUT, parsers, log pipeline.640skills.sh installs
4akin-ozer avatarlogql-generatorakin-ozer/cc-devops-skillsGenerate LogQL queries, log stream selectors, metric queries, and alerting rules for Grafana Loki.640skills.sh installs
5akin-ozer avatardockerfile-generatorakin-ozer/cc-devops-skillsCreate, generate, or write Dockerfiles and multi-stage Docker images. Containerize apps.741skills.sh installs
6akin-ozer avatarhelm-validatorakin-ozer/cc-devops-skillsValidate, lint, audit, check Helm charts — Chart.yaml, templates, values.yaml, CRDs, schemas.712skills.sh installs