dagster-docs
GitHub为Dagster文档网站提供写作指导,涵盖前置条件检查、各章节规范及受众建议。用于创建或更新docs目录下的文档内容。
Trigger Scenarios
Install
npx skills add dagster-io/dagster --skill dagster-docs -g -y
SKILL.md
Frontmatter
{
"name": "dagster-docs",
"description": "Expert guidance for writing documentation for the Dagster docs website. ALWAYS use before creating or updating documentation in the docs directory."
}
Overview
Prerequisites
-
Always ensure
docs/node_modulesexists before running any commands- Check first: Look for
docs/node_modules/directory - If missing: Run
yarn installin/docsto install dependencies - Command:
cd /docs; yarn install
- Check first: Look for
-
Always ensure
docs/docs/api/**/*.mdxfiles exist before runningyarn start- Check first: Look for
docs/docs/api/**/*.mdxfiles - If missing: Run
yarn build-api-docsin the docs root - Command:
cd /docs; yarn build-api-docs
- Check first: Look for
Related documentation
- Audiences: See
audiences.mdfor descriptions of primary audiences. - Formatting and style: See
docs/docs/about/contributing-docs/formatting-style.mdfor formatting and style conventions. - Content model: See
docs/docs/about/contributing-docs/content-modelfor an explanation of the structure and types of content included in Dagster docs.
Section-specific guidance
docs/docs/about
Audiences
All
Guidance
docs/docs/about/changelog.md is automatically populated from /CHANGES.md through a custom React component. Do not edit changelog.md directly.
docs/docs/api
Audiences
- Data pipeline builders
- Data platform owners
Guidance
.mdx files are generated from .rst files in
docs/sphinx/sections/api and should not be directly edited. Instead, update the .rst file or the docstrings in /python_modules.
docs/docs/dagster-basics-tutorial
Audiences
- Data pipeline builders
docs/docs/deployment
Audiences
- Data platform owners
docs/docs/examples
Audiences
- Data pipeline builders
Examples
docs/docs/examples/full-pipelines/bluesky
docs/docs/getting-started
Audiences
- Data pipeline builders
docs/docs/guides
Audiences
- Data pipeline builders
Guidance
Most subdirectories in docs/docs/guides correspond to phases in the data engineering lifecycle:
- Build: Creating data pipelines with core Dagster abstractions, particularly projects, assets, resources, and components.
- Automate: Automating data pipelines with declarative automation, schedules, and sensors.
- Operate: Managing pipeline operations with run configuration, environment variables and secrets, and concurrency.
- Log and debug: Understanding built-in structured event logs and raw compute logs, configuring custom loggers, capturing Python logs, and debugging assets during execution with
pdb. - Observe: Using alerts, the Dagster+ asset catalog, asset freshness policies, and Insights to observe data pipelines.
- Test: Testing assets and pipelines in Dagster to ensure data remains consistent and fresh.
The docs/docs/guides/labs subdirectory contains documentation of new features under active development. All pages in the Labs section should import the early access partial and reference it at the top of the page.
The docs/docs/partials subdirectory contains files with text that is referenced in multiple places throughout the documentation.
Examples
docs/docs/guides/build/assets/asset-selection-syntaxdocs/docs/guides/automate/declarative-automation
docs/docs/integrations
Audiences
- Data pipeline builders
Guidance
.mdxfiles are generated from.rstfiles insphinx/sections/integrationsand should not be directly edited. Instead, update the corresponding.rstfile. Docstrings for classes and modules in corresponding files inpython_modules/librariesmay also need to be updated.- If an integration has a component implementation, the component documentation should be placed in the index page of the integration subdirectory
Examples
docs/docs/integrations/libraries/databricksdocs/docs/integrations/libraries/fivetran
docs/docs/migration
Audiences
- Data pipeline builders
- Data platform owners
Guidance
docs/docs/migration/upgrading.mdis automatically populated by/MIGRATION.mdthrough a custom React component. Do not editupgrading.mddirectly.
Verification
yarn startin/docsdirectory- Navigate to http://localhost:3050 and view changed pages
Version History
- d8bd434 Current 2026-08-20 16:07


