python-pedantry

Community

Write Pythonic, modern, and robust code.

Authoroborchers
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enforces modern Python best practices, preventing common pitfalls and ensuring code is clean, maintainable, and idiomatic, thereby reducing bugs and improving developer productivity.

Core Features & Use Cases

  • Modern Type Hinting: Enforces type | None over Optional[type] and list[str] over List[str].
  • Configuration Management: Promotes Pydantic BaseSettings for centralized, validated configuration.
  • Error Handling: Mandates exception chaining (raise X from e) for better debugging.
  • Code Quality: Integrates Ruff for linting and formatting, ensuring consistency.
  • Use Case: When writing new Python code or reviewing existing code, use this Skill to ensure adherence to current standards, catch subtle bugs, and improve overall code quality.

Quick Start

Apply modern type syntax and Pydantic settings to the current Python codebase.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: python-pedantry
Download link: https://github.com/oborchers/fractional-cto/archive/main.zip#python-pedantry

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.