Halden Systems · Operations
About this demo
What Halden Console is, how it was built with the Division DS design system, and how you could build something like it yourself.
What Halden Console is
Halden Console is a made-up monitoring app. Halden Systems, an invented company, sells sensors that watch temperature, humidity, doors and power in its customers' warehouses, and this is the screen its operations team watches them from. Every site, sensor and reading is invented, the live feed is simulated, and your changes reset when the page reloads.
You're signed in as Noor Aziz, an operations engineer. Overview shows every monitored site as it reads now, with new readings every five seconds and a Live and Paused switch to stop them. Sites lists the warehouses, one row per site, and each site has its own page with its facts, its sensors and a temperature chart. Alerts lists every alert from the last seven days and the ones raised live, which you can acknowledge one at a time or several at once. The Assistant investigates an alert from the readings, the door log and the equipment, and asks before it acts. It's a scripted demo: no AI model is called.
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 Halden Console is put together from those components. It uses 37 of them:
Alert, ApprovalRequest, Avatar, Badge, Breadcrumbs, Button, Card, ChartPanel, ChatMessage, ChatThread, CodeBlock, CommandPalette, DataTable, DescriptionList, EmptyState, FormField, IconButton, Kbd, Link, ListItem, PageHeader, PromptInput, SectionHeading, SegmentedControl, Select, Sheet, Sidebar, Skeleton, Sparkline, Spinner, Stat, StatusTracker, Textarea, Timeline, Toast, ToolCall, 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. Halden Console shares no code with the other two demos: it has its own layout, its own data and its own tests.
Halden Console 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 the console also added nine components to the system: Sparkline, StatusTracker, SegmentedControl, DescriptionList, ChatMessage, ChatThread, PromptInput, ToolCall and ApprovalRequest.
Example prompts
A prompt is the instruction you type to an AI coding assistant. These would get you screens like Halden Console's.
A live overview
Using the division-ds skill, build a monitoring overview for warehouse sensors: Stat figures for open alerts, and one card per site with a Sparkline of the last readings and its safe range. Readings update every five seconds. Add a Live and Paused SegmentedControl in the top bar so people can stop the updates, and never announce a changing reading to screen readers.An alerts table with bulk actions
Build an alerts page with a DataTable of alerts, a SegmentedControl to filter by open, acknowledged or resolved, and a Select for severity. People can select several rows and acknowledge them at once, with a Toast that has an Undo button. Plan the empty, loading and error states with commands/build.md first.A site page with 30 days of status
Build a page for one warehouse site: PageHeader with Breadcrumbs back to the site list, a DescriptionList of the site facts, a StatusTracker of the last 30 days, a ChartPanel of the cold-room temperature, and a Timeline of the site alerts. Load the chart only when the page opens.An assistant that asks before acting
Build an assistant panel with ChatThread, ChatMessage and PromptInput. It investigates an alert step by step, showing each step as a ToolCall, with Stop and Retry. Before anything leaves the conversation, such as an email, it shows an ApprovalRequest with a preview and waits for Approve or Reject. Label it clearly when no real AI model is called. 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.
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.
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:
bashgit clone https://github.com/Victor-Ilioiu/division-ds.gitcd division-dsInstall what it needs
bashnpm installStart it on your computer
bashnpm run devOpen the local address it prints in a browser. Halden Console is at
/console.Load the skill
bashnpx skills add https://github.com/Victor-Ilioiu/division-ds --skill division-dsThis 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 toAGENTS.mdand its rules.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 frompublic/llms.txt.Build it with prompts
Ask for one screen at a time, naming the components and states from your plan, like the example prompts above.
Check the files you wrote
bashnode scripts/division-ds.mjs check src/consoleIt 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 checkfollowed by your files or folders.Run every check and the unit tests
bashnpm run verifyThis checks the types, runs every gate and runs the unit tests (small automated tests of one piece at a time). It changes no files.
Run the end-to-end tests
bashnpm run test:e2eEnd-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.
Build the finished site
bashnpm run buildThis 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.