A good way to start learning how to write your own templates is Sourcery Workshops I did.
It features step by step commits and wiki page and as a Sourcery Pro user you can jump directly to writing your templates since CLI integration is not required.
When you are writing templates for Sourcery Pro live templates workflow, you don't need to use phantom protocols or annotations since you can rely on the fact that you have user selected type informations, so your live templates can be simpler than the CLI ones.
A good way to start learning how to write your own templates is Sourcery Workshops I did.
It features step by step commits and wiki page and as a Sourcery Pro user you can jump directly to writing your templates since CLI integration is not required.
When you are writing templates for Sourcery Pro live templates workflow, you don't need to use phantom protocols or annotations since you can rely on the fact that you have user selected type informations, so your live templates can be simpler than the CLI ones.