Skip to main content

Prerequisites

  • Node.js >= 22

Install and Initialize

1

Initialize your project

This creates a .dwf/ directory with config.yml and empty rule files for each scope: architecture, conventions, security, testing, and workflow.The CLI detects existing AI tools in your project (CLAUDE.md, .cursor/, GEMINI.md, .windsurf/, .github/copilot-instructions.md) and pre-selects them.With a preset — bootstrap a full spec-driven workflow in one command:
2

Add rules from the registry (optional)

Installs rules from the GitHub registry into your .dwf/rules/ directory. Run devw add --list to see all available rules, or devw add for interactive selection.You can also install slash commands, templates, and hooks:
3

Compile

Generates editor-specific config files and deploys assets:Assets are also deployed:

What’s Next

  • Write your own rules in .dwf/rules/Rules format
  • Learn about assets (commands, templates, hooks) → Assets
  • Validate your setup → devw doctor
  • Browse all commands → Commands