python
Installation
SKILL.md
Python
Concrete Python idioms that make the principles from the architecture skill
correct-by-construction. This skill owns the how in Python; it does not restate
the agnostic why or the enforceable lint/type-checker config — see routing.
Routing — who owns what
| Concern | Owner | This skill |
|---|---|---|
| Agnostic principles (functional core/shell, ports, error-as-value concept, observability, workflows/idempotency, config-at-boundary) | architecture |
states the Python idiom + why, points here |
ruff format/lint, basedpyright/pyright strict, no-Any, vulture |
mechanical-enforcement |
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 why it exists here; point out for the agnostic principle or the enforceable config. Never copy their tables.