See my “pinned” wiki list of Ruby Leaning Resources (here in this category) …
In the primer list is the following primer …
Basic extension setup for encapsulating into a RBZ zip archive …
- Developing Extensions for Extension Warehouse
- Extension Development Best Practices
see section “Technical Requirements” - Extension Signing and Encryption
- Extension Development Best Practices
And a must is following Thomas Thomassen’s Plugin (Extension) Checklist …