设计不再离开编辑器Design without leaving your editor
画布就在 Cursor 里。写代码、对需求、改界面,同一个窗口完成。The canvas sits next to your code and chat. Write, discuss and tweak UI in one window.
本地矢量设计画布Local vector design canvas
Markstroke 为 Cursor 打造,也可以安装到其他基于 VS Code 的编辑器。你看着画面,Agent 通过 MCP 直接改图层——边聊边出稿,设计文件都在你自己的电脑上。 Markstroke is built for Cursor and can also be installed in other VS Code–based editors. You watch the artboard while the Agent edits real layers through MCP — chat-driven design, with files on your own machine.
画布就在 Cursor 里。写代码、对需求、改界面,同一个窗口完成。The canvas sits next to your code and chat. Write, discuss and tweak UI in one window.
通过 MCP,Agent 可以打开文件、改页面和组件、导出图片。你看到的是画布上的实时变化,而不是一大段布局建议。Through MCP the Agent opens files, edits pages and components, and exports assets. You see the canvas change live, not a wall of layout tips.
设计保存为 .stroke 文件,可以放进自己的仓库、备份、私下协作。默认不上传到别人的云画板。Designs are .stroke files on disk — version them, back them up, keep them private. Nothing goes to someone else's cloud board by default.
多页面流程、加载 / 失败 / 空状态、可点击原型与弹层、组件与变量、自动布局、图标库——从草图到可演示的原型。Multi-page flows, loading / error / empty states, clickable prototypes and overlays, components and variables, auto-layout and icon libraries.
内置 Flow 视图,根据页面和跳转自动生成流程图。选中一个页面,它的上级和下级会一起点亮。The built-in Flow view maps your pages and links automatically. Select a page and its parents and children light up together.
导出 SVG、PNG 和布局语义,方便接到实现,而不是停在一张截图。Export SVG, PNG and layout semantics so implementation can pick up where design stopped.
在 Cursor(或其他基于 VS Code 的编辑器)中安装 Markstroke。Install Markstroke in Cursor, or another VS Code–based editor.
命令面板运行 Markstroke: Open Canvas。Run Markstroke: Open Canvas from the Command Palette.
运行 Markstroke: Setup (MCP & AI Rules),然后用自然语言说目标,例如“做一个登录页,带加载和失败状态”。Run Markstroke: Setup (MCP & AI Rules), then describe the outcome — e.g. “build a login screen with loading and error states”.
选一个你用的编辑器对应的入口。Pick the entry that matches your editor.
Cursor 等基于 Open VSX 的编辑器,直接在扩展商店搜索 Markstroke。For Cursor and other Open VSX editors — or just search “Markstroke” in the extension store.
open-vsx.org →在 VS Code 中安装。Install it in VS Code.
marketplace.visualstudio.com →Trae 等没有收录的编辑器:在扩展面板点 ··· → 从 VSIX 安装。For editors without a listing, such as Trae: Extensions → ··· → Install from VSIX.
Markstroke 为编辑器里的 AI 工作流打造,当前不开源。安装扩展即可使用,设计文件保存在你自己的电脑上。 Markstroke is built for AI-assisted editor workflows and is not open source. Install the extension to use it; your design files stay on your own computer.