xiaohongshu
xiaohongshu
dagster-init
Initialize a dagster project using the create-dagster cli. Create a dagster project, uv virtual environment, and everything needed for a user to run dg dev or dg check defs successfully. (project)
Full skill instructions
This skill automates the creation of a new Dagster project using the create-dagster CLI tool with uv as the package manager. It creates a clean, Components-compatible project structure ready for local development.
When invoked, this skill will:
create-dagster@latestdg dev or dg check defsBefore running this skill, ensure:
uv is installed (check with uv --version)Check that uv is available:
uv --version
If uv is not installed, provide installation instructions:
curl -LsSf https://astral.sh/uv/install.sh | sh
Ask the user for a project name, or use a sensible default like my-dagster-project. Validate that:
Use uvx to run the latest create-dagster CLI. The CLI requires interactive confirmation, so we pass "y" automatically using printf:
printf "y\n" | uvx create-dagster@latest project <project-name>
Important: The printf "y\n" automatically answers "yes" to the interactive prompt that asks for confirmation to proceed with project creation.
This will:
pyproject.toml with project metadatadefinitions.pydefinitions/defs/ directory for componentsNavigate into the project directory and run uv sync:
cd <project-name>
uv sync
This creates the virtual environment and installs all dependencies specified in pyproject.toml.
Check that the project is properly set up by running:
uv run dg check defs
This validates that:
Provide the user with a clear summary and next steps:
✅ Successfully created Dagster project: <project-name>
📁 Project structure:
• pyproject.toml - Project configuration
• <project-name>/definitions.py - Main definitions module
• <project-name>/definitions/defs/ - Components directory
🚀 Next steps:
1. cd <project-name>
2. uv run dg dev # Start local development server
3. Open http://localhost:3000 to view Dagster UI
💡 Additional commands:
• uv run dg check defs # Validate definitions
• uv run pytest # Run tests (if configured)
• uv add <package> # Add new dependencies
Handle common issues gracefully:
printf "y\n" to avoid hangingYou can also invoke the provided Python script directly:
python .claude/skills/dagster-init/scripts/create-dagster.py
This provides an interactive workflow with the same functionality. The script automatically handles the interactive prompt by passing "y" to stdin, so it won't hang waiting for user input.
After successful creation, the project will have:
<project-name>/
├── pyproject.toml # Project metadata and dependencies
├── <project-name>/
│ ├── __init__.py
│ ├── definitions.py # Main Dagster definitions
│ └── definitions/
│ └── defs/ # Components directory
│ ├── __init__.py
│ └── ... # Your components go here
├── <project-name>_tests/ # Test directory
├── .venv/ # uv virtual environment
└── uv.lock # Locked dependencies
dg check defs regularly during development to catch issues earlyuv add to add new dependencies (it updates pyproject.toml automatically)xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience