v0.2
Open source · MIT license
Define rules once.
Compile them everywhere.
A local-first CLI to manage AI coding rules across editors.
No accounts. No cloud. Your rules live with your code.
.dwf/rules.yml
Single source of truth
devw compile
Claude Code
CLAUDE.md
✓
Cursor
.cursor/rules
✓
Gemini CLI
GEMINI.md
✓
Change a rule, recompile. Every editor stays in sync.
The problem
Every AI tool wants its own rule file.
Claude Code reads CLAUDE.md. Cursor reads .cursor/rules. Gemini reads GEMINI.md. Same rules, three files — they always end up out of sync.
Day 1Day 7Day 14Day 30
All files in sync. Life is good.
Fix it with one command
Try it
See what compile actually does.
Edit the YAML on the left. Hit compile. See the output for each editor on the right.
.dwf/rules/conventions.yml
Edit rules and hit Compile
See it in action
Every command at a glance.
Six commands. That's the entire CLI. Click a tab to see what each one does.
Prebuilt rule blocks
Don't write rules from scratch.
Install curated rule packs with one command. Stack them — TypeScript + React + Tailwind in seconds.
typescript-strict
No any, explicit returns, union types over enums, no non-null assertions.
devw add typescript-strict
react-conventions
Hooks rules, component patterns, naming conventions, prop types.
devw add react-conventions
nextjs-approuter
App Router patterns, RSC boundaries, server actions, metadata API.
devw add nextjs-approuter
tailwind
Utility-first, no custom CSS, design tokens, responsive patterns.
devw add tailwind
supabase-rls
RLS enforcement on every table, auth patterns, security policies.
devw add supabase-rls
testing-basics
Test naming, coverage expectations, mock patterns, arrange-act-assert.
devw add testing-basics
137
Tests passing
6
Rule blocks
5
Editor bridges
4
Dependencies
Now
Local-first rule compiler. Your rules live with your code.
Next
Auto-generate rules from your codebase. Watch mode. More bridges.
Future
Team sharing. Community rule registry. Visual rule editor.
Stop duplicating rules across editors.
Get started in under 30 seconds.
$ npx dev-workflows init