Make comments in the browser (like in Figma) and send them to Cursor. This chrome plugin + cursor ruleset connects your browser to your local development project. Comments made on the front end are batched into a markdown file. Run the command "bridge" to process them in Cursor. Simplify your workflow by adding more context to visual edits with Cursor.
Drawbridge now supports screenshots of pages using modern CSS color functions thanks to an upgrade to the underlying capture library. Screenshots work with:
lab()lch()oklab()oklch()(commonly used by Tailwind v4)
If you previously saw errors like "Attempting to parse an unsupported color function "lab"", update to the latest version of the extension.
-
Download or clone the Drawbridge to your desktop or location of choice
-
Go to chrome extensions, switch to dev mode, and unpack the extension drawbridge/moat-chrome
-
Activate the plugin
-
Pin it for easy access
-
Click the icon to open Drawbridge
-
Click "Connect" to open your file browser
-
Select the local project folder you want to work in
-
Grant acess to Drawbridge to edit your file
-
Drawbridge can now write to its moat-tasks.mdc and moat-task-detail.json files
-
Press
cin your browser, to turn your cursor into a cross hair -
Hover over your page to see selectable DOM elements you can leave comments on
-
Click an element to leave a comment, type your comment, hit
Submitor pressEnter -
Tasks will be shown in the
Moatarea on the bottom of the page -
Tasks will also be synced to Cursor
-
Run Drawbridge: In your editor, simply run the command:
bridge -
Drawbridge will analyze your tasks, understand dependencies, and begin making edits.
-
Approve: By default, drawbridge processes tasks in Step mode - one at a time. You may be asked for approval:
-
To begin the task
-
To finish the task (updates the status in moat-tasks.md and moat-tasks-detail.json)
-
-
Wait: You can watch your tasks get updated in the moat-tasks.md
-
IF you run into trouble with "bridge" simply be more explicit by saying "use @drawbridge-workflow.mdc to process @moat-tasks.mdc"
-
Go back to your browser to see your changes
-
Should be automatic if you're using react / next.js
-
Refresh the page if you're using html / css / js
-
-
Continue making edits to refine your work!
-
drawbridge-workflow.mdc: The main ruleset for the AI. This is where Drawbridge's "brain" is defined. -
moat-tasks.md: A human-readable list of your pending tasks. -
moat-tasks-detail.json: The raw, detailed data for each task, including selectors and screenshot paths. -
/screenshots: Visual context for each annotation, used by the AI to understand your intent.
-
Annotate:
-
Click a button → "make this green".
-
Click the same button → "add more padding".
-
-
Process: In your editor, run
bridge. -
AI Analyzes:
🤖 Dependency detected. Processing "make this green" before "add more padding". -
Review: The AI reviews your moat-tasks-detail.json for details of your comment.
-
Approve: You reply
yes. -
Repeat: The AI proceeds to the next dependent task.
You can control how Drawbridge processes tasks by specifying a mode.
-
step bridge(Default: Safe & Incremental)- Processes tasks one by one, asking for approval at each step. Perfect for complex changes.
-
batch bridge(Efficient & Grouped)- Intelligently groups related tasks (e.g., all button styles) and processes them together, asking for a single approval per batch.
-
yolo bridge(Autonomous & Fast)- Use with caution. Processes all pending tasks in the correct dependency order without stopping for approvals. A full summary is provided at the end.
-
Be Specific: "change font to sans-serif" is better than "change font".
-
Chain Your Thoughts: For multi-step changes, create separate but related annotations. The AI is smart enough to understand the order.
-
Good: 1. "make button blue" → 2. "add shadow to the blue button"
-
Bad: 1. "make button blue and add a shadow"
-
-
Focus on One Thing: One annotation should represent one distinct change.
-
"Dependency Error": This means tasks might be out of order. Check the AI's analysis to see the required sequence.
-
Task
failedStatus: If a task fails (especially inyolomode), checkmoat-tasks.md. You can reset its status topendingin the.jsonfile to retry. -
Connection Issues: If Drawbridge can't find tasks, press
Cmd/Ctrl+Shift+Pin your browser and re-select your project directory to reconnect.
Happy building with Drawbridge! 🎯
Special thanks to the collaborators and community members who helped improve screenshot reliability and modern color support:
- @breschio – for maintaining the project and reviews
- @jankowtf – for the screenshot persistence reliability fixes and test harness improvements
- @falkfrentzen – for reporting and validating the modern color model issue and suggesting
html2canvas-pro



