Template-based scaffolding tool