Step 02 of 04 The workflow

Screen design for coding agents. Through MCP, reviewed in the browser.

Your coding agent designs the screens through MCP, on a shared design system. You watch it happen in the browser and comment on elements. Screens, tokens, flows and comments are plain files in your project.

npm install -g artisign
Start with a use case spec

Open source. Local. Plain files in your repo. Any MCP agent. No account.

v2.3.0 · AGPL-3.0 · macOS, Linux, Windows · Node ≥ 22.4

The artisign Board: every screen of a project as a tile, with click routes drawn between them
The Board of a real project: every screen as a tile, the click routes drawn between them.

Design through MCP.
In the AI tool you already use.

artisign is an MCP server. On first run, artisign offers to connect your AI tool, plus a short skill that teaches it to put the design system first. One connection serves every project.

Create an artisign project in ~/work/acme
artisign · init_project
└ ~/work/acme
artisign · set_tokens
└ color · spacing · typography
artisign · write_html
└ login
artisign · get_screenshot
└ login · look, then adjust
›
artisign Screens view: the screen tree, the rendered dashboard screen and its variant tree
  • Design system first

    The agent reads the tokens and components before it writes, then composes screens from refs.

  • Look at every write

    get_screenshot renders what the preview renders, so the agent checks its own work before you do.

  • Options as mockups

    write_mockup keeps design directions side by side until you pick one.

Connects toClaude CodeClaude DesktopCursorCodex CLIVS Codeopencodeany MCP client

A shared design system.
Refs, not values.

Agents write UI one screen at a time. In artisign, screens reference tokens and components instead of raw values, so every screen draws from the same greys, spacing and buttons.

artisign Design System view: colour tokens as swatches with names and values
  • Refs, not values

    $btn-primary in class is a component ref, $spacing.md in a style value is a token ref.

  • Drift warnings

    A write that inlines a value a token already has comes back with a warning.

  • Lift what repeats

    promote_to_system turns an inline value or a repeated element into a token, component or pattern.

Every state of a screen.
One family.

Many screens are another screen in a different state, an overlay on top of it, or a step after it. Variants record that, and Compare sets a screen beside its variants and marks what differs.

  • Variant tree

    A breadcrumb and a tree map show where a screen sits in its family.

  • Compare

    The main screen and up to three variants in columns, with a diff overlay.

  • Flow mode

    Click an element with a flow target and the preview jumps to the screen it points at.

artisign showing a variant of the dashboard screen, with breadcrumb and the variant tree beside the canvas

Comments the agent can pick up.
Answered over MCP.

Click an element to anchor a comment. It is appended to comments.jsonl; the agent reads it with list_comments and answers with reply_comment.

artisign with the Context panel open and a comment anchored to an element of the screen
  • Anchored to a node

    Comments sit on the element id the agent addresses, not on a pixel position.

  • Follow along

    Follow mode makes the preview track the agent’s tool calls.

  • Live reload

    A file change on disk shows up in the browser right away.

Mapped to use case specs.
Optional.

When a project has use case specs, each step maps onto a screen and an element. The mapping view shows the steps next to their screens, and a screen’s Context panel lists the use cases that touch it.

Read about use case specs →
artisign mapping view: each step of a use case spec next to the screen it is mapped to

Plain files in your project.
Git is the history.

One Node process on 127.0.0.1. No database, no account. Your designs are files next to your code.

Plain files.

Tokens, components, screens, flows and comments are readable, diffable files.

acme/
├── artisign.json
├── design-system/
│   ├── tokens.json
│   └── components/
├── screens/login.html
├── flows.json
└── comments.jsonl

Git is the history.

With autoCommit on, every write becomes one commit named after the tool and its target.

  • write_html:dashboard
  • set_tokens:color.primary
  • set_flow:login

Next: tests, then coding.

Your coding agent reads the reviewed screens with get_screen and the system with get_design_system. See all four steps of the workflow.

The workflow →

Give your agent
a design step.

npm install -g artisign
Read the README

Then run artisign and ask: “Create an artisign project in ~/work/acme”