← Back to Skills Marketplace
sunshine-del-ux

Makefile Generator

by Sunshine-del-ux · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
352
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install makefile-generator
Description
生成专业的 Makefile,支持 Node.js、Python、Go 项目,提供开发、测试、构建、部署等常用命令。
README (SKILL.md)

Makefile Generator

生成专业的 Makefile,统一项目构建命令。

功能

  • ⚡ 一键生成
  • 📝 多语言支持
  • 🎯 常用命令
  • 🔧 自定义目标

支持的语言

语言 命令
Node.js install, test, build, dev, clean
Python install, test, run, clean
Go build, test, run, clean

使用方法

Node.js 项目

makefile-generator --lang node

Python 项目

makefile-generator --lang python

Go 项目

makefile-generator --lang go

输出示例

# Makefile for Node.js Project

.PHONY: help install dev build test clean lint format deploy

help:
	@echo "Available commands:"
	@echo "  make install   - Install dependencies"
	@echo "  make dev      - Start development server"
	@echo "  make build    - Build for production"
	@echo "  make test     - Run tests"
	@echo "  make lint     - Run linter"
	@echo "  make format   - Format code"
	@echo "  make clean    - Clean build artifacts"

install:
	npm install

dev:
	npm run dev

build:
	npm run build

test:
	npm test

lint:
	npm run lint

format:
	npm run format

clean:
	rm -rf node_modules dist build

高级用法

添加自定义目标

makefile-generator --lang node --custom "docker,docker-build,docker-run"

指定包管理器

makefile-generator --lang node --pm yarn
makefile-generator --lang node --pm pnpm

安装

# 无需额外依赖

变现思路

  1. 项目模板 - 销售项目模板
  2. 开发服务 - 为企业配置开发环境

使用 Makefile 的好处

  • 统一团队开发命令
  • 减少记忆成本
  • 自动化重复任务
  • 跨平台兼容
Usage Guidance
The README promises more features than exist. Before installing or running this skill: 1) Inspect the makefile-generator.sh (it always writes a Node.js Makefile and will overwrite ./Makefile). 2) Back up any existing Makefile or run the script in an empty/test directory. 3) Don’t rely on advertised flags (--lang, --custom, --pm) — they are not implemented. 4) Be aware the generated Makefile’s clean target includes rm -rf node_modules dist (only runs if you invoke make clean, but could remove files if targets are edited). 5) If you need Python or Go support or customizable outputs, ask the author for a real implementation or use a different, actively maintained tool.
Capability Analysis
Type: OpenClaw Skill Name: makefile-generator Version: 1.0.0 The OpenClaw skill bundle 'makefile-generator' is benign. The `makefile-generator.sh` script generates a static Node.js Makefile using a here-document. While the `SKILL.md` documentation describes multi-language support and custom targets, the current script ignores the `--lang` argument and does not implement these advanced features, which is a functional bug or incomplete implementation, not a security vulnerability. There is no evidence of malicious intent, data exfiltration, unauthorized execution, or prompt injection against the agent.
Capability Assessment
Purpose & Capability
The SKILL.md claims support for Node.js, Python, and Go, plus flags like --custom and --pm (yarn/pnpm). The included makefile-generator.sh always writes a Node.js Makefile and ignores any flags; this is a clear mismatch between stated purpose and actual capability.
Instruction Scope
Instructions tell the user to run e.g. makefile-generator --lang python / --lang go and demonstrate advanced options, but there is no implementation for those behaviors. The script will overwrite ./Makefile in the current directory unconditionally. The generated Makefile contains a clean target that runs rm -rf node_modules dist (potentially destructive if run in the wrong directory).
Install Mechanism
No install spec or external downloads; the skill is instruction-only with a small bundled shell script. Risk from installation is low.
Credentials
No environment variables, credentials, or config paths are requested or used. The skill does not require secrets or unrelated system access.
Persistence & Privilege
always is false and the skill does not request persistent privileges or modify other skills or system-wide settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install makefile-generator
  3. After installation, invoke the skill by name or use /makefile-generator
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of makefile-generator. - Generate professional Makefile files for Node.js, Python, and Go projects. - Includes standard commands for development, testing, building, deployment, and cleaning. - Supports custom targets and choice of package manager. - One-command generation with multi-language support. - Promotes unified project commands and cross-platform automation.
Metadata
Slug makefile-generator
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Makefile Generator?

生成专业的 Makefile,支持 Node.js、Python、Go 项目,提供开发、测试、构建、部署等常用命令。 It is an AI Agent Skill for Claude Code / OpenClaw, with 352 downloads so far.

How do I install Makefile Generator?

Run "/install makefile-generator" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Makefile Generator free?

Yes, Makefile Generator is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Makefile Generator support?

Makefile Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Makefile Generator?

It is built and maintained by Sunshine-del-ux (@sunshine-del-ux); the current version is v1.0.0.

💬 Comments