I found something related here but did not give me a good start

Since recently I do a lot of webPart development I want to automate the none-code part of the process, I want to develop a small console app that creates SharePoint solution as the pic, i'll use it as a template for the upcoming webParts
assume the webpart name is a var
string webPartName = "usefulLinks";
- Create Empty SharePoint Project
- Add Visual WebPart
webPartName - Create Classes Folder
WebPartName - Create an empty class inside the folder
- add the
Layoutsmapped folder - add
cssandimgfolders to thelayoutsfolder - Change part of the
.webpartcontent to custom values - Same to the
Elements.xmlfile - add the
Resourcesmapped folder and add two resources files forArabicandEnglish - and finally change the
featurename to be likewebPartName + Feature
any good starting points? or online resources
thank you.