pythonic-code
Installation
SKILL.md
Pythonic Code
Write Python that makes domain behavior obvious to human and AI readers. Apply a WWGD lens: choose the simplest correct design that feels native to Python and is easy to verify.
The preferred design method is Constructive Domain Modeling: define the valid values and outcomes a program can construct, then let their types carry obligations to the code that consumes them.
Orient Before Coding
- Read the repository's
AGENTS.mdorCLAUDE.mdinstructions. - Read
docs/ENGINEERING_STYLE.mdwhen present. - Read
docs/DOMAIN_MODEL.mdwhen the change touches domain language, ownership, identity, source-of-truth rules, or lifecycle behavior. - Read each target file completely before editing it.
- Identify the supported Python version, configured tools, surrounding patterns, and behavior that must remain stable.