Modern Python project configuration. Use for pyproject.toml, PEP 621, PEP 723 inline script metadata, uv init, dependencies, or migrating off setup.py and requirements.txt.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Python Packaging Best Practices
This skill covers PEP 621 (pyproject.toml metadata) and PEP 723 (inline script metadata) for modern Python projects using uv.
## When Activated
Read the full topic skill at: `docs/skills/python-packaging.md`
## Quick Reference
**Always use `pyproject.toml`** with PEP 621 `[project]` table. Never `setup.py` or `requirements.txt` for new projects.
**For single-file scripts**, use PEP 723 inline metadata (`# /// script` block) so `uv run` auto-installs dependencies.
**Key commands:**
```bash
uv init my-project # Creates PEP 621 pyproject.toml
uv add requests # Adds to [project.dependencies]
uv add --dev pytest # Adds to [dependency-groups]
uv run script.py # Reads PEP 723 metadata, auto-installs
uv add --script s.py rich # Add dep to inline script metadata
```
The line at the top of this page pins the label git:20260920.677b300, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
A 17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
pass: Frontmatter block present
pass: Frontmatter declares a name
pass: Frontmatter declares a description
pass: Size between 200 bytes and 200 KB (1248 bytes)
pass: No zero-width or bidi control characters
pass: No instruction hidden inside an HTML comment
pass: No link to an exfiltration or paste host
pass: No credential-shaped string
pass: No instruction to send local credentials anywhere
pass: No text hidden with inline styles
pass: No prompt-injection phrasing
pass: No curl or wget piped into a shell
pass: No recursive delete of root, home or parent
pass: No instruction to read or print local credentials
pass: No base64 blob over 200 characters
pass: No link to a raw IP address
pass: No script tag
Source
GitHub
cooneycw/claude-power-pack · 21 stars · license a license file GitHub does not identify · pushed 2026-10-17 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_pf5plesbifk3j7rw
GET https://markdownregistry.com/api/v1/resolve?ref=cooneycw/claude-power-pack/python-packaging
GET https://markdownregistry.com/api/v1/blob/64cfd3967ac7f9954f21c76316e9a50d3672966a0449bfbab570e25957f5ce66
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
cooneycw/claude-power-pack · .claude/skills/best-practices/SKILL.md · Routes to topic-specific best practices skills instead of loading them all. Use for Claude Code help, tips, or a how to…
cooneycw/claude-power-pack · .claude/skills/boot/SKILL.md · Menu-driven session identity registration for Kyle-compatible local-network discovery. Use to boot or register a…
cooneycw/claude-power-pack · .claude/skills/browser-tiered/SKILL.md · Use the bdg CLI for lightweight work and escalate to Playwright MCP for complex flows. Use for browser automation…
cooneycw/claude-power-pack · .claude/skills/cicd-verification/SKILL.md · Build system, health check, pipeline and container patterns. Use for CI/CD - a pipeline, Makefile generation, GitHub…
cooneycw/claude-power-pack · .claude/skills/claude-md-config/SKILL.md · CLAUDE.md structure, optimization and conventions. Use when writing or reviewing a CLAUDE.md, during project setup, or…
cooneycw/claude-power-pack · .claude/skills/code-quality/SKILL.md · Code review, testing and quality patterns. Use when reviewing code, deciding what testing a change needs, or judging…
cooneycw/claude-power-pack · .claude/skills/context-efficiency/SKILL.md · Progressive disclosure, token budgets and optimization. Use when context is filling up, when tokens must be cut to a…
cooneycw/claude-power-pack · .claude/skills/documentation/SKILL.md · Generate C4 architecture diagrams as GitHub-renderable Mermaid, and PowerPoint slides. Use to update docs, or draw a c4…
cooneycw/claude-power-pack · .claude/skills/evaluate/SKILL.md · Domain-aware prompts for multi-model analysis. Use to evaluate an architecture, concept, algorithm, ui-design or…
cooneycw/claude-power-pack · .claude/skills/hooks-automation/SKILL.md · Hook types, lifecycle and automation patterns. Use when adding or debugging hooks such as SessionStart or…
cooneycw/claude-power-pack · .claude/skills/idd-workflow/SKILL.md · IDD workflow with git worktrees and issue hierarchy. Use for issue driven development, creating a git worktree, or…
cooneycw/claude-power-pack · .claude/skills/infrastructure-hardening/SKILL.md · Validation gates, runtime contracts, canary validation and sentinel files. Use after a repeated failure, or for…
athola/claude-night-market · plugins/parseltongue/skills/python-packaging/SKILL.md · Python package creation and PyPI distribution via pyproject.toml and entry points. Use when publishing a package or…