Should be easy to run ./go new-command foo to generate the following and make it executable, and to open EDITOR if defined:
#! /usr/bin/env bash
#
# Description of foo
_foo() {
:
}
_foo "$@"
There should probably be something similar for modules as well.