Skip to content
Corvane

Halden Systems

About this demo

What Corvane is, how it was built with the Division DS design system, and how you could build something like it yourself.

What Corvane is

Corvane is a made-up CRM (customer relationship management) app, the kind of tool a sales team uses to keep track of the companies it sells to, the people there, and every deal in progress. Every company, person and figure in it is invented, and your changes reset when the page reloads.

It's used by the sales team at Halden Systems, an invented company that sells warehouse sensors. You're signed in as Maren Holt, an account executive. On Pipeline you see the open deals as a board or a table, move them between stages, change the owner or stage of several at once, undo a change, and add a new deal. A deal opens beside the list with its stage, line items, tasks and history. Accounts lists the customer companies, each with its own page. Contacts lists the people at those companies. Activity is a feed of calls, emails, meetings, notes, tasks and stage changes, and Forecast shows the quarter against the team's goal. A search box, the command palette, jumps to any page or record.

How it was built with Division DS

Division DS is a design system: a shared kit of ready-made interface parts, called components (a button, a form field, a table), plus the rules for using them. Every screen in Corvane is put together from those components. Corvane uses 39 of them:

Avatar, Badge, Breadcrumbs, Button, Card, ChartPanel, Checkbox, CodeBlock, CommandPalette, DataTable, Dialog, EmptyState, FormField, IconButton, Input, KanbanBoard, Kbd, Link, ListItem, MultiSelect, PageHeader, Pagination, Progress, QuantityStepper, Search, SectionHeading, Select, Sheet, Sidebar, Spinner, Stat, Stepper, Switch, Tabs, Tag, Textarea, Timeline, Toast, Tooltip.

It follows the system's rules. Every colour is a token, a named value such as --color-text-primary that stands for a colour in both the light and the dark theme, so the code never contains a raw colour value. Buttons never touch each other. Scripts called gates check these rules automatically, and the project won't pass its checks if one fails. Corvane shares no code with the other two demos: it has its own layout, its own data and its own tests.

Corvane was built AI-natively, which means an AI (artificial intelligence) coding assistant wrote the code while a designer directed and reviewed it. The assistant was Claude Code, a tool from Anthropic that reads and edits a project from the terminal (the text window where you type commands). It was built with the division-ds skill and the project's AGENTS.md rules already in the repository. A skill is a folder of instructions an AI assistant loads when a task needs it; this one is in skills/division-ds. Building Corvane also added two new components to the system, KanbanBoard and Timeline.

Example prompts

A prompt is the instruction you type to an AI coding assistant. These would get you screens like Corvane's.

A sales pipeline board

Prompt
Using the division-ds skill, build a sales pipeline page with KanbanBoard, one column per deal stage. A deal can be moved by dragging, with the keyboard, or from its Move menu. Every move shows a Toast with an Undo button. Add Tabs above the board to switch between the board and a DataTable of the same deals, and keep the chosen view in the address bar.

A deal opened beside the list

Prompt
When someone clicks a deal, open it in a Sheet whose address includes the deal, so the browser Back button closes it. Inside, show the deal stage with Stepper, the line items with QuantityStepper, and the history with Timeline. Plan the empty and error states with commands/build.md first.

A new deal form

Prompt
Add a "New deal" button that opens a Dialog with a form: name, account, value and close date, each in a FormField with a visible label. When the form is sent with mistakes, show an ErrorSummary that links to each field. Cancel closes the dialog without showing errors. Run the division-ds check on the file when you are done.

A quarterly forecast

Prompt
Build a forecast page: a row of Stat figures for the quarter, a ChartPanel comparing the forecast with the goal, and Cards that link to deals needing attention, such as deals with no next step. Use only colour tokens from public/llms-tokens.txt, and go through commands/review.md before saying it is done.

Build a similar project, step by step

From a copy of the project to a finished, checked product. Type each command in a terminal, inside the project's folder.

  1. Get the tools

    Install Git, the tool that keeps a project's files and their history, and Node.js 22 or newer, which runs the project's scripts. Node.js comes with npm (Node Package Manager), which downloads the code libraries a project needs.

  2. Copy the project

    Copy the project from its Git repository (the online home of its files and history), then move into the folder it creates:

    bash
    git clone https://github.com/Victor-Ilioiu/division-ds.gitcd division-ds
  3. Install what it needs

    bash
    npm install
  4. Start it on your computer

    bash
    npm run dev

    Open the local address it prints in a browser. Corvane is at /crm.

  5. Load the skill

    bash
    npx skills add https://github.com/Victor-Ilioiu/division-ds --skill division-ds

    This gives your AI coding assistant the division-ds skill. The Install page has the other ways, including a Claude Code plugin, and how to add single components to a project you already have. Inside this repository, Claude Code also reads CLAUDE.md, which sends it to AGENTS.md and its rules.

  6. Plan the screen before any code

    Follow skills/division-ds/commands/build.md. List the screen's regions from top to bottom, and for each one write what it shows when it's empty, loading, failed, successful, or not allowed. Then pick a component for each from public/llms.txt.

  7. Build it with prompts

    Ask for one screen at a time, naming the components and states from your plan, like the example prompts above.

  8. Check the files you wrote

    bash
    node scripts/division-ds.mjs check src/crm

    It flags a raw colour, a made-up token, buttons that touch, and a property a component doesn't have. In a different project, run the same script from your copy of this repository: node path/to/division-ds/scripts/division-ds.mjs check followed by your files or folders.

  9. Run every check and the unit tests

    bash
    npm run verify

    This checks the types, runs every gate and runs the unit tests (small automated tests of one piece at a time). It changes no files.

  10. Run the end-to-end tests

    bash
    npm run test:e2e

    End-to-end (e2e) tests open the real pages in a browser and use them the way a person would, including an accessibility scan of every page.

  11. Build the finished site

    bash
    npm run build

    This runs the gates again, then produces the files you'd put on a web server.

The case study

The full story of Division DS, why it was made and how it was built for AI assistants as well as people, is in the Division design system case study.

Corvane is a demo: every company, person and figure is invented, and your changes reset when the page reloads.