python-development · ormus-solutions — Claude Code plugin: what it does, how to install
Plugin for Python development: skills for asyncio, pytest, packaging and uv, an expert sub-agent, and a command to scaffold projects.
MIT ★ 126 updated 2026-10-04
/plugin marketplace add Ormus-Solutions/LibreUIUX-Claude-Code
/plugin install python-development@libreuiuxWhat python-development does
The plugin provides five skills (async patterns, pytest testing, pyproject.toml packaging, performance tuning, uv package manager), a @python-pro sub-agent, and the /python-development:python-scaffold command for project setup. Skills activate automatically when you mention pytest, asyncio, NumPy or uv.
The @python-pro agent scaffolds FastAPI or Django projects, reviews async code for blocking calls, profiles bottlenecks and suggests vectorization. The plugin covers Python 3.13+, Django, FastAPI, structured concurrency with TaskGroup, property-based testing with Hypothesis. You provide the libraries themselves (FastAPI, pytest, NumPy) — the plugin gives you the patterns.
What it helps with
- scaffold a FastAPI project with uv and pytest
- spot blocking calls in async code
- speed up data processing with NumPy vectorization
- write pytest fixtures for database sessions
- package a library with pyproject.toml and entry points
Example prompts for the agent
- Scaffold a FastAPI project with uv, pytest and async support
- Review this async code for best practices
- Optimize this data processing function
How to install python-development
Plugin marketplace
/plugin marketplace add Ormus-Solutions/LibreUIUX-Claude-Code/plugin install python-development@libreuiuxStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about python-development
How do I install python-development in Claude Code?
Run /plugin marketplace add Ormus-Solutions/LibreUIUX-Claude-Code, then /plugin install python-development@libreuiux.
What does python-development do?
The plugin provides skills for async patterns, testing, packaging, optimization and uv, a @python-pro sub-agent, and a project scaffolding command. It helps you write modern Python with FastAPI, pytest and asyncio.
Which libraries does python-development require?
The plugin describes patterns for FastAPI, pytest, aiohttp, NumPy, Pandas, Numba, Hypothesis. You install the libraries yourself via uv or pip.
Source text
python-development · MIT
# Python Development Plugin
> Modern Python development patterns, testing, packaging, and the blazing-fast uv package manager.
**Python Development** provides:
- **5 Skills** - Async patterns, testing, packaging, performance, uv
- **1 Agent** - Python development expert
- **1 Command** - Python project scaffolding
**Result**: Production-ready Python code with modern tooling.
---
## Quick Start
### Invoke the Agent
```
@python-pro scaffold a FastAPI project with uv
@python-pro review this async code for best practices
@python-pro optimize this data processing function
```
### Access Skills
```
# Skills are auto-loaded when relevant
"Set up uv for this project" -> uv-package-manager skill activates
"Write pytest tests" -> python-testing-patterns skill activates
```
---
## The 5 Skills
### 1. UV Package Manager
> 10-100x faster than pip, modern Python project management
- Project setup with `uv init`
- Dependency management with lockfiles
- Virtual environment creation
- Python version management
- CI/CD optimization
**Example:**
```bash
# Create project
uv init myproject
cd myproject
# Add dependencies
uv add fastapi uvicorn sqlalchemy
# Sync environment
uv sync
```
---
### 2. Python Testing Patterns
> Comprehensive testing with pytest and modern fixtures
- Test organization and discovery
- Fixture composition patterns
- Mocking and patching strategies
- Async test patterns
- Property-based testing with Hypothesis
**Example:**
```python
@pytest.fixture
def db_session():
"""Provide clean database session per test."""
engine = create_engine("sqlite:///:memory:")
with Session(engine) as session:
yield session
session.rollback()
```
---
### 3. Async Python Patterns
> Concurrency with asyncio, avoiding common pitfalls
- Async context managers
- Task groups and structured concurrency
- Semaphores for rate limiting
- Async generators
- Error handling in async code
**Example:**
```python
async def fetch_all(urls: list[str]) -> list[Response]:
async with aiohttp.ClientSession() as session:
async with asyncio.TaskGroup() as tg:
tasks = [tg.create_task(fetch(session, url)) for url in urls]
return [t.result() for t in tasks]
```
---
### 4. Python Packaging
> Modern packaging with pyproject.toml and setuptools
- pyproject.toml configuration
- Entry points and scripts
- Package distribution (wheel, sdist)
- Version management
- Dependency specification
**Example:**
```toml
[project]
name = "mypackage"
version = "1.0.0"
dependencies = ["requests>=2.28"]
[project.scripts]
mycommand = "mypackage.cli:main"
```
---
### 5. Python Performance Optimization
> Making Python fast where it matters
- Profiling with cProfile, py-spy
- Memory optimization
- NumPy/Pandas vectorization
- JIT compilation with Numba
- Multiprocessing patterns
**Example:**
```python
# Before: 100x slower
result = [x**2 for x in large_list]
# After: Vectorized
result = np.array(large_list) ** 2
```
---
## Plugin Structure
```
python-development/
├── README.md # This file
│
├── skills/ # Knowledge base
│ ├── uv-package-manager/
│ │ └── SKILL.md # uv patterns
│ ├── python-testing-patterns/
│ │ └── SKILL.md # pytest patterns
│ ├── async-python-patterns/
│ │ └── SKILL.md # asyncio patterns
│ ├── python-packaging/
│ │ └── SKILL.md # packaging patterns
│ └── python-performance-optimization/
│ └── SKILL.md # performance patterns
│
├── commands/ # Slash commands
│ └── python-scaffold.md # Project scaffolding
│
└── agents/ # Specialist agents
└── python-pro.md # Python expert agent
```
---
## Usage Examples
### Example 1: New Project Setup
```
User: Set up a new FastAPI project with uv, pytest, and async support
@python-pro responds:
- Creates project with uv init
- Adds dependencies (fastapi, uvicorn, pytest, pytest-asyncio)
- Sets up project structure
- Creates sample async endpoint
- Creates sample async test
```
### Example 2: Code Review
```
User: Review this Python code for async best practices
@python-pro analyzes:
- Identifies blocking calls in async context
- Suggests asyncio.to_thread for CPU-bound work
- Recommends structured concurrency with TaskGroup
- Points out error handling improvements
```
### Example 3: Performance Issue
```
User: This data processing is too slow, help me optimize
@python-pro:
1. Profiles the code to find bottlenecks
2. Suggests vectorization with NumPy
3. Recommends caching with functools.lru_cache
4. Proposes multiprocessing for CPU-bound work
```
---
## When to Use This Plugin
### Perfect For:
- Python application development
- FastAPI/Flask/Django projects
- Data processing pipelines
- Async/concurrent programming
- Testing and quality assurance
- Package development and distribution
### Combines Well With:
- **backend-development** - API design patterns
- **developer-essentials** - Code review, debugging
- **llm-application-dev** - AI/ML Python applications
- **data-engineering** - Data pipeline patterns
---
## Key Technologies
| Category | Tools/Libraries |
|----------|-----------------|
| Package Management | uv, pip, poetry |
| Testing | pytest, hypothesis, coverage |
| Async | asyncio, aiohttp, anyio |
| Performance | NumPy, Pandas, Numba |
| Packaging | setuptools, wheel, twine |
| Type Checking | mypy, pyright |
| Linting | ruff, flake8, black |
---
## License
Part of the LibreUIUX project - MIT License
---
*"Simple is better than complex. Complex is better than complicated."*
© Seth Hobson · MIT · Ormus-Solutions/LibreUIUX-Claude-Code
Similar plugins
All plugins for Programming languages →python-development by other authors comes first.