python

Define Python ≥3.10 coding standards for naming, type hints, imports, and docstrings.

Updated Mar 3, 2025
One-click install
npx skills add https://github.com/MattyMroz/Bazy_Danych --skill python-mattymroz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/MattyMroz/Bazy_Danych/tree/main/.github/skills/python
Command: npx skills add https://github.com/MattyMroz/Bazy_Danych --skill python-mattymroz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a complete reference for writing, reviewing, and refactoring Python ≥3.10 code according to established standards, enhancing code quality and maintainability.

Core Features & Use Cases

  • Coding Standards & Style: Enforces best practices for naming, imports, and code formatting.
  • Type Hints & Static Analysis: Guides strict typing, mypy configurations, and complex type usage.
  • Documentation & Comments: Defines consistent Google-style docstrings and comment practices.
  • Advanced Python Features: Details @dataclass, Protocols, and lazy imports for scalable projects.
  • Use Case: Dev teams ensuring consistent, high-quality codebases that are easy to understand and audit.

Quick Start

Use the python skill to get fast references and standards for structuring large Python projects, including typing, linting, and documentation.

Frequently Asked Questions about python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What are the best Python coding standards for structuring large projects?

Python type hints are best enforced using strict typing guidelines and mypy configurations, which validate complex type usage during static analysis. This approach catches type errors early and ensures code consistency across large codebases without runtime overhead.

How do I write consistent Google-style docstrings for Python functions?

Writing consistent Google-style docstrings for Python functions requires following defined documentation practices that standardize parameter descriptions, return types, and behavioral notes. This ensures code is easy to understand, review, and audit across development teams.

Does this Python coding reference support type checking for Python 3.10 and above?

Yes, this Python coding reference supports type checking and advanced features specifically for Python 3.10 and above. It guides strict typing, mypy configurations, and complex type usage to maintain high code quality in modern projects.

When should I use dataclasses and Protocols in Python?

You should use dataclasses and Protocols in Python when building scalable projects that require clear data structures and structural subtyping. These advanced features reduce boilerplate and enable flexible, maintainable architectures across large codebases.