Regarding making stable release of processing's and openframeworks serial libraries for tre

Can you people please guide me about it , I have experience of both processing and openframeworks can you please guide me about how to start regarding writing libraries.