From dagster-skills
Opinionated production Python standards with automatic version detection (3.10-3.13). Guides modern type syntax, explicit condition checks, pathlib operations, and pragmatic patterns.
How this skill is triggered — by the user, by Claude, or both
Slash command
/dagster-skills:dignified-pythonThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Opinionated Python guidance for writing clean, maintainable, modern Python code (versions
cli-patterns.mddignified-python-core.mdreferences/README.mdreferences/advanced/api-design.mdreferences/advanced/exception-handling.mdreferences/advanced/interfaces.mdreferences/advanced/typing-advanced.mdreferences/checklists.mdreferences/module-design.mdsubprocess.mdversions/python-3.10.mdversions/python-3.11.mdversions/python-3.12.mdversions/python-3.13.mdOpinionated 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:
npx claudepluginhub dagster-io/skillsEnforces production Python coding standards (3.10-3.13) with auto version detection for writing, reviewing, refactoring code using modern type syntax, LBYL exceptions, pathlib, ABC interfaces.
Teaches Pythonic idioms, PEP 8 style, type hints, and best practices for writing readable, maintainable Python code. Useful when writing or reviewing Python code and designing packages.
Guides Python 3.11+ CLI apps with Typer/Rich, pytest test suites, ruff/mypy fixes, pyproject.toml config, portable scripts, and code reviews. Routes to specialist sub-skills.