- Add python-development-database skill: metaorm patterns for tables, repositories, filters, settings, transactions, pagination, and exceptions - Add python-development-telegram-bot skill: aiogram bot service with polling/webhook, router structure, middlewares, inline keyboards, and pagination - Add python-development-tests skill: test organization guidelines with pytest, fixtures, and dependency injection rules - Update python-development-stack: replace SQLModel/SQLAlchemy with metaorm; add pytest, pytest-asyncio, pytest-cov, faker - Update python-development-fastapi: add sections for dependencies and list endpoints with ListResponse schema - Update python-development-code-style: allow ctx as exception for typer.Context parameter - Update python-development index with links to all three new skills Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1.1 KiB
1.1 KiB
name, description
| name | description |
|---|---|
| python-development-stack | Technology stack decisions for Python services. Use when adding dependencies, choosing infrastructure, bootstrapping projects, or reviewing tool choices. |
Rules
- Use
uvas the package manager for all Python dependency operations. - Use
FastAPIfor REST API and HTTP services. - Use
metaormfor database access. It is built on top ofSQLModelandSQLAlchemyand provides built-in CRUD, DTO mapping, pagination, sorting, and transaction management. Async drivers:asyncpgfor PostgreSQL,aiosqlitefor SQLite. - Use
alembicfor database migrations. - Use
facetfor hierarchical async service composition with dependency management and graceful shutdown. - Use
typerfor CLI interfaces. - Use
pydanticfor DTOs and data validation; usepydantic-settingsfor application configuration. - Use
logurufor logging. - Use
pytestwithpytest-asynciofor testing. - Use
pytest-covfor coverage reporting. - Use
fakerfor generating test data. - Use
pyyamlfor YAML parsing; usepyyaml-includefor!includetags andpyyaml-env-tagfor!envinterpolation inside YAML config files.