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.
- Role
- Product designer & builder · solo
- Tools
- FigmaIBM BOBCarbon MCPFigma MCPOllamawatsonx.ai
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 SituationTask
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 TaskAction
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 ActionResult
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 Result01 · 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.
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.
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.
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.
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.
Reviewer
Scans every text node against ten Carbon rules and groups violations by rule. Each issue shows the original text, a suggested fix, the Carbon guideline and a Locate button.
Content linterSee Reviewer ↓Writer
Reads the frame’s content signals and sends them to an AI model. Returns structured spec cards across five categories, from field errors to notifications.
AI copy generationSee Writer ↓Handoff Partner
Maps every auto-layout spacing value to the nearest Carbon $spacing-XX token, then draws zone-fill annotations directly on the Figma canvas.
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.
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.
| Rule | What it catches |
|---|---|
title-case | Multi-word capitalisation and long ALL-CAPS strings not on a known acronym list (IBM, I/O, VLAN preserved) |
missing-verb | Button labels that don’t open with one of about 30 recognised action verbs |
vague-label | Generic labels: “Submit”, “Click here”, “OK”, “Proceed” |
filler-words | Phrases stripped on sight: “Please”, “In order to”, “Simply”, “Click here to” |
spelling | 200+ UI-copy misspellings, plus repeated-character detection |
ellipsis-misuse | Ellipsis on buttons, labels or headings, which Carbon allows only in body text |
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.
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.
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.
- IBM BOB
- Carbon MCP
- Figma MCP
- code.ts + ui.html
- npm run build
- dist/
- Figma canvas
- manifest.json
- dist/code.js + ui.html
- Ollama or watsonx.ai
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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
Brief to production-ready v1.0
VerifiedDesigners using it, across my team and a neighbouring IBM product team
VerifiedEstimated
Estimated from team usage, not measured in a controlled study.
Less manual review effort
EstimatedReview cycle, down from 2–3 days
EstimatedFaster handoff specifications
EstimatedSaved per designer per month
EstimatedWhat’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.