Writing such a script is significantly more time consuming than writing a README, and for it to be worth the effort, it should be expected to save a fairly high multiple of the time it takes to write, debug and support. For GitHub, that multiple is definitely very high, for Patrick, it might not even be greater than one. YMMV.
https://twitter.com/alister_b/status/636563590288437248 - 29/ If I start work and have to spend 3 days just getting the dev site running locally - we know the live site is also a pile of crap
There's a plenty more of along similar lines about recruiting, interviewing, and the working environment - both for people, and the code.
When I'm done, I'm putting them all together in a blog post with some extra thoughts as well.
New developers day 1: vagrant up; vagrant ssh; cd /path/to/app/on/vm; ./build-dev
And they're ready to go.