python

Create type-annotated Python code with mypy, black, and asyncio.

1|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/jdiegosierra/enterprise-agent-plugins --skill python-jdiegosierra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/jdiegosierra/enterprise-agent-plugins/tree/main/plugins/acme-engineering/src/skills/python
Command: npx skills add https://github.com/jdiegosierra/enterprise-agent-plugins --skill python-jdiegosierra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires mypy, pytest, black, ruff, requests, pydantic, and includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill streamlines the development of robust, maintainable Python codebases tailored for modern Python 3.11+ projects.

Core Features & Use Cases

  • Type Safety & Static Analysis: Implements comprehensive type hints and mypy configurations to catch errors early.
  • Async Programming & Concurrency: Facilitates efficient asynchronous workflows with asyncio patterns and context managers.
  • Code Quality & Style Enforcement: Integrates black and ruff for consistent formatting and linting.
  • Use Case: Automate the setup of a Python web API with type annotations, async database access, and static code analysis.

Quick Start

Load Python code that uses type hints, asynchronous functions, and pytest-based tests to ensure quality and reliability.

Frequently Asked Questions about python

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

FAQPage Schema
How do I configure mypy and ruff for strict type safety in a Python project?

To configure mypy and ruff for strict type safety, implement comprehensive type hints alongside mypy configurations to catch errors early, and enforce style standards with ruff. This integration ensures maintainable, production-ready Python codebases.

What's the best way to structure async workflows with asyncio and type hints?

The best way to structure async workflows with asyncio and type hints is to use type-annotated asynchronous functions alongside context managers. This approach facilitates efficient concurrency while maintaining strict static analysis compatibility.

Can I use black and pytest together to enforce code quality and run tests?

Yes, you can use black and pytest together to enforce code quality and run tests. Black handles consistent code formatting, while pytest executes test suites to validate the reliability of type-annotated Python applications.

Does pydantic work well with mypy for runtime data validation?

Pydantic works well with mypy for runtime data validation by combining strict type hints with static analysis. This synergy catches type errors early during development and validates data structures reliably in production environments.

Why do I need type hints for professional Python production environments?

You need type hints for professional Python production environments to catch errors early through static analysis. Comprehensive type annotations enforce code reliability and maintainability across complex automation workflows.