How can I make my own Discourse plugins?

Would I just make a new atom file named plugin.js and work on a plugin there?