Prerequisites
- Node.js >= 22
Install and Initialize
1
Initialize your project
.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)
.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
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

