use-or-subclass-existing-component

Discover, use, or subclass existing Dagster integration components with YAML validation.

Updated Dec 5, 2025
One-click install
npx skills add https://github.com/cnolanminich/dagster-project-claude-files --skill use-or-subclass-existing-component
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: use-or-subclass-existing-component
Source: https://github.com/cnolanminich/dagster-project-claude-files/tree/main/.claude/skills/use-or-subclass-existing-component
Command: npx skills add https://github.com/cnolanminich/dagster-project-claude-files --skill use-or-subclass-existing-component

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides you to discover, use, or subclass existing Dagster integration components, enabling you to leverage existing work instead of building from scratch.

Core Features & Use Cases

  • Discover available integrations via uv run dg docs integrations or by browsing the Dagster integrations docs.
  • Determine whether to use a component directly or create a subclass to extend functionality.
  • Implement demo_mode for API-based components and align asset keys for downstream pipelines.
  • Validate configurations and assets with commands like uv run dg check defs and uv run dg list defs.

Quick Start

Use the skill to locate a suitable integration, scaffold a component instance with uv run dg scaffold defs, then create a subclass in Python and update the YAML with the fully qualified type.

Frequently Asked Questions about use-or-subclass-existing-component

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I subclass an existing Dagster integration component?

To subclass a Dagster integration component, create a Python subclass extending the base component class, then update your YAML configuration with the fully qualified type path so Dagster loads your custom implementation.

When should I use demo_mode for Dagster components?

Enable demo_mode for API-based Dagster components when you need local testing without live external API connections. It allows you to validate configurations and align asset keys for downstream pipelines safely.

How do I discover available Dagster integration components?

Discover available Dagster integration components by running uv run dg docs integrations or browsing the Dagster integrations documentation to find existing components you can load directly or subclass.

How do I validate a Dagster component configuration and assets?

Validate Dagster component configurations and assets by running uv run dg check defs to verify definitions and uv run dg list defs to inspect components, ensuring your YAML schema is correct and asset keys are aligned.

Should I load a Dagster component directly or create a subclass?

Load a Dagster component directly via YAML if the default configuration meets your needs. Create a Python subclass if you must extend functionality or enable demo_mode for API-based components.

What is the safe pattern for subclassing Dagster components?

The safe subclass pattern for Dagster components involves creating a Python subclass, updating YAML with the fully qualified type, enabling demo_mode for API-based components, and validating with scaffold and check definitions steps.