From python-engineering
Configures and troubleshoots Hatchling Python builds: pyproject.toml metadata, dependencies, entry points, build hooks, version management, wheel/sdist targets, setuptools migration, and PEP 517/518/621/660 standards.
How this skill is triggered — by the user, by Claude, or both
Slash command
/python-engineering:hatchlingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Hatchling is a modern, standards-compliant Python build backend that replaces legacy setuptools for package building. It provides clear configuration through `pyproject.toml`, intelligent defaults, and extensibility through hooks and plugins. This skill enables understanding Hatchling's architecture, configuration options, and build customization capabilities.
hatchling.TODO.mdreferences/advanced-features/artifact-directories.mdreferences/advanced-features/build-context.mdreferences/advanced-features/build-data-passing.mdreferences/advanced-features/case-insensitive-filesystems.mdreferences/advanced-features/distributed-artifacts.mdreferences/advanced-features/dynamic-dependencies.mdreferences/advanced-features/editable-installs.mdreferences/advanced-features/force-include.mdreferences/advanced-features/index.mdreferences/advanced-features/path-rewriting.mdreferences/build-environment/build-dependencies-management.mdreferences/build-environment/build-environment-configuration.mdreferences/build-environment/cython-build-tools.mdreferences/build-environment/environment-isolation.mdreferences/build-environment/environment-variables.mdreferences/build-environment/index.mdreferences/build-environment/uv-vs-pip-installer.mdreferences/build-hooks/build-data.mdreferences/build-hooks/buildhook-interface.mdHatchling is a modern, standards-compliant Python build backend that replaces legacy setuptools for package building. It provides clear configuration through pyproject.toml, intelligent defaults, and extensibility through hooks and plugins. This skill enables understanding Hatchling's architecture, configuration options, and build customization capabilities.
Consult ../python3-core/references/python3-standards.md when applying shared architecture, typing, testing, or CLI rules; full standards, graphs, and amendment process are documented there.
This skill provides comprehensive reference documentation organized by topic. Each section links to detailed guides covering configuration, usage patterns, and examples.
references/project-metadata/index.md - Package metadata, dependencies, entry points, dynamic fieldsreferences/build-system/index.md - Build backend setup, PEP 517/518, reproducible builds, environment variablesreferences/wheel-target/index.md - Wheel configuration, package discovery, file selection, editable installsreferences/sdist-target/index.md - Sdist configuration, VCS integration, legacy setup.py supportreferences/build-targets/index.md - Wheel, sdist, binary, custom builders, multi-version buildsreferences/target-config/index.md - Target-specific hooks, dependencies, versions, precedencereferences/file-selection/index.md - Git-style globs, include/exclude patterns, VCS integration, force-includereferences/build-hooks/index.md - Hook interface, execution order, custom hooks, version hooks, build data passingreferences/advanced-features/index.md - Dynamic dependencies, force-include, path rewriting, editable installs, build contextreferences/version-management/index.md - Version sources (code, regex, env), schemes, validation, build hooksreferences/metadata-hooks/index.md - Metadata hook interface, custom hooks, dynamic metadata generationreferences/context-formatting/index.md - Context variables, environment-based config, interpolationreferences/plugins/index.md - Builder, hook, metadata, version plugins, hatch-vcs, plugin developmentreferences/build-environment/index.md - Environment config, dependencies, UV vs pip, Cython integration, isolationreferences/integration/index.md - PEP standards compliance, setup.py migration, setuptools compatibility, CMake/extensionsreferences/special-config/index.md - PEP 561 type hints, SPDX licenses, namespace packages, src-layout, extensionsreferences/core-concepts/index.md - PEP 517 backend, minimal philosophy, VCS file selection, reproducible buildsreferences/standards/index.md - Python packaging overview, PEP references, metadata specs, distribution formatsreferences/cli-building/index.md - hatch build commands, python -m build, pip install, output customizationreferences/error-handling/index.md - Path validation, file selection errors, version/license validation, heuristic failuresreferences/release-notes/index.md - Hatchling version history, feature additions, PEP 639 support, performance improvementsnpx claudepluginhub jamie-bitflight/claude_skills --plugin python-engineeringGuides Hatchling setup in pyproject.toml: metadata, dependencies, entry points, build hooks, version management, wheel/sdist builds, plugins, and error troubleshooting per PEP 517/518/621/660.
Configures pyproject.toml for Python packages: build backends (hatchling, setuptools, maturin), PEP 621 metadata, PEP 735 dependency groups, entry points, versioning, and tool settings (ruff, pytest).
Builds pure Python packages using uv_build, uv's Rust-based backend. Configures pyproject.toml, module discovery, file inclusion/exclusion, and fast path PEP 517 bypass.