Builds and refactors production-ready Python CLI tools and packages with modern pyproject layouts, uv workflows, and robust testing.
Resources
2Install
npx skillscat add ven0m0/claude-config/python-project-development Install via the SkillsCat registry.
SKILL.md
Python Project Development (Lean)
Use this skill when
- creating Python CLIs or packages
- setting up
pyproject.toml - preparing build/publish workflows
- tightening packaging, linting, and test gates
Defaults
- Prefer
uvfor dependency and run workflows. - Keep package layout
src/<package_name>/. - Use typed function signatures and explicit exit codes.
- Treat
ruff+ tests as baseline quality gates.
Core workflow
- Choose project type: CLI, library, or hybrid.
- Scaffold minimal
pyproject.tomland package layout. - Implement entry point and core module.
- Add tests and lint config.
- Validate build/install locally.
Minimal commands
# Install project deps
uv sync
# Lint and format
uv run ruff check .
uv run ruff format .
# Test
uv run pytest
# Build artifacts
uv run python -m buildConstraints
- No hardcoded secrets/paths.
- Avoid heavy dependencies without clear payoff.
- Keep packaging metadata accurate and minimal.
References
references/reference.mdreferences/examples.mdreferences/patterns.mdreferences/stdlib_perf.md