Andrew's Digital Garden

Using AI for Design System refactoring

Anecdotally I've found it very useful to use [[ai]] for large refactors in design systems (and probably outside of them too).

It takes out a lot of the work of repetitive changes, and usually gets it correct (or close to). This can be useful for things like renaming tokens, changing structure, duplicating tokens, etc.

It's also useful for auditing the current system. e.g. where are you using certain props, where do you have outliers, etc. As design systems are often massive amounts of documentation [[20231219094041-design-system-complexity]], these audits are often necessary.

[[designsystem]]

Using AI for Design System refactoring