mitodl/agent-kit/dagster-code-location-structure
Claude Code and agent skill by mitodl/agent-kit
- community
Checking that the SKILL.md file is still in the repository.
Structure and organize Dagster code locations using dg. Use this skill when creating or migrating code locations, placing assets or sensors in the correct location, scaffolding new dg projects, or setting up the dg_projects/ workspace layout.
Install
npx vskill@latest install mitodl/agent-kit/dagster-code-location-structureSKILL.md
Dagster Code Location Structure
Project layout
Code locations live under dg_projects/ as separate subdirectories, each managed by dg. Shared code (base classes, utilities, sensors used by multiple locations) lives in packages/ol-orchestrate-lib/.
Scaffolding new code locations
Use the create-dagster tool to scaffold new code locations — not dg scaffold:
Asset and sensor placement
Assets and sensors must be placed in the code location that owns them. Do not accidentally include an asset or sensor from one code location in another. When migrating or moving definitions, double-check defs.py / __init__.py imports in each code location.
Migration sequencing
When migrating multiple code locations (e.g., from EC2/docker-compose to Kubernetes), do one code location at a time. The first location becomes the validated template. Never try to migrate all locations in a single PR.
Shared OAuth / base classes
The oauth module inside ol-orchestrate-lib is used as a base class by multiple code locations. It must remain in the library even if it looks unused from a single code location's perspective.
Checking partitions
Static partitions with hardcoded values are the old approach. Prefer dynamic/time-based partitions when an up-to-date implementation already exists in another code location — copy that pattern rather than the older one.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dagster/dagster-code-location-structure/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mitodl/agent-kit/dagster-code-location-structure)