Topic 5 of 5 · 4 min read
Governing changes to a design system
Goal: Write a contribution rule that says who approves token and component changes, including changes proposed by AI agents.
Governance is a short written rule for who may change the system, who must approve it, and how change reaches everyone else. AI makes proposals cheap, so the rule matters more, not less.
Check yourself · 1 of 3
An AI agent opens a pull request that adds a new colour token to the design system. Who should approve it?
A design system is shared. A change to a token or component reaches every screen that uses it. Without a rule, the system is changed by whoever is loudest or fastest, and now that includes agents that can open ten pull requests before lunch.
Why it matters
An agent will gladly add color.brand.primary-2 if that is the quickest way to make its screen match a mockup. It does not know that three teams depend on the old name. Reviewers are then asked to approve a flood of small, plausible changes, and the system grows variations nobody chose.
How to do it
- Name the owners. One person or small group per area: tokens, components, docs. Approval comes from them, not from the author.
- Classify the change. A fix to a doc or a bug needs one review. A new variant or token needs the owner and a stated need. A new component needs a proposal with at least two real uses. Removing or renaming anything is a breaking change.
- Treat agent proposals like any other contributor's. An agent may open a pull request. It may not merge it, and it may not approve its own work. Its description must state the need and what it checked.
- Version the change. Use semantic versions: patch for fixes, minor for additions, major for removals and renames. Write the change in a changelog.
- Deprecate before you delete. Mark the old token or component deprecated, say what replaces it, set a date, and remove it in a later major version.
- Add a quick path for exceptions. If nothing is allowed, people work around the system. A small, logged exception route keeps them inside it.
Before and after
Before: "Contributions are welcome. Open a PR."
After: "Token and component changes need approval from the system owner. New components need a written need with two real uses. Pull requests opened by AI agents follow the same rules and must be approved by a human owner; an agent may not approve or merge. Removals are marked deprecated for one minor release before deletion."
What goes wrong
- Owner bottleneck. One reviewer for everything stalls teams; split ownership by area.
- Silent breaking changes. A rename without a major version breaks products on their next update.
- Rules nobody can find. Put the rule in the contributing guide and link it from the agent's instruction file.
Examples
A contribution rule that covers agents
"Changes to tokens and components need approval from the area owner listed in OWNERS. A new component needs a written need and two real uses. Pull requests from AI agents follow the same rules; a human owner approves, and the agent never merges. Removals are deprecated for one minor release, with the replacement named, and shipped in the next major version."
Key points
- Name owners per area; approval comes from them, never from the author or the agent that wrote the change.
- Classify changes by size: fix, addition, new component and breaking change each need a different level of review.
- An agent may propose a change; it may not approve or merge its own work.
- Use semantic versions and a changelog so consumers know what an update does to them.
- Deprecate with a replacement and a date before removing anything.
Common mistakes
- Letting an agent approve or merge its own pull request to the system.
- Renaming or removing a token in a minor release, so products break on their next update.
- Making every change wait for one reviewer instead of splitting ownership by area.
- Deleting old tokens without a deprecation notice that names the replacement.
Check yourself · 2 of 3
Which change should be released as a major version?
Check yourself · 3 of 3
What should happen before an old component is deleted from a design system?
Practice items, not counted towards your mastery.
Start here
- Design Tokens Format Module (W3C Design Tokens Community Group) (opens in a new tab)StandardFree
The draft format for tokens: $value, $type, groups and aliases, so tools and agents read the same file.
- Guide to variables in Figma (Figma Help) (opens in a new tab)DocsFree
How colour, number and string variables, collections and modes work in a design file.
- Design Systems 101 (NN/g) (opens in a new tab)ArticleFree
Plain definitions of a design system, its parts and why teams keep one.
More for this topic
- GOV.UK Design System (opens in a new tab)DocsFree
A public system with real component pages, usage guidance and a contribution process to copy from.