Take a look at the AddRoute.elm Script from the elm-pages starter repo. github
This Script is a great starting point for customizing your own scaffolding Scripts for your project. It is designed to lock in the essential details for defining a Route Module and a Form, while leaving the rest up to you to customize in the script.