I have developed a coding guide for Stata along with companion code showing how to write a reproducible analysis:
https://reifjulian.github.io/guide/
https://github.com/reifjulian/my-project

The guide is targeted at academic economists but may be useful to others as well. Among other things, it provides examples for automatically creating LaTeX tables and for integrating R scripts into your data analysis. Comments and feedback welcome!