Prerequisites
- Node.js >= 22
Install and Initialize
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: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:Compile
| Tool | Output |
|---|---|
| Claude Code | CLAUDE.md |
| Cursor | .cursor/rules/devworkflows.mdc |
| Gemini CLI | GEMINI.md |
| Windsurf | .windsurf/rules/devworkflows.md |
| VS Code Copilot | .github/copilot-instructions.md |
| Asset Type | Output |
|---|---|
| Commands | .claude/commands/*.md |
| Templates | docs/specs/*.md |
| Hooks | .claude/settings.local.json |
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

