2 chapters · 5 min
Skills
Chapter 2 of 2
Opinionated production Python standards with automatic version detection (3.10-3.13).
2 minutes · 537 words · 17 sections
Opinionated Python guidance for writing clean, maintainable, modern Python code (versions 3.10-3.13).
Auto-invoke when users ask about:
Note: This skill is general-purpose Python style guidance, not Dagster-specific. It captures one explicit, LBYL-leaning set of conventions; project conventions can override it when needed.
| User Need | Use This Skill | Alternative Skill |
|---|---|---|
| “make this pythonic” | ✅ Yes - Python standards | |
| “is this good python” | ✅ Yes - code quality | |
| “type hints” | ✅ Yes - typing guidance | |
| “LBYL vs EAFP” | ✅ Yes - exception patterns | |
| “pathlib vs os.path” | ✅ Yes - path handling | |
| “best practices for dagster” | ❌ No | /dagster-best-practices |
| “implement X pipeline” | ❌ No | /dg for implementation |
| “which integration to use” | ❌ No | /dagster-expert |
| “CLI argument parsing” | ✅ Yes - CLI patterns |
@dignified-python-core.md
Identify the project’s minimum Python version by checking (in order):
pyproject.toml - Look for requires-python field (e.g., requires-python = ">=3.12")setup.py or setup.cfg - Look for python_requires.python-version file - Contains version like 3.12 or 3.12.0Once identified, load the appropriate version-specific file:
versions/python-3.10.mdversions/python-3.11.mdversions/python-3.12.mdversions/python-3.13.mdCore files above cover 80%+ of Python code patterns. Only load these additional files when you detect specific patterns:
Pattern detection examples:
cli-patterns.mdsubprocess.mdThis skill’s reference material is organized by topic:
dignified-python-core.md - Essential standards (always loaded)cli-patterns.md - Command-line interface patterns (click, argparse)versions/)python-3.10.md - Features available in Python 3.10+python-3.11.md - Features available in Python 3.11+python-3.12.md - Features available in Python 3.12+python-3.13.md - Features available in Python 3.13+references/advanced/)exception-handling.md - LBYL patterns, error boundariesinterfaces.md - ABC and Protocol patternstyping-advanced.md - Advanced typing patternsapi-design.md - API design principlesreferences/advanced/exception-handling.mdRead when:
from e or from Nonereferences/advanced/interfaces.mdRead when:
references/advanced/typing-advanced.mdRead when:
references/module-design.mdRead when:
references/advanced/api-design.mdRead when:
references/checklists.mdRead when:
Install this repository
npx skills add dagster-io/skills/plugin marketplace add dagster-io/skillsSkills install per repository, not per chapter — the CLI has no documented per-skill form, so we do not print one.
Opinionated production Python standards with automatic version detection (3.10-3.13). Use when writing, reviewing, or refactoring Python in repos that want modern type syntax, explicit condition checks where practical, pathlib operations, interface guidance, and pragmatic production patterns.
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
master, last pushed 7 August 2026.SKILL.md, not by matching a directory convention. 2 distinct layouts observed: skills/dagster-expert/skills/*/SKILL.md, skills/dignified-python/skills/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Colton Padden, declaring 2 plugins. It is read for editorial metadata only — never as the skill index, which is always the repository tree./dagster-io/skills.md, and each chapter at its own .md URL.14 files · 109 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of chapter 2.
Documentation the agent loads on demand, rather than up front.
Everything else published alongside the skill.