How to write a rule template

Good day, maybe you could advise some solution?

I tried to update my Rule Template Switch and Dimmers Rule. But there’s some strange behaviour - 1st post updated, but in Marketplace I cannot see changes from some moment.

Already tried reboot OH host and even on several different OH instances.

Firstly, tried to add link to GitHub raw file.
In this case was unable to add template from Marketplace. Button ADD just pressed and template actually was not added.

BTW, is there possibility to see what’s wrong in some logs?