I actually built this a few weeks ago: https://github.com/qrohlf/bones
You define boilerplate components in `~/yourproject/.bones` and it does what you just described. I've been using it in several projects at work, it's been a nice standardization/productivity bump for my team.