python-expert

Automate Python code quality reviews using four-tier rule sets.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/GOODWORKRINKZ/mylamp --skill python-expert-goodworkrinkz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-expert
Source: https://github.com/GOODWORKRINKZ/mylamp/tree/main/.agents/skills/python-expert
Command: npx skills add https://github.com/GOODWORKRINKZ/mylamp --skill python-expert-goodworkrinkz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate Python development practices by providing actionable guidance and templates to help developers write correct, efficient, and well-documented Python code, reducing bugs and increasing maintainability.

Core Features & Use Cases

  • Correctness-focused rules for avoiding mutable default arguments and explicit error handling.
  • Type safety guidance through type hints and dataclasses, plus comprehensive documentation patterns.
  • Performance and style tips, including list comprehensions, context managers, and adherence to PEP 8.
  • Use cases include writing new Python code, performing code reviews, debugging, and improving documentation and testing.

Quick Start

Provide a Python snippet or task description, and I will apply the rules to generate, review, or optimize the code.

Frequently Asked Questions about python-expert

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

FAQPage Schema
How do I review Python code for PEP 8, type hints, and docstrings?

Python code review for PEP 8, type hints, and docstrings is automated by applying a four-tier rule set covering correctness, type safety, performance, and style. The review checks for mutable default arguments, explicit error handling, and adherence to formatting standards.

What is the best way to fix mutable default arguments in Python dataclasses?

Fixing mutable default arguments in Python dataclasses requires applying correctness-focused rules that detect unsafe defaults and suggest explicit error handling. The guidance provides templates to restructure dataclasses safely, ensuring type safety and preventing runtime bugs.

How do I write Python code that uses context managers and list comprehensions correctly?

Writing Python code with context managers and list comprehensions correctly is supported by performance and style rules. The guidance provides examples and templates that optimize resource management and adhere to PEP 8 standards.

Can I use this for Python code debugging and documentation tasks in large projects?

Python code debugging and documentation tasks in medium to large projects are fully supported. The guidance applies a four-tier rule set sourced from rules and AGENTS.md to ensure code correctness, type safety, and comprehensive documentation patterns.

Why does my Python code review fail type safety checks with type hints?

Python code review type safety checks fail when type hints are missing or dataclasses are improperly structured. The review applies explicit rules to enforce type hints and comprehensive documentation patterns, ensuring type safety and reducing bugs.