Install
openclaw skills install nm-attune-makefile-generationGenerates Makefiles with testing, linting, formatting, and automation targets
openclaw skills install nm-attune-makefile-generationNight Market Skill — ported from claude-night-market/attune. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
Generate a Makefile with standard development targets for Python, Rust, or TypeScript projects.
/attune:upgrade-project instead for updating existing MakefilesCommon targets:
help - Show available targetsinstall - Install dependencies with uvlint - Run ruff lintingformat - Format code with rufftypecheck - Run mypy type checkingtest - Run pytesttest-coverage - Run tests with coverage reportcheck-all - Run all quality checksclean - Remove generated files and cachesbuild - Build distribution packagespublish - Publish to PyPICommon targets:
help - Show available targetsfmt - Format with rustfmtlint - Run clippycheck - Cargo checktest - Run testsbuild - Build release binaryclean - Clean build artifactsCommon targets:
help - Show available targetsinstall - Install npm dependencieslint - Run ESLintformat - Format with Prettiertypecheck - Run tsc type checkingtest - Run Jest testsbuild - Build for productiondev - Start development server# Check for language indicators
if [ -f "pyproject.toml" ]; then
LANGUAGE="python"
elif [ -f "Cargo.toml" ]; then
LANGUAGE="rust"
elif [ -f "package.json" ]; then
LANGUAGE="typescript"
fi
Verification: Run the command with --help flag to verify availability.
from pathlib import Path
template_path = Path("plugins/attune/templates") / language / "Makefile.template"
Verification: Run the command with --help flag to verify availability.
metadata = {
"PROJECT_NAME": "my-project",
"PROJECT_MODULE": "my_project",
"PYTHON_VERSION": "3.10",
}
Verification: Run the command with --help flag to verify availability.
from template_engine import TemplateEngine
engine = TemplateEngine(metadata)
engine.render_file(template_path, Path("Makefile"))
Verification: Run the command with --help flag to verify availability.
make help
Verification: Run make --dry-run to verify build configuration.
Users can add custom targets after the generated ones:
# ============================================================================
# CUSTOM TARGETS
# ============================================================================
deploy: build ## Deploy to production
./scripts/deploy.sh
Verification: Run the command with --help flag to verify availability.
Skill(attune:project-init) - Full project initialization/abstract:make-dogfood command - Makefile testing and validation