Skip to content
Back to skills

Components Projects

ASecurity

"Create and troubleshoot Dagster component-ready projects,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
developmentpythondebuggingapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill components-projects --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Components Projects?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Components Projects
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-components-projects/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-components-projects)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: components-projects
description: "Create and troubleshoot Dagster component-ready projects,
  component scaffolding, Definitions-backed components, component
  YAML/templates, and dg/create-dagster caveats."
disable-model-invocation: true
metadata:
  disco-role: operating
license: Apache 2.0
---

# Components Projects

Use this sub-skill when a coding agent needs to create or inspect component-ready Dagster projects, scaffold reusable or inline components, load component trees, validate component YAML/templates, test component-built definitions, or explain why `dg`/`create-dagster` is unavailable in a checkout.

## Route Here

- Creating a component-ready project or workspace with `create-dagster`, or comparing that flow with legacy `dagster project` commands.
- Using `dg list`, `dg scaffold`, `dg check yaml`, `dg check toml`, or `dg check defs` for component projects.
- Writing custom classes based on `dagster.components.Component`, `Resolvable`, `Model`, `ComponentLoadContext`, `Scaffolder`, or `scaffold_with`.
- Building definitions from components, including `DefinitionsComponent`, component trees, `defs.yaml`, `component.py`, template variables, and component tests.
- Debugging missing `dg`/`create-dagster` entry points, unpublished dev dependency gaps, component import failures, schema errors, and YAML/template misuse.

## Route Elsewhere

- Core asset, job, `Definitions`, partition, selection, and materialization design: use `../asset-definitions/SKILL.md` if that sub-skill exists.
- General `dagster` CLI execution, `dagster dev`, and non-component local commands: use `../cli-local-development/SKILL.md` if that sub-skill exists.
- Resource/config/env-var modeling outside component YAML/template loading: use `../configuration-resources/SKILL.md` if that sub-skill exists.
- Broad integration libraries and provider-specific components are outside this sub-skill unless the task is about generic component registration or YAML shape.
- Cloud-only `dg` flows requiring `dagster-cloud-cli` are intentionally treated as caveats, not as supported runtime workflows here.

## Start Here

1. Run `python scripts/component_project_doctor.py` from this sub-skill directory, or run the script path from elsewhere, to check `dagster.components` importability and whether `dg`/`create-dagster` command entry points are visible.
2. For new projects, prefer `create-dagster project <path>` or `create-dagster workspace <path>` when that command is installed; use legacy `dagster project scaffold` only for older local project bootstrapping.
3. For component authoring, create custom component types under the project package's `components` module and component instances under the project package's `defs` tree.
4. Validate in layers: `dg check toml`, `dg check yaml`, then `dg check defs`; if `dg` is unavailable, validate Python imports and route full local CLI validation to `../cli-local-development/SKILL.md`.
5. Keep generated component examples minimal and offline-safe; do not run cloud deployment commands or install missing unpublished dev packages unless the user explicitly approves environment mutation.

## References

- [Component project workflows](references/workflows.md) for command patterns, project layout, component scaffolding, YAML/template validation, component tree loading, and component tests.
- [Component API reference](references/api-reference.md) for the public component classes, decorators, schema models, loading helpers, and scaffolding hooks future agents most often need.
- [Component troubleshooting](references/troubleshooting.md) for install/import errors, optional dependency gaps, `dg`/`create-dagster` caveats, schema/template failures, CLI misuse, and test-loading failures.
- [Component project doctor](scripts/component_project_doctor.py) for a safe non-mutating import and command-availability probe.

## Safety Notes

- `create-dagster project --uv-sync` and `create-dagster workspace --uv-sync` can create virtual environments and lockfiles; ask before using install-mutating options.
- `dg dev` starts services; do not use it as a smoke test unless the user asked to run a local server.
- `dg` and `create-dagster` may be absent in source checkouts because their dev dependencies include unpublished or optional packages; diagnose first instead of assuming the project is broken.

Files in this skill

  • SKILL.md4.3 KB
  • references/api-reference.md8.8 KB
  • references/troubleshooting.md10.1 KB
  • references/workflows.md10.1 KB
  • scripts/component_project_doctor.py4.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.