跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Python Development

插件 已验证 活跃

Modern Python development with Python 3.12+, Django, FastAPI, async patterns, and production best practices

16 个 Skill 0 个 MCP
目的

To equip developers with a comprehensive set of tools and knowledge for building, managing, and optimizing modern Python applications efficiently and reliably.

功能

  • Modern Python development tooling (uv, ruff, mypy)
  • Comprehensive Python project structure and packaging guidance
  • Advanced async programming patterns
  • Python performance optimization techniques
  • Robust error handling and resilience patterns
  • Strict type checking and code style enforcement

使用场景

  • Setting up new Python projects with best practices
  • Managing project dependencies and virtual environments with uv
  • Improving code quality and consistency through linting and formatting
  • Optimizing Python applications for performance and memory usage
  • Implementing resilient and fault-tolerant Python services

非目标

  • Providing project-specific code solutions
  • Replacing specific framework implementations directly
  • Handling deployment infrastructure outside of Python application context

实践

  • Code style enforcement
  • Type safety
  • Error handling
  • Performance optimization
  • Dependency management
  • Project structure
  • Resilience patterns
  • Background jobs
  • Configuration management

安装

请先添加 Marketplace

/plugin marketplace add wshobson/agents
/plugin install python-development@claude-code-workflows

包含 16 个扩展

Skill (16)

Async Python Patterns 技能

Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.

Python Anti Patterns 技能

Use this skill when reviewing Python code for common anti-patterns to avoid. Use as a checklist when reviewing code, before finalizing implementations, or when debugging issues that might stem from known bad practices.

Python Background Jobs 技能

Python background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-running operations, or decoupling work from request/response cycles.

Python Code Style 技能

Python code style, linting, formatting, naming conventions, and documentation standards. Use when writing new code, reviewing style, configuring linters, writing docstrings, or establishing project standards.

Python Configuration 技能

Python configuration management via environment variables and typed settings. Use when externalizing config, setting up pydantic-settings, managing secrets, or implementing environment-specific behavior.

Python Design Patterns 技能

Python design patterns including KISS, Separation of Concerns, Single Responsibility, and composition over inheritance. Use this skill when designing a new service or component from scratch and choosing how to layer responsibilities, when refactoring a God class or monolithic function that has grown too large, when deciding whether to add a new abstraction or live with duplication, when evaluating a pull request for structural issues like tight coupling or leaking internal types, when choosing between inheritance and composition for a new class hierarchy, or when a codebase is becoming hard to test because of entangled I/O and business logic.

Python Error Handling 技能

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

Python Observability 技能

Python observability patterns including structured logging, metrics, and distributed tracing. Use when adding logging, implementing metrics collection, setting up tracing, or debugging production systems.

Python Packaging 技能

Create distributable Python packages with proper project structure, setup.py/pyproject.toml, and publishing to PyPI. Use when packaging Python libraries, creating CLI tools, or distributing Python code.

Python Performance Optimization 技能

Profile and optimize Python code using cProfile, memory profilers, and performance best practices. Use when debugging slow Python code, optimizing bottlenecks, or improving application performance.

Python Project Structure 技能

Python project organization, module architecture, and public API design. Use when setting up new projects, organizing modules, defining public interfaces with __all__, or planning directory layouts.

Python Resilience 技能

Python resilience patterns including automatic retries, exponential backoff, timeouts, and fault-tolerant decorators. Use when adding retry logic, implementing timeouts, building fault-tolerant services, or handling transient failures.

Python Resource Management 技能

Python resource management with context managers, cleanup patterns, and streaming. Use when managing connections, file handles, implementing cleanup logic, or building streaming responses with accumulated state.

Python Testing Patterns 技能

Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.

Python Type Safety 技能

Python type safety with type hints, generics, protocols, and strict type checking. Use when adding type annotations, implementing generic classes, defining structural interfaces, or configuring mypy/pyright.

Uv Package Manager 技能

Master the uv package manager for fast Python dependency management, virtual environments, and modern Python project workflows. Use when setting up Python projects, managing dependencies, or optimizing Python development workflows with uv.

质量评分

已验证
98 /100
13 days ago 分析

信任信号

最近提交14 days ago
星标35.3k
许可证MIT
状态
查看源代码