Agent skill

hatchling

Use when working with Hatchling — configuring build system setup, pyproject.toml metadata, dependencies, entry points, build hooks, version management, wheel and sdist builds, package distribution, setuptools migration, or troubleshooting Hatchling build errors. Covers PEP 517/518/621/660 standards.

Stars 33
Forks 4

Install this agent skill to your Project

npx add-skill https://github.com/Jamie-BitFlight/claude_skills/tree/main/plugins/python3-development/skills/hatchling

SKILL.md

Hatchling

Overview

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.

Key Capabilities

Consult ../python3-development/references/python3-standards.md when applying shared architecture, typing, testing, or CLI rules; full standards, graphs, and amendment process are documented there.

  • Configuration via pyproject.toml: Standards-compliant PEP 621 metadata with sensible defaults
  • Build Targets: Wheel and source distribution builds with extensive customization
  • Build Hooks: Dynamic code execution during build for artifacts, version management, and compilation
  • Version Management: Multiple version sources with automatic version injection
  • File Selection: Git-aware VCS integration with glob pattern matching
  • Plugins: Extensible architecture for custom builders, hooks, and metadata hooks

Reference Documentation

This skill provides comprehensive reference documentation organized by topic. Each section links to detailed guides covering configuration, usage patterns, and examples.

Project Configuration

  • references/project-metadata/index.md - Package metadata, dependencies, entry points, dynamic fields
  • references/build-system/index.md - Build backend setup, PEP 517/518, reproducible builds, environment variables

Build Targets

  • references/wheel-target/index.md - Wheel configuration, package discovery, file selection, editable installs
  • references/sdist-target/index.md - Sdist configuration, VCS integration, legacy setup.py support
  • references/build-targets/index.md - Wheel, sdist, binary, custom builders, multi-version builds
  • references/target-config/index.md - Target-specific hooks, dependencies, versions, precedence

File Selection & Build Customization

  • references/file-selection/index.md - Git-style globs, include/exclude patterns, VCS integration, force-include
  • references/build-hooks/index.md - Hook interface, execution order, custom hooks, version hooks, build data passing
  • references/advanced-features/index.md - Dynamic dependencies, force-include, path rewriting, editable installs, build context

Version & Metadata Management

  • references/version-management/index.md - Version sources (code, regex, env), schemes, validation, build hooks
  • references/metadata-hooks/index.md - Metadata hook interface, custom hooks, dynamic metadata generation
  • references/context-formatting/index.md - Context variables, environment-based config, interpolation

Plugin System

  • references/plugins/index.md - Builder, hook, metadata, version plugins, hatch-vcs, plugin development

Build Environment & Integration

  • references/build-environment/index.md - Environment config, dependencies, UV vs pip, Cython integration, isolation
  • references/integration/index.md - PEP standards compliance, setup.py migration, setuptools compatibility, CMake/extensions
  • references/special-config/index.md - PEP 561 type hints, SPDX licenses, namespace packages, src-layout, extensions

Core Concepts & Standards

  • references/core-concepts/index.md - PEP 517 backend, minimal philosophy, VCS file selection, reproducible builds
  • references/standards/index.md - Python packaging overview, PEP references, metadata specs, distribution formats

Operational Guides

  • references/cli-building/index.md - hatch build commands, python -m build, pip install, output customization
  • references/error-handling/index.md - Path validation, file selection errors, version/license validation, heuristic failures
  • references/release-notes/index.md - Hatchling version history, feature additions, PEP 639 support, performance improvements

Expand your agent's capabilities with these related and highly-rated skills.

Jamie-BitFlight/claude_skills

ccc

This skill should be used when code search is needed (whether explicitly requested or as part of completing a task), when indexing the codebase after changes, or when the user asks about ccc, cocoindex-code, or the codebase index. Trigger phrases include 'search the codebase', 'find code related to', 'update the index', 'ccc', 'cocoindex-code'.

33 4
Explore
Jamie-BitFlight/claude_skills

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction.

33 4
Explore
Jamie-BitFlight/claude_skills

delegate

Quick delegation template for sub-agent prompts. Use when assigning work to a sub-agent, before invoking the Agent tool, or when preparing prompts for specialized agents. Provides the WHERE-WHAT-WHY framework. For comprehensive delegation guidance, activate the agent-orchestration how-to-delegate skill.

33 4
Explore
Jamie-BitFlight/claude_skills

swarm-spawning

Spawn agents and teammates in Claude Code swarms. Use when choosing between subagents vs teammates, selecting agent types (Explore, Plan, general-purpose, plugin agents), configuring spawn backends (in-process, tmux, iterm2), or setting environment variables for spawned agents.

33 4
Explore
Jamie-BitFlight/claude_skills

knowledge-explorer

Manage the research/ knowledge base (KB) of tool and library research entries. Use when browsing KB topics, adding new research entries, updating existing entries with dated revisions, fetching GitHub repo metadata into a draft KB entry, or migrating old-format entries to skill-spec frontmatter. Triggers on tasks like "what do we have on X", "add this to the KB", "update the KB entry for Y", "fetch github info for owner/repo", or "migrate old entries".

33 4
Explore
Jamie-BitFlight/claude_skills

design-anti-patterns

Enforce anti-AI UI design rules based on the Uncodixfy methodology. Use when generating HTML, CSS, React, Vue, Svelte, or any frontend UI code. Prevents "Codex UI" — the generic AI aesthetic of soft gradients, floating panels, oversized rounded corners, glassmorphism, hero sections in dashboards, and decorative copy. Applies constraints from Linear/Raycast/Stripe/GitHub design philosophy: functional, honest, human-designed interfaces. Triggers on: UI generation, dashboard building, frontend component creation, CSS styling, landing page design, or any task producing visual interface code.

33 4
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results