npx skills add ...
npx skills add dagster-io/skills --skill dignified-python
npx skills add dagster-io/skills --skill dignified-python
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 same skill content is published under more than one repo. The install counts are split across them; any of these commands works.
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: