Battle of Codegen Tools from Design System Developers
summary
Two talks compare code-generation approaches for design systems. One shows how Kotlin Symbol Processing (KSP) was used at Yandex Travel to auto-generate Compose snapshot tests and Storybook content from annotations like @Preview and @PreviewParameter. The other explains why a demo app is essential for design reviews and screenshot testing, and describes using Storybook.js plus codegen tools (Kotlin Compiler Plugin and an in-house faster alternative to KSP) to power Android design-system workflows.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 2:11Codegen KSP
- 9:56Multimodule project issues
- 15:39Test generation
- 25:46T-Bank approach
- 30:21Cotlink Compiler Plugin
- 37:24Custom Gradle task
- 47:19Screenshot test generation
- 50:57Code templating
- 52:02Q&A
related talks
34mDesign System Driven Android Development: A Guide to Automation Tools
26mBuild your own compiler with KSP
25mCode Generation Using Kotlin Symbol Processing (KSP)
21mHow We Built the Android Design System for The New York Times
18mOne design system to rule them all 1
37mGenerating Kotlin Code
27mA Practical Guide to Building Your Design System Infrastructure
29mDesign to Code: Roundtable discussion with Code Connect users
