If you set up a new Hubot using the Slack Developer Kit for Hubot you’ll get an awesome bot, but with a lot of useless stuff in it. In this blog I’ll outline all the things that can be safely cleaned up. The scripts can run on both Powershell (Windows) and Bash (Linux/Mac).

Dependencies

The projects comes with a lot of useful and less useful dependencies. You can uninstall them with the following script:

Files

I don’t like to use external scripts and I currently have no need for scripts in packages, so I’ll removed the files associated with it.  And there’s no need for a Procfile.
Note: if you want to run scripts from NPM packages, you’ll need to keep the external-scripts.json.

So, that’s it. Now I only need to find a way to share environment variables when doing Hubot development. Oh well.