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.

See how it works →
.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.
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.

CLAUDE.md
● synced
.cursor/rules
● synced
GEMINI.md
● synced
Day 1Day 7Day 14Day 30
All files in sync. Life is good.
Fix it with one command
See what compile actually does.

Edit the YAML on the left. Hit compile. See the output for each editor on the right.

dev-workflows playground
.dwf/rules/conventions.yml
Edit rules and hit Compile
Every command at a glance.

Seven commands. That's the entire CLI. Click a tab to see what each one does.

~/my-project
Don't write rules from scratch.

Browse, select, and install rules interactively. No need to memorize names.

typescript/strict
No any, explicit returns, union types over enums, no non-null assertions.
devw add typescript/strict
javascript/react
Hooks rules, component patterns, naming conventions, prop types.
devw add javascript/react
javascript/nextjs
App Router patterns, RSC boundaries, server actions, metadata API.
devw add javascript/nextjs
css/tailwind
Utility-first, no custom CSS, design tokens, responsive patterns.
devw add css/tailwind
security/supabase-rls
RLS enforcement on every table, auth patterns, security policies.
devw add security/supabase-rls
testing/vitest
Test naming, coverage expectations, mock patterns, arrange-act-assert.
devw add testing/vitest
243
Tests passing
6
Registry rules
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
Open source · MIT license · 4 dependencies
💬 Feedback