I guess my preferred version would look more like this:
Repair
1st-level (transmutation; healing, technological, transformation, utility)
Classes: Artificer, bard, wizard
Casting Time: 1 Action
Range: Touch
Target: One construct or artificial object
Components: V, S
Duration: Instantaneous
You restore an object or construct that has been damaged. The target regains hit points equal to 1d8 + your spellcasting ability modifier. Magic items may be repaired in this way, but their magic is not restored.
Cast at Higher Levels. The hit points regained increase by 1d8 for each slot level above 1st.
Rare: Dryvel’s Otherworldly Repair. This spell can also restore hit points to undead creatures.