Alanoe/refactor autoinstall templates snippets