python-expert

Guide modern Python 3.10+ development with type hints, dataclasses, and virtual environments.

Updated Feb 25, 2026
One-click install
npx skills add https://github.com/ACubero/IA_AGENT_esqueleto_proyectos_python_antigravity --skill python-expert-acubero
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-expert
Source: https://github.com/ACubero/IA_AGENT_esqueleto_proyectos_python_antigravity/tree/main/.agent/skills/python_expert
Command: npx skills add https://github.com/ACubero/IA_AGENT_esqueleto_proyectos_python_antigravity --skill python-expert-acubero

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines Python development by enforcing modern best practices, managing virtual environments, and assisting with debugging and code structure.

Core Features & Use Cases

  • Environment Management: Ensures proper use of virtual environments for isolated project dependencies.
  • Code Quality: Guides users on applying type hints, modern syntax (pattern matching, walrus operator), and adhering to PEP8 standards.
  • Dependency Handling: Provides clear instructions for managing project dependencies using pip and pyproject.toml.
  • Debugging Assistance: Offers strategies for resolving ModuleNotFoundError and other common import issues.
  • Use Case: When starting a new Python project, use this Skill to set up the correct directory structure and virtual environment, ensuring a clean and maintainable codebase from the start.

Quick Start

Create a new Python project using the standard structure and activate a virtual environment.

Frequently Asked Questions about python-expert

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

FAQPage Schema
How do I fix ModuleNotFoundError when running Python scripts?

Python virtual environments isolate project dependencies, preventing version conflicts across global installations. They are needed whenever you start a new project or manage multiple applications requiring different package versions simultaneously.

How do I structure a new Python project to follow modern best practices?

Structure a new Python project by setting up a standard directory layout and activating a virtual environment. Use pyproject.toml for dependency handling and apply type hints to ensure a maintainable codebase.

What's the best way to manage Python dependencies with pip and pyproject.toml?

Managing Python dependencies involves using pip alongside pyproject.toml to explicitly declare package requirements. This approach standardizes project configuration and ensures reproducible environment setup across different development machines.

Do I need type hints and dataclasses for Python 3.10+ development?

Type hints and dataclasses are recommended for Python 3.10+ development to improve code quality and maintainability. They enable static analysis, reduce runtime errors, and promote modern syntax adherence within your projects.

Why does Python import fail despite the module being installed in my environment?

Python import failures occur when the active environment lacks the module or the project structure misconfigures package paths. Resolving this requires verifying virtual environment activation and ensuring proper directory setup.