plugins/attune/skills/makefile-generation/SKILL.md
Generates Makefiles with testing, linting, formatting, and automation targets. Use when starting a project or standardizing build automation.
npx skillsauth add athola/claude-night-market makefile-generationInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 validationMakefile is created at the project root containing at minimum a help target and
all standard targets for the detected language (Python: install/lint/format/typecheck/test;
Rust: fmt/lint/check/test/build; TypeScript: install/lint/format/typecheck/test/build).make help runs without error and lists all generated targets with descriptions.make --dry-run <target> exits 0 for each standard target, confirming recipe syntax
is valid.pyproject.toml, Cargo.toml, or package.json), the
skill reports the detection failure and stops rather than generating a blank Makefile.data-ai
Models a business in its own language. Use when the domain has real business rules to capture.
research
Generate diverse solution candidates with category-spanning ideation methods and rotation. Use when stuck on a design or fighting repetitive LLM output.
development
Generates and self-executes a diff-derived test plan for a PR. Use when validating PR changes before merge. Do not use for code review; use sanctum:pr-review.
development
Ramps implementation ambition a notch only after the prior increment is understood. Use when building a feature you must understand, not just ship.