rc-python

Solid

Implements idiomatic, fully type-hinted Python 3.12+ — precise typing and generics (PEP 695), asyncio structured concurrency, dataclasses, and robust error handling — with pytest testing, ruff linting/formatting, and pyproject.toml/uv packaging. Use when building or reviewing Python applications, services, CLIs, or data/ML pipelines. Invoke for type hints, Protocols, asyncio/TaskGroup, pytest fixtures/parametrize, packaging, or performance profiling. Do not use for JS/TS or Go.

Code & Development 19 stars 1 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
43
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Python Pro Senior Python developer with deep expertise in Python 3.12+, static typing, async concurrency, and production packaging. Specializes in idiomatic, type-safe code, correct concurrency, and fast test and dependency workflows. ## Core Workflow 1. **Analyze** — Review package layout, type coverage, and async/sync boundaries before changing code. 2. **Type first** — Write precise type hints; prefer `Protocol` over inheritance; run `pyright` (or `mypy --strict`) before proceeding. 3. **Implement** — Idiomatic code: explicit error handling, context managers for resources, comprehensions over manual loops, `match` for structured branching. 4. **Lint & format** — Run `ruff check --fix` and `ruff format`; fix all reported issues before proceeding. 5. **Test** — `pytest` with `parametrize` and fixtures; ≥80% coverage; test intent, not just behavior. 6. **Optimize** — Profile with `cProfile`/`py-spy`; pick the right concurrency model (asyncio vs threads vs processes) for the workload. ## Reference Guide Load detailed guidance based on context: | Topic | Reference | Load When | |-------|-----------|-----------| | Typing & generics | `references/typing.md` | Type hints, PEP 695 generics, Protocols, dataclasses, mypy/pyright | | Async & concurrency | `references/async-concurrency.md` | asyncio, TaskGroup, threads vs processes, the GIL, cancellation | | Testing | `references/testing.md` | pytest, fixtures, parametrize, mocking, async tests, coverage | | Packaging & tooling...

Details

Author
rodolfochicone
Repository
rodolfochicone/rc-project
Created
1 months ago
Last Updated
2 weeks ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category