Core

From bobmatnyc/claude-mpm · View interactive version

Core is an AI agent skill from the GitHub repository bobmatnyc/claude-mpm. Python 3.13+ core patterns for minimalism, efficiency, code reuse, and performance

How to use this skill

Skill file

Python Core Patterns

Modern Python development patterns targeting 3.13+ for minimal, efficient, reusable, and performant code.

Quick Start

New code: Use @dataclass(slots=True) for data classes, PEP 695 generics (def first[T](...)), Protocol for structural typing, TaskGroup for async concurrency.

Performance: Profile first with py-spy or scalene. Use generators for single-pass iteration, set for membership tests, connection pooling for I/O.

Minimalism Patterns

Efficiency Patterns

Code Reuse

Modern Python (3.13+)

Performance

Type Safety

Anti-Patterns

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.