Take some time to learn the basics of Ruby coding:
Follow Best Coding Practices for a SketchUp extension running in a shared Ruby process:
- Extension Development Best Practices | SketchUp Help
Especially the section labeled Technical Requirements.
Further:- Extension Requirements — SketchUp Ruby API Documentation
I.e.: Choose a unique identifier for your top-level namespace module,
and wrap the code for each one of your extensions in a submodule of it. - Protecting Intellectual Property — SketchUp Ruby API Documentation
- SketchUp Extensions UX Guidelines
- Extension Requirements — SketchUp Ruby API Documentation
Become a Registered SketchUp Extension Developer:
Sign & Encrypt your Extension: