From dagster-skills
Enforces opinionated production standards for Python 3.10-3.13 including modern type syntax, explicit checks, pathlib, interfaces, and CLI patterns. Use for writing, reviewing, refactoring code.
npx claudepluginhub dagster-io/skillsThis skill uses the workspace's default tool permissions.
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.mdEnforces 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.
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.
Configures ruff/mypy for Python linting/formatting, enforces PEP 8 naming/docstrings/type hints. Use for new projects, code reviews, or style standards.
Share bugs, ideas, or general feedback.
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: