Claude Python Setup
Description
A CLAUDE.md template for setting up modern Python development environments with uv, ruff, pytest, and automated tooling.
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
Claude Python Setup
A comprehensive CLAUDE.md template for setting up modern Python development environments with uv, ruff, pytest, and automated tooling. This repository provides a battle-tested configuration that can be used with Claude Code to quickly bootstrap Python projects with best practices.
Overview
This repository contains a complete CLAUDE.md file that automates the setup of a modern Python development environment including:
- uv - Fast Python package manager and dependency resolver
- ruff - Lightning-fast Python linter and formatter
- pytest - Modern testing framework with coverage reporting
- pre-commit - Git hooks for code quality enforcement
- GitHub Actions - Automated CI/CD pipeline
- Makefile - Developer convenience commands
Quick Start
Option 1: Use with Claude Code
- Copy the
CLAUDE.mdfile to your Python project directory - Ask Claude Code to run the setup:
Run the Python development environment setup from CLAUDE.md
Option 2: Manual Setup
- Clone or download this repository
- Copy
CLAUDE.mdto your Python project - Run the setup commands from the CLAUDE.md file
What Gets Created
The setup process creates a complete development environment:
your-project/
├── .editorconfig # Editor configuration
├── .gitignore # Python-specific gitignore
├── .pre-commit-config.yaml # Pre-commit hooks
├── .github/workflows/ci.yml # GitHub Actions CI
├── CONTRIBUTING.md # Contribution guidelines
├── Makefile # Development commands
├── pyproject.toml # Project configuration
├── src/your_package/ # Package source code
│ └── __init__.py
└── tests/ # Test directory
└── test_example.py
Available Commands
After setup, use these Make commands for development:
make help- Show all available commandsmake dev- Set up development environmentmake test- Run tests with pytestmake lint- Run r
Related Skills
Spec Kit
💫 Toolkit to help you get started with Spec-Driven Development
Testing Webapp Testing
Test local web applications using Playwright for UI verification and debugging
Testing #29
, [#52](https://github.com/affaan-m/everything-claude-code/issues/52), [#103](https://github.com/affaan-m/ever
Testing Fix Issue
by metabase - Addresses GitHub issues by taking issue number as parameter, analyzing context, implementing sol
Testing Pypict Test Design
Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for optimized test sui
Testing gstack
| 15,000+ | Garry Tan's exact Claude Code setup: 6 opinionated tools that serve as CEO, Eng Manager, Release M
Testing