dagster-expert

작성자: dagster-io

Dagster 프로젝트, 에셋 정의 및 dg CLI 워크플로우에 대한 전문 가이드를 제공합니다. Dagster 개념(에셋, 컴포넌트, 스케줄, 센서, 작업)에 대한 깊은 지식을 바탕으로 프로젝트 구조, 디버깅 및 코드베이스 탐색을 지원합니다. dg CLI를 사용한 일반적인 작업(프로젝트 생성, 정의 스캐폴딩, 에셋 목록 조회, 실행 시작, 프로젝트 구조 탐색)을 다룹니다. 자동화 접근 방식(스케줄, 센서, 선언적 자동화) 및 통합 패턴에 대한 지침을 포함합니다...

npx skills add https://github.com/dagster-io/skills --skill dagster-expert

Core Dagster Concepts

Brief definitions only (see reference files for detailed examples):

  • Asset: Persistent object (table, file, model) produced by your pipeline
  • Component: Reusable building block that generates definitions (assets, schedules, sensors, jobs, etc.) relevant to a particular domain.

Integration Workflow

When integrating with ANY external tool or service, read the Integration libraries index. This contains information about which integration libraries exist, and references on how to create new custom integrations for tools that do not have a published library.

dg CLI

The dg CLI is the recommended way to programmatically interact with Dagster (adding definitions, launching runs, exploring project structure, etc.). It is installed as part of the dagster-dg-cli package. If a relevant CLI command for a given task exists, always attempt to use it.

ONLY explore the existing project structure if it is strictly necessary to accomplish the user's goal. In many cases, existing CLI tools will have sufficient understanding of the project structure, meaning listing and reading existing files is wasteful and unnecessary.

Almost all dg commands that return information have a --json flag that can be used to get the information in a machine-readable format. This should be preferred over the default table output unless you are directly showing the information to the user.

UV Compatibility

Projects typically use uv for dependency management, and it is recommended to use it for dg commands if possible:

uv run dg list defs
uv run dg launch --assets my_asset

CRITICAL: Always Read Reference Files Before Answering

NEVER answer from memory or guess at CLI commands, APIs, or syntax. ALWAYS read the relevant reference file(s) from the Reference Index below before responding.

For every question, identify which reference file(s) are relevant using the index descriptions, read them, then answer based on what you read.

Reference Index

  • Asset Selection Syntax — filtering assets by tag, group, kind, upstream, or downstream; AssetSelection in Python, UI search bar, or CLI
  • Environment Variables — configuring environment variables across different environments
  • Asset Patterns — defining assets, dependencies, metadata, partitions, or multi-asset definitions
  • Choosing an Automation Approach — deciding between schedules, sensors, and declarative automation
  • Schedules — time-based automation with cron expressions
  • Declarative Automation — asset-centric condition-based automation using AutomationCondition
  • Asset Sensors — triggering on asset materialization events
  • Basic Sensors — event-driven automation with file watching or custom polling
  • Run Status Sensors — reacting to run success, failure, or other status changes
  • dg check — validating project configuration or definitions
  • create-dagster — creating a new Dagster project from scratch
  • dg dev — starting a local Dagster development instance
  • dg launch — materializing assets or executing jobs locally
  • dg list components — seeing available component types for scaffolding
  • dg list defs — listing or filtering registered definitions
  • Dagster Plus API — dg api, programmatically querying or managing Dagster Plus resources (assets, runs, deployments, code locations, schedules, sensors, secrets, issues, etc.)
  • dg list — exploring project structure (component tree, environment variables, workspace projects)
  • Dagster Plus CLI — dg plus, Dagster Plus authentication, configuration, and deployment; logging in, setting config, creating API tokens, deploying code, pulling env vars, managing dbt manifests
  • dg scaffold component — creating a custom reusable component type
  • dg scaffold defs — adding new definitions (assets, schedules, sensors, components) to a project
  • dg utilities — dg utils, inspecting component types, viewing integrations, refreshing state-backed component cache
  • Creating Components — building a new custom component from scratch
  • Designing Component Integrations — designing a component that wraps an external service or tool; custom integrations
  • Resolved Framework — defining custom YAML schema types using Resolver, Model, or Resolvable
  • Subclassing Components — extending an existing component via subclassing; customize dagster integration component
  • Template Variables — using Jinja2 template variables in component YAML (env, dg, context, or custom scopes)
  • Creating State-Backed Components — building a component that fetches and caches external state
  • Using State-Backed Components — managing state-backed components in production, CI/CD, or refreshing state
  • Deployment Configuration Files — build.yaml, container_context.yaml, dagster_cloud.yaml; Dagster Plus deployment configuration; configuring Docker registry, container context, agent queue; Hybrid deployment files
  • Integration libraries index for 40+ tools and technologies (dbt, Fivetran, Snowflake, AWS, etc.). — integration, external tool, dagster-*; dbt, fivetran, airbyte, snowflake, bigquery, sling, aws, gcp
  • Migration Guides — sensor migration to declarative automation, sensor migration to automation condition

dagster-io의 다른 스킬

ci-iteration
dagster-io
This skill should be used when running CI checks iteratively and fixing failures. Use when executing make targets (fast-ci, all-ci, ci), iterating on…
official
cli-push-down
dagster-io
LLM 프롬프트에서 기계적 계산을 테스트된 CLI 명령어로 이동합니다. 임베디드 bash가 포함된 슬래시 명령어를 작성하거나 검토할 때, 스킬/명령어가...
official
cli-skill-creator
dagster-io
이 스킬은 CLI 도구를 위한 스킬을 생성할 때 사용해야 합니다. 사용자가 명령줄 도구를 문서화하거나, CLI 가이드를 만들거나, 스킬을 구축해 달라고 요청할 때 사용하세요.
official
cmux
dagster-io
이 스킬은 터미널 멀티플렉서 애플리케이션인 cmux를 사용할 때 활용해야 합니다. 사용자가 cmux 명령어, 작업 공간 관리, 터미널 등을 언급할 때 사용하세요.
official
command-creator
dagster-io
이 스킬은 Claude Code 슬래시 명령어를 생성할 때 사용해야 합니다. 사용자가 "명령어 생성", "슬래시 명령어 만들기", "명령어 추가"를 요청하거나 원할 때 사용하세요...
official
dignified-code-simplifier
dagster-io
파이썬 코드를 명확성, 일관성, 유지보수성을 위해 단순화하고 개선하며 모든 기능을 유지합니다. dignified-python 표준을 적용합니다.…
official
dignified-python
dagster-io
Production Python coding standards with automatic version detection (3.10-3.13). Use when writing, reviewing, or refactoring Python to ensure adherence to…
official
erk-diff-analysis
dagster-io
커밋 메시지 생성을 위한 내부 스킬입니다. 이름으로 명시적으로 요청되거나 명령어로 호출될 때만 로드됩니다.
official