Ive heard folks struggle a lot creating Kotlin compiler plugins. Mainly as a result of zero to no documentation. Use ChatGPT as documentation - it handles a lot of thing quite well for K1 compiler up to Kotlin 1.4.x