python
Installation
SKILL.md
Python
Concrete Python idioms that make the architecture skill's principles
correct-by-construction: the how in Python, not the agnostic why or the
enforceable config - see routing.
Routing - who owns what
| Concern | Owner | This skill |
|---|---|---|
| Agnostic principles (functional core/shell, ports, errors as values, observability, idempotency, the config lifetimes) | architecture (references/configuration-lifecycle.md for config) |
states the Python idiom + why, points here |
ruff format/lint, basedpyright recommended, no-Any, vulture, import-linter / tach contracts, purity bans, pytest strictness |
mechanical-enforcement (references/python.md) |
names the idiom, points there for config |
| Test strategy, layers, fakes-not-mocks, property tests | testing |
Python specifics only (pytest, hypothesis, no mock.patch) |
| Coverage thresholds, mutation, CI/hook enforcement | test-coverage |
- |
| Structured logging | logging-best-practices (references/python.md) |
points there |
Rule: state the idiom and its why here, point out for the rest, and never copy their tables.