Back to work

IBM · 2026 · Figma plugin · IBM Carbon Design System

Design review,
re-imagined.

CarbonLens is a Figma plugin I designed and built on my own. It catches Carbon guideline violations, generates context-aware copy, and draws spacing token annotations on the canvas, in seconds instead of days.

3 days
Brief to v1.0
5
Designers, 2 IBM teams
~80%
Less review effort (est.)
Role
Product designer & builder · solo
Tools
FigmaIBM BOBCarbon MCPFigma MCPOllamawatsonx.ai
CarbonLens plugin: mode selector showing Reviewer, Writer and Handoff Partner.
CarbonLens plugin: Ollama connected, with the model selector and screen context fields.

At a glance

The story in four beats

Situation

Content review was still manual

Hundreds of IBM Power HMC screens, strict Carbon content rules, and no tooling inside Figma to check them.

Jump to Situation

Task

Catch it where designers work

Bring content checks, copy and spacing specs into the Figma panel, without sending data where it shouldn’t go.

Jump to Task

Action

Designed and built a plugin

Three focused modes, a rule engine first and AI second, offline or cloud AI, built with IBM BOB and MCP tools.

Jump to Action

Result

Shipped in 3 days, used by 5

Now in early talks with the Carbon team about the rule engine. Time savings are estimates, labelled as such.

Jump to Result

01 · Situation

Content review was the last thing still entirely manual

IBM Power HMC is a complex enterprise interface with hundreds of screens and strict Carbon Design System content guidelines. Unlike layout, which Figma makes inspectable, content quality had no tooling inside the design environment.

01

Title case throughout

Carbon requires sentence case. Designs regularly shipped “Flow CONTROL”, “View Feedback” and “Physical Port”, caught only in code review, if at all.

02

Placeholder copy at handoff

Error messages, empty states and tooltips were left as “Error message goes here”, because writing correct copy in the moment took time designers didn’t have.

03

Verb-less button labels

Buttons reading “Click to take actions” or “Submit” broke Carbon’s verb-first guideline, a consistent pattern no automated check surfaced.

04

Manual spacing documentation

Translating pixel values into $spacing-XX tokens for every handoff meant a manual cross-check against the Carbon scale. Hours per screen.

“Review cycles took 2–3 days. Spacing documentation alone could take an afternoon per screen. Content issues still slipped through at handoff because nothing automated caught them while designers were working.”

Project context from the CarbonLens product brief (paraphrased, not a direct quote)

02 · Task

Catch it where designers already work

The problem was mine first: I was frustrated with my own workflow. I set out to move content checks, copy and spacing specs out of review meetings and into the Figma panel.

What it had to do

One plugin, three jobs

  • Check every text node against Carbon content rules, instantly
  • Write real copy for errors, helper text and notifications, using the screen’s context
  • Document spacing as Carbon tokens, drawn where developers will see it

Constraints

What I had to work around

  • Keep data private: some teams can’t send design files to outside services
  • Figma’s security rules: a plugin can only reach the online services it names in advance, so I had to choose the AI services before building
  • Learning as I went: I had never built a plugin or written TypeScript before

03 · Action · The solution

Three focused modes. One shared frame selection.

CarbonLens lives in the Figma plugin panel. A designer selects a frame, picks a mode, and clicks Scan. Each mode is narrow enough to be fast, and deep enough to be useful.

Two AI options. One switch.

Writer and Reviewer can use either of two AI services, and you pick one with a single switch. I did this because many companies don’t allow design files to leave their network.

Ollama runs the AI on your own computer, so nothing leaves the machine. watsonx.ai is IBM’s cloud AI, for teams that want stronger results and are allowed to use IBM Cloud.

The plugin remembers your choice, can only talk to the services it lists, and adds what you type about the screen to every scan.

Ollama · local · offline-firstwatsonx.ai · IBM Cloud · Granite AI model
AI configuration panel: Ollama connected, qwen2.5:1.5b selected, context fields visible.

Reviewer: ten rules, zero server calls

The rule engine runs entirely client-side, so results appear without any network request. Rules are deterministic: they fire when the text matches the pattern. AI is layered on top only for violations that need contextual judgment.

RuleWhat it catches
title-caseMulti-word capitalisation and long ALL-CAPS strings not on a known acronym list (IBM, I/O, VLAN preserved)
missing-verbButton labels that don’t open with one of about 30 recognised action verbs
vague-labelGeneric labels: “Submit”, “Click here”, “OK”, “Proceed”
filler-wordsPhrases stripped on sight: “Please”, “In order to”, “Simply”, “Click here to”
spelling200+ UI-copy misspellings, plus repeated-character detection
ellipsis-misuseEllipsis on buttons, labels or headings, which Carbon allows only in body text
Reviewer results: 6 violations in 56 nodes, with the Title case group expanded showing flagged strings.
Reviewer results. 6 violations across 56 text nodes. The summary bar shows issues, clean and total. Each group expands to the original text, a suggested fix and a Locate button.

Writer: screen-aware AI copy

Writer builds a structured prompt from the frame’s existing text. An optional “What is this screen?” field adds intent: user role, access level, purpose. A “Focus / constraints” field narrows the scan to specific node types. The AI returns typed spec cards that can be edited and copied one by one.

Writer results: 9 items across screen description, field errors, helper text and notifications on the VIOS properties screen.
Writer results. 9 items for the VIOS properties screen: a screen description, field errors with cause and resolution, helper text and 2 notifications. Each card has Edit and Copy.

Handoff Partner: token annotations on canvas

The plugin looks at the space inside and between elements on a screen, and matches each gap to the closest Carbon spacing token, for example 2px becomes $spacing-01 and 96px becomes $spacing-12. It then draws coloured boxes over those gaps and adds a list of the tokens next to the screen. These notes stay in the Figma file, so developers can see them without opening the plugin.

Handoff Partner: zone-fill annotations over the Create Ethernet modal, with a spacing token spec panel to the right.
Handoff Partner. Zone-fill annotations over the “Create Ethernet logical port” modal. The spec panel lists typography and spacing tokens; the plugin confirms 54 nodes and 4 sections annotated.

03 · Action · Process

How it was built

CarbonLens was built with IBM BOB as the main development partner. Carbon MCP and Figma MCP gave design-system authority and canvas context during the build, not at runtime. The plugin itself runs entirely inside Figma’s sandbox.

Development time
  1. IBM BOB
  2. Carbon MCP
  3. Figma MCP
  4. code.ts + ui.html
  5. npm run build
  6. dist/
Plugin runtime
  1. Figma canvas
  2. manifest.json
  3. dist/code.js + ui.html
  4. Ollama or watsonx.ai
Coding helper

IBM BOB

An AI coding assistant that helped me write the plugin. It set up the structure, helped build the rule checks and the drawing on the canvas, and fixed errors with me. Brief to working plugin in about 3 days.

Design rules

Carbon MCP

Gave the AI direct access to Carbon’s official guidelines, so the plugin uses the real spacing sizes and writing rules, such as sentence case and buttons that start with a verb.

Design files

Figma MCP

Let me look inside real IBM Power HMC design files while building, so the plugin learned how actual screens are put together and could tell what each element is.

Setup

Figma manifest

A small settings file that tells Figma what the plugin is and which websites it’s allowed to reach. It only lists the AI services it needs and asks for as little access as possible.

AI

Ollama + watsonx.ai

The two AI options. Ollama runs on your own computer and can answer in about 2 seconds. watsonx.ai is IBM’s cloud AI with larger models. Switching between them is one setting.

Building

TypeScript + Webpack

The programming language and the tool that packages the code. One part works with the Figma file, the other draws the plugin panel, and Webpack bundles both into the final plugin.

03 · Action · Design decisions

Thinking behind the product

Five decisions shaped how CarbonLens works, each driven by a real constraint: speed, security, developer reuse, or the limits of Figma’s sandbox.

01

Rules run first, AI second

The Reviewer checks content instantly with a built-in rule set, with no internet needed. AI only steps in for the trickier issues rules can’t catch reliably.

Trade-off: some button names get flagged incorrectly. It’s a known edge case.

02

Screen context is optional but powerful

Designers can describe what the screen does and who uses it. The AI uses that to write more relevant copy, and skipping it still gives a useful result.

Challenge: making it feel optional without hiding its value. Example placeholder text does the job.

03

Works offline or in the cloud

Some teams can’t send data outside their network. Ollama runs the AI entirely on your machine, and watsonx.ai is there when you need the cloud. One setting, no code changes.

04

Annotations live in the file

Spacing notes are drawn onto the Figma canvas, not just shown in the plugin, so developers see them without opening CarbonLens.

05

Scan many frames at once

Select several screens and run one scan. Issues that repeat across screens are grouped, so systemic copy problems stand out from one-offs.

04 · Result

What changed

Verified

3 days

Brief to production-ready v1.0

Verified
5

Designers using it, across my team and a neighbouring IBM product team

Verified

Estimated

Estimated from team usage, not measured in a controlled study.

~80%

Less manual review effort

Estimated
<30m

Review cycle, down from 2–3 days

Estimated
10×

Faster handoff specifications

Estimated
~40h

Saved per designer per month

Estimated

What’s next: the work has reached the IBM Carbon Design System team. We’re in early conversations about how parts of CarbonLens, especially the rule engine, could be contributed back to Carbon. It’s a discussion, not adoption yet.

Learnings

What I take from this

Starting point

I had never built a plugin before

I had no experience with Figma plugin development: no TypeScript background and no idea how the Figma sandbox worked. I knew the problem was real and worth solving, and that was enough to start.

Leverage

The tools made it possible

Learning how Figma MCP and Carbon MCP worked changed everything. I could ask questions about the design system and get answers grounded in the actual spec. IBM BOB helped me write and debug code I had never written before.

Ownership

The problem was mine first

I built this because my own workflow frustrated me. Once I shipped it, the rest of the design team started using it too. That’s when I realised the problem wasn’t just mine.

Reach

Now talking to the Carbon team

The Carbon Design System team has noticed the work. We’re in early conversations about contributing parts of CarbonLens, particularly the rule engine, back to Carbon.

Thank you.

Back to top ↑