For now you can save a blueprint then convert blueprint to design.
In the future any constructed ship in a shipyard will have a design come with it, to work with the Repair Docked from Design option in the shipyards.
Most likely we'll add in a Create Design from Docked however for repairs you'll want to use the design that came with the ship when constructed, so any missing blocks are replaced.