Wizard for LibreOffice

I would like to write my own Wizard for LibreOffice. I had a look into the sources under libreoffice\program\wizards, but they are only partially self-explanatory. Is there some documentation on how to write a Wizard and how to provide it in LibreOffice?

Since your question is rather related to development, I think, you will find more and quicker answers if you go to the developers mail list or IRC channel.

Thank you!