
A comprehensive set of Python development standards that Claude will follow when writing or reviewing your code. It covers the practical stuff like preferring composition over inheritance, using Protocol classes for interfaces, and keeping one service per module. The guidelines push for modern Python patterns (union types over Optional, built-in generics over typing module), Pydantic v2 for data models, and pytest for testing with the AAA pattern. It also includes opinionated but sensible rules like requiring dependency injection, organizing environment variables in a single file, and mirroring your src structure in tests. Useful if you want consistency across a codebase without explaining your conventions every time.
$ npx -y skills add siviter-xyz/dot-agent --skill python --agent claude-codeInstalls into .claude/skills of the current project.
Standards and best practices for Python development. Follow these guidelines when writing or modifying Python code.
Apply DRY, KISS, and SOLID consistently. Prefer functional methods where relevant; use classes for stateful behavior. Use composition with Protocol classes for interfaces rather than inheritance. Each module should have a single responsibility. Use dependency injection for class dependencies.
Any unless necessary__init__.py; prefer blank filesdict, list instead of typing.Dict, typing.Liststr | None instead of Optional[str]from __future__ import annotations at top of files with type hintsSponsors