Google Cloud Storage Bucket Architect
google/skills
Creates Cloud Storage on Google Cloud (also known colloquially as GCS) buckets.
Create, generate, or scaffold Makefiles with .PHONY targets and build automation.
$ npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install akin-ozer/cc-devops-skills makefile-generator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/devops-skills-plugin/skills/makefile-generator .claude/skills/makefile-generator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "makefile-generator" agent skill from https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/makefile-generator into .claude/skills/makefile-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "makefile-generator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/makefile-generatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install akin-ozer/cc-devops-skills makefile-generator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/devops-skills-plugin/skills/makefile-generator .agents/skills/makefile-generator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "makefile-generator" agent skill from https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/makefile-generator into .agents/skills/makefile-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "makefile-generator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install akin-ozer/cc-devops-skills makefile-generator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/devops-skills-plugin/skills/makefile-generator .cursor/skills/makefile-generator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "makefile-generator" agent skill from https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/makefile-generator into .cursor/skills/makefile-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "makefile-generator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/akin-ozer/cc-devops-skills.git --path devops-skills-plugin/skills/makefile-generator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install akin-ozer/cc-devops-skills makefile-generator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/devops-skills-plugin/skills/makefile-generator .gemini/skills/makefile-generator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "makefile-generator" agent skill from https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/makefile-generator into .gemini/skills/makefile-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "makefile-generator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install akin-ozer/cc-devops-skills makefile-generatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/devops-skills-plugin/skills/makefile-generator .github/skills/makefile-generator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "makefile-generator" agent skill from https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/makefile-generator into .github/skills/makefile-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "makefile-generator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install akin-ozer/cc-devops-skills makefile-generator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/akin-ozer/cc-devops-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/devops-skills-plugin/skills/makefile-generator .opencode/skills/makefile-generator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "makefile-generator" agent skill from https://github.com/akin-ozer/cc-devops-skills/tree/main/devops-skills-plugin/skills/makefile-generator into .opencode/skills/makefile-generator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "makefile-generator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
makefile-generatorCreate, generate, or scaffold Makefiles with .PHONY targets and build automation.
Makefile Generator is an agent skill from akin-ozer/cc-devops-skills. Create, generate, or scaffold Makefiles with .PHONY targets and build automation.
Its SKILL.md is about 5.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts and assets (for example `docs/makefile-structure.md`, `docs/optimization-guide.md` and `docs/patterns-guide.md`).
It sits in DevOps & Cloud. It works with C++, Java and Python. The repository describes itself as: DevOps skills for Claude Code and Codex. The licence is Apache-2.0.
4 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 276af75. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (Shell), which the agent can run.
Shell commands in SKILL.md call:
bashrgmakeFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
gnu.orgFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Makefile Generator loads about 5.5k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 1,543 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from akin-ozer/cc-devops-skills at commit 276af75, republished under its Apache-2.0 licence (© akin-ozer). 1,543 words, ~5,510 tokens.
.claude/skills/makefile-generator/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.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.
Do NOT use for: Validating existing Makefiles (use devops-skills:makefile-validator), debugging (use make -d), or running builds.
Use this skill when prompts look like:
Collect information for the following categories. Use AskUserQuestion when information is missing or ambiguous:
| Category | Information Needed |
|---|---|
| Project | Language (C/C++/Python/Go/Java), structure (single/multi-directory) |
| Build | Source files, output artifacts, dependencies, build order |
| Install | PREFIX location, directories (bin/lib/share), files to install |
| Targets | all, install, clean, test, dist, help (which are needed?) |
| Config | Compiler, flags, pkg-config dependencies, cross-compilation |
When to Use AskUserQuestion (MUST ask if any apply):
| Condition | Example Question |
|---|---|
| Language not specified | "What programming language is this project? (C/C++/Go/Python/Java)" |
| Project structure unclear | "Is this a single-directory or multi-directory project?" |
| Docker requested but registry unknown | "Which container registry should be used? (docker.io/ghcr.io/custom)" |
| Multiple binaries possible | "Should this build a single binary or multiple executables?" |
| Install targets needed but paths unclear | "Where should binaries be installed? (default: /usr/local/bin)" |
| Cross-compilation mentioned | "What is the target platform/architecture?" |
When to Skip AskUserQuestion (proceed with defaults):
Default Assumptions (when not asking):
When REQUIRED (MUST perform lookup):
When OPTIONAL (may skip external lookup):
Lookup Process (follow in order):
ALWAYS consult internal docs first using explicit file-open commands (primary source of truth):
Full doc path map (prefer full paths for deterministic access):
| Doc | Full Path |
|---|---|
| Structure guide | devops-skills-plugin/skills/makefile-generator/docs/makefile-structure.md |
| Variables guide | devops-skills-plugin/skills/makefile-generator/docs/variables-guide.md |
| Targets guide | devops-skills-plugin/skills/makefile-generator/docs/targets-guide.md |
| Patterns guide | devops-skills-plugin/skills/makefile-generator/docs/patterns-guide.md |
| Optimization guide | devops-skills-plugin/skills/makefile-generator/docs/optimization-guide.md |
| Security guide | devops-skills-plugin/skills/makefile-generator/docs/security-guide.md |
| Requirement | Read This Doc |
|---|---|
| Docker/container targets | .../docs/patterns-guide.md (Pattern 8: Docker Integration) |
| Multi-binary projects | .../docs/patterns-guide.md (Pattern 7: Multi-Binary Project) |
| Go projects with version embedding | .../docs/patterns-guide.md (Pattern 5: Go Project) |
| Parallel builds, caching, ccache | .../docs/optimization-guide.md |
| Credentials, secrets, API keys | .../docs/security-guide.md |
| Complex dependencies, pattern rules | .../docs/patterns-guide.md |
| Order-only prerequisites | .../docs/optimization-guide.md or .../docs/targets-guide.md |
| Variables, assignment operators | .../docs/variables-guide.md |
Deterministic open/read commands:
# From repository root:
sed -n '1,220p' devops-skills-plugin/skills/makefile-generator/docs/patterns-guide.md
rg -n "Pattern 5|Pattern 8" devops-skills-plugin/skills/makefile-generator/docs/patterns-guide.md
# From skill directory:
sed -n '1,220p' docs/security-guide.mdIf shell commands are unavailable, use the environment's file-open/read capability on the same paths.
Required Workflow Example (Docker + Go with version embedding):
# Step 1: Read Go pattern
rg -n "Pattern 5" devops-skills-plugin/skills/makefile-generator/docs/patterns-guide.md
# Step 2: Read Docker pattern
rg -n "Pattern 8" devops-skills-plugin/skills/makefile-generator/docs/patterns-guide.md
# Step 3: Read security guidance
sed -n '1,220p' devops-skills-plugin/skills/makefile-generator/docs/security-guide.mdThen generate Makefile and list consulted docs in a header comment.
Try context7 for external tool documentation (when internal docs don't cover a specific tool):
# Only needed for tools/frameworks NOT covered in internal docs
mcp__context7__resolve-library-id: "<tool-name>"
mcp__context7__query-docs: query="<integration-topic>"
# Example queries:
# - For Docker: query="dockerfile best practices"
# - For Go: query="go build ldflags"
# - For specific tools: query="<tool> makefile integration"Fallback: If context7 is unavailable or returns nothing useful, record that and continue to Step 3.
Fallback to WebSearch (only if pattern not found in internal docs OR context7):
"<specific-feature>" makefile best practices 2025
Example: "docker makefile best practices 2025"
Example: "go ldflags version makefile 2025"Trigger WebSearch when: Internal docs don't cover the specific integration AND context7 returns no relevant results.
Note: Document which internal docs you consulted in your response (add comment in generated Makefile header).
Optional helper-script fast path (for standard layouts):
# Generate template: TYPE NAME OUTPUT
bash scripts/generate_makefile_template.sh go myservice Makefile
# Add only selected standard targets
bash scripts/add_standard_targets.sh Makefile install clean helpUse manual authoring when requirements are complex (Docker release flow, multi-binary matrices, custom toolchains).
Traditional (POSIX-compatible):
.DELETE_ON_ERROR:
.SUFFIXES:Modern (GNU Make 4.0+, recommended):
SHELL := bash
.ONESHELL:
.SHELLFLAGS := -eu -o pipefail -c
.DELETE_ON_ERROR:
.SUFFIXES:
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules# User-overridable (use ?=)
CC ?= gcc
CFLAGS ?= -Wall -Wextra -O2
PREFIX ?= /usr/local
DESTDIR ?=
# GNU installation directories
BINDIR ?= $(PREFIX)/bin
LIBDIR ?= $(PREFIX)/lib
INCLUDEDIR ?= $(PREFIX)/include
# Project-specific (use :=)
PROJECT := myproject
VERSION := 1.0.0
SRCDIR := src
BUILDDIR := build
SOURCES := $(wildcard $(SRCDIR)/*.c)
OBJECTS := $(SOURCES:$(SRCDIR)/%.c=$(BUILDDIR)/%.o)C/C++:
$(TARGET): $(OBJECTS)
$(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@
$(BUILDDIR)/%.o: $(SRCDIR)/%.c
@mkdir -p $(@D)
$(CC) $(CPPFLAGS) $(CFLAGS) -MMD -MP -c $< -o $@
-include $(OBJECTS:.o=.d)Go:
$(TARGET): $(shell find . -name '*.go') go.mod
go build -o $@ ./cmd/$(PROJECT)Python:
.PHONY: build
build:
python -m build
.PHONY: develop
develop:
pip install -e .[dev]Java:
$(BUILDDIR)/%.class: $(SRCDIR)/%.java
@mkdir -p $(@D)
javac -d $(BUILDDIR) -sourcepath $(SRCDIR) $<.PHONY: all clean install uninstall test help
## Build all targets
all: $(TARGET)
## Install to PREFIX
install: all
install -d $(DESTDIR)$(BINDIR)
install -m 755 $(TARGET) $(DESTDIR)$(BINDIR)/
## Remove built files
clean:
$(RM) -r $(BUILDDIR) $(TARGET)
## Run tests
test:
# Add test commands
## Show help
help:
@echo "$(PROJECT) v$(VERSION)"
@echo "Targets: all, install, clean, test, help"
@echo "Override: make CC=clang PREFIX=/opt"Validation is required for every generated Makefile.
devops-skills:makefile-validator.# Required fallback check (if make exists)
make -f <Makefile> -n --dry-run
# Structural fallback checks
rg -n '^ {1,}\S' <Makefile> # suspicious space-indented recipe lines
rg -n '^\.PHONY:' <Makefile>make is unavailable: run structural checks only, report "partial validation due to missing make binary", and request user confirmation before claiming production readiness.1. Generate Makefile following stages above
2. Run validator skill (or fallback checks if unavailable)
3. Fix all errors (MUST have 0 errors before completion)
4. Apply formatting fixes (see "Formatting Step" below)
5. Fix warnings when feasible (SHOULD fix; explain if skipped)
6. Address info items for large/production projects
7. Re-run validation until checks pass
8. Output structured validation report (REQUIRED - see format below)When mbake reports formatting issues, you MUST either:
Auto-apply formatting (preferred for minor issues):
mbake format <Makefile>Explain why not applied (if formatting would break functionality):
Formatting not applied because:
- [specific reason, e.g., "heredoc syntax would be corrupted"]
- Manual review recommended for: [specific lines]If mbake is not installed or not executable, skip formatter execution and record:
Formatting skipped: mbake unavailable in current environment.
Formatting Decision Guide:
| mbake Report | Action |
|---|---|
| "Would reformat" with no specific issues | Auto-apply with mbake format |
| Specific whitespace/indentation issues | Auto-apply with mbake format |
| Issues in complex heredocs or multi-line strings | Skip formatting, explain in output |
Issues in # bake-format off sections | Skip (intentionally disabled) |
mbake command unavailable | Skip formatting, record tool-unavailable reason |
Validation Pass Criteria:
| Level | Requirement | Action |
|---|---|---|
| Errors (0 required) | Syntax errors, missing tabs, invalid targets | MUST fix before completion |
| Warnings (fix if feasible) | Formatting issues, missing optimizations | SHOULD fix; explain if skipped |
| Info (address for production) | Enhancement suggestions, style preferences | SHOULD address for production Makefiles |
Known mbake False Positives (can be safely ignored):
The mbake validator may report warnings for valid GNU Make special targets. These are false positives and can be ignored:
| mbake Warning | Actual Status | Explanation |
|---|---|---|
| "Unknown special target '.DELETE_ON_ERROR'" | ✅ Valid | Critical GNU Make target that deletes failed build artifacts |
| "Unknown special target '.SUFFIXES'" | ✅ Valid | Standard GNU Make target for disabling/setting suffix rules |
| "Unknown special target '.ONESHELL'" | ✅ Valid | GNU Make 3.82+ feature for single-shell recipe execution |
| "Unknown special target '.POSIX'" | ✅ Valid | POSIX compliance declaration |
After validation completes, you MUST output a structured report in the following format. This is not optional.
Required Report Format:
## Validation Report
**Result:** [PASSED / PASSED with warnings / FAILED]
**Errors:** [count]
**Warnings:** [count]
**Info:** [count]
### Errors Fixed
- [List each error and how it was fixed, or "None" if 0 errors]
### Warnings Addressed
- [List each warning that was fixed]
### Warnings Skipped (with reasons)
- [List each warning that was NOT fixed and explain why]
- Example: "mbake reports '.DELETE_ON_ERROR' as unknown - this is a valid GNU Make
special target (false positive)"
### Formatting Applied
- [Yes/No] - [If No, explain why formatting was skipped]
### Info Items Addressed
- [List info items that were addressed for production Makefiles]
- [Or "N/A - simple project" if not applicable]
### Remaining Issues (if any)
- [List any issues requiring user attention]
- [Or "None - Makefile is production-ready"]Example Complete Report:
## Validation Report
**Result:** PASSED with warnings
**Errors:** 0
**Warnings:** 2
**Info:** 1
### Errors Fixed
- None
### Warnings Addressed
- Fixed: Added error handling to install target (|| exit 1)
### Warnings Skipped (with reasons)
- mbake reports ".DELETE_ON_ERROR" as unknown - this is a valid and critical
GNU Make special target that ensures failed builds don't leave corrupt files.
See: https://www.gnu.org/software/make/manual/html_node/Special-Targets.html
### Formatting Applied
- Yes - Applied `mbake format` to fix whitespace issues
### Info Items Addressed
- Added .NOTPARALLEL for Docker targets (parallel safety)
- Added error handling for docker-push target
### Remaining Issues
- None - Makefile is production-readyCommon Info Items to Address:
| Info Item | When to Fix | How to Fix |
|---|---|---|
| "mkdir without order-only prerequisites" | Large projects (>10 targets) | Use target: prereqs | $(BUILDDIR) pattern |
| "recipe commands lack error handling" | Critical operations (install, deploy) | Add set -e in .SHELLFLAGS or use && chaining |
| "consider using ccache" | Long compile times | Add CC := ccache $(CC) pattern |
| "parallel-sensitive commands detected" | Docker/npm/pip targets | Add .NOTPARALLEL: for affected targets or proper dependencies |
Production-Quality Requirements (MUST address for Docker/deploy targets):
When generating Makefiles with Docker or deployment targets, you MUST apply these production patterns:
Error Handling for docker-push:
## Push Docker image to registry (with error handling)
docker-push: docker-build
@echo "Pushing $(IMAGE)..."
docker push $(IMAGE) || { echo "Failed to push $(IMAGE)"; exit 1; }
docker push $(IMAGE_LATEST) || { echo "Failed to push $(IMAGE_LATEST)"; exit 1; }Parallel Safety for Docker targets:
# Prevent parallel execution of Docker targets (race conditions)
.NOTPARALLEL: docker-build docker-push docker-runOr use proper dependencies to serialize:
docker-push: docker-build # Ensures build completes before push
docker-run: docker-build # Ensures build completes before runInstall target error handling:
install: $(TARGET)
install -d $(DESTDIR)$(PREFIX)/bin || exit 1
install -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/ || exit 1Note: When validation shows info items about error handling or parallel safety, you MUST address them for any Makefile containing Docker, deploy, or install targets. Explain in your response which patterns were applied.
Validation Checklist:
make -n passes)?=?= for user-overridable (CC, CFLAGS, PREFIX):= for project-specific (SOURCES, OBJECTS)CFLAGS += $(shell pkg-config --cflags lib).PHONY for non-file targetsall.DELETE_ON_ERROR for safety## comments for help targetTwo approaches for creating build directories:
Simple (inline mkdir):
$(BUILDDIR)/%.o: $(SRCDIR)/%.c
@mkdir -p $(@D)
$(CC) $(CFLAGS) -c $< -o $@Optimized (order-only prerequisites): Prevents unnecessary rebuilds when directory timestamps change.
$(BUILDDIR):
@mkdir -p $@
$(BUILDDIR)/%.o: $(SRCDIR)/%.c | $(BUILDDIR)
$(CC) $(CFLAGS) -c $< -o $@Use order-only prerequisites (|) for large projects with many targets.
$(RM) "$(TARGET)"@ prefix for quiet commandsmake -n firstThese scripts are optional convenience tools for quick template generation.
| Scenario | Recommendation |
|---|---|
| Simple, standard project (single binary, no special features) | ✅ Use generate_makefile_template.sh for speed |
| Complex project (Docker, multi-binary, custom patterns) | ❌ Use manual generation for full control |
| Adding targets to existing Makefile | ✅ Use add_standard_targets.sh |
| User has specific formatting/style requirements | ❌ Use manual generation |
| Rapid prototyping / proof-of-concept | ✅ Use scripts, customize later |
| Production-ready Makefile | ⚠️ Start with script, then customize manually |
Generates a complete Makefile template for a specific project type.
Script path: scripts/generate_makefile_template.sh
bash scripts/generate_makefile_template.sh [TYPE] [NAME] [OUTPUT_FILE]
Types: c, c-lib, cpp, go, python, java, genericExample:
bash scripts/generate_makefile_template.sh go myservice
# Creates Makefile with Go patterns, version embedding, standard targets
bash scripts/generate_makefile_template.sh go myservice build/Makefile
# Writes template to build/Makefile (TYPE NAME OUTPUT)Adds missing standard GNU targets to an existing Makefile.
Script path: scripts/add_standard_targets.sh
bash scripts/add_standard_targets.sh [MAKEFILE] [TARGETS...]
bash scripts/add_standard_targets.sh [TARGETS...] # uses ./Makefile
Targets: all, install, uninstall, clean, distclean, test, check, help, distExample:
bash scripts/add_standard_targets.sh Makefile install uninstall help
# Adds install, uninstall, help targets if they don't exist
bash scripts/add_standard_targets.sh clean test
# Explicit-target mode: modifies ./Makefile
bash scripts/add_standard_targets.sh -n Makefile dist
# Dry-run mode: shows planned changes without editing filesNote: Manual generation following the Stage 3 patterns produces equivalent results but allows for more customization.
Run after modifying helper scripts or templates:
bash test/test_helper_scripts.shConsider the task complete only when all checks below are satisfied:
.PHONY coverage for non-file targets.go.sum handling and configurable GO_MAIN entrypoint.makefile-validator (preferred) or documented fallback checks.mbake, or skipped with an explicit tool-unavailable/compatibility reason.Detailed guides in docs/:
© akin-ozer, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 10 other files (scripts, assets) in devops-skills-plugin/skills/makefile-generator of akin-ozer/cc-devops-skills.
Open the folder on GitHubat commit 276af75
Makefile Generator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Makefile Generator this skillakin-ozer/cc-devops-skills | 319 | — | ~5.5k | Automated safety check: Pass | Apache-2.0 | |
| Google Cloud Storage Bucket Architectgoogle/skills | 21k | — | ~2.6k | Automated safety check: Pass | Apache-2.0 | |
| CodeQL Security Scantrailofbits/skills | 7.4k | — | ~4.6k | Automated safety check: Notes | CC-BY-SA-4.0 | |
| Fory Version Bumpapache/fory | 4.6k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Fory Performance Optimizationapache/fory | 4.6k | — | ~2.2k | Automated safety check: Pass | Apache-2.0 | |
| MCP Debuggerdebugmcp/mcp-debugger | 171 | — | ~3.8k | Automated safety check: Pass | MIT |
google/skills
Creates Cloud Storage on Google Cloud (also known colloquially as GCS) buckets.
trailofbits/skills
Scans a codebase for vulnerabilities with CodeQL's data flow and taint tracking in run-all or important-only modes, including data extensions for project-specific sources and sinks.
apache/fory
Bump Apache Fory release or post-release development versions across Java, Kotlin, Scala, Python, Rust, Go, C++, C, Dart, JavaScript, Swift, integration tests, examples, and source docs.
apache/fory
Run profile-driven bottleneck optimization across Apache Fory implementations (Java, C++, Python/Cython, Go, Rust, Swift, C, JavaScript/TypeScript, Dart, Kotlin, Scala).
debugmcp/mcp-debugger
A skill your agent uses when investigating a bug, failing test, or unexpected runtime behavior and the mcp-debugger MCP server is available — drives real step-through debuggers (breakpoints, stack…
theodo-group/debug-that
Debug applications using the dbg CLI debugger. An agent skill from theodo-group/debug-that.
akin-ozer/cc-devops-skills
Create, generate, or scaffold GitHub Actions workflows, action.yml, or .github/workflows CI/CD pipelines.
akin-ozer/cc-devops-skills
Create, scaffold, or generate Helm charts, Chart.yaml, values.yaml, templates, helpers.
akin-ozer/cc-devops-skills
Generate/create/scaffold Jenkinsfile — declarative, scripted, shared library, CI/CD pipelines.
akin-ozer/cc-devops-skills
Validate, lint, audit, or scan a Dockerfile for security and best practices.
akin-ozer/cc-devops-skills
Validate, lint, audit, fix GitHub Actions workflows (.github/workflows).
akin-ozer/cc-devops-skills
Validate, lint, audit, or check Jenkinsfiles and shared libraries.
Categories
Create, generate, or scaffold Makefiles with .PHONY targets and build automation. Makefile Generator is an agent skill from akin-ozer/cc-devops-skills.PHONY targets and build automation.
Makefile Generator fits situations like: devOps & Cloud work in your project.
Run `npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a claude-code`. Or copy the skill folder (devops-skills-plugin/skills/makefile-generator in akin-ozer/cc-devops-skills) into .claude/skills/makefile-generator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a codex`. Or copy the skill folder (devops-skills-plugin/skills/makefile-generator in akin-ozer/cc-devops-skills) into .agents/skills/makefile-generator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add akin-ozer/cc-devops-skills --skill makefile-generator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/makefile-generator, .gemini/skills/makefile-generator, .github/skills/makefile-generator and .opencode/skills/makefile-generator in your project.
Going by SKILL.md and its folder, Makefile Generator needs a shell for the scripts in its folder and the command-line tools its instructions call (bash, rg and make). Our summary lists: Python 3; A Bash shell; Docker.
SKILL.md names 1 domain. In commands or code: gnu.org; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Makefile Generator is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 5.5k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Makefile Generator: Google Cloud Storage Bucket Architect (google/skills, 21k stars), CodeQL Security Scan (trailofbits/skills, 7.4k stars), Fory Version Bump (apache/fory, 4.6k stars) and Fory Performance Optimization (apache/fory, 4.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
akin-ozer (a GitHub user) maintains it in akin-ozer/cc-devops-skills, which has 319 GitHub stars. The repository holds 30 skills in this directory. The repository was last updated on July 26, 2026.
Source: akin-ozer/cc-devops-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.