python-development

Enforce Python 3.14+ development conventions for typing, testing, packaging, and AWS Lambda.

15|2|Updated Dec 13, 2025
One-click install
npx skills add https://github.com/d-padmanabhan/agent-engineering-handbook --skill python-development-d-padmanabhan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-development
Source: https://github.com/d-padmanabhan/agent-engineering-handbook/tree/main/skills/python-development
Command: npx skills add https://github.com/d-padmanabhan/agent-engineering-handbook --skill python-development-d-padmanabhan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents fragile or inconsistent Python code by standardizing modern Python 3.14+ patterns, type safety, testing, packaging, and AWS Lambda practices during AI-assisted code review and generation.

Core Features & Use Cases

  • Python 3.14+ guardrails: Enforces Python ≥ 3.14 for new applications, services, CLIs, scheduled jobs, and AWS Lambda deployments, with explicit exceptions for libraries.
  • Code quality and correctness standards: Requires strict typing on functions, Google-style docstrings, consistent formatting (black/ruff), and safe error-handling patterns.
  • Cloud and validation patterns: Covers Pydantic validation and AWS Lambda/boto3 best practices (e.g., client reuse, pagination, and structured observability guidance).

Quick Start

Ask for a Python 3.14+ code review and rewrite that ensures strict type hints, Google-style docstrings, uv-compatible packaging, pytest coverage guidance, and (if applicable) AWS Lambda/boto3 best practices for the code you provided.

Frequently Asked Questions about python-development

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

FAQPage Schema
How do I enforce strict type hints and modern Python patterns in AI-generated code?

To enforce strict type hints and modern Python patterns in AI-generated code, apply production-grade conventions targeting Python 3.14+. This ensures AI-generated or reviewed code is consistent, safe, and maintainable by requiring strict typing on functions, Google-style docstrings, and safe error-handling patterns.

What's the best way to structure AWS Lambda functions using boto3 and Python?

The best way to structure AWS Lambda functions using boto3 and Python is to follow production-grade best practices. This includes implementing client reuse, proper pagination handling, and structured observability guidance alongside Pydantic validation for safe and maintainable cloud deployments.

Does this Python code review approach work with uv-based packaging and pytest?

Yes, this Python code review approach works seamlessly with uv-based packaging and pytest. It establishes conventions for uv-compatible packaging and provides pytest coverage guidance to ensure your Python 3.14+ codebase maintains consistent testing and formatting standards enforced by black and ruff.

When do I need Pydantic validation in my Python application?

You need Pydantic validation in your Python application when establishing security-oriented validation and error-handling requirements. It enforces data correctness and safety within Python 3.14+ codebases, particularly when implementing AWS Lambda and boto3 patterns that require strict data validation.

Can I use these Python 3.14 guardrails for library development?

You cannot use these Python 3.14 guardrails for standard library development. The conventions enforce Python 3.14+ specifically for new applications, services, CLIs, scheduled jobs, and AWS Lambda deployments, while explicitly allowing exceptions for libraries that may require broader version compatibility.

Why should I use production-grade Python conventions for code generation?

You should use production-grade Python conventions for code generation to prevent fragile or inconsistent code. Standardizing modern Python 3.14+ patterns, type safety, testing, and AWS Lambda practices during AI-assisted code review and generation ensures your codebase remains safe and maintainable.