Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Getting Started

This quickstart is for first-time users who want Devflow running in a repository, regardless of implementation language.

What You Will Achieve

By the end of this page you will:

Step 1: Install Devflow

Follow Installation.

Step 2: Initialize Project Config and Starter CI

Recommended:

dwf init

This auto-detects project type in this order:

Explicit template selection:

dwf init rust
dwf init node
dwf init tsc
dwf init kotlin

What this writes:

Secure by Default

Every project initialized with dwf init is automatically “Hardened-by-Default”:

See the Security and Hardening Deep Dive for more details.

Use --force to overwrite existing files:

dwf --force init rust

If you prefer manual setup, create devflow.toml in your repository root.

TypeScript example:

[project]
name = "my-ts-repo"
stack = ["node"]

[runtime]
# Runtime execution profile: container | host | auto
profile = "auto"

[targets]
pr = ["fmt:check", "lint:static", "build:debug", "test:unit"]
main = ["fmt:check", "lint:static", "build:release", "test:unit", "test:integration"]

[extensions.node]
source = "builtin"
required = true

Step 3: Run Local Quality Gate

dwf check:pr

What this does:

What this does not do:

Step 4: Generate and Validate CI Workflow

dwf ci:generate
dwf ci:check

Expected behavior:

Step 5: Inspect Planned Profiles

dwf ci:plan

This prints the target profile names currently defined in [targets].

Step 6: GitHub Repository Standardization

Devflow helps you enforce best practices on your GitHub repository using Infrastructure-as-Code.

make gh-setup

This will:

Additionally, structured issue templates and community policies are now available in your .github directory and repository root.