一言で言うと
~/Library/Developer/Xcode/Templates/File Templates
にテンプレートファイルを置いておくと、Xcodeでファイルを新規作成する時使える。
Clean Architecture用のテンプレートファイル
テンプレートファイル作成法
Xcodeに元からついてくるファイルテンプレートは、以下のフォルダに格納されているので参考にするといい。
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/File Templates/
https://medium.com/@popcornomnom/swift-tutorial-how-to-create-own-xcode-file-template-for-ios-and-macos-d2e535ed62c5
https://help.apple.com/xcode/mac/9.0/index.html?localePath=en.lproj#/dev7fe737ce0