To use them, clone your add-on's repo into the root xf installation. Then, pop the gist files in, install the node packages and run grunt live. Edit away! Your changes will get incorporated into the xf installation automatically.
I put all my files inside the uploads/ directory. Here's a setup sample repo if you want to see my setup.