Is there any plugin author documenation?

@mikey, or others - I would like to create a Gravatar plugin and want to do it in a way to be able to contribute and perhaps even have it merged into master.

Please let me know if you have any docs or standards.