
Python
This is a strict, opinionated Python setup centered on modern tooling and test-driven development. It enforces type hints everywhere with mypy in strict mode, uses ruff for linting and formatting, and expects 80% test coverage via pytest. The structure separates pure business logic from side effects, which is clean but requires discipline. You get pre-commit hooks, GitHub Actions configs, and patterns like dependency injection and Pydantic validation out of the box. If you're starting a greenfield Python project or want to tighten up an existing one, this gives you a production-ready foundation. The anti-patterns list alone is worth having around.
- skills.sh installs
- 175
- GitHub stars
- 685
- last updated
- Jun 3, 2026
Install
$ npx -y skills add alinaqi/claude-bootstrap --skill python --agent claude-codeInstalls into .claude/skills of the current project.
Files
Python Skill
Type Hints
- Use type hints on all function signatures
- Use
typingmodule for complex types - Run
mypy --strictin CI
def process_user(user_id: int, options: dict[str, Any] | None = None) -> User:
...
Project Structure
project/
├── src/
│ └── package_name/
│ ├── __init__.py
│ ├── core/ # Pure business logic
│ │ ├── __init__.py
│ │ ├── models.py # Pydantic models / dataclasses
│ │ └── services.py # Pure functions
│ ├── infra/ # Side effects
│ │ ├── __init__.py
│ │ ├── api.py # FastAPI routes
│ │ └── db.py # Database operations
│ └── utils/ # Shared utilities
├── tests/
│ ├── unit/
│ └── integration/
├── pyproject.toml
└── CLAUDE.md
Tooling (Required)
# pyproject.toml
[tool.ruff]
line-length = 100
select = ["E", "F", "I", "N", "W", "UP"]
[tool.mypy]
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "--cov=src --cov-report=term-missing --cov-fail-under=80"
Testing with Pytest
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Repository
- github.com/alinaqi/claude-bootstrap
- Category
- Python
- First seen
- Jun 3, 2026
More from alinaqi/claude-bootstrap
All 54- Gemini Review174
- Base173
- Project Tooling173
- Azure Cosmosdb170
- Shopify Apps165
- Android Kotlin2.7K
- Playwright Testing2.5K
- Pwa Development2.4K
- Code Review1.3K
- Ui Mobile1K
- Posthog Analytics736
- Flutter685
- Supabase Nextjs651
- Supabase587
- Android Java583
- React Native517
- Aws Dynamodb419
- User Journeys406
- Code Deduplication335
- Nodejs Backend316
- Security315
- Aeo Optimization306
- Agentic Development304
- Ui Web285
Recommended
More Python2
developing-genkit-pythonfirebase/agent-skillsDevelop AI-powered applications using Genkit in Python. Use when the user asks about Genkit, AI agents, flows, or tools in Python, or when encountering Genkit e33.6Kskills.sh installs
3
fastapi-templateswshobson/agentsCreate production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications26.5Kskills.sh installs
4
python-error-handlingwshobson/agentsPython error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designin14.7Kskills.sh installs
5
pytest-coveragegithub/awesome-copilotRun pytest tests with coverage, discover lines missing coverage, and increase coverage to 100%.13Kskills.sh installs
6
python-background-jobswshobson/agentsPython background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-runn11.6Kskills.sh installs