dagster
Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations, GraphQL/webserver, Pipes external processes, components/projects, or editing the Dagster repository itself.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- dagster
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use when working with Dagster OSS: assets, jobs, Definitions, config/resources, schedules/sensors, automation, CLI/local development, deployment operations, GraphQL/webserver, Pipes external processes, components/projects, or editing the Dagster repository itself.
- disable-model-invocation
- true
02 资源文件 4
- 参考文档references/repo-provenance.md3.2 KB
- 参考文档references/repo-routing-metadata.json386 B
- 参考文档references/troubleshooting.md3.2 KB
- 脚本scripts/dagster_skill_doctor.py3.0 KB
03 SKILL.md 正文
Dagster
Use this skill for Dagster OSS framework and repository tasks. Dagster is an orchestration platform for building, running, and observing data assets, jobs, schedules, sensors, resources, and external-process integrations.
First Checks
- Confirm whether the user is using Dagster in an application project or editing the Dagster OSS repository itself.
- For application work, confirm
dagsteris installed in the active Python environment and run a minimal import check when useful:
python - <<'PY'
import dagster as dg
print(dg.__version__)
PY
- For local CLI work, prefer help-only checks before executing user code:
dagster --help
dagster definitions validate --help
dagster-webserver --help
dagster-graphql --help
- Read
references/repo-provenance.mdbefore deciding whether this generated skill is current for a Dagster checkout or needs refresh. - Use
references/troubleshooting.mdfor cross-cutting install/import, optional dependency, target loading, and environment issues before routing deeper. - Use
scripts/dagster_skill_doctor.py --helpfor a safe local package and command availability probe.
Route By Task
- Assets, jobs, ops, and Definitions: use
sub-skills/asset-definitions/SKILL.mdfor@asset,@multi_asset,@asset_check,@op,@job,Definitions,define_asset_job, partitions, backfills, selections, and local materialization tests. - Config and resources: use
sub-skills/configuration-resources/SKILL.mdforConfig,RunConfig,ConfigurableResource,EnvVar, resource dependencies, IO managers, and resource tests. - Schedules, sensors, and automation: use
sub-skills/automation-schedules-sensors/SKILL.mdfor schedules, sensors, run requests, cursors, asset sensors, run status sensors, declarative automation, freshness, and backfill automation. - Local CLI and development server: use
sub-skills/cli-local-development/SKILL.mdfordagster project,dagster dev,dagster definitions validate, asset/job execution, workspace targets, schedule/sensor commands, instance inspection, and debug commands. - Deployment and operations: use
sub-skills/deployment-operations/SKILL.mdforDAGSTER_HOME,dagster.yaml, daemon/webserver services, run launchers, run coordinators, storage, Docker/Kubernetes/ECS checklists, monitoring, and operational failures. - GraphQL and webserver: use
sub-skills/graphql-and-webserver/SKILL.mdfordagster-webserver,dagster-graphql,DagsterGraphQLClient, remote GraphQL URLs, path prefixes, headers/auth, read-only mode, and API troubleshooting. - Pipes external processes: use
sub-skills/pipes-external-processes/SKILL.mdfordagster-pipes,open_dagster_pipes, external process message protocols, materialization/check reporting, loaders, writers, and subprocess patterns. - Components and projects: use
sub-skills/components-projects/SKILL.mdfor component-ready projects, component scaffolding, component YAML/templates,dagster.components,dg,create-dagster, and current project-tooling caveats. - Dagster repo edits: use
sub-skills/repo-development/SKILL.mdfor package lookup, Python/UI/docs validation, coding conventions, mandatorymake ruff,uv, focused tests, and git/stack constraints in the Dagster OSS monorepo.
Installation Notes
- Public application users normally install
dagster; adddagster-webserver,dagster-graphql,dagster-pipes, or integration packages only when the workflow needs them. - The generated skill verified core packages and help commands for
dagster,dagster-webserver, anddagster-graphqlat version1!0+devfrom the source snapshot. dgandcreate-dagsterproject tooling are covered from source/docs evidence, but this checkout’sdagster-dg-coredepends on an unpublisheddagster-cloud-cli==1!0+devpackage; verify those entry points in the user’s environment before relying on them.- Broad integration libraries, Dagster Cloud account administration, UI internals, Helm templates, CI/release automation, and credentialed/service-specific examples are intentionally long-tail gaps unless a user explicitly asks to extend this skill.
Safety
- Do not start long-running services, run destructive CLI commands, wipe assets, migrate instances, deploy infrastructure, push images, or mutate production schedule/sensor state without explicit user approval.
- Keep credentials in environment variables or secret managers; do not write secrets into
dagster.yaml, workspace files, Dockerfiles, manifests, or generated code. - For repo edits, always follow
sub-skills/repo-development/SKILL.md; after any Python code change in the Dagster repo,make rufffrom the repo root is mandatory.
04 同仓库更多 Skills
passnet-triton-opt
Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.
passnet-solve
END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.
passnet-skill
PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.
passnet-pattern-fusion
Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.
passnet-orchestrate
Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.
passnet-feedback
Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).