skills/smithery.ai/create-custom-dagster-component

create-custom-dagster-component

Installation
SKILL.md

Create a custom Component

Overview

This skill automates the creation and validation of a new custom Dagster component using the dg CLI tool with uv as a package manager. It incorporates demo mode functionality for creating realistic demonstrations that can run locally without external dependencies. The documentation for creating good components can be found here https://docs.dagster.io/guides/build/components/creating-new-components/creating-and-registering-a-component and here https://github.com/dagster-io/dagster/blob/master/python_modules/libraries/dagster-dbt/dagster_dbt/components/dbt_project/component.py for a complex example of a component.

What This Skill Does

When invoked, this skill will:

  1. ✅ Create a new Dagster Component project using dg scaffold component ComponentName
  2. ✅ Fills in the component logic in the build_defs() function with both real and demo mode implementations
  3. ✅ Implement a demo_mode boolean flag in the component YAML for toggling between real and local demo implementations
  4. ✅ Create 3-5 realistic assets with proper dependencies and technology kinds
  5. ✅ Instantiate a component YAML and fill it in using the dg scaffold defs my_module.components.ComponentName my_component command
  6. ✅ Optionally create a custom scaffolder if requested
  7. ✅ Validate that the component loaded correctly using dg check defs and dg list defs to ensure that the expected component instances are all loaded.
  8. ✅ Provide clear next steps for development
Installs
1
First Seen
Apr 22, 2026
create-custom-dagster-component from smithery.ai