This is a dev feature for our beloved plugin authors.
With this commit DEV: rails generator to create plugin skeleton (#6332) · discourse/discourse@ef36fdf · GitHub you can now use rails generators to create plugins:
rails g plugin --help rails g plugin DiscourseRacoon
This will create a complete discourse plugin skeleton in your plugins directory:
It’s currently doing very few things #pr-welcome on this if you see things to improve or options to add.
Thanks @david for pushing me to write this as a generator.