Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ofershapv0.1.0MIT
Modern Python 3.12+ patterns your AI agent should use. Type hints, async/await, Pydantic v2, uv package manager, match statements, and project structure.
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Modern Python 3.12+ patterns your AI agent should use. Type hints with X | Y syntax, Pydantic v2,
uv package manager, match statements, pathlib, pyproject.toml, TaskGroup, and PEP 695
generics.
AI coding assistants generate
from typing import List, Union, Optional, use Pydantic v1 decorators, createsetup.py, and reach foros.pathinstead ofpathlib. This plugin keeps your agent on Python 3.12+ patterns.
npx skills add ofershap/python-best-practices
Or copy skills/ into your .cursor/skills/ or .claude/skills/ directory.
| Type | Name | Description |
|---|---|---|
| Skill | python-best-practices | 15 rules for type hints, Pydantic v2, uv, pathlib, match/case, TaskGroup, and more |
| Rule | best-practices | Always-on behavioral rule that enforces Python 3.12+ patterns |
| Command | /audit | Scan your codebase for outdated Python patterns |
| What the agent writes | What Python 3.12+ uses |
|---|---|
from typing import List, Union, Optional | list[str], X | Y, X | None |
@validator, @root_validator | field_validator, model_validator (Pydantic v2) |
class Config: in Pydantic models | model_config = ConfigDict(...) |
os.path.join(), string paths | pathlib.Path for all file operations |
setup.py, requirements.txt | pyproject.toml with uv |
TypeVar("T") + Generic[T] | def f[T](x: T) -> T (PEP 695) |
asyncio.gather() | TaskGroup for structured concurrency |
If this helped your workflow, a star helps others find it.
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (ofershap/python-best-practices) — no native marketplace selected
npx claudepluginhub p/ofershap-python-best-practicesPlugins from other owners that cover similar ground