SmartBear provides a ReadyAPI Plugin Development Kit which contains a Maven archetype for your plugin projects, and, also, a sample plugin template which contains most of the extension mechanisms.
GitHub
The plugin development kit is available on GitHub, in the ReadyAPI Plugin Development Kit project.