Sets up modern Python projects with uv tooling, src layout, and PEP8 standards. Handles both new and existing projects, presents interactive library selection for CLI/TUI apps, generates pyproject.toml, and provides complete scaffolding with type hints and proper structure.
View on GitHubtasanakorn/cc-marketplace
python-dev
January 20, 2026
Select agents to install to:
npx add-skill https://github.com/tasanakorn/cc-marketplace/blob/main/plugins/python-dev/skills/python-project-setup/SKILL.md -a claude-code --skill python-project-setupInstallation paths:
.claude/skills/python-project-setup/# Python Project Setup Skill A specialized skill for setting up modern Python projects using uv tooling, best practices, and standardized project structures. ## Overview This skill enables Claude to autonomously set up Python projects following modern best practices. It promotes the use of `uv` (the fast Python package manager), enforces PEP8 standards, type hints, and proper project structure with `src` layout. ## Capabilities When activated, this skill provides: 1. **Modern Tooling with uv** - Use `uv` instead of pip/python directly - Initialize virtual environments: `uv venv` - Manage dependencies: `uv add`, `uv remove` - Sync dependencies: `uv sync` - Run scripts: `uv run` 2. **Project Structure Detection & Setup** - Detect if project is new or existing - Analyze current structure and adapt recommendations - Promote `src/package_name` layout - Create proper `__init__.py` files - Setup `__main__.py` entry points 3. **pyproject.toml Management** - Generate modern pyproject.toml - Configure project metadata - Setup dependencies and dev dependencies - Include tool configurations (ruff, mypy, pytest) - Define entry points for CLI applications 4. **Library Selection** - Present interactive menu for library choices - **CLI applications**: click (commands), rich (output), inquirer (interactive prompts) - **TUI applications**: textual (framework), rich (rendering) - **Pure libraries**: minimal dependencies - Smart recommendations based on project type 5. **Standards Enforcement** - PEP8 compliance via ruff - Type hints for all functions/methods - Proper docstring formats (Google/NumPy style) - Follow PEP8 and modern Python standards ## Usage This skill activates automatically when: - User requests: "Create a new Python project" - User asks: "Setup Python project structure" - User mentions: "Initialize Python package" - User wants to: "Migrate to uv" - Claude detects Python project initial