python-expert

Review and write Python code with correctness, type safety, and PEP 8 rules.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/igij01/unified-kernel-framework-backend --skill python-expert-igij01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-expert
Source: https://github.com/igij01/unified-kernel-framework-backend/tree/main/.claude/skills/python-expert
Command: npx skills add https://github.com/igij01/unified-kernel-framework-backend --skill python-expert-igij01

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Senior Python developer guidelines to improve code quality, reliability, and maintainability across projects.

Core Features & Use Cases

  • Correctness: avoid mutable default arguments, implement proper error handling.
  • Type safety: use type hints, leverage dataclasses where appropriate.
  • Performance: use list comprehensions, apply context managers for resource handling.
  • Style & Documentation: follow PEP 8, write comprehensive docstrings, and maintain readable code.

Quick Start

Provide a step-by-step enhancement of a Python function following these guidelines.

Frequently Asked Questions about python-expert

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

FAQPage Schema
How do I enforce PEP 8 and best practices in Python code review?

To enforce PEP 8 and best practices in Python code review, apply a comprehensive rule set targeting correctness, type safety, performance, and style. This provides standardized checklists and annotated code samples to ensure consistent, readable, and maintainable software.

What is the best way to fix mutable default arguments and improve Python type safety?

The best way to fix mutable default arguments and improve Python type safety is by implementing proper error handling, using type hints, and leveraging dataclasses where appropriate to enforce correctness and reliability across real-world projects.

How do I write comprehensive docstrings and optimize Python performance?

To write comprehensive docstrings and optimize Python performance, follow PEP 8 style guidelines while applying list comprehensions and context managers for efficient resource handling to produce readable and maintainable code.

Does this approach work for reviewing existing Python projects or only writing new code?

Yes, this approach works for both reviewing existing Python projects and writing new code. It applies precise guidance and standardized checklists to review, write, and optimize Python code across real-world projects to ensure maintainability.

Why should I use type hints and dataclasses for Python code quality?

You should use type hints and dataclasses for Python code quality because they enforce type safety and correctness. This comprehensive rule set provides precise guidance to ensure consistent, readable, and maintainable Python software.