repo-development
Use when a coding agent edits the Dagster OSS repository itself: package lookup, Python/UI/docs validation, coding conventions, mandatory ruff, safe test selection, CLI entry point reinstall notes, and git or stack constraints.
- License 许可
- Apache-2.0
- 最近更新
- 2026-09-03
- Stars
- ★ 351
- Forks
- 27
01 前言 Front Matter
- name
- repo-development
- license
- Apache 2.0
- metadata
- { "disco-role": "operating" }
- description
- Use when a coding agent edits the Dagster OSS repository itself: package lookup, Python/UI/docs validation, coding conventions, mandatory ruff, safe test selection, CLI entry point reinstall notes, and git or stack constraints.
- disable-model-invocation
- true
02 资源文件 3
- 参考文档references/troubleshooting.md5.6 KB
- 参考文档references/workflows.md7.9 KB
- 脚本scripts/select_validation_commands.py6.6 KB
03 SKILL.md 正文
Repo Development
Use this sub-skill when changing the Dagster OSS monorepo rather than using Dagster as an application framework. It routes future agents to the repo-specific development workflow, package map, validation commands, style rules, and safety constraints needed for edits in this checkout.
Route First
- Use this sub-skill for locating Dagster packages, choosing validation commands after repo edits, applying Python style conventions, docs checks, UI checks, or repository contribution workflow rules.
- Route public
dagsterCLI usage and user-project local development to../cli-local-development/SKILL.mdif that sub-skill exists. - Route GraphQL API and webserver runtime behavior to
../graphql-and-webserver/SKILL.mdif that sub-skill exists. - Route deployment operations, production instances, and daemon/run-launcher behavior to
../deployment-operations/SKILL.mdif that sub-skill exists. - Do not use this sub-skill for broad integration-library internals, Dagster Cloud, release automation, Buildkite deep internals, or UI implementation details beyond validation workflow routing.
Start Here
- Identify changed paths and package ownership before editing; package paths and validation commands differ across core Python, libraries, webserver, GraphQL, Pipes, docs, and UI workspaces.
- After every Python file edit, run
make rufffrom the repository root before considering the task complete. - Use
uvfor Python package management; if command-line entry points change in asetup.pyor package metadata, reinstall the affected package withuv pip install -e .from that package root. - For UI or GraphQL schema changes, run UI checks from
js_modules/; schema changes requiremake generate-graphqlbeforeyarn tsgooryarn lint. - Prefer focused tests that match changed files before broad suites; avoid credentialed, networked, Docker-heavy, or expensive tests unless the user explicitly asks.
- Never push directly with
git push; ask first. When stack metadata matters, inspect withgt logbefore manual git inference.
References
- Repo development workflows for package locations, command selection, Python/UI/docs validation, style conventions, test strategy, and git constraints.
- Troubleshooting for install/import failures, optional dependency gaps, CLI/API misuse while developing the repo, UI/docs validation failures, and workflow-specific recovery steps.
- Validation command selector for a safe helper that suggests commands from changed paths without executing them.
Safety Notes
- Treat
make ruffas mandatory after Python edits even if the changed file is small or generated. - Do not search Python code under
.toxdirectories; they are temporary environments and can mislead package ownership or dependency conclusions. - Search package dependencies in
setup.pyfiles as the source of truth for this repo. - Do not run broad native examples, Docker-backed tests, or external-service integrations as routine validation without confirming scope and cost with the user.
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).