This might be a bit tricky as there are no guarantees about function vs raw script in the step templates in the Library, but perhaps using the new Export modules recently pull requested would allow for some auto export/naming and then it would be easier to wrap in tests and follow the excellent structure of new projects created via the module here.
mikeclayton/Library@273bcb3