python-expert

Write, review, and optimize Python code with expert guidance.

Updated Apr 2, 2026
One-click install
npx skills add https://github.com/gouravsingh311/splice-app --skill python-expert-gouravsingh311
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-expert
Source: https://github.com/gouravsingh311/splice-app/tree/main/.codex/skills/python-expert
Command: npx skills add https://github.com/gouravsingh311/splice-app --skill python-expert-gouravsingh311

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This section provides expert guidance to write, review, and optimize Python code, helping developers produce clean, efficient, and well-documented programs.

Core Features & Use Cases

  • Correctness: guidance on handling edge cases, proper error handling, and robust code paths.
  • Type safety & style: recommendations for type hints, data classes, and adherence to PEP 8 and good documentation practices.
  • Performance & readability: tips on using efficient constructs, list comprehensions, and clear, maintainable code.
  • Use Case: when starting a Python project or when refactoring legacy code to improve quality and maintainability.

Quick Start

Ask me to write, review, or optimize Python code following established best practices.

Frequently Asked Questions about python-expert

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

FAQPage Schema
How do I write Python code that follows PEP 8 and type hint standards?

To write Python code that follows PEP 8 and type hint standards, apply expert coding guidance for type safety, proper data classes, and good documentation practices. This ensures clean, well-structured, and maintainable programs.

What is the best way to review and optimize Python code for performance?

The best way to review and optimize Python code for performance is by using efficient constructs like list comprehensions and applying expert guidance to improve code readability, maintainability, and overall execution speed.

How do I handle edge cases and errors when writing Python scripts?

To handle edge cases and errors when writing Python scripts, implement robust code paths and proper error handling mechanisms. Expert guidance helps ensure correctness and prevents unexpected failures during execution.

Can I use Python best practices for refactoring legacy code?

Yes, you can use Python best practices for refactoring legacy code to improve quality and maintainability. Applying type hints, PEP 8 formatting, and efficient constructs transforms old scripts into clean, robust programs.

Does Python code review guidance support web services and data processing tasks?

Yes, Python code review guidance supports web services and data processing tasks. It applies expert coding practices across scripting, debugging, and optimizing Python projects for various application domains.