Python

From siviter-xyz/dot-agent · View interactive version

Python is an AI agent skill from the GitHub repository siviter-xyz/dot-agent. Python development guidelines and best practices. Use when working with Python code.

How to use this skill

Skill file

Python Guidelines

Standards and best practices for Python development. Follow these guidelines when writing or modifying Python code.

Design Principles

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.

Code Style

Type Annotations

Architecture

Dependency Injection

Module Organization

Environment Variables

Data Models

Testing

Structure

Quality

Tools

Implementation

When implementing Python code:

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.