Connect
Flow is also an MCP server, so your AI can check the laws while it designs. No sign-in needed.
Claude Code
Run this once in a terminal.
Cursor
Add this to ~/.cursor/mcp.json.
Claude app
Add a custom connector with this URL.
Tell your agent to use it
Paste this into CLAUDE.md or your Cursor rules so it happens without asking.
Slash commands
In Claude Code, Flow adds three commands. Type / and look for flow.
briefDesign a screen: brief, build, then audit.
reviewAudit the UI you changed and fix what it finds.
effectDrop a tested effect into the project.
Tools
design_briefStart here. Describe the screen and the feel; get the laws to follow, style tokens, a fitting effect with tested code, and the final checks.
suggest_lawsGive it the kind of screen (checkout, onboarding, dashboard…) and get the laws that matter, as a checklist.
audit_designSend UI files (tsx, html, css…) and get a score with line-by-line fixes.
get_lawOne law in full: definition, rules, what the audit checks, sources.
list_lawsEvery law, filterable by group or screen type.
get_style / list_stylesUI styles as tokens and rules.
get_effect / list_effectsAnimation effects with tested, self-contained code, a build prompt and guardrails.
get_pattern / list_patternsInteractive screen patterns (login for now): complete working screens with tested code and guardrails.
Prefer plain text? The whole library is at /llms.txt.