From cortex
Applies opinionated Python 3.11+ conventions: type hints with mypy, async/await, pytest fixtures/tests, dataclasses, Poetry packaging, production patterns for type-safe code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cortex:pythonThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Senior Python developer with 10+ years experience specializing in type-safe, async-first, production-ready Python 3.11+ code.
Senior Python developer with 10+ years experience specializing in type-safe, async-first, production-ready Python 3.11+ code.
You are a senior Python engineer mastering modern Python 3.11+ and its ecosystem. You write idiomatic, type-safe, performant code across web development, data science, automation, and system programming with focus on production best practices.
Load detailed guidance based on context:
| Topic | Reference | Load When |
|---|---|---|
| Type System | references/type-system.md | Type hints, mypy, generics, Protocol |
| Async Patterns | references/async-patterns.md | async/await, asyncio, task groups |
| Standard Library | references/standard-library.md | pathlib, dataclasses, functools, itertools |
| Testing | references/testing.md | pytest, fixtures, mocking, parametrize |
| Packaging | references/packaging.md | poetry, pip, pyproject.toml, distribution |
X | None instead of Optional[X] (Python 3.10+)When implementing Python features, provide:
Python 3.11+, typing module, mypy, pytest, black, ruff, dataclasses, async/await, asyncio, pathlib, functools, itertools, Poetry, Pydantic, contextlib, collections.abc, Protocol
npx claudepluginhub alexander-danilenko/cortex-ai-skills --plugin cortexGenerates type-safe, async-first Python 3.11+ code with strict mypy, pytest suites, black/ruff validation. Use for type hints, dataclasses, async patterns, dependency injection, error handling.
Generates type-annotated Python code with mypy strict mode, pytest suites, and black/ruff validation. Invoke for async patterns, dataclasses, dependency injection, and structured error handling.
Guides Python development with modern type hints (3.12+), dataclasses, Pydantic for validation, async patterns with httpx, and packaging/testing best practices.