abuxton/awesome-makefiles/makefile-python

Claude Code and agent skill by abuxton/awesome-makefiles

Trust tier 3
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Source check pending

Checking that the SKILL.md file is still in the repository.

Makefile targets for Python projects — virtualenv, testing, linting, packaging, and publishing

Install

npx vskill@latest install abuxton/awesome-makefiles/makefile-python

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as abuxton/awesome-makefiles/makefile-python.

Makefile Python Targets

Standard Makefile targets for Python projects.

When to use

Use this skill when:

  • Adding a Makefile to a Python project (library or application)
  • Standardising dev workflows (virtual env, testing, linting, publishing)
  • Onboarding contributors with a single make help entry point

Instructions

Core variables
makefile
PYTHON ?= python3
VENV ?= .venv
PIP ?= $(VENV)/bin/pip
PYTEST ?= $(VENV)/bin/pytest
RUFF ?= $(VENV)/bin/ruff
MYPY ?= $(VENV)/bin/mypy
BUILD_DIR ?= dist
SRC ?= src
Virtualenv bootstrap
makefile
$(VENV)/.stamp: requirements*.txt pyproject.toml
$(PYTHON) -m venv $(VENV)
$(PIP) install --upgrade pip
$(PIP) install -e ".[dev]"
touch $@
.PHONY: venv
venv: $(VENV)/.stamp ## Create / update virtual environment
Standard targets
makefile
.PHONY: install test lint fmt type-check clean build publish
install: venv ## Install project and dev dependencies
test: venv ## Run pytest with coverage
$(PYTEST) --cov=$(SRC) --cov-report=term-missing --cov-report=xml -v
lint: venv ## Lint with ruff
$(RUFF) check $(SRC) tests/
fmt: venv ## Format with ruff
$(RUFF) format $(SRC) tests/
type-check: venv ## Type-check with mypy
$(MYPY) $(SRC)
clean: ## Remove build artefacts and caches
rm -rf $(BUILD_DIR)/ .eggs/ *.egg-info/ .pytest_cache/ .mypy_cache/ \
.ruff_cache/ htmlcov/ .coverage coverage.xml
build: venv ## Build wheel and sdist
$(VENV)/bin/python -m build
publish: build ## Upload to PyPI (requires TWINE_USERNAME / TWINE_PASSWORD)
$(VENV)/bin/twine upload $(BUILD_DIR)/*
Pre-commit integration
makefile
.PHONY: pre-commit-install pre-commit
pre-commit-install: venv ## Install pre-commit hooks
$(VENV)/bin/pre-commit install
pre-commit: venv ## Run all pre-commit hooks
$(VENV)/bin/pre-commit run --all-files
Full CI gate
makefile
.PHONY: ci
ci: install lint type-check test build ## Full CI pipeline
Best practices
  • Commit requirements.txt (pinned) for reproducible installs; keep pyproject.toml for package metadata.
  • Use pip-compile (from pip-tools) to regenerate pinned requirements from abstract dependencies.
  • Run ruff format --check (not --fix) in CI to fail on unformatted code without modifying files.
  • Cache $(VENV) in CI using the hash of requirements*.txt as the cache key.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/abuxton/awesome-makefiles/makefile-python/badge)](https://verified-skill.com/skills/abuxton/awesome-makefiles/makefile-python)

Something wrong with this skill or its page? Tell us.