We've been working on a a data science template that bakes in a number of these practices. Currently leans Python, but could definitely be useful for scientific computing generally: https://github.com/drivendata/cookiecutter-data-science